How to flash Odroid Go2 u-boot

Peter Robinson pbrobinson at gmail.com
Mon Feb 8 14:55:26 CET 2021


On Mon, Feb 8, 2021 at 1:27 PM Roger Pau Monné <royger at freebsd.org> wrote:
>
> Hello,
>
> I'm trying to build an u-boot image that I can flash into my SD card
> in order to boot from Odroid Go Super. I'm currently trying to use the
> odroid-go2_defconfig which should be fairly similar to the hardware
> present in the Go3.
>
> I've managed to build it from 2021.01, but I'm not sure how I should
> proceed to flash the result into the SD card. The 'fuser' script from
> the Hardkernel u-boot forked repository has:
>
> dd if=idbloader.img of=/dev/foo conv=fsync bs=512 seek=64
> dd if=uboot.img of=/dev/foo conv=fsync bs=512 seek=16384
> dd if=trust.img of=/dev/foo conv=fsync bs=512 seek=24576
>
> I see idbloader.img and u-boot.img as outputs from the build process,
> but I have no idea how to get trust.img, as that doesn't seem to be
> part of the build output AFAICT. Is it something I need to get from
> another repository?

So U-Boot build, assuming you're putting an ATF bl31.bin in place
bundles 2 and 3 together into an u-boot.itb file which you can replace
line 2 with so you should be able to do:
dd if=idbloader.img of=/dev/foo conv=fsync bs=512 seek=64
dd if=u-boot.itb of=/dev/foo conv=fsync bs=512 seek=16384

> Could docs/README.odroid be expanded to include information about how
> to build and install u-boot for the odroid-go2 target? Or maybe create
> a different file if that's more convenient.
>
> Thanks, Roger.


More information about the U-Boot mailing list