[PATCH v1 00/22] imx8qxp: siemens board: updates / sync with mainline

Heiko Schocher hs at denx.de
Fri Nov 8 06:21:21 CET 2024


Updating the imx8qxp based siemens board. The current
state of the siemens imx8qxp board is in an old not
really working state.

This series brings mainline back working on the siemens
deneb board, the guedi board is dropped as not longer used.

make all runs fine without having all the needed firmware images
on board, and so CI @azure.

If you want to have a working image you need to copy the
following images to your build directory $BDIR:

ATF : bl31-imx8dx.bin            -> $BDIR/bl31.bin
AHAB: mx8qxc0-ahab-container.img -> $BDIR/mx8qxc0-ahab-container.img
SCFW: deneb-scfw-tcm.bin         -> $BDIR/mx8qx-mek-scfw-tcm.bin

and call make flash.bin

There are also updates for ethernet and USB support, but not
ready to push upstream currently, hopefully following soon.

Azure build:
https://dev.azure.com/hs0298/hs/_build/results?buildId=134&view=results

patchseries needs patch:
https://patchwork.ozlabs.org/project/uboot/patch/20241104180203.110395-1-hs@denx.de/

series is based on mainline commit:
56accc56b9a ("bios_emulator: fix first argument of pci_{read,write}_config_* function calls")

Ah yes, not to forget, we work at siemens also on a CI setup to
have a mainline nightly build and test on hardware. We already
have such a CI for internall U-Boot versions up and running, but
we do not want again loose sync with mainline.


Enrico Leto (5):
  siemens: capricorn: move to cxg3 reference project with deneb board
  siemens: capricorn: get ram size from system controller
  siemens: capricorn: get module name from eeprom
  siemens: add ddr signal integrity test
  siemens: capricorn: update maintainers

Heiko Schocher (17):
  wdt: imx8qxp: add option to control external PMIC wdt via IMX8 SCU
  net: fec_mxc: fix probing for imx8qxp
  tools: imx8image: Improve error message
  imx: imx_cntr_image.sh: prevent warning for missing spl
  imx8qxp: Fix build when using SPL
  siemens: imx8qxp-capricorn-u-boot.dtsi: fix boot
  siemens: capricorn: use DCD_SKIP entry
  siemens: imximage.cfg: correct comment
  siemens: imximage.cfg: sync image names
  siemens: imx8-capricorn-u-boot.dtsi: add fec2
  siemens: capricorn: add missing ARCH_MISC_INIT
  siemens: configs/capricorn_cxg3_defconfig: updates
  siemens: capricorn: sync spl code with 8qxp-mek
  siemens: imx8-capricorn.dtsi: small adaptions
  siemens: capricorn: board.c fixes
  siemens: capricorn: add HW version information to boot log
  siemens: add ddr full memory test

 arch/arm/dts/Makefile                         |   3 +-
 arch/arm/dts/imx8-capricorn-cxg3.dts          | 129 +++++++
 ...u-boot.dtsi => imx8-capricorn-u-boot.dtsi} |  69 ++--
 ...qxp-capricorn.dtsi => imx8-capricorn.dtsi} | 116 +-----
 arch/arm/dts/imx8-deneb.dts                   |  10 -
 arch/arm/dts/imx8-giedi.dts                   |  10 -
 arch/arm/dts/imx8qxp-u-boot.dtsi              |   2 +
 arch/arm/mach-imx/imx8/Kconfig                |  12 +-
 board/boundary/nitrogen6x/nitrogen6x.c        |   2 +-
 board/siemens/capricorn/Kconfig               |  25 +-
 board/siemens/capricorn/MAINTAINERS           |  12 +-
 board/siemens/capricorn/Makefile              |   2 +
 board/siemens/capricorn/board.c               |  69 +++-
 board/siemens/capricorn/imximage.cfg          |  21 +-
 board/siemens/capricorn/spl.c                 |  43 +++
 board/siemens/capricorn/spl_memory_test.c     | 158 ++++++++
 board/siemens/capricorn/spl_memory_test.h     |   7 +
 board/siemens/common/Kconfig                  |   4 +
 board/siemens/common/board.h                  |  44 +++
 board/siemens/common/ddr_si_test.c            | 348 ++++++++++++++++++
 board/siemens/draco/board.h                   |  10 +-
 board/solidrun/mx6cuboxi/mx6cuboxi.c          |   2 +-
 ...neb_defconfig => capricorn_cxg3_defconfig} |  20 +-
 configs/giedi_defconfig                       | 133 -------
 drivers/misc/imx8/scu_api.c                   |  21 ++
 drivers/net/fec_mxc.c                         |  14 +-
 drivers/watchdog/Kconfig                      |   7 +
 drivers/watchdog/Makefile                     |   1 +
 drivers/watchdog/scu_wdt.c                    |  52 +++
 include/configs/capricorn-common.h            |   4 +-
 include/configs/deneb.h                       |  16 -
 include/firmware/imx/sci/rpc.h                |   1 +
 include/firmware/imx/sci/sci.h                |   1 +
 include/netdev.h                              |   2 +-
 tools/imx8image.c                             |   2 +-
 tools/imx_cntr_image.sh                       |   4 +
 36 files changed, 1006 insertions(+), 370 deletions(-)
 create mode 100644 arch/arm/dts/imx8-capricorn-cxg3.dts
 rename arch/arm/dts/{imx8qxp-capricorn-u-boot.dtsi => imx8-capricorn-u-boot.dtsi} (54%)
 rename arch/arm/dts/{imx8qxp-capricorn.dtsi => imx8-capricorn.dtsi} (64%)
 delete mode 100644 arch/arm/dts/imx8-deneb.dts
 delete mode 100644 arch/arm/dts/imx8-giedi.dts
 create mode 100644 board/siemens/capricorn/spl_memory_test.c
 create mode 100644 board/siemens/capricorn/spl_memory_test.h
 create mode 100644 board/siemens/common/board.h
 create mode 100644 board/siemens/common/ddr_si_test.c
 rename configs/{deneb_defconfig => capricorn_cxg3_defconfig} (89%)
 delete mode 100644 configs/giedi_defconfig
 create mode 100644 drivers/watchdog/scu_wdt.c
 delete mode 100644 include/configs/deneb.h

-- 
2.20.1



More information about the U-Boot mailing list