[PATCH v2] imx: imx8mp: Add support for Polyhex Debix Model A SBC

Milan Zamazal mzamazal at redhat.com
Tue Feb 13 11:34:59 CET 2024


Hi Gilles,

Gilles Talis <gilles.talis at gmail.com> writes:

> Hi Milan,
>
>
> Le mar. 30 janv. 2024 à 15:55, Milan Zamazal <mzamazal at redhat.com> a écrit :
>>
>> Fabio Estevam <festevam at gmail.com> writes:
>>
>> > Hi Milan,
>> >
>> > On Tue, Jan 30, 2024 at 9:22 AM Milan Zamazal <mzamazal at redhat.com> wrote:
>> >
>> >> 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?
>> >
>> > --- a/arch/arm/dts/imx8mp-debix-model-a-u-boot.dtsi
>> > +++ b/arch/arm/dts/imx8mp-debix-model-a-u-boot.dtsi
>> > @@ -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
>>
> 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? 

Sandisk SDXC Extreme 64 GB UHS-I U3

> 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



More information about the U-Boot mailing list