[PATCH v2 00/11] RISC-V: add LiteX SoC support; resurrect nmon

Ahmad Fatoum a.fatoum at pengutronix.de
Fri May 7 03:23:47 PDT 2021


On 07.05.21 00:08, Antony Pavlov wrote:
> Changes since v1:
> 
>   * rebased on top of next branch;
>   * new patches are introduced:
>     * clocksource: timer-riscv: select CSR from device tree
>     * RISC-V: make RISCV_SBI and RISCV_M_MODE explicitly mutually exclusive
>     * RISC-V: make it possible to build RV32I multi-image with DEBUG_LL=n
>   * almost all of Ahmad's notes are fixed (e.g. unused header files inclusions are dropped);
>   * NOT FIXED: gpio-74xx-mmio still uses dev_get_drvdata(), not device_get_match_data()

Why?

> 
> Antony Pavlov (11):
>   clocksource: timer-riscv: select CSR from device tree
>   RISC-V: make RISCV_SBI and RISCV_M_MODE explicitly mutually exclusive
>   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 LiteX SoC and linux-on-litex-vexriscv support
>   RISC-V: add litex_linux_defconfig
>   RISC-V: make it possible to build RV32I multi-image with DEBUG_LL=n
> 
>  arch/riscv/Kconfig                         |  22 +-
>  arch/riscv/Kconfig.socs                    |  18 +-
>  arch/riscv/boards/Makefile                 |   1 +
>  arch/riscv/boards/erizo/lowlevel.c         |   5 +
>  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/erizo_generic_defconfig |   1 +
>  arch/riscv/configs/litex_linux_defconfig   |  77 +++++
>  arch/riscv/cpu/time.c                      |   7 +
>  arch/riscv/dts/Makefile                    |   1 +
>  arch/riscv/dts/erizo.dtsi                  |   2 +
>  arch/riscv/dts/litex-linux.dts             |  96 ++++++
>  arch/riscv/dts/litex_soc_linux.dtsi        |  49 +++
>  arch/riscv/include/asm/debug_ll.h          |   3 +
>  arch/riscv/include/asm/debug_ll_litex.h    | 123 +++++++
>  arch/riscv/include/asm/riscv_nmon.h        |  49 ++-
>  arch/riscv/include/asm/timer.h             |   1 +
>  common/Kconfig                             |   4 +
>  drivers/clocksource/timer-riscv.c          |  19 +-
>  drivers/gpio/Kconfig                       |  14 +
>  drivers/gpio/Makefile                      |   1 +
>  drivers/gpio/gpio-74xx-mmio.c              | 166 +++++++++
>  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               | 241 +++++++++++++
>  images/Makefile.riscv                      |   4 +
>  33 files changed, 1388 insertions(+), 39 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/include/asm/debug_ll_litex.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
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list