public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Milan Zamazal <mzamazal@redhat.com>
To: Gilles Talis <gilles.talis@gmail.com>
Cc: Fabio Estevam <festevam@gmail.com>,
	 Peng Fan <peng.fan@oss.nxp.com>,
	uboot-imx@nxp.com,  u-boot@lists.denx.de
Subject: Re: [PATCH v2] imx: imx8mp: Add support for Polyhex Debix Model A SBC
Date: Tue, 13 Feb 2024 11:34:59 +0100	[thread overview]
Message-ID: <87v86smz3g.fsf@redhat.com> (raw)
In-Reply-To: <CAKcgs2wmZPQEnV0xtr=L-BdX_Qt=Qbd2XwEZPDqSG_xHLUd9uA@mail.gmail.com> (Gilles Talis's message of "Mon, 12 Feb 2024 08:45:53 -0400")

Hi Gilles,

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

> Hi Milan,
>
>
> Le mar. 30 janv. 2024 à 15:55, Milan Zamazal <mzamazal@redhat.com> a écrit :
>>
>> Fabio Estevam <festevam@gmail.com> writes:
>>
>> > Hi Milan,
>> >
>> > On Tue, Jan 30, 2024 at 9:22 AM Milan Zamazal <mzamazal@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


  reply	other threads:[~2024-02-13 10:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-23 19:21 [PATCH v2] imx: imx8mp: Add support for Polyhex Debix Model A SBC Gilles Talis
2023-05-25  0:12 ` Peng Fan
2023-12-07 15:08   ` Milan Zamazal
2023-12-12  0:35     ` Gilles Talis
2023-12-12 12:28       ` Milan Zamazal
2024-01-29 22:16         ` Milan Zamazal
2024-01-30 19:31           ` Fabio Estevam
2024-01-30 19:55             ` Milan Zamazal
2024-02-12 12:45               ` Gilles Talis
2024-02-13 10:34                 ` Milan Zamazal [this message]
2023-12-13 16:21     ` Fabio Estevam
2023-12-15 23:08       ` Gilles Talis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v86smz3g.fsf@redhat.com \
    --to=mzamazal@redhat.com \
    --cc=festevam@gmail.com \
    --cc=gilles.talis@gmail.com \
    --cc=peng.fan@oss.nxp.com \
    --cc=u-boot@lists.denx.de \
    --cc=uboot-imx@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox