[PATCH v2 00/20] imx8qxp: siemens board: updates / sync with mainline
Heiko Schocher
hs at denx.de
Mon Nov 18 07:26:54 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=135&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.
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} | 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_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} (89%)
delete mode 100644 configs/giedi_defconfig
create mode 100644 drivers/watchdog/scu_pmic_wdt.c
delete mode 100644 include/configs/deneb.h
--
2.20.1
More information about the U-Boot
mailing list