Skip to content

imx8qxp: siemens board: updates / sync with mainline

Heiko Schocher u-boot 4 versions – Applied

Status from this message: Applied all for -next, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest20 patches 1 replyApplied
  2. v320 patches 4 repliesSuperseded
  3. v220 patches 6 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v122 patches25 repliesSuperseded

Changes in v4 from the cover letter

- rebased to mainline commit
7fe55182d92 ("Merge tag 'xilinx-for-v2025.01-rc3-v2' of https://source.denx.de/u-boot/custodians/u-boot-microblaze")
and fixed merge problem in defconfig
- remove hint that patch
https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
is needed as already in mainline now.
- comment from Stefan
rename sc_timer_control_pmic_wdog() to sc_timer_control_siemens_pmic_wdog()
rename TIMER_FUNC_CTRL_PMIC_WDOG to TIMER_FUNC_CTRL_SIEMENS_PMIC_WDOG
correct debug printf (fits into one line)
added Reviewed-by from Stefan
- add Reviewed-by from Alexander
- add Reviewed-by from Alexander

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/20wdt: imx8qxp: add option to control external PMIC wdt via IMX8 SCUdrivers/misc/imx8/scu_api.c drivers/watchdog/Kconfig drivers/watchdog/Makefile +3 more+91 -00 replies
2/20net: fec_mxc: fix probing for imx8qxpboard/boundary/nitrogen6x/nitrogen6x.c board/solidrun/mx6cuboxi/mx6cuboxi.c drivers/net/fec_mxc.c +1 more+10 -100 replies
3/20tools: imx8image: Improve error messagetools/imx8image.c+1 -10 replies
4/20imx: imx_cntr_image.sh: prevent warning for missing spltools/imx_cntr_image.sh+4 -00 replies
5/20imx8qxp: Fix build when using SPLarch/arm/dts/imx8qxp-u-boot.dtsi+2 -00 replies
6/20siemens: capricorn: move to cxg3 reference project with deneb boardarch/arm/dts/Makefile arch/arm/dts/imx8-capricorn-cxg3.dts arch/arm/dts/imx8-capricorn-u-boot.dtsi +8 more+138 -3030 replies
7/20siemens: imx8qxp-capricorn-u-boot.dtsi: fix bootarch/arm/dts/imx8-capricorn-u-boot.dtsi+35 -320 replies
8/20siemens: capricorn: use DCD_SKIP entryboard/siemens/capricorn/imximage.cfg+4 -00 replies
9/20siemens: imximage.cfg: correct commentboard/siemens/capricorn/imximage.cfg+2 -10 replies
10/20siemens: imximage.cfg: sync image namesboard/siemens/capricorn/imximage.cfg+10 -40 replies
11/20siemens: configs/capricorn_cxg3_defconfig: updatesconfigs/capricorn_cxg3_defconfig+11 -50 replies
12/20siemens: capricorn: sync spl code with 8qxp-mekboard/siemens/capricorn/spl.c+38 -00 replies
13/20siemens: imx8-capricorn.dtsi: add wdt devicearch/arm/dts/imx8-capricorn.dtsi+5 -00 replies
14/20siemens: capricorn: small board updatesboard/siemens/capricorn/board.c+2 -70 replies
15/20siemens: capricorn: add HW version information to boot logboard/siemens/capricorn/board.c board/siemens/common/board.h board/siemens/draco/board.h+67 -80 replies
16/20siemens: capricorn: get ram size from system controllerboard/siemens/capricorn/board.c include/configs/capricorn-common.h+37 -10 replies
17/20siemens: capricorn: get module name from eepromboard/siemens/capricorn/board.c+6 -00 replies
18/20siemens: add ddr full memory testboard/siemens/capricorn/Kconfig board/siemens/capricorn/Makefile board/siemens/capricorn/spl.c +2 more+178 -00 replies
19/20siemens: add ddr signal integrity testboard/siemens/capricorn/Kconfig board/siemens/capricorn/Makefile board/siemens/common/Kconfig +1 more+355 -00 replies
20/20siemens: capricorn: update maintainersboard/siemens/capricorn/MAINTAINERS+7 -50 replies

Reviews trailers per patch

7 of 20 patches have a Reviewed-by or Acked-by.

PatchAlexander SverdlinStefan Roese
1/20R-b R-b
2/20
3/20R-b
4/20
5/20
6/20
7/20R-b
8/20
9/20R-b
10/20
11/20R-b
12/20
13/20
14/20R-b
15/20
16/20
17/20
18/20
19/20
20/20R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 00/20] imx8qxp: siemens board: updates / sync with mainline

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=139&view=results

series is based on mainline commit:
7fe55182d92 ("Merge tag 'xilinx-for-v2025.01-rc3-v2' of https://source.denx.de/u-boot/custodians/u-boot-microblaze")

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.

Changes in v4:
- rebased to mainline commit
7fe55182d92 ("Merge tag 'xilinx-for-v2025.01-rc3-v2' of https://source.denx.de/u-boot/custodians/u-boot-microblaze")
and fixed merge problem in defconfig
- remove hint that patch
https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
is needed as already in mainline now.
- comment from Stefan
rename sc_timer_control_pmic_wdog() to sc_timer_control_siemens_pmic_wdog()
rename TIMER_FUNC_CTRL_PMIC_WDOG to TIMER_FUNC_CTRL_SIEMENS_PMIC_WDOG
correct debug printf (fits into one line)
added Reviewed-by from Stefan
- add Reviewed-by from Alexander
- add Reviewed-by from Alexander

Changes in v3:
- add Reviewed-by tag from Alexander
- add comments from Igor
fix spelling issues
depends on ARCH_IMX8 instead of IMX8 Kconfig symbol
- comment from Francesco and Stefan
rename Kconfig symbol from WDT_SCU_PMIC to WDT_SIEMENS_PMIC rename scu_pmic_wdt.c to siemens_pmic_wdt.c
- use renamed Kconfig symbol CONFIG_WDT_SIEMENS_PMIC

Changes in v2:
remove patch "siemens: capricorn: add missing ARCH_MISC_INIT" as we do not need this config option anymore.
remove patch "siemens: imx8-capricorn-u-boot.dtsi: add fec2" as fec2 is not used in SPL!
- work on comments from Stefan:
- rename driver file from scu_wdt.c to scu_pmic_wdt.c
- rename Kconfig symbol from CONFIG_WDT_IMX_SCU to CONFIG_WDT_SCU_PMIC
- reworked Kconfig help text
- add comment that TIMER_FUNC_CTRL_PMIC_WDOG is a siemens specific SCU API extension in their SCFW.
- reworked commit message
add Reviewed-by from Alexander
- add "bootph-all" in A35_0 node to u-boot.dtsi not
in dts for the board!
- add comment from Walter
fix typo: than -> then
- add Reviewed-by from Alexander
- add comments from Fabio
fix typo: silicium -> silicon
- add Reviewed-by from Alexander
- use renamed Kconfig symbol CONFIG_WDT_SCU_PMIC
- add comments rom Fabio and Enrico
do not remove DMA for console
remove u-boot specific property addition, instead
add it in arch/arm/dts/imx8qxp-u-boot.dtsi
- add comments from Fabio
rename subject line and rework commit message,
alse remove unneeded comment in checkboard()
- add comment from Fabio
add From line, as patch is from Alessandro
fix typo in commit description: drace -> draco
- remove CONFIG_XPL_BUILD in board_init as
board_init is not called from SPL.
add From tag
reworked the commit message a little bit
Add From tag
- add Reviewed-by from Alexander

Alessandro Zini (1):
siemens: capricorn: add HW version information to boot log

Enrico Leto (6):
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 full memory test
siemens: add ddr signal integrity test
siemens: capricorn: update maintainers

Heiko Schocher (13):
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: configs/capricorn_cxg3_defconfig: updates
siemens: capricorn: sync spl code with 8qxp-mek
siemens: imx8-capricorn.dtsi: add wdt device
siemens: capricorn: small board updates

 arch/arm/dts/Makefile                         |   3 +-
 arch/arm/dts/imx8-capricorn-cxg3.dts          | 129 +++++++
 ...u-boot.dtsi => imx8-capricorn-u-boot.dtsi} |  67 ++--
 ...qxp-capricorn.dtsi => imx8-capricorn.dtsi} | 109 +-----
 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                |  11 +-
 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               |  70 +++-
 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} |  21 +-
 configs/giedi_defconfig                       | 133 -------
 drivers/misc/imx8/scu_api.c                   |  20 +
 drivers/net/fec_mxc.c                         |  14 +-
 drivers/watchdog/Kconfig                      |   7 +
 drivers/watchdog/Makefile                     |   1 +
 drivers/watchdog/siemens_pmic_wdt.c           |  59 +++
 include/configs/capricorn-common.h            |   4 +-
 include/configs/deneb.h                       |  16 -
 include/firmware/imx/sci/rpc.h                |   3 +
 include/firmware/imx/sci/sci.h                |   1 +
 include/netdev.h                              |   2 +-
 tools/imx8image.c                             |   2 +-
 tools/imx_cntr_image.sh                       |   4 +
 36 files changed, 1001 insertions(+), 375 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} (88%)
 delete mode 100644 configs/giedi_defconfig
 create mode 100644 drivers/watchdog/siemens_pmic_wdt.c
 delete mode 100644 include/configs/deneb.h
Signature · 1 line
2.20.1