loader needs to be updated – again, but on arm64 [SOLVED]

Yes, I git pulled the most recent version before.
Btw., can you commit a "chmod +x" for the script? Git always complains about a local conflict otherwise.

# efibootmgr -v
BootCurrent: 0000

(Same output on both boards.)

With -g, it seems to do the job:

# ./loaders-update show-me -g
loaders-update v1.4.0

Scaning only EFI loaders, excluding BIOS loaders.
One or more efi partition(s) have been found.

Examining diskid/DISK-Z0HA32PEK2L2p1...
Efi partition diskid/DISK-Z0HA32PEK2L2p1 is already mounted in /boot/efi.
EFI loader /boot/efi/EFI/BOOT/bootaa64.efi is up-to-date.

-------------------------------
Your current boot method is UEFI.
Boot device:
One or more target partition(s) have been found...
All loaders are up-to-date.
-------------------------------

Btw.², these boards use a first-stage bootloader that can be interacted with on the (serial) console ("Das U-Boot"). It might make sense to preserve the old loader image under another name, like /boot/efi/EFI/BOOT/bootaa64.old. I'm afraid it needs to fit the old FAT 8+3 naming convention.
 
Btw., can you commit a "chmod +x" for the script? Git always complains about a local conflict otherwise.
I don't use git locally for this repo. Furthermore, I know almost nothing to git :sssh:. It seems, I can't do that on the web site.

I forced the -g option for arm64, so you won't need to set it anymore.
The efibootmgr output is especially poor on your machine. I did a cosmetic change to polish the text results of loaders-update.

It might make sense to preserve the old loader image under another name,
I already thought to that and concluded, it's an useless feature or at least, a little too complicated. If you save the file with other extension than .efi, the firmware won't propose this file for boot. If you save the file with .efi, loaders-update will propose to update it each time you run it.

It's not impossible that said. I can use a specific token in the name of the saved loaders or a specific directory. But it will complicate the script for almost nothing. I never had a problem with the update of the loaders and if it happens one day, I will boot on an USB key to mend the thing.

Maybe one day, I will change my mind.
 
I prepared you a pull request for the executable permissions. So you just need to accept it. ;-)

Once my test system is done compiling LLVM, I'll give it a try whether U-Boot could be convinced to run a file like bootaa64.old (without the ".efi" extension).
 
Back
Top