Package: efibootguard
Version: 0.22-1 and others
Severity: important

Dear Maintainer,

Hope you are doing well.

I'm using efibootguard (Sid) for booting the image on the QEMU armhf target.
However I'm unable to boot the image and facing below issue.

Boot logs,

```
U-Boot 2023.01 (Mar 11 2026 - 19:34:50 +0900)

DRAM:  1 GiB
Core:  47 devices, 13 uclasses, devicetree: board
Flash: 64 MiB
Loading Environment from Flash... *** Warning - bad CRC, using default 
environment

In:    pl011@9000000
Out:   pl011@9000000
Err:   pl011@9000000
Net:   e1000: 52:54:00:12:34:56
       eth0: e1000#0
Hit any key to stop autoboot:  0
fatal: no kernel available
Command 'load' failed: Error 1
starting USB...
No working controllers found
USB is stopped. Please issue 'usb start' first.
scanning bus for devices...

Device 0: unknown device

Device 0: QEMU VirtIO Block Device
            Type: Hard Disk
            Capacity: 16384.0 MB = 16.0 GB (33554432 x 512)
... is now current device
Scanning virtio 0:1...
load - load binary file from a filesystem

Usage:
load <interface> [<dev[:part]> [<addr> [<filename> [bytes [pos]]]]]
    - Load binary file 'filename' from partition 'part' on device
       type 'interface' instance 'dev' to address 'addr' in memory.
      'bytes' gives the size to load in bytes.
      If 'bytes' is 0 or omitted, the file is read until the end.
      'pos' gives the file byte position to start reading from.
      If 'pos' is 0 or omitted, the file is read from the start.
** Unable to read file ubootefi.var **
Failed to load EFI variables
Unable to find TPMv2 device
Missing RNG device for EFI_RNG_PROTOCOL
BootOrder not defined
EFI boot manager: Cannot load any image
Found EFI removable media binary efi/boot/bootarm.efi
65536 bytes read in 2 ms (31.3 MiB/s)
Booting /efi\boot\bootarm.efi
prefetch abort
pc : [<0000533e>]          lr : [<7ddc4f68>]
reloc pc : [<800cb33e>]    lr : [<fde8af68>]
sp : 7edf9020  ip : 00000000     fp : 7ff60634
r10: 00000003  r9 : 00000000     r8 : 7ff3b208
r7 : 7ef233d8  r6 : 00000002     r5 : 7ddcb8f0  r4 : 00000000
r3 : 00005343  r2 : 00000000     r1 : 7ddcb3cc  r0 : 00000000
Flags: nzCv  IRQs off  FIQs off  Mode SVC_32
Code: e3a01000 eb01dc9e e1a05000 e0440005 (e8bd8070)
UEFI image [0x7ddc1000:0x7ddd0419] '/efi\boot\bootarm.efi'
Resetting CPU ...

resetting ...
```

The below command is used to boot the image,

```
qemu-system-arm -M highmem=off -M virt \
        -m 1G -device virtio-blk-device,drive=disk \
        -drive file=test.img,discard=unmap,if=none,id=disk,format=raw \
        -device e1000,netdev=net0 -netdev 
user,hostfwd=tcp:127.0.0.1:5555-:22,id=net0,hostfwd=tcp:127.0.0.1:2159-:2159 \
        -bios u-boot.bin -nographic -serial mon:stdio
```

Could you please check and fix the issue?

Thanks & Regards
Shivanand K

Reply via email to