[U-Boot] FEL mode broken since "sunxi: Move all boards to the driver-model"

Simon Glass sjg at chromium.org
Sat Jul 4 01:06:36 CEST 2015


Hi Ian / Hans,

On 30 June 2015 at 01:33, Ian Campbell <ijc+uboot at hellion.org.uk> wrote:
> On Sun, 2015-06-28 at 17:28 +0200, Hans de Goede wrote:
>> Right, that is expected, all the "fel spl" command does is load the
>> spl, you need to do something like this to fel boot:
>
> This worked, thanks. Couple of notes:
>
>>
>> sudo ~hans/bin/fel version
>> echo Write SPL
>> sudo ~hans/bin/fel spl u-boot-sunxi-with-spl.bin
>
> FWIW also works with spl/sunxi-spl.bin.
>
>> echo Exec SPL
>> sudo ~hans/bin/fel exe 0x2000
>
> Doesn't seem to be needed, it's done part of the above the above spl
> command.
>
>> sleep 0.5
>> echo Write u-boot
>> sudo ~hans/bin/fel write 0x4a000000 u-boot-dtb.bin
>> echo Exec u-boot
>> sudo ~hans/bin/fel exe 0x4a000000
>
> I think it ought to be possible to update the usb-boot script to use
> "fel spl" and relax the SPL size restriction in that script accordingly,
> I'll take a look.
>
> Ian.

It would be nice to have a doc/README.sunxi or similar which describes
how to use FEL and how to create a bootable SD card.

Regards,
Simon


More information about the U-Boot mailing list