toradex: fix reset and hardware detection regressions
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest7 patches 2 repliesIn review
- v17 patches 9 repliesSuperseded
Changes in v2 from the cover letter
- add Marcel acked and tested-by
- remove CONFIG_NET_RANDOM_ETHADDR from verdin-am62_r5_defconfig
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | toradex: Fix recursive call to checkboardboard/ | +0 | 0 replies | |
| 2/7 | toradex: Remove not necessary model prints from checkboard()board/ board/ board/ +10 more | +8 | 0 replies | |
| 3/7 | toradex: common: Use SETTINGS_R event to read toradex config blockboard/ | +54 | 0 replies | |
| 4/7 | arm: dts: Refactor device trees using "&{/aliases}" syntaxarch/ arch/ arch/ +2 more | +43 | 0 replies | |
| 5/7 | toradex: common: Add sysinfo driverarch/ arch/ arch/ +13 more | +136 | 0 replies | |
| 6/7 | toradex: common: Use random mac address if toradex config block is missingboard/ configs/ configs/ +14 more | +16 | 0 replies | |
| 7/7 | toradex: imx6*: fix reset using wdt-reboot driverarch/ arch/ arch/ +4 more | +34 | 0 replies |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Marcel Ziswiler | Fabio Estevam |
|---|---|---|
| Series | R-b | |
| 1/7 | A-b T-b | |
| 2/7 | A-b T-b | |
| 3/7 | A-b T-b | |
| 4/7 | A-b T-b | |
| 5/7 | A-b T-b | |
| 6/7 | A-b T-b | |
| 7/7 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/7] toradex: fix reset and hardware detection regressions
From: Francesco Dolcini <[email protected]>
This series fixes two regressions affecting multiple Toradex boards (i.MX, TI and TEGRA based) and targets the current master, e.g. v2024.04 release.
U-Boot reset command is broken on all Tordex i.MX6* based SoMs since v2023.07, this series fixes it enabling the wdt-reboot driver.
Since v2024.04-rc1 reading the Toradex configuration block is not working properly anymore, the serial number and the hardware version are not read correctly, preventing the board from functioning correctly (wrong mac address, wrong DT, ...). This is fixed by reading the config block in EVT_SETTINGS_R and adding a toradex sysinfo driver. In addition to that, we now use a random mac address in case the config block is invalid.
v2:
- add Marcel acked and tested-by
- remove CONFIG_NET_RANDOM_ETHADDR from verdin-am62_r5_defconfig
v1: https://lore.kernel.org/all/[email protected]/
Emanuele Ghidoli (6):
toradex: Fix recursive call to checkboard
toradex: Remove not necessary model prints from checkboard()
toradex: common: Use SETTINGS_R event to read toradex config block
arm: dts: Refactor device trees using "&{/aliases}" syntax
toradex: common: Add sysinfo driver
toradex: common: Use random mac address if toradex config block is
missing
Parth Pancholi (1):
toradex: imx6*: fix reset using wdt-reboot driver
arch/arm/dts/fsl-imx8qm-apalis-u-boot.dtsi | 6 + arch/arm/dts/fsl-imx8qxp-colibri-u-boot.dtsi | 6 + .../dts/imx6dl-colibri-eval-v3-u-boot.dtsi | 28 +++- arch/arm/dts/imx6q-apalis-eval-u-boot.dtsi | 36 +++-- .../dts/imx6ull-colibri-eval-v3-u-boot.dtsi | 14 ++ .../arm/dts/imx7d-colibri-eval-v3-u-boot.dtsi | 14 +- .../dts/imx8mm-verdin-wifi-dev-u-boot.dtsi | 16 +- .../dts/imx8mp-verdin-wifi-dev-u-boot.dtsi | 16 +- .../dts/k3-am625-verdin-wifi-dev-u-boot.dtsi | 4 + arch/arm/dts/tegra124-apalis-u-boot.dtsi | 12 ++ arch/arm/dts/tegra20-colibri-u-boot.dtsi | 12 ++ arch/arm/dts/tegra30-apalis-u-boot.dtsi | 12 ++ arch/arm/dts/tegra30-colibri-u-boot.dtsi | 12 ++ .../arm/dts/vf610-colibri-eval-v3-u-boot.dtsi | 4 + board/toradex/apalis-imx8/apalis-imx8.c | 10 -- board/toradex/apalis-tk1/apalis-tk1.c | 7 - board/toradex/apalis_imx6/apalis_imx6.c | 21 --- board/toradex/apalis_t30/apalis_t30.c | 8 - .../toradex/colibri-imx6ull/colibri-imx6ull.c | 7 - board/toradex/colibri-imx8x/colibri-imx8x.c | 10 -- board/toradex/colibri_imx6/colibri_imx6.c | 20 --- board/toradex/colibri_imx7/colibri_imx7.c | 8 - board/toradex/colibri_t20/colibri_t20.c | 10 -- board/toradex/colibri_t30/colibri_t30.c | 7 - board/toradex/colibri_vf/colibri_vf.c | 10 -- board/toradex/common/Kconfig | 1 + board/toradex/common/tdx-common.c | 137 +++++++++++++----- board/toradex/common/tdx-common.h | 1 - configs/apalis-imx8_defconfig | 1 + configs/apalis-tk1_defconfig | 1 + configs/apalis_imx6_defconfig | 4 + configs/apalis_t30_defconfig | 1 + configs/colibri-imx6ull-emmc_defconfig | 4 + configs/colibri-imx6ull_defconfig | 4 + configs/colibri-imx8x_defconfig | 1 + configs/colibri_imx6_defconfig | 4 + configs/colibri_imx7_defconfig | 1 + configs/colibri_imx7_emmc_defconfig | 1 + configs/colibri_t20_defconfig | 1 + configs/colibri_t30_defconfig | 1 + configs/colibri_vf_defconfig | 1 + configs/verdin-am62_a53_defconfig | 1 + configs/verdin-imx8mm_defconfig | 1 + configs/verdin-imx8mp_defconfig | 1 + 44 files changed, 283 insertions(+), 194 deletions(-) create mode 100644 arch/arm/dts/tegra124-apalis-u-boot.dtsi create mode 100644 arch/arm/dts/tegra20-colibri-u-boot.dtsi create mode 100644 arch/arm/dts/tegra30-apalis-u-boot.dtsi create mode 100644 arch/arm/dts/tegra30-colibri-u-boot.dtsi
Signature · 1 line
2.39.2