[U-Boot] efi_loader: test_efi_grub_net()

Alexander Graf agraf at csgraf.de
Tue Jul 2 16:16:18 UTC 2019


On 30.06.19 17:17, Heinrich Schuchardt wrote:
> Hello Alex,
>
> the test/py/tests/test_efi_loader.py test for GRUB is failing for me. I
> get the following output:
>
> => tftpboot 40000000 orangepi-pc/grubarm.efi
> Using ethernet at 1c30000 device
> TFTP from server 192.168.123.3; our IP address is 192.168.123.85
> Filename 'orangepi-pc/grubarm.efi'.
> Load address: 0x40000000
> Loading: ###################
>          1.5 MiB/s
> done
> Bytes transferred = 94208 (17000 hex)
> => => crc32 40000000 $filesize
> crc32 for 40000000 ... 40016fff ==> b51ed96c
> => => bootefi 40000000
> error: disk `,msdos2' not found.
> Entering rescue mode...
> grub rescue>
>
> Your script expects "grub>".
>
> I have been using the GRUB installed by Debian.
>
> I guess you expect the one from:
> http://download.opensuse.org/ports/armv7hl/distribution/leap/42.2/repo/oss/suse/armv7hl/grub2-arm-efi-2.02~beta2-87.1.armv7hl.rpm 
>
>
> I suggest that both prompts ("grub>", "grub rescue>") should be 
> permissible.


grub rescue means that grub is in emergency mode because it could not 
find its modules. This is definitely not ok :). It usually indicates a 
device path issue.

In your case, I'm slightly puzzled why grub would append ,msdos2 to a 
netboot path. But it definitely looks wrong, as it could not find the 
real config file (which should also reside at the tftp location).


Alex



More information about the U-Boot mailing list