board: toradex: add verdin am62 support
v3 cover board: toradex: add verdin am62 support
From: Marcel Ziswiler <[email protected]>
This series adds initial support for the Toradex Verdin AM62 SoM [1]. The first commit adds resp. PID4 to the ConfigBlock, the second one fixes an early clocking issue confirmed to be a weird bug in TI's scripting. And last but not least support for the Toradex Verdin AM62 is added.
Please note that this series is based on Emanuele's recent work on get_ram_size() [2] and the addition of the 0070 verdin i.mx 8m plus quad sku [3].
[1] https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62
[2] https://lore.kernel.org/all/[email protected]
[3] https://lore.kernel.org/all/[email protected]
Changes in v3:
- Add Verdin AM62 launch configuration SKUs as well.
- Integrate our recent find of CTRL_SLEEP_MOCI# needing to be driven from A53 SPL as it may be used to control some power-rails on the carrier board. E.g. on the Yavia carrier board it is needed to power the I2C EEPROM on the carrier board.
- Improve boot environment in R5 SPL vs. A53.
- Integrate launch configuration SKUs to Wi-Fi handling.
- Re-sync device trees from Linux kernel v6.5-rc1.
- Add warning if memory is less than expected.
Changes in v2:
- Add Bryan's reviewed-by tag. Thanks!
- Use 1.2 GHz rather than 1.25 GHz A53 clock as on the EVM/SK.
- Also add power-domain 166 as on the EVM/SK.
- Get rid of main_bcdma and main_pktdma as not required in R5 SPL.
- Get rid of all bootph-pre-ram in Ethernet and SDHC1 aka SD card related pinctrls as not required in any SPL.
- Enable CONFIG_TI_SECURE_DEVICE by default as Non-HS devices will continue to boot due to runtime device type detection.
- Disable FAT and SPI support as not required in R5 SPL.
- Also enable CONFIG_SPL_MMC_HS200_SUPPORT in R5 SPL.
- Enable CONFIG_LEGACY_IMAGE_FORMAT to allow sourcing unsigned script images e.g. like our current boot scripts.
- Increase CONFIG_SYS_BOOTM_LEN to 64 MB to allow booting bigger compressed images as e.g. in the Toradex Easy Installer case.
- Change memory configurations to operate at temperatures of up to 95 degrees celsius.
- Increase CONFIG_SYS_MAXARGS from default 16 to 64.
- Enable CONFIG_CMD_REMOTEPROC, CONFIG_SPL_DM_GPIO_LOOKUP_LABEL and CONFIG_SPL_I2C_EEPROM.
- For R5 SPL increase CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN to 0x140000, enable CONFIG_SPL_I2C, CONFIG_DM_I2C and CONFIG_SYS_I2C_OMAP24XX and savedefconfig got rid of CONFIG_SPL_FIT_IMAGE_POST_PROCESS.
Marcel Ziswiler (3):
toradex: tdx-cfg-block: add verdin am62 skus
arm: mach-k3: am62: fix 2nd mux option of clkout0
board: toradex: add verdin am62 support
arch/arm/dts/Makefile | 3 + arch/arm/dts/k3-am62-verdin-dev.dtsi | 196 ++ arch/arm/dts/k3-am62-verdin-wifi.dtsi | 39 + arch/arm/dts/k3-am62-verdin.dtsi | 1411 +++++++++++ .../dts/k3-am625-verdin-lpddr4-1600MTs.dtsi | 2190 +++++++++++++++++ arch/arm/dts/k3-am625-verdin-r5.dts | 115 + .../dts/k3-am625-verdin-wifi-dev-u-boot.dtsi | 223 ++ arch/arm/dts/k3-am625-verdin-wifi-dev.dts | 22 + arch/arm/mach-k3/Kconfig | 1 + arch/arm/mach-k3/am62x/clk-data.c | 5 +- board/toradex/common/tdx-cfg-block.c | 7 + board/toradex/common/tdx-cfg-block.h | 10 +- board/toradex/verdin-am62/Kconfig | 80 + board/toradex/verdin-am62/MAINTAINERS | 16 + board/toradex/verdin-am62/Makefile | 6 + board/toradex/verdin-am62/verdin-am62.c | 123 + configs/verdin-am62_a53_defconfig | 185 ++ configs/verdin-am62_r5_defconfig | 111 + doc/board/toradex/verdin-am62.rst | 167 ++ include/configs/verdin-am62.h | 55 + 20 files changed, 4961 insertions(+), 4 deletions(-) create mode 100644 arch/arm/dts/k3-am62-verdin-dev.dtsi create mode 100644 arch/arm/dts/k3-am62-verdin-wifi.dtsi create mode 100644 arch/arm/dts/k3-am62-verdin.dtsi create mode 100644 arch/arm/dts/k3-am625-verdin-lpddr4-1600MTs.dtsi create mode 100644 arch/arm/dts/k3-am625-verdin-r5.dts create mode 100644 arch/arm/dts/k3-am625-verdin-wifi-dev-u-boot.dtsi create mode 100644 arch/arm/dts/k3-am625-verdin-wifi-dev.dts create mode 100644 board/toradex/verdin-am62/Kconfig create mode 100644 board/toradex/verdin-am62/MAINTAINERS create mode 100644 board/toradex/verdin-am62/Makefile create mode 100644 board/toradex/verdin-am62/verdin-am62.c create mode 100644 configs/verdin-am62_a53_defconfig create mode 100644 configs/verdin-am62_r5_defconfig create mode 100644 doc/board/toradex/verdin-am62.rst create mode 100644 include/configs/verdin-am62.h
Signature · 1 line
2.36.1
PATCH v3 1/3 toradex: tdx-cfg-block: add verdin am62 skus
From: Marcel Ziswiler <[email protected]>
Add initial Verdin AM62 Quad 1GB WB IT prototype and launch configuration SKUs to ConfigBlock handling.
0069: Verdin AM62 Quad 1GB WB IT
0071: Verdin AM62 Solo 512MB
0072: Verdin AM62 Solo 512MB WB IT
0073: Verdin AM62 Dual 1GB ET
0074: Verdin AM62 Dual 1GB IT
0075: Verdin AM62 Dual 1GB WB IT
0076: Verdin AM62 Quad 2GB WB IT
---
Changes in v3:
- Add Verdin AM62 launch configuration SKUs as well.
board/toradex/common/tdx-cfg-block.c | 7 +++++++ board/toradex/common/tdx-cfg-block.h | 10 ++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-)
board/toradex/common/tdx-cfg-block.c +7 -0
@@ -139,7 +139,14 @@ const struct toradex_som toradex_modules[] = { [66] = { "Verdin iMX8M Plus Quad 8GB WB", TARGET_IS_ENABLED(VERDIN_IMX8MP) }, [67] = { "Apalis iMX8QM 8GB WB IT", TARGET_IS_ENABLED(APALIS_IMX8) }, [68] = { "Verdin iMX8M Mini Quad 2GB WB IT", TARGET_IS_ENABLED(VERDIN_IMX8MM) }, + [69] = { "Verdin AM62 Quad 1GB WB IT", TARGET_IS_ENABLED(VERDIN_AM62_A53) }, [70] = { "Verdin iMX8M Plus Quad 8GB WB IT", TARGET_IS_ENABLED(VERDIN_IMX8MP) }, + [71] = { "Verdin AM62 Solo 512MB", TARGET_IS_ENABLED(VERDIN_AM62_A53) }, + [72] = { "Verdin AM62 Solo 512MB WB IT", TARGET_IS_ENABLED(VERDIN_AM62_A53) }, + [73] = { "Verdin AM62 Dual 1GB ET", TARGET_IS_ENABLED(VERDIN_AM62_A53) }, + [74] = { "Verdin AM62 Dual 1GB IT", TARGET_IS_ENABLED(VERDIN_AM62_A53) }, + [75] = { "Verdin AM62 Dual 1GB WB IT", TARGET_IS_ENABLED(VERDIN_AM62_A53) }, + [76] = { "Verdin AM62 Quad 2GB WB IT", TARGET_IS_ENABLED(VERDIN_AM62_A53) }, };const char *const toradex_carrier_boards[] = {
board/toradex/common/tdx-cfg-block.h +8 -2
@@ -94,8 +94,14 @@ enum {VERDIN_IMX8MPQ_8GB_WIFI_BT ,APALIS_IMX8QM_8GB_WIFI_BT_IT ,VERDIN_IMX8MMQ_WIFI_BT_IT_NO_CAN , -/* 69 */ - VERDIN_IMX8MPQ_8GB_WIFI_BT_IT = 70, /* 70 */ +VERDIN_AM62Q_WIFI_BT_IT , +VERDIN_IMX8MPQ_8GB_WIFI_BT_IT ,/* 70 */ +VERDIN_AM62S_512MB , +VERDIN_AM62S_512MB_WIFI_BT_IT , +VERDIN_AM62D_1G_ET , +VERDIN_AM62D_1G_IT , +VERDIN_AM62D_1G_WIFI_BT_IT ,/* 75 */ + VERDIN_AM62Q_2G_WIFI_BT_IT, }; enum {
Signature · 1 line
2.36.1
PATCH v3 2/3 arm: mach-k3: am62: fix 2nd mux option of clkout0
In reply to Marcel ZiswilerFrom: Marcel Ziswiler <[email protected]>
Fix second mux option of clkout0 which should really be DEV_BOARD0_CLKOUT0_IN_PARENT_HSDIV4_16FFT_MAIN_2_HSDIVOUT1_CLK10 rather than twice the same according to [1].
[1] https://software-dl.ti.com/tisci/esd/latest/5_soc_doc/am62x/clocks.html#clocks-for-board0-device
---
(no changes since v2)
Changes in v2:
- Add Bryan's reviewed-by tag. Thanks!
arch/arm/mach-k3/am62x/clk-data.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
arch/arm/mach-k3/am62x/clk-data.c +3 -2
@@ -57,7 +57,7 @@ static const char * const sam62_pll_ctrl_wrap_mcu_0_sysclkout_clk_parents[] = {static const char *const clkout0_ctrl_out0_parents[] = {"hsdiv4_16fft_main_2_hsdivout1_clk" , -"hsdiv4_16fft_main_2_hsdivout1_clk" , +"hsdiv4_16fft_main_2_hsdivout1_clk10" , };static const char *const clk_32k_rc_sel_out0_parents[] = {
@@ -195,6 +195,7 @@ static const struct clk_data clk_list[] = {CLK_DIV ("hsdiv4_16fft_main_1_hsdivout1_clk" ,"pllfracf_ssmod_16fft_main_1_foutvcop_clk" ,0x681084 ,0 ,7 ,0 ,0 ),CLK_DIV ("hsdiv4_16fft_main_1_hsdivout2_clk" ,"pllfracf_ssmod_16fft_main_1_foutvcop_clk" ,0x681088 ,0 ,7 ,0 ,0 ),CLK_DIV ("hsdiv4_16fft_main_2_hsdivout1_clk" ,"pllfracf_ssmod_16fft_main_2_foutvcop_clk" ,0x682084 ,0 ,7 ,0 ,0 ), +CLK_DIV ("hsdiv4_16fft_main_2_hsdivout1_clk10" ,"pllfracf_ssmod_16fft_main_2_foutvcop_clk" ,0x682084 ,0 ,7 ,0 ,0 ),CLK_DIV ("hsdiv4_16fft_main_2_hsdivout2_clk" ,"pllfracf_ssmod_16fft_main_2_foutvcop_clk" ,0x682088 ,0 ,7 ,0 ,0 ),CLK_DIV ("hsdiv4_16fft_mcu_0_hsdivout0_clk" ,"pllfracf_ssmod_16fft_mcu_0_foutvcop_clk" ,0x4040080 ,0 ,7 ,0 ,0 ), CLK_MUX_PLLCTRL("sam62_pll_ctrl_wrap_main_0_sysclkout_clk", sam62_pll_ctrl_wrap_main_0_sysclkout_clk_parents, 2, 0x410000, 0),
@@ -313,7 +314,7 @@ static const struct dev_clk soc_dev_clk_data[] = {DEV_CLK (146 ,5 ,"sam62_pll_ctrl_wrap_main_0_chip_div1_clk_clk" ),DEV_CLK (157 ,20 ,"clkout0_ctrl_out0" ),DEV_CLK (157 ,21 ,"hsdiv4_16fft_main_2_hsdivout1_clk" ), -DEV_CLK (157 ,22 ,"hsdiv4_16fft_main_2_hsdivout1_clk" ), +DEV_CLK (157 ,22 ,"hsdiv4_16fft_main_2_hsdivout1_clk10" ),DEV_CLK (157 ,24 ,"sam62_pll_ctrl_wrap_main_0_chip_div1_clk_clk" ),DEV_CLK (157 ,25 ,"board_0_ddr0_ck0_out" ), DEV_CLK(157, 40, "mshsi2c_main_0_porscl"),
Signature · 1 line
2.36.1
PATCH v3 3/3 board: toradex: add verdin am62 support
In reply to Marcel ZiswilerFrom: Marcel Ziswiler <[email protected]>
This adds initial support for the Toradex Verdin AM62 Quad 1GB WB IT V1.0A module. They are strapped to boot from their on-module eMMC. U-Boot supports booting from the on-module eMMC only, DFU support is disabled for now due to missing AM62x USB support.
Boot sequence is:
SYSFW ---> R5 SPL (both in tiboot3.bin) ---> ATF (TF-A) ---> OP-TEE
---> A53 SPL (part of tispl.bin) ---> U-boot proper (u-boot.img)
---
Changes in v3:
- Integrate our recent find of CTRL_SLEEP_MOCI# needing to be driven from A53 SPL as it may be used to control some power-rails on the carrier board. E.g. on the Yavia carrier board it is needed to power the I2C EEPROM on the carrier board.
- Improve boot environment in R5 SPL vs. A53.
- Integrate launch configuration SKUs to Wi-Fi handling.
- Re-sync device trees from Linux kernel v6.5-rc1.
- Add warning if memory is less than expected.
Changes in v2:
- Use 1.2 GHz rather than 1.25 GHz A53 clock as on the EVM/SK.
- Also add power-domain 166 as on the EVM/SK.
- Get rid of main_bcdma and main_pktdma as not required in R5 SPL.
- Get rid of all bootph-pre-ram in Ethernet and SDHC1 aka SD card related pinctrls as not required in any SPL.
- Enable CONFIG_TI_SECURE_DEVICE by default as Non-HS devices will continue to boot due to runtime device type detection.
- Disable FAT and SPI support as not required in R5 SPL.
- Also enable CONFIG_SPL_MMC_HS200_SUPPORT in R5 SPL.
- Enable CONFIG_LEGACY_IMAGE_FORMAT to allow sourcing unsigned script images e.g. like our current boot scripts.
- Increase CONFIG_SYS_BOOTM_LEN to 64 MB to allow booting bigger compressed images as e.g. in the Toradex Easy Installer case.
- Change memory configurations to operate at temperatures of up to 95 degrees celsius.
- Increase CONFIG_SYS_MAXARGS from default 16 to 64.
- Enable CONFIG_CMD_REMOTEPROC, CONFIG_SPL_DM_GPIO_LOOKUP_LABEL and CONFIG_SPL_I2C_EEPROM.
- For R5 SPL increase CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN to 0x140000, enable CONFIG_SPL_I2C, CONFIG_DM_I2C and CONFIG_SYS_I2C_OMAP24XX and savedefconfig got rid of CONFIG_SPL_FIT_IMAGE_POST_PROCESS.
arch/arm/dts/Makefile | 3 + arch/arm/dts/k3-am62-verdin-dev.dtsi | 196 ++ arch/arm/dts/k3-am62-verdin-wifi.dtsi | 39 + arch/arm/dts/k3-am62-verdin.dtsi | 1411 +++++++++++ .../dts/k3-am625-verdin-lpddr4-1600MTs.dtsi | 2190 +++++++++++++++++ arch/arm/dts/k3-am625-verdin-r5.dts | 115 + .../dts/k3-am625-verdin-wifi-dev-u-boot.dtsi | 223 ++ arch/arm/dts/k3-am625-verdin-wifi-dev.dts | 22 + arch/arm/mach-k3/Kconfig | 1 + board/toradex/verdin-am62/Kconfig | 80 + board/toradex/verdin-am62/MAINTAINERS | 16 + board/toradex/verdin-am62/Makefile | 6 + board/toradex/verdin-am62/verdin-am62.c | 123 + configs/verdin-am62_a53_defconfig | 185 ++ configs/verdin-am62_r5_defconfig | 111 + doc/board/toradex/verdin-am62.rst | 167 ++ include/configs/verdin-am62.h | 55 + 17 files changed, 4943 insertions(+) create mode 100644 arch/arm/dts/k3-am62-verdin-dev.dtsi create mode 100644 arch/arm/dts/k3-am62-verdin-wifi.dtsi create mode 100644 arch/arm/dts/k3-am62-verdin.dtsi create mode 100644 arch/arm/dts/k3-am625-verdin-lpddr4-1600MTs.dtsi create mode 100644 arch/arm/dts/k3-am625-verdin-r5.dts create mode 100644 arch/arm/dts/k3-am625-verdin-wifi-dev-u-boot.dtsi create mode 100644 arch/arm/dts/k3-am625-verdin-wifi-dev.dts create mode 100644 board/toradex/verdin-am62/Kconfig create mode 100644 board/toradex/verdin-am62/MAINTAINERS create mode 100644 board/toradex/verdin-am62/Makefile create mode 100644 board/toradex/verdin-am62/verdin-am62.c create mode 100644 configs/verdin-am62_a53_defconfig create mode 100644 configs/verdin-am62_r5_defconfig create mode 100644 doc/board/toradex/verdin-am62.rst create mode 100644 include/configs/verdin-am62.h
arch/arm/dts/Makefile +3 -0
@@ -1303,6 +1303,9 @@ dtb-$(CONFIG_SOC_K3_AM642) += k3-am642-evm.dtb \ dtb-$(CONFIG_SOC_K3_AM625) += k3-am625-sk.dtb \ k3-am625-r5-sk.dtb +dtb-$(CONFIG_SOC_K3_AM625) += k3-am625-verdin-wifi-dev.dtb \ + k3-am625-verdin-r5.dtb + dtb-$(CONFIG_SOC_K3_AM625) += k3-am62a7-sk.dtb \ k3-am62a7-r5-sk.dtb
arch/arm/dts/k3-am62-verdin-dev.dtsi new file +196 -0
196 lines not on this page · raw message
arch/arm/dts/k3-am62-verdin-wifi.dtsi new file +39 -0
@@ -0,0 +1,39 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2023 Toradex + * + * Common dtsi for Verdin AM62 SoM WB variant + * + * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 + */ + +/ { + wifi_pwrseq: wifi-pwrseq { + compatible = "mmc-pwrseq-simple"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_wifi_en>; + reset-gpios = <&main_gpio0 22 GPIO_ACTIVE_LOW>; + }; +}; + +/* On-module Wi-Fi */ +&sdhci2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_sdhci2>; + bus-width = <4>; + cap-power-off-card; + keep-power-in-suspend; + mmc-pwrseq = <&wifi_pwrseq>; + non-removable; + ti,fails-without-test-cd; + ti,driver-strength-ohm = <50>; + vmmc-supply = <®_3v3>; + status = "okay"; +}; + +/* On-module Bluetooth */ +&main_uart5 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart5>; + status = "okay"; +};
arch/arm/dts/k3-am62-verdin.dtsi new file +1411 -0
1,411 lines not on this page · raw message
arch/arm/dts/k3-am625-verdin-lpddr4-1600MTs.dtsi new file +2190 -0
1,345 lines not on this page · raw message
arch/arm/dts/k3-am625-verdin-r5.dts new file +115 -0
115 lines not on this page · raw message
arch/arm/dts/k3-am625-verdin-wifi-dev-u-boot.dtsi new file +223 -0
223 lines not on this page · raw message
arch/arm/dts/k3-am625-verdin-wifi-dev.dts new file +22 -0
Lines of this file are not shown. View the raw message.
board/toradex/verdin-am62/Kconfig new file +80 -0
80 lines not on this page · raw message
board/toradex/verdin-am62/MAINTAINERS new file +16 -0
Lines of this file are not shown. View the raw message.
board/toradex/verdin-am62/Makefile new file +6 -0
Lines of this file are not shown. View the raw message.
board/toradex/verdin-am62/verdin-am62.c new file +123 -0
123 lines not on this page · raw message
configs/verdin-am62_a53_defconfig new file +185 -0
185 lines not on this page · raw message
configs/verdin-am62_r5_defconfig new file +111 -0
111 lines not on this page · raw message
doc/board/toradex/verdin-am62.rst new file +167 -0
167 lines not on this page · raw message
include/configs/verdin-am62.h new file +55 -0
55 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.36.1
Part of the diff is not shown here. View the raw message.
Quoted 15 lines · Marcel Ziswiler
From: Marcel Ziswiler <[email protected]>
This adds initial support for the Toradex Verdin AM62 Quad 1GB WB IT V1.0A module. They are strapped to boot from their on-module eMMC. U-Boot supports booting from the on-module eMMC only, DFU support is disabled for now due to missing AM62x USB support.
Boot sequence is:
SYSFW ---> R5 SPL (both in tiboot3.bin) ---> ATF (TF-A) ---> OP-TEE
---> A53 SPL (part of tispl.bin) ---> U-boot proper (u-boot.img)Signed-off-by Marcel Ziswiler <[email protected]>---
Quoted 9 lines
Changes in v3:
- Integrate our recent find of CTRL_SLEEP_MOCI# needing to be driven from A53 SPL as it may be used to control some power-rails on the carrier board. E.g. on the Yavia carrier board it is needed to power the I2C EEPROM on the carrier board.
- Improve boot environment in R5 SPL vs. A53.
- Integrate launch configuration SKUs to Wi-Fi handling.
- Re-sync device trees from Linux kernel v6.5-rc1.
- Add warning if memory is less than expected.
Thank you. we are in the middle of a bunch of cleanup for AM62 at the moment - fixing up mdio, dts, ethernet etc and introducing binman at the moment. I think it might be better to introduce new platforms with those changes incorporated.
Signature · 3 lines
Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
Hi Nishanth
Quoted 26 lines · Nishanth Menon
Quoted 15 lines · Marcel Ziswiler
From: Marcel Ziswiler <[email protected]>
This adds initial support for the Toradex Verdin AM62 Quad 1GB WB IT V1.0A module. They are strapped to boot from their on-module eMMC. U-Boot supports booting from the on-module eMMC only, DFU support is disabled for now due to missing AM62x USB support.
Boot sequence is:
SYSFW ---> R5 SPL (both in tiboot3.bin) ---> ATF (TF-A) ---> OP-TEE ---> A53 SPL (part of tispl.bin) ---> U-boot proper (u-boot.img)Signed-off-by Marcel Ziswiler <[email protected]>---
Quoted 9 lines
Changes in v3:
- Integrate our recent find of CTRL_SLEEP_MOCI# needing to be driven from A53 SPL as it may be used to control some power-rails on the carrier board. E.g. on the Yavia carrier board it is needed to power the I2C EEPROM on the carrier board.
- Improve boot environment in R5 SPL vs. A53.
- Integrate launch configuration SKUs to Wi-Fi handling.
- Re-sync device trees from Linux kernel v6.5-rc1.
- Add warning if memory is less than expected.
Quoted 3 lines
Thank you. we are in the middle of a bunch of cleanup for AM62 at the moment - fixing up mdio, dts, ethernet etc and introducing binman at the moment.
I am, of course, fully aware of this and actually internally do have patches on top of all such work which already got posted to the mailing list to make sure our stuff also works with this.
I am also more than happy to provide more feedback to help in moving this all forward.
Quoted 2 lines
I think it might be better to introduce new platforms with those changes incorporated.
While I do understand what you are saying I am also a little bit disappointed that we are now blocked since more than one and a half months without a clear path/timeline moving forward.
Quoted 5 lines
Signature · 3 lines
Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
Cheers
Marcel
Quoted 36 lines · Marcel Ziswiler
Hi Nishanth
Quoted 26 lines · Nishanth Menon
Quoted 15 lines · Marcel Ziswiler
From: Marcel Ziswiler <[email protected]>
This adds initial support for the Toradex Verdin AM62 Quad 1GB WB IT V1.0A module. They are strapped to boot from their on-module eMMC. U-Boot supports booting from the on-module eMMC only, DFU support is disabled for now due to missing AM62x USB support.
Boot sequence is:
SYSFW ---> R5 SPL (both in tiboot3.bin) ---> ATF (TF-A) ---> OP-TEE ---> A53 SPL (part of tispl.bin) ---> U-boot proper (u-boot.img)Signed-off-by Marcel Ziswiler <[email protected]>---
Quoted 9 lines
Changes in v3:
- Integrate our recent find of CTRL_SLEEP_MOCI# needing to be driven from A53 SPL as it may be used to control some power-rails on the carrier board. E.g. on the Yavia carrier board it is needed to power the I2C EEPROM on the carrier board.
- Improve boot environment in R5 SPL vs. A53.
- Integrate launch configuration SKUs to Wi-Fi handling.
- Re-sync device trees from Linux kernel v6.5-rc1.
- Add warning if memory is less than expected.Quoted 3 lines
Thank you. we are in the middle of a bunch of cleanup for AM62 at the moment - fixing up mdio, dts, ethernet etc and introducing binman at the moment.
I am, of course, fully aware of this and actually internally do have patches on top of all such work which already got posted to the mailing list to make sure our stuff also works with this.
Quoted 7 lines
I am also more than happy to provide more feedback to help in moving this all forward.
Quoted 2 lines
I think it might be better to introduce new platforms with those changes incorporated.
While I do understand what you are saying I am also a little bit disappointed that we are now blocked since more than one and a half months without a clear path/timeline moving forward.
I too am not thrilled with the overall state here. When roughly will the dts files be able to be re-synced and we can move forward? Perhaps when the merge window opens in about 4 weeks?
Signature · 1 line
Tom
Hello Tom, hello Nishanth,
Quoted 40 lines · Tom Rini
Quoted 39 lines · Marcel Ziswiler
Quoted 26 lines · Nishanth Menon
Quoted 15 lines · Marcel Ziswiler
From: Marcel Ziswiler <[email protected]>
This adds initial support for the Toradex Verdin AM62 Quad 1GB WB IT V1.0A module. They are strapped to boot from their on-module eMMC. U-Boot supports booting from the on-module eMMC only, DFU support is disabled for now due to missing AM62x USB support.
Boot sequence is:
SYSFW ---> R5 SPL (both in tiboot3.bin) ---> ATF (TF-A) ---> OP-TEE ---> A53 SPL (part of tispl.bin) ---> U-boot proper (u-boot.img)Signed-off-by Marcel Ziswiler <[email protected]>---
Quoted 9 lines
Changes in v3:
- Integrate our recent find of CTRL_SLEEP_MOCI# needing to be driven from A53 SPL as it may be used to control some power-rails on the carrier board. E.g. on the Yavia carrier board it is needed to power the I2C EEPROM on the carrier board.
- Improve boot environment in R5 SPL vs. A53.
- Integrate launch configuration SKUs to Wi-Fi handling.
- Re-sync device trees from Linux kernel v6.5-rc1.
- Add warning if memory is less than expected.Quoted 3 lines
Thank you. we are in the middle of a bunch of cleanup for AM62 at the moment - fixing up mdio, dts, ethernet etc and introducing binman at the moment.
I am, of course, fully aware of this and actually internally do have patches on top of all such work which already got posted to the mailing list to make sure our stuff also works with this.
I am also more than happy to provide more feedback to help in moving this all forward.
Quoted 2 lines
I think it might be better to introduce new platforms with those changes incorporated.
Quoted 6 lines
Quoted 2 lines
While I do understand what you are saying I am also a little bit disappointed that we are now blocked since more than one and a half months without a clear path/timeline moving forward.
I too am not thrilled with the overall state here. When roughly will the dts files be able to be re-synced and we can move forward? Perhaps when the merge window opens in about 4 weeks?
I would propose the following:
- we rebase this patch on top of the recent binman changes
- we merge the DTS as it is. The sync of the DTS should not be a reason for postponing this series, you should be able to do it anytime.
This would allow us to move forward, as soon as this is merged we have CI and tests running on tip of master, and it uses to provide some valuable feedback.
Does it works for you all?
Francesco
Quoted 50 lines · Francesco Dolcini
Hello Tom, hello Nishanth,
Quoted 40 lines · Tom Rini
Quoted 39 lines · Marcel Ziswiler
Quoted 26 lines · Nishanth Menon
Quoted 15 lines · Marcel Ziswiler
From: Marcel Ziswiler <[email protected]>
This adds initial support for the Toradex Verdin AM62 Quad 1GB WB IT V1.0A module. They are strapped to boot from their on-module eMMC. U-Boot supports booting from the on-module eMMC only, DFU support is disabled for now due to missing AM62x USB support.
Boot sequence is:
SYSFW ---> R5 SPL (both in tiboot3.bin) ---> ATF (TF-A) ---> OP-TEE ---> A53 SPL (part of tispl.bin) ---> U-boot proper (u-boot.img)Signed-off-by Marcel Ziswiler <[email protected]>---
Quoted 9 lines
Changes in v3:
- Integrate our recent find of CTRL_SLEEP_MOCI# needing to be driven from A53 SPL as it may be used to control some power-rails on the carrier board. E.g. on the Yavia carrier board it is needed to power the I2C EEPROM on the carrier board.
- Improve boot environment in R5 SPL vs. A53.
- Integrate launch configuration SKUs to Wi-Fi handling.
- Re-sync device trees from Linux kernel v6.5-rc1.
- Add warning if memory is less than expected.Quoted 3 lines
Thank you. we are in the middle of a bunch of cleanup for AM62 at the moment - fixing up mdio, dts, ethernet etc and introducing binman at the moment.
I am, of course, fully aware of this and actually internally do have patches on top of all such work which already got posted to the mailing list to make sure our stuff also works with this.
I am also more than happy to provide more feedback to help in moving this all forward.
Quoted 2 lines
I think it might be better to introduce new platforms with those changes incorporated.
Quoted 6 lines
Quoted 2 lines
While I do understand what you are saying I am also a little bit disappointed that we are now blocked since more than one and a half months without a clear path/timeline moving forward.
I too am not thrilled with the overall state here. When roughly will the dts files be able to be re-synced and we can move forward? Perhaps when the merge window opens in about 4 weeks?
Quoted 9 lines
I would propose the following:
- we rebase this patch on top of the recent binman changes
- we merge the DTS as it is. The sync of the DTS should not be a reason for postponing this series, you should be able to do it anytime.This would allow us to move forward, as soon as this is merged we have CI and tests running on tip of master, and it uses to provide some valuable feedback.
I am with you. the latest dts sync for am625 does away with many of the issues listed in the patches.
https://lore.kernel.org/all/[email protected]/
I understand the going has been slow, but there is a lot of cruft that had to be cleanedup to reach this stage. there are more stuff to do, but they can probably be done on top. I appreciate the patience while we try and get things back in control with the series.
Signature · 3 lines
Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D