Re: [RFC 0/4] riscv: add initial LiteX SoC support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Antony

Nice patch series, thanks for sharing.

On Sun, Jun 02, 2019 at 10:30:57AM +0300, Antony Pavlov wrote:
> This RFC patchseries adds initial LiteX RISC-V SoC support for barebox.
> 
> You can obtain this patchseries from github:
> 
>     $ git clone -b 20190602.litex https://github.com/frantony/barebox
> 
> LiteX is a Migen-based System on Chip [1], supporting softcore VexRiscv CPU,
>  a 32-bits Linux Capable RISC-V CPU [2].
> 
> All the components used to create the LiteX SoC are open-source and
> the flexibility of Spinal HDL/Migen allow targeting easily very various
> FPGA devices/boards: Lattice, Altera, Xilinx, Microsemi FPGAs
> with SDRAM/DDR/DDR2/DDR3/DDR4 RAMs, RMII/MII/RGMII/1000BASE-X Ethernet PHYs.
> 
> The LiteX SoC with VexRiscv CPU can be deployed on e.g. Digilent ARTY board [3]
> or Terasic DE0-Nano board [4].
> 
> You can boot barebox from serial port using flterm [5]:, e.g.:
> 
> flterm --port /dev/ttyUSB0 --kernel <path_to_barebox.bin> --kernel-adr 0x40000000

Can you be persuaded to include the above in a .rst file in
Documentation, so others can find this info later?

	Sam
> 
> 
> TODO
> ====
> 
>   * add pbl support for riscv barebox;
>   * add liteeth Ethernet core support [6] (tip: use ARTY board);
>   * fix issues (see the WIP commit);
>   * use barebox to start linux [2] and zephyr [7].
> 
> 
> REFERENCES
> ==========
> 
>  [1] https://github.com/enjoy-digital/litex
>  [2] https://github.com/enjoy-digital/linux-on-litex-vexriscv
>  [3] https://store.digilentinc.com/arty-a7-artix-7-fpga-development-board-for-makers-and-hobbyists/
>  [4] http://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&No=593
>  [5] https://github.com/timvideos/flterm
>  [6] https://github.com/enjoy-digital/liteeth
>  [7] https://github.com/zephyrproject-rtos/zephyr/tree/master/boards/riscv32/litex_vexriscv
> 
> 
> Antony Pavlov (4):
>   riscv: add initial LiteX SoC support
>   serial: add litex UART driver
>   WIP: make it work on litex
>   riscv: add litex_defconfig
> 
>  arch/riscv/Kconfig                            |   6 +
>  arch/riscv/Makefile                           |   1 +
>  arch/riscv/boot/start.S                       |   2 -
>  arch/riscv/configs/litex_defconfig            |  45 +++++++
>  arch/riscv/dts/litex-generic.dts              |  17 +++
>  arch/riscv/dts/litex.dtsi                     |  36 +++++
>  arch/riscv/mach-litex/Kconfig                 |  11 ++
>  arch/riscv/mach-litex/Makefile                |   3 +
>  arch/riscv/mach-litex/include/mach/debug_ll.h | 124 ++++++++++++++++++
>  common/bootm.c                                |   2 +
>  drivers/serial/Makefile                       |   1 +
>  drivers/serial/serial_litex.c                 |  99 ++++++++++++++
>  12 files changed, 345 insertions(+), 2 deletions(-)
>  create mode 100644 arch/riscv/configs/litex_defconfig
>  create mode 100644 arch/riscv/dts/litex-generic.dts
>  create mode 100644 arch/riscv/dts/litex.dtsi
>  create mode 100644 arch/riscv/mach-litex/Kconfig
>  create mode 100644 arch/riscv/mach-litex/Makefile
>  create mode 100644 arch/riscv/mach-litex/include/mach/debug_ll.h
>  create mode 100644 drivers/serial/serial_litex.c
> 
> -- 
> 2.20.1
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/barebox

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux