[PATCH 0/9] RISC-V: add LiteX SoC support; resurrect nmon

Antony Pavlov antonynpavlov at gmail.com
Wed May 5 03:08:51 PDT 2021


Antony Pavlov (9):
  RISC-V: make it possible to run nmon from PBL C code
  RISC-V: boards: erizo: make it possible to use nmon
  serial: add litex UART driver
  gpio: add driver for 74xx-ICs with MMIO access
  spi: add litex spiflash driver
  net: add LiteEth driver
  RISC-V: add initial LiteX SoC support
  RISC-V: add litex-linux board support
  RISC-V: add litex_linux_defconfig

 arch/riscv/Kconfig                            |   9 +
 arch/riscv/Makefile                           |   1 +
 arch/riscv/boards/Makefile                    |   1 +
 arch/riscv/boards/erizo/lowlevel.c            |   3 +
 arch/riscv/boards/litex-linux/Makefile        |   3 +
 arch/riscv/boards/litex-linux/lowlevel.c      |  20 +
 arch/riscv/boot/Makefile                      |   1 +
 arch/riscv/boot/nmon_entry.S                  |  13 +
 arch/riscv/configs/litex_linux_defconfig      |  76 ++++
 arch/riscv/dts/Makefile                       |   1 +
 arch/riscv/dts/litex-linux.dts                |  96 +++++
 arch/riscv/dts/litex_soc_linux.dtsi           |  49 +++
 arch/riscv/include/asm/riscv_nmon.h           |  33 +-
 arch/riscv/mach-litex/Kconfig                 |  11 +
 arch/riscv/mach-litex/Makefile                |   3 +
 arch/riscv/mach-litex/include/mach/debug_ll.h | 124 ++++++
 drivers/gpio/Kconfig                          |  14 +
 drivers/gpio/Makefile                         |   1 +
 drivers/gpio/gpio-74xx-mmio.c                 | 170 ++++++++
 drivers/net/Kconfig                           |   8 +
 drivers/net/Makefile                          |   1 +
 drivers/net/liteeth.c                         | 376 ++++++++++++++++++
 drivers/serial/Makefile                       |   1 +
 drivers/serial/serial_litex.c                 |  96 +++++
 drivers/spi/Kconfig                           |   3 +
 drivers/spi/Makefile                          |   1 +
 drivers/spi/litex_spiflash.c                  | 242 +++++++++++
 images/Makefile.riscv                         |   4 +
 28 files changed, 1344 insertions(+), 17 deletions(-)
 create mode 100644 arch/riscv/boards/litex-linux/Makefile
 create mode 100644 arch/riscv/boards/litex-linux/lowlevel.c
 create mode 100644 arch/riscv/boot/nmon_entry.S
 create mode 100644 arch/riscv/configs/litex_linux_defconfig
 create mode 100644 arch/riscv/dts/litex-linux.dts
 create mode 100644 arch/riscv/dts/litex_soc_linux.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/gpio/gpio-74xx-mmio.c
 create mode 100644 drivers/net/liteeth.c
 create mode 100644 drivers/serial/serial_litex.c
 create mode 100644 drivers/spi/litex_spiflash.c

-- 

Cc: Florent Kermarrec <florent at enjoy-digital.fr>
Cc: Marek Czerski <m.czerski at ap-tech.pl>

2.31.1




More information about the barebox mailing list