-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Brief explanation
The HDMI2USB gateware currently includes a lm32 soft core. The misoc version has an MMU and should support running a full Linux kernel.
Expected results
Linux booting on the HDMI2USB gateware.
Detailed Explanation
There is a bunch of extra information in the LiteX Linux Support Random Notes Google Doc.
The HDMI2USB-misoc-firmware embeds a LM32 soft-core for controlling and configuring the hardware. See the diagram below;
This soft-core should be able to run Linux Kernel, which means we would get access to a lot of good things;
- Access to well tested TCP/IP stack (useful for IP based streaming).
- Access to well tested USB stack (useful for the USB-OTG connector).
- Access to kernel mode setting for edid processing and DisplayPort stuff.
Work on this was started by the MilkyMist / M-Labs people.
There is a port of the lm32 to qemu which will help, see timvideos/HDMI2USB-litex-firmware#86
Further reading
- https://en.wikipedia.org/wiki/LatticeMico32
- https://lwn.net/Articles/647949/
- http://m-labs.hk/milkymist-wiki/wiki/index.php%3Ftitle=Milkymist_Linux_cheat_sheet.html
- https://wiki.debian.org/HelmutGrohne/rebootstrap#lm32
- www.latticesemi.com/view_document?document_id=28118 - Linux Port to LatticeMico32 System Reference Guide
- http://www.ubercomp.com/jslm32/src/ - Javascript LatticeMico32 Emulator (runs Linux) - Ubercomp
Knowledge Prerequisites
- Linux Kernel knowledge
- Strong C knowledge.