[PATCH 0/6] Add Turris 1.x board

Marek Mojík marek.mojik at nic.cz
Thu Jun 6 18:33:20 CEST 2024


Hello all,

this is a continuation of previous work by Pali to add support for the
Turris 1.x board. As the patches were based on u-boot v2022.04, a
nontrivial rebasing was needed.

Some notes:
- Some options that are in SD defconfig are disabled in NOR defconfig
  because over the years u-boot grew and the old NOR defconfig will not
  fit into NOR memory.
- SD boot with RAM larger than 2GB will only allocate 2GB of RAM (We
  were not able to fix this yet)

Marek Mojík (2):
  powerpc: mpc85xx: use CONFIG_VAL() for SYS_MONITOR_BASE in start.s
  powerpc: use CONFIG_IS_ENABLED() when checking for DM_SERIAL in
    include/asm/config.h

This contributor prefers not to receive mails (4):
  board_f: Add support for CONFIG_OF_BOARD_FIXUP for XIP images
  board: freescale: p1_p2_rdb_pc: Add weak function
    p1_p2_rdb_pc_fix_fdt_model() for fixing DT model string
  powerpc: mpc8xxx: Extend find_law() to find_law_by_addr_id()
  powerpc: Add support for CZ.NIC Turris 1.x routers

 arch/powerpc/cpu/mpc85xx/Kconfig            |   7 +
 arch/powerpc/cpu/mpc85xx/start.S            |   2 +-
 arch/powerpc/cpu/mpc8xxx/law.c              |   5 +-
 arch/powerpc/dts/Makefile                   |   1 +
 arch/powerpc/dts/turris1x-u-boot.dtsi       |  17 +
 arch/powerpc/dts/turris1x.dts               | 511 ++++++++++++++++++
 arch/powerpc/include/asm/config.h           |   2 +-
 arch/powerpc/include/asm/fsl_law.h          |   8 +-
 board/CZ.NIC/turris_1x/Kconfig              | 155 ++++++
 board/CZ.NIC/turris_1x/MAINTAINERS          |  13 +
 board/CZ.NIC/turris_1x/Makefile             |  15 +
 board/CZ.NIC/turris_1x/ddr.c                |  28 +
 board/CZ.NIC/turris_1x/law.c                |  13 +
 board/CZ.NIC/turris_1x/tlb.c                | 143 +++++
 board/CZ.NIC/turris_1x/turris_1x.c          | 571 ++++++++++++++++++++
 board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c |  13 +-
 boot/Kconfig                                |   2 +-
 common/board_f.c                            |   8 +-
 configs/turris_1x_nor_defconfig             |  87 +++
 configs/turris_1x_sdcard_defconfig          | 106 ++++
 dts/Kconfig                                 |   6 +
 include/configs/turris_1x.h                 | 335 ++++++++++++
 22 files changed, 2041 insertions(+), 7 deletions(-)
 create mode 100644 arch/powerpc/dts/turris1x-u-boot.dtsi
 create mode 100644 arch/powerpc/dts/turris1x.dts
 create mode 100644 board/CZ.NIC/turris_1x/Kconfig
 create mode 100644 board/CZ.NIC/turris_1x/MAINTAINERS
 create mode 100644 board/CZ.NIC/turris_1x/Makefile
 create mode 100644 board/CZ.NIC/turris_1x/ddr.c
 create mode 100644 board/CZ.NIC/turris_1x/law.c
 create mode 100644 board/CZ.NIC/turris_1x/tlb.c
 create mode 100644 board/CZ.NIC/turris_1x/turris_1x.c
 create mode 100644 configs/turris_1x_nor_defconfig
 create mode 100644 configs/turris_1x_sdcard_defconfig
 create mode 100644 include/configs/turris_1x.h

-- 
2.45.1



More information about the U-Boot mailing list