riscv-software-src / riscv-pk

RISC-V Proxy Kernel
Other
581 stars 307 forks source link

Add support for the UART interface on the LiteX SoC #230

Closed gsomlo closed 3 years ago

gsomlo commented 3 years ago

LiteX is a FOSS SoC written in Python/Migen, which supports a wide range of CPUs and peripherals, and several of its configurations are capable of running Linux.

I've managed to successfully boot almost unmodified upstream Linux (with the only exception being LiteX "gateware" specific device drivers) on a LiteX SoC configured with RocketChip, with the help of BBL (*for the full details see here).

The attached PR adds support for LiteX's UART interface to BBL. Thanks for considering!

aswaterman commented 3 years ago

lgtm