Re: BOOT LOADER IS TOO OLD. PLEASE UPGRADE.

Mark Millard <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>

On Aug 2, 2024, at 21:59, bob prohaska <[email protected]> wrote:

> On Fri, Aug 02, 2024 at 09:02:46PM -0700, Mark Millard wrote:
>> On Aug 2, 2024, at 19:19, bob prohaska <[email protected]> wrote:
>> 
>>> After a build/install of -current on a Raspberry Pi 2 (so, armv7) the 
>>> console output reported:
>>> 
>>> **********************************************************************
>>> **********************************************************************
>>> *****                                                            *****
>>> *****           BOOT LOADER IS TOO OLD. PLEASE UPGRADE.          *****
>>> *****                                                            *****
>>> **********************************************************************
>>> **********************************************************************
>>> 
>>> The statement is likely true, but it's a bit hard to guess exactly
>>> what needs upgrading. The boot process succeeded. Is it wiser to
>>> heed the command, or leave well enough alone? AFAIK there's no
>>> firmware to upgrade on the Pi2.
>> 
>> The message is about the likes of:
>> 
>> RPi2 v1.1 (armv7)?   /boot/efi/EFI/BOOT/bootarm.efi
>> RPi2 v1.2 (aarch64)? /boot/efi/EFI/BOOT/bootaa64.efi
>> 
>> Those are not RPi* firmware, nor armstub* , nor are they U-Boot.
>> 
>> They are code from FreeBSD: FreeBSD UEFI loader code. So, yes,
>> there is new code to update to.
>> 
> Where can I find the newer version?  Following buildworld/kernel
> find / -name bootarm.efi
> locates only
> /boot/msdos/EFI/BOOT/bootarm.efi
> which I imagine is the obsolete version. 
> 
> Apologies if this is naive, something suggests it might be....

Presuming a self-hosted build was done and was installed to
update that system, the updates could be done via:


On armv7 (RPi2 v1.1 --or RPi2 v1.2 used with an armv7 kernel/world):

# cp /boot/loader.efi /boot/efi/EFI/BOOT/bootarm.efi


On aarch64 (RPi2 v1.2 used with aarch64 kernel/world):

# cp /boot/loader.efi /boot/efi/EFI/BOOT/bootaa64.efi


In other words, they are copies of the FreeBSD boot loader
but under other path and naming conventions on the msdosfs
that is involved.

===
Mark Millard
marklmi at yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.