imx: imx8mp: Add support for Polyhex Debix Model A SBC
Subsystems (3)
PATCH v2 1/1 imx: imx8mp: Add support for Polyhex Debix Model A SBC
Add support for the Polyhex Debix Model A SBC board. It is an industrial grade single board computer based on NXP's i.MX 8M Plus.
Currently supported interfaces are:
- Serial console
- Micro SD
- eQOS and FEC Ethernet
imx8mp-debix-model-a.dts is taken from Linux 6.3.
---
Changes in v2:
- Updated Copyright time and author in files needing correction
--- arch/arm/dts/Makefile | 1 + arch/arm/dts/imx8mp-debix-model-a-u-boot.dtsi | 141 ++ arch/arm/dts/imx8mp-debix-model-a.dts | 507 +++++ arch/arm/mach-imx/imx8m/Kconfig | 8 + board/polyhex/imx8mp_debix_model_a/Kconfig | 15 + .../polyhex/imx8mp_debix_model_a/MAINTAINERS | 8 + board/polyhex/imx8mp_debix_model_a/Makefile | 13 + .../imx8mp_debix_model_a.c | 55 + .../imximage-8mp-lpddr4.cfg | 9 + .../imx8mp_debix_model_a/lpddr4_timing.c | 1843 +++++++++++++++++ board/polyhex/imx8mp_debix_model_a/spl.c | 128 ++ configs/imx8mp_debix_model_a_defconfig | 110 + include/configs/imx8mp_debix_model_a.h | 54 + 13 files changed, 2892 insertions(+) create mode 100644 arch/arm/dts/imx8mp-debix-model-a-u-boot.dtsi create mode 100644 arch/arm/dts/imx8mp-debix-model-a.dts create mode 100644 board/polyhex/imx8mp_debix_model_a/Kconfig create mode 100644 board/polyhex/imx8mp_debix_model_a/MAINTAINERS create mode 100644 board/polyhex/imx8mp_debix_model_a/Makefile create mode 100644 board/polyhex/imx8mp_debix_model_a/imx8mp_debix_model_a.c create mode 100644 board/polyhex/imx8mp_debix_model_a/imximage-8mp-lpddr4.cfg create mode 100644 board/polyhex/imx8mp_debix_model_a/lpddr4_timing.c create mode 100644 board/polyhex/imx8mp_debix_model_a/spl.c create mode 100644 configs/imx8mp_debix_model_a_defconfig create mode 100644 include/configs/imx8mp_debix_model_a.h
arch/arm/dts/Makefile +1 -0
@@ -1008,6 +1008,7 @@ dtb-$(CONFIG_ARCH_IMX8M) += \ imx8mq-phanbell.dtb \ imx8mp-beacon-kit.dtb \ imx8mp-data-modul-edm-sbc.dtb \ + imx8mp-debix-model-a.dtb \ imx8mp-dhcom-pdk2.dtb \ imx8mp-dhcom-pdk3.dtb \ imx8mp-evk.dtb \
arch/arm/dts/imx8mp-debix-model-a-u-boot.dtsi new file +141 -0
141 lines not on this page · raw message
arch/arm/dts/imx8mp-debix-model-a.dts new file +507 -0
507 lines not on this page · raw message
arch/arm/mach-imx/imx8m/Kconfig +8 -0
@@ -193,6 +193,13 @@ config TARGET_IMX8MP_BEACON select ARCH_MISC_INIT select SPL_CRYPTO if SPL +config TARGET_IMX8MP_DEBIX_MODEL_A + bool "Polyhex i.MX8M Plus Debix Model A SBC" + select BINMAN + select IMX8MP + select IMX8M_LPDDR4 + select SUPPORT_SPL + config TARGET_IMX8MP_DH_DHCOM_PDK2 bool "DH electronics DHCOM Premium Developer Kit (2) i.MX8M Plus" select BINMAN
@@ -371,6 +378,7 @@ source "board/msc/sm2s_imx8mp/Kconfig" source "board/mntre/imx8mq_reform2/Kconfig" source "board/phytec/phycore_imx8mm/Kconfig" source "board/phytec/phycore_imx8mp/Kconfig" +source "board/polyhex/imx8mp_debix_model_a/Kconfig" source "board/purism/librem5/Kconfig" source "board/ronetix/imx8mq-cm/Kconfig" source "board/technexion/pico-imx8mq/Kconfig"
board/polyhex/imx8mp_debix_model_a/Kconfig new file +15 -0
@@ -0,0 +1,15 @@ +if TARGET_IMX8MP_DEBIX_MODEL_A + +config SYS_BOARD + default "imx8mp_debix_model_a" + +config SYS_VENDOR + default "polyhex" + +config SYS_CONFIG_NAME + default "imx8mp_debix_model_a" + +config IMX_CONFIG + default "board/polyhex/imx8mp_debix_model_a/imximage-8mp-lpddr4.cfg" + +endif
board/polyhex/imx8mp_debix_model_a/MAINTAINERS new file +8 -0
@@ -0,0 +1,8 @@ +DEBIX MODEL A BOARD (i.MX8M Plus) +M: Gilles Talis <[email protected]> +S: Maintained +F: arch/arm/dts/imx8mp-debix-model-a.dts +F: arch/arm/dts/imx8mp-debix-model-a-u-boot.dtsi +F: board/polyhex/imx8mp_debix_model_a/ +F: include/configs/imx8mp_debix_model_a.h +F: configs/imx8mp_debix_model_a_defconfig
board/polyhex/imx8mp_debix_model_a/Makefile new file +13 -0
@@ -0,0 +1,13 @@ +# +# Copyright 2019 NXP +# Copyright 2023 Gilles Talis <[email protected]> +# +# SPDX-License-Identifier: GPL-2.0+ +# + +obj-y += imx8mp_debix_model_a.o + +ifdef CONFIG_SPL_BUILD +obj-y += spl.o +obj-$(CONFIG_IMX8M_LPDDR4) += lpddr4_timing.o +endif
board/polyhex/imx8mp_debix_model_a/imx8mp_debix_model_a.c new file +55 -0
55 lines not on this page · raw message
board/polyhex/imx8mp_debix_model_a/imximage-8mp-lpddr4.cfg new file +9 -0
@@ -0,0 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright 2021, 2023 NXP + */ + + +ROM_VERSION v2 +BOOT_FROM sd +LOADER u-boot-spl-ddr.bin 0x920000
board/polyhex/imx8mp_debix_model_a/lpddr4_timing.c new file +1843 -0
1,843 lines not on this page · raw message
board/polyhex/imx8mp_debix_model_a/spl.c new file +128 -0
128 lines not on this page · raw message
configs/imx8mp_debix_model_a_defconfig new file +110 -0
110 lines not on this page · raw message
include/configs/imx8mp_debix_model_a.h new file +54 -0
54 lines not on this page · raw message
Signature · 1 line
2.39.2
Quoted 11 lines · Gilles Talis
Add support for the Polyhex Debix Model A SBC board. It is an industrial grade single board computer based on NXP's i.MX 8M Plus.
Currently supported interfaces are:
- Serial console
- Micro SD
- eQOS and FEC Ethernet
imx8mp-debix-model-a.dtsis taken from Linux 6.3.Signed-off-by Gilles Talis<[email protected]>
Quoted 11 lines · Peng Fan
Quoted 9 lines · Gilles Talis
Add support for the Polyhex Debix Model A SBC board. It is an industrial grade single board computer based on NXP's i.MX 8M Plus.
Currently supported interfaces are:
- Serial console
- Micro SD
- eQOS and FEC Ethernetimx8mp-debix-model-a.dtsis taken from Linux 6.3.Signed-off-by Gilles Talis<[email protected]>
Quoted 1 line
Reviewed-by Peng Fan <[email protected]>
Do you know why the patch has been left (as far as I can see) without further action?
BTW, I applied it to current master, compiled approximately following
https://docs.u-boot.org/en/latest/board/nxp/imx8mp_evk.html and tried to use it on Debix Model A. U-Boot starts but cannot find the partition table on the SD card:
U-Boot SPL 2024.01-rc3-07226-g43f2873fa9-dirty (Jan 01 1980 - 00:00:00 +0000) Normal Boot
WDT: Started watchdog@30280000 with servicing every 1000ms (60s timeout)
Trying to boot from BOOTROM
Boot Stage: Primary boot
image offset 0x8000, pagesize 0x200, ivt offset 0x0
NOTICE: BL31: v2.2(release):rel_imx_5.4.70_2.3.6-0-g15e8ff164-dirty
NOTICE: BL31: Built : 00:00:00, Jan 1 1980
U-Boot 2024.01-rc3-07226-g43f2873fa9-dirty (Jan 01 1980 - 00:00:00 +0000)
CPU: Freescale i.MX8MP[8] rev1.1 at 1200 MHz
Reset cause: POR
Model: Polyhex Debix Model A i.MX8MPlus board
DRAM: 2 GiB Core: 83 devices, 22 uclasses, devicetree: separate WDT: Started watchdog@30280000 with servicing every 1000ms (60s timeout) MMC: FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... *** Warning - bad CRC, using default environment
In: serial@30890000 Out: serial@30890000 Err: serial@30890000 Net: eth1: ethernet@30bf0000 [PRIME]
Hit any key to stop autoboot: 2 <0x08><0x08><0x08> 1 <0x08><0x08><0x08> 0 switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
,** No partition table - mmc 1 **
Couldn't find partition mmc 1:1
,** No partition table - mmc 1 **
Couldn't find partition mmc 1:1
,** No partition table - mmc 1 **
Couldn't find partition mmc 1:1
,** No partition table - mmc 1 **
Couldn't find partition mmc 1:1
,** No partition table - mmc 1 **
Couldn't find partition mmc 1:1
,** No partition table - mmc 1 **
Couldn't find partition mmc 1:1
,** No partition table - mmc 1 **
Couldn't find partition mmc 1:1 <0x1b>7<0x1b>[r<0x1b>[999;999H<0x1b>[6n<0x1b>8Card did not respond to voltage select! : -110 No EFI system partition
No EFI system partition
Failed to persist EFI variables
Remove /soc@0/bus@30800000/ethernet@30be0000:phy-reset-gpios
BootOrder not defined
EFI boot manager: Cannot load any image
,** No partition table - mmc 1 **
Couldn't find partition mmc 1:1
Card did not respond to voltage select! : -110
u-boot=>
When I use an old U-Boot blob provided by Debix, it boots fine from the same SD card. The SD card contains a Fedora aarch64 image with a msdos partition table.
Do you know what could be wrong?
Regards,
Milan
Hi Milan,
Quoted 13 lines · Milan Zamazal
Quoted 11 lines · Peng Fan
Quoted 9 lines · Gilles Talis
Add support for the Polyhex Debix Model A SBC board. It is an industrial grade single board computer based on NXP's i.MX 8M Plus.
Currently supported interfaces are:
- Serial console
- Micro SD
- eQOS and FEC Ethernetimx8mp-debix-model-a.dtsis taken from Linux 6.3.Signed-off-by Gilles Talis<[email protected]>
Quoted 5 lines
Quoted 1 line
Reviewed-by Peng Fan <[email protected]>Do you know why the patch has been left (as far as I can see) without further action?
I don't know. I assume the maintainer is very busy or has missed it. I was planning to do a resend in the next few weeks.
Quoted 67 lines
BTW, I applied it to current master, compiled approximately following
https://docs.u-boot.org/en/latest/board/nxp/imx8mp_evk.html and tried to use it on Debix Model A. U-Boot starts but cannot find the partition table on the SD card:U-Boot SPL 2024.01-rc3-07226-g43f2873fa9-dirty (Jan 01 1980 - 00:00:00
+0000)
Normal Boot
WDT: Started watchdog@30280000 with servicing every 1000ms (60s
timeout)
Trying to boot from BOOTROM
Boot Stage: Primary boot
image offset0x8000, pagesize0x200, ivt offset0x0
NOTICE: BL31: v2.2(release):rel_imx_5.4.70_2.3.6-0-g15e8ff164-dirty
NOTICE: BL31: Built : 00:00:00, Jan 1 1980U-Boot 2024.01-rc3-07226-g43f2873fa9-dirty (Jan 01 1980 - 00:00:00 +0000)
CPU: Freescale i.MX8MP[8] rev1.1 at 1200 MHz
Reset cause: POR
Model: Polyhex Debix Model A i.MX8MPlus boardDRAM: 2 GiB Core: 83 devices, 22 uclasses, devicetree: separate WDT: Started watchdog@30280000 with servicing every 1000ms (60stimeout)
MMC:FSL_SDHC: 1,FSL_SDHC: 2
Loading Environment from MMC... *** Warning - bad CRC, using default
environmentIn: serial@30890000 Out: serial@30890000 Err: serial@30890000 Net: eth1: ethernet@30bf0000 [PRIME]Hit any key to stop autoboot: 2 <0x08><0x08><0x08> 1 <0x08><0x08><0x08>
0
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
,** No partition table - mmc 1 **
Couldn't find partition mmc 1:1
,** No partition table - mmc 1 **
Couldn't find partition mmc 1:1
,** No partition table - mmc 1 **
Couldn't find partition mmc 1:1
,** No partition table - mmc 1 **
Couldn't find partition mmc 1:1
,** No partition table - mmc 1 **
Couldn't find partition mmc 1:1
,** No partition table - mmc 1 **
Couldn't find partition mmc 1:1
,** No partition table - mmc 1 **
Couldn't find partition mmc 1:1 <0x1b>7<0x1b>[r<0x1b>[999;999H<0x1b>[6n<0x1b>8Card did not respond to
voltage select! : -110
No EFI system partition
No EFI system partition
Failed to persist EFI variables
Remove /soc@0/bus@30800000/ethernet@30be0000:phy-reset-gpios BootOrder not defined
EFI boot manager: Cannot load any image
,** No partition table - mmc 1 **
Couldn't find partition mmc 1:1
Card did not respond to voltage select! : -110
u-boot=>
Quoted 6 lines
When I use an old U-Boot blob provided by Debix, it boots fine from the same SD card. The SD card contains a Fedora aarch64 image with a msdos partition table.
Do you know what could be wrong?
Interesting. I don't have a clue yet,. but let me give it a try and come back to you. Where can I download the Fedora aarch64 image you mentioned above?
Quoted 5 lines
Regards,
MilanThanks!
Gilles.
Quoted 97 lines · Gilles Talis
Hi Milan,
Quoted 13 lines · Milan Zamazal
Quoted 11 lines · Peng Fan
Quoted 9 lines · Gilles Talis
Add support for the Polyhex Debix Model A SBC board. It is an industrial grade single board computer based on NXP's i.MX 8M Plus.
Currently supported interfaces are:
- Serial console
- Micro SD
- eQOS and FEC Ethernetimx8mp-debix-model-a.dtsis taken from Linux 6.3.Signed-off-by Gilles Talis<[email protected]>Quoted 5 lines
Quoted 1 line
Reviewed-by Peng Fan <[email protected]>Do you know why the patch has been left (as far as I can see) without further action?
I don't know. I assume the maintainer is very busy or has missed it. I was planning to do a resend in the next few weeks.
Quoted 71 lines
BTW, I applied it to current master, compiled approximately following
https://docs.u-boot.org/en/latest/board/nxp/imx8mp_evk.html and tried to use it on Debix Model A. U-Boot starts but cannot find the partition table on the SD card:U-Boot SPL 2024.01-rc3-07226-g43f2873fa9-dirty (Jan 01 1980 - 00:00:00
+0000)
Normal Boot
WDT: Started watchdog@30280000 with servicing every 1000ms (60s
timeout)
Trying to boot from BOOTROM
Boot Stage: Primary boot
image offset0x8000, pagesize0x200, ivt offset0x0
NOTICE: BL31: v2.2(release):rel_imx_5.4.70_2.3.6-0-g15e8ff164-dirty
NOTICE: BL31: Built : 00:00:00, Jan 1 1980U-Boot 2024.01-rc3-07226-g43f2873fa9-dirty (Jan 01 1980 - 00:00:00 +0000)
CPU: Freescale i.MX8MP[8] rev1.1 at 1200 MHz
Reset cause: POR
Model: Polyhex Debix Model A i.MX8MPlus board
DRAM: 2 GiB
Core: 83 devices, 22 uclasses, devicetree: separate
WDT: Started watchdog@30280000 with servicing every 1000ms (60s
timeout)
MMC:FSL_SDHC: 1,FSL_SDHC: 2
Loading Environment from MMC... *** Warning - bad CRC, using default
environmentIn: serial@30890000 Out: serial@30890000 Err: serial@30890000 Net: eth1: ethernet@30bf0000 [PRIME]Hit any key to stop autoboot: 2 <0x08><0x08><0x08> 1 <0x08><0x08><0x08>
0
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
,** No partition table - mmc 1 **
Couldn't find partition mmc 1:1
,** No partition table - mmc 1 **
Couldn't find partition mmc 1:1
,** No partition table - mmc 1 **
Couldn't find partition mmc 1:1
,** No partition table - mmc 1 **
Couldn't find partition mmc 1:1
,** No partition table - mmc 1 **
Couldn't find partition mmc 1:1
,** No partition table - mmc 1 **
Couldn't find partition mmc 1:1
,** No partition table - mmc 1 **
Couldn't find partition mmc 1:1 <0x1b>7<0x1b>[r<0x1b>[999;999H<0x1b>[6n<0x1b>8Card did not respond to
voltage select! : -110
No EFI system partition
No EFI system partition
Failed to persist EFI variables
Remove /soc@0/bus@30800000/ethernet@30be0000:phy-reset-gpios BootOrder not defined
EFI boot manager: Cannot load any image
,** No partition table - mmc 1 **
Couldn't find partition mmc 1:1
Card did not respond to voltage select! : -110
u-boot=>When I use an old U-Boot blob provided by Debix, it boots fine from the same SD card. The SD card contains a Fedora aarch64 image with a msdos partition table.
Quoted 5 lines
Quoted 2 lines
Do you know what could be wrong?
Interesting. I don't have a clue yet,. but let me give it a try and come back to you. Where can I download the Fedora aarch64 image you mentioned above?
I flashed the image freshly, to another SD card, and it boots happily. So I can confirm your patch works. :-)
I don't know what's wrong with the partition table on the original SD card. I manipulated with the partitions and their properties a bit before but parted or the other versions of U-Boot I tried don't report any problem. Maybe the U-Boot version from master that I happened to compile does something differently. Anyway, it's unlikely to be related to this patch as it boots fine on a freshly flashed SD card.
Thank you for the patch, hopefully it'll get merged.
Regards,
Milan
Quoted 105 lines · Milan Zamazal
Quoted 97 lines · Gilles Talis
Hi Milan,
Quoted 13 lines · Milan Zamazal
Quoted 11 lines · Peng Fan
Quoted 9 lines · Gilles Talis
Add support for the Polyhex Debix Model A SBC board. It is an industrial grade single board computer based on NXP's i.MX 8M Plus.
Currently supported interfaces are:
- Serial console
- Micro SD
- eQOS and FEC Ethernetimx8mp-debix-model-a.dtsis taken from Linux 6.3.Signed-off-by Gilles Talis<[email protected]>Quoted 5 lines
Quoted 1 line
Reviewed-by Peng Fan <[email protected]>Do you know why the patch has been left (as far as I can see) without further action?
I don't know. I assume the maintainer is very busy or has missed it. I was planning to do a resend in the next few weeks.
Quoted 71 lines
BTW, I applied it to current master, compiled approximately following
https://docs.u-boot.org/en/latest/board/nxp/imx8mp_evk.html and tried to use it on Debix Model A. U-Boot starts but cannot find the partition table on the SD card:U-Boot SPL 2024.01-rc3-07226-g43f2873fa9-dirty (Jan 01 1980 - 00:00:00
+0000)
Normal Boot
WDT: Started watchdog@30280000 with servicing every 1000ms (60s
timeout)
Trying to boot from BOOTROM
Boot Stage: Primary boot
image offset0x8000, pagesize0x200, ivt offset0x0
NOTICE: BL31: v2.2(release):rel_imx_5.4.70_2.3.6-0-g15e8ff164-dirty
NOTICE: BL31: Built : 00:00:00, Jan 1 1980U-Boot 2024.01-rc3-07226-g43f2873fa9-dirty (Jan 01 1980 - 00:00:00 +0000)
CPU: Freescale i.MX8MP[8] rev1.1 at 1200 MHz
Reset cause: POR
Model: Polyhex Debix Model A i.MX8MPlus board
DRAM: 2 GiB
Core: 83 devices, 22 uclasses, devicetree: separate
WDT: Started watchdog@30280000 with servicing every 1000ms (60s
timeout)
MMC:FSL_SDHC: 1,FSL_SDHC: 2
Loading Environment from MMC... *** Warning - bad CRC, using default
environmentIn: serial@30890000 Out: serial@30890000 Err: serial@30890000 Net: eth1: ethernet@30bf0000 [PRIME]Hit any key to stop autoboot: 2 <0x08><0x08><0x08> 1 <0x08><0x08><0x08>
0
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
,** No partition table - mmc 1 **
Couldn't find partition mmc 1:1
,** No partition table - mmc 1 **
Couldn't find partition mmc 1:1
,** No partition table - mmc 1 **
Couldn't find partition mmc 1:1
,** No partition table - mmc 1 **
Couldn't find partition mmc 1:1
,** No partition table - mmc 1 **
Couldn't find partition mmc 1:1
,** No partition table - mmc 1 **
Couldn't find partition mmc 1:1
,** No partition table - mmc 1 **
Couldn't find partition mmc 1:1 <0x1b>7<0x1b>[r<0x1b>[999;999H<0x1b>[6n<0x1b>8Card did not respond to
voltage select! : -110
No EFI system partition
No EFI system partition
Failed to persist EFI variables
Remove /soc@0/bus@30800000/ethernet@30be0000:phy-reset-gpios BootOrder not defined
EFI boot manager: Cannot load any image
,** No partition table - mmc 1 **
Couldn't find partition mmc 1:1
Card did not respond to voltage select! : -110
u-boot=>When I use an old U-Boot blob provided by Debix, it boots fine from the same SD card. The SD card contains a Fedora aarch64 image with a msdos partition table.
Quoted 5 lines
Quoted 2 lines
Do you know what could be wrong?
Interesting. I don't have a clue yet,. but let me give it a try and come back to you. Where can I download the Fedora aarch64 image you mentioned above?
Quoted 5 lines
I flashed the image freshly, to another SD card, and it boots happily. So I can confirm your patch works. :-)
I don't know what's wrong with the partition table on the original SD card.
Well, after trying both the SD cards again with fresh reinstallations, it works with a 32 GB card and I get the error above with a 64 GB card. Is it possible that there is something wrong with SDXC cards?
Regards,
Milan
Quoted 10 lines
I manipulated with the partitions and their properties a bit before but parted or the other versions of U-Boot I tried don't report any problem. Maybe the U-Boot version from master that I happened to compile does something differently. Anyway, it's unlikely to be related to this patch as it boots fine on a freshly flashed SD card.
Thank you for the patch, hopefully it'll get merged.
Regards,
Milan
Fabio Estevam
reviewerHi Milan,
Quoted 3 lines · Milan Zamazal
Well, after trying both the SD cards again with fresh reinstallations, it works with a 32 GB card and I get the error above with a 64 GB card. Is it possible that there is something wrong with SDXC cards?
Does the change below help?
arch/arm/dts/imx8mp-debix-model-a-u-boot.dtsi +3 -0
@@ -128,6 +128,9 @@ bootph-pre-ram; sd-uhs-sdr104; sd-uhs-ddr50; + assigned-clocks = <&clk IMX8MP_CLK_USDHC2>; + assigned-clock-rates = <400000000>; + assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_400M>; }; &usdhc3 {
Quoted 13 lines · Fabio Estevam
Hi Milan,
Quoted 3 lines · Milan Zamazal
Well, after trying both the SD cards again with fresh reinstallations, it works with a 32 GB card and I get the error above with a 64 GB card. Is it possible that there is something wrong with SDXC cards?
Does the change below help?
arch/arm/dts/imx8mp-debix-model-a-u-boot.dtsi line 136
Quoted 9 lines
arch/arm/dts/imx8mp-debix-model-a-u-boot.dtsi +3
-0@@ -128,6 +128,9 @@ bootph-pre-ram; sd-uhs-sdr104; sd-uhs-ddr50; + assigned-clocks = <&clk IMX8MP_CLK_USDHC2>; + assigned-clock-rates = <400000000>; + assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_400M>; }; &usdhc3 {
No, the same error. :-(
Regards,
Milan
Hi Milan,
Quoted 24 lines · Milan Zamazal
Quoted 21 lines · Fabio Estevam
Hi Milan,
Quoted 3 lines · Milan Zamazal
Well, after trying both the SD cards again with fresh reinstallations, it works with a 32 GB card and I get the error above with a 64 GB card. Is it possible that there is something wrong with SDXC cards?
Does the change below help?
arch/arm/dts/imx8mp-debix-model-a-u-boot.dtsi +3
-0@@ -128,6 +128,9 @@ bootph-pre-ram; sd-uhs-sdr104; sd-uhs-ddr50; + assigned-clocks = <&clk IMX8MP_CLK_USDHC2>; + assigned-clock-rates = <400000000>; + assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_400M>; };
Quoted 7 lines
arch/arm/dts/imx8mp-debix-model-a-u-boot.dtsi line 136
Quoted 1 line
arch/arm/dts/imx8mp-debix-model-a-u-boot.dtsi +0
-0&usdhc3 {No, the same error. :-(
Regards,
Milan
I tried with a 32GB Sandisk high endurance SD and a 64GB Sandisk Ultra SDXC UHS-I and both worked.
Can you tell me which 64GB sd cards you tried booting with? And also, which steps you followed to get the errors (which image to download, etc...)?
thanks
Gilles.
Hi Gilles,
Quoted 32 lines · Gilles Talis
Hi Milan,
Quoted 28 lines · Milan Zamazal
Quoted 13 lines · Fabio Estevam
Hi Milan,
Quoted 3 lines · Milan Zamazal
Well, after trying both the SD cards again with fresh reinstallations, it works with a 32 GB card and I get the error above with a 64 GB card. Is it possible that there is something wrong with SDXC cards?
Does the change below help?
arch/arm/dts/imx8mp-debix-model-a-u-boot.dtsi line 136
Quoted 9 lines
arch/arm/dts/imx8mp-debix-model-a-u-boot.dtsi +3
-0@@ -128,6 +128,9 @@ bootph-pre-ram; sd-uhs-sdr104; sd-uhs-ddr50; + assigned-clocks = <&clk IMX8MP_CLK_USDHC2>; + assigned-clock-rates = <400000000>; + assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_400M>; }; &usdhc3 {No, the same error. :-(
Quoted 6 lines
Quoted 3 lines
Regards,
MilanI tried with a 32GB Sandisk high endurance SD and a 64GB Sandisk Ultra SDXC UHS-I and both worked.
Can you tell me which 64GB sd cards you tried booting with?
Sandisk SDXC Extreme 64 GB UHS-I U3
Quoted 2 lines
And also, which steps you followed to get the errors (which image to download, etc...)?
wget
https://download.fedoraproject.org/pub/fedora/linux/releases/39/Server/aarch64/images/Fedora-Server-39-1.5.aarch64.raw.xz
unxz Fedora-Server-39-1.5.aarch64.raw.xz
sudo dd if=Fedora-Server-39-1.5.aarch64.raw of=/dev/mmcblk0 bs=1M sudo -E gparted /dev/mmcblk0
# move / resize the first partition by 8 MB / to 592 MB sudo dd if=flash.bin of=/dev/mmcblk0 bs=1k seek=32 conv=fsync sync
When I do the same with some older Kingston 32 GB, it boots fine.
Regards,
Milan
Fabio Estevam
reviewerQuoted 14 lines · Milan Zamazal
Quoted 11 lines · Peng Fan
Quoted 9 lines · Gilles Talis
Add support for the Polyhex Debix Model A SBC board. It is an industrial grade single board computer based on NXP's i.MX 8M Plus.
Currently supported interfaces are:
- Serial console
- Micro SD
- eQOS and FEC Ethernetimx8mp-debix-model-a.dtsis taken from Linux 6.3.Signed-off-by Gilles Talis<[email protected]>
Quoted 4 lines
Quoted 1 line
Reviewed-by Peng Fan <[email protected]>Do you know why the patch has been left (as far as I can see) without further action?
Applied to u-boot-imx next, thanks.
Hi Milan,
Thanks for testing the patch! Glad that you could get it to work!
Hi Fabio,
Quoted 15 lines · Fabio Estevam
Quoted 14 lines · Milan Zamazal
Quoted 11 lines · Peng Fan
Quoted 9 lines · Gilles Talis
Add support for the Polyhex Debix Model A SBC board. It is an industrial grade single board computer based on NXP's i.MX 8M Plus.
Currently supported interfaces are:
- Serial console
- Micro SD
- eQOS and FEC Ethernetimx8mp-debix-model-a.dtsis taken from Linux 6.3.Signed-off-by Gilles Talis<[email protected]>
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
Reviewed-by Peng Fan <[email protected]>Do you know why the patch has been left (as far as I can see) without further action?
Applied to u-boot-imx next, thanks.
Thanks for applying it !
Gilles.