[U-Boot] [RFC 0/9] Convert Pico-Pi i.MX7D to DM

Joris Offouga offougajoris at gmail.com
Sat Feb 16 13:02:34 UTC 2019


Le 16/02/2019 à 13:46, Fabio Estevam a écrit :
> On Sat, Feb 16, 2019 at 10:34 AM Joris Offouga <offougajoris at gmail.com> wrote:
>>
>> Le 16/02/2019 à 13:17, Fabio Estevam a écrit :
>>> Hi Joris,
>>>
>>> On Sat, Feb 16, 2019 at 9:06 AM Offouga Joris <offougajoris at gmail.com> wrote:
>>>
>>>> Hi Fabio
>>>>
>>>> I followed Lukasz's advice and I increased the size of the U-Boot in the dfu_alt_info and there is no more error. However, once the SPL and U-Boot are changed and the board  reboots with the jumper in Boot from emmc, the SPL can not load the U-Boot.
>>> What is the U-Boot size you used in the dfu_alt_info?
>> "u-boot raw 0x8a 0x1000"
> The original setting was correct:
> u-boot-dtb.img needs to be flashed at the position 69kB of the eMMC.
>
> Originally we had:
>
> u-boot raw 0x8a 0x400;
>
> which means: 0x8a = 138 * 0x400 = 138 * 1024 = 138 sectors. Each
> sector is 512 bytes, so 138*0.5k = 69kB
>
> Could you also try:
>
> u-boot raw 0x45 0x800
>
> Does it make any difference?

Yes , download with dfu it's okay but after rebooting the SPL does not 
load.

For u-boot, dm-spl, this does not work only if the SPL is converted to 
DM too, because the add-on in the uscdh3 node did not change the problem 
of loading the U-Boot



More information about the U-Boot mailing list