[Arm-dev] Consider updating uboot-tools

Fri May 21 16:25:21 UTC 2021
mark <mark at havak.nl>

-----Original message-----
> From: Pablo Sebastián Greco <pablo at fliagreco.com.ar>
> Sent: Friday May 21st, 2021 13:20
> To: Conversations around CentOS on ARM hardware <arm-dev at centos.org>; mark <mark at havak.nl>
> Subject: Re: [Arm-dev] Consider updating uboot-tools
> 
> 
> On 20/5/21 14:29, mark wrote:
> > Hello list (maintainer of uboot-tools),
> >
> > I'd like to bring a nice enhancement of u-boot to you attention;
> > looks like with commit (1) u-boot will call the efi boot manager before
> falling back to the default removable-media location:
> > EFI/BOOT on the (fat32) efi partition
> >
> > If I understand correctly this would take care of the fedora-path patch
> issue still carried in CentOS u-boot.
> > As a matter of fact fedora dropped the uefi-use-Fedora-specific-path-name.patch
> (2)
> >
> > As per subject: IMHO this is a extra incentive to update the fairly old
> uboot-tools :)
> >
> >
> > (1)
> > https://github.com/u-boot/u-boot/commit/f3866909e35074ea6f50226d40487a180de1132f#diff-0d6dac967f6e3b4225bf29445a4c7fc95450b2da47dcf4e1141a9f466c561fa1
> >
> > (2)
> > https://src.fedoraproject.org/rpms/uboot-tools/c/6209cab21ad85061b66d6be412c5f445b05b3995?branch=rawhide
> 
> Hello Mark,
> 
> Updating uboot has been in my to-do list for a while and it keeps being 
> delayed due to lack of time. My main problem is that I try to build it 
> for 7 and 8, armhfp/aarch64 and there are some tools that I need to 
> backport from Fedora to correctly do that.

el8 aarch64 is a bit problematic, the now quite popular aarch64(Rockchip) rk3399 needs a arm 32bit cross compiler,
until now used a hack to pull it from epel-7 as it is not present in epel-8. 
Recently rebuild the cross-toolchian from FC29 (cross-gcc-8.1.1-3) as this fits the major versioning of binutils 2.30.x .

Also the device tree compiler in el8 does not ship the python3 wrappers needed to build uboot-tools,
Hence did rebuild dtc with the python3 wrapper packaged. 

Again, as far as I know the above only applies to el8.

> I have some PoC tools from a few months ago that I'll try to revive, 
> we'll see how that goes.

Let me know if I can be of some help here!

> 
> Thanks.
> Pablo.
> 
>