Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A64 => Topic started by: afancher on March 06, 2021, 04:59:06 am

Title: u-boot-olinuxino
Post by: afancher on March 06, 2021, 04:59:06 am
Hi,

I have a custom-built set of binaries and would like to update u-boot on my system. 

Taking a look at the olimage source (olimage/olimage/core/bootloaders/allwinner/a64.py) I see that the sunxi-spl.bin file is written:
dd if={}/sunxi-spl.bin of={} bs=1k seek=8 conv=sync,fsync,notrunc

Followed by building of the u-boot.itb and finally writing it:
dd if={}/u-boot.itb of={} conv=notrunc,fsync bs=1k seek=40

What I'm wondering is whether the u-boot.itb is generic, and not unique to a newly built sunxi-spl.bin, and if so, whether u-boot.itb needs to be rebuilt re-written or can the existing one be left in place?

Thanks in advance for any advice anyone can lend.
Title: Re: u-boot-olinuxino
Post by: afancher on March 24, 2021, 11:28:12 pm
Is there a forum that would be better suited for u-boot-olinuxino questions? 
Title: Re: u-boot-olinuxino
Post by: JohnS on March 24, 2021, 11:34:56 pm
I suppose you could try the U-Boot ML and/or the linux-sunxi ML.

John
Title: Re: u-boot-olinuxino
Post by: afancher on September 11, 2021, 08:31:20 pm
Hi, just an update for those who are interested...

I've expanded my knowledge a bit on shell and python scripting and am right now testing and troubleshooting a patch that will create an entrypoint to pause the Olimage build process to allow a custom-built u-boot-olinuxino binary to be substituted and included in the final image.

Once I've gotten it working I'll include the other supported platforms and put in a pull request on the Olimage git repository.  Stay tuned :)