Hello all,
I am unsuccessful so far ar booting my RPi 3B using the standard installer. It boots, loads u-boot.bin and from there identifies the ethernet adapter and tries to load its OS from my local DHCP server instead of booting of the installed OS. What obviously fails.
What is special in my setup is that I did not burn the installation media on a SD card but on an external msata SSD. I had confirmed just before that this was working: this RPi has been configured to boot from USB for a long time. I used the Raspberry Pi Imager to download, burn and boot from the current iteration of Raspbian Lite sooner today. Without a SD card in the RPi. Following the exact same method with Home Assistant led to the Pi trying to use BOOTP, as demonstrated by this capture made using a USB to serial adapter and adding a “console=serial0,115200” entry to the cmdline.txt file:
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2020.04.30 21:37:00 =~=~=~=~=~=~=~=~=~=~=~=
U-Boot 2020.01 (Apr 16 2020 - 02:07:37 +0000)
DRAM: 948 MiB
RPI 3 Model B (0xa02082)
MMC: mmc@7e202000: 0, mmcnr@7e300000: 1
In: serial
Out: serial
Err: serial
Net: No ethernet found.
starting USB...
Bus usb@7e980000: scanning bus usb@7e980000 for devices... 3 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
WARNING at drivers/mmc/bcm2835_sdhost.c:410/bcm2835_send_command()!
WARNING at drivers/mmc/bcm2835_sdhost.c:410/bcm2835_send_command()!
Card did not respond to voltage select!
Card did not respond to voltage select!
Device 0: unknown device
Waiting for Ethernet connection... done.
BOOTP broadcast 1
DHCP client bound to address 10.40.0.10 (3 ms)
*** Warning: no boot file name; using '0A28000A.img'
Using smsc95xx_eth device
TFTP from server 10.40.0.1; our IP address is 10.40.0.10
Filename '0A28000A.img'.
Load address: 0x200000
Loading: *T T T T T T T T T T
Retry count exceeded; starting again
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/01-b8-27-eb-c0-eb-3c
Waiting for Ethernet connection... done.
Using smsc95xx_eth device
TFTP from server 10.40.0.1; our IP address is 10.40.0.10
Filename 'pxelinux.cfg/01-b8-27-eb-c0-eb-3c'.
Load address: 0x2500000
Loading: *T T T T T T T T T T
Retry count exceeded; starting again
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0A28000A
Waiting for Ethernet connection... done.
Using smsc95xx_eth device
TFTP from server 10.40.0.1; our IP address is 10.40.0.10
Filename 'pxelinux.cfg/0A28000A'.
Load address: 0x2500000
Loading: *T T T T T T T T T T
Retry count exceeded; starting again
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0A28000
Waiting for Ethernet connection... done.
Using smsc95xx_eth device
TFTP from server 10.40.0.1; our IP address is 10.40.0.10
Filename 'pxelinux.cfg/0A28000'.
Load address: 0x2500000
Loading: *T T T T T T T T T T
Retry count exceeded; starting again
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0A2800
Waiting for Ethernet connection... done.
Using smsc95xx_eth device
TFTP from server 10.40.0.1; our IP address is 10.40.0.10
Filename 'pxelinux.cfg/0A2800'.
Load address: 0x2500000
Loading: *T T T T T T T T T T
Retry count exceeded; starting again
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0A280
Waiting for Ethernet connection... done.
Using smsc95xx_eth device
TFTP from server 10.40.0.1; our IP address is 10.40.0.10
Filename 'pxelinux.cfg/0A280'.
Load address: 0x2500000
Loading: *T T T T T T T T T T
Retry count exceeded; starting again
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0A28
Waiting for Ethernet connection... done.
Using smsc95xx_eth device
TFTP from server 10.40.0.1; our IP address is 10.40.0.10
Filename 'pxelinux.cfg/0A28'.
Load address: 0x2500000
Loading: *T T T T T T T T T T
Retry count exceeded; starting again
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0A2
Waiting for Ethernet connection... done.
Using smsc95xx_eth device
TFTP from server 10.40.0.1; our IP address is 10.40.0.10
Filename 'pxelinux.cfg/0A2'.
Load address: 0x2500000
Loading: *T T T T T T T T T T
Retry count exceeded; starting again
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0A
Waiting for Ethernet connection... done.
Using smsc95xx_eth device
TFTP from server 10.40.0.1; our IP address is 10.40.0.10
Filename 'pxelinux.cfg/0A'.
Load address: 0x2500000
Loading: *T T T T T T T T T T
Retry count exceeded; starting again
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
Waiting for Ethernet connection... done.
Using smsc95xx_eth device
TFTP from server 10.40.0.1; our IP address is 10.40.0.10
Filename 'pxelinux.cfg/0'.
Load address: 0x2500000
Loading: *T T T T T T T T T T
Retry count exceeded; starting again
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-bcm283x-rpi
Waiting for Ethernet connection... done.
Using smsc95xx_eth device
TFTP from server 10.40.0.1; our IP address is 10.40.0.10
Filename 'pxelinux.cfg/default-arm-bcm283x-rpi'.
Load address: 0x2500000
Loading: *T T T T T T T T T T
Retry count exceeded; starting again
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-bcm283x
Waiting for Ethernet connection... done.
Using smsc95xx_eth device
TFTP from server 10.40.0.1; our IP address is 10.40.0.10
Filename 'pxelinux.cfg/default-arm-bcm283x'.
Load address: 0x2500000
Loading: *T T T T T T T T T T
Retry count exceeded; starting again
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm
Waiting for Ethernet connection... done.
Using smsc95xx_eth device
TFTP from server 10.40.0.1; our IP address is 10.40.0.10
Filename 'pxelinux.cfg/default-arm'.
Load address: 0x2500000
Loading: *T T T T T T T T T T
Retry count exceeded; starting again
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default
Waiting for Ethernet connection... done.
Using smsc95xx_eth device
TFTP from server 10.40.0.1; our IP address is 10.40.0.10
Filename 'pxelinux.cfg/default'.
Load address: 0x2500000
Loading: *T T T T T T T T T T
Retry count exceeded; starting again
Config file not found
Waiting for Ethernet connection... done.
BOOTP broadcast 1
DHCP client bound to address 10.40.0.10 (5 ms)
Using smsc95xx_eth device
TFTP from server 10.40.0.1; our IP address is 10.40.0.10
Filename 'boot.scr.uimg'.
Load address: 0x2400000
Loading: *T T T T T T T T T T
Retry count exceeded; starting again
HassOS>
Is there a way to get out of this? Is it a bug in u-boot when one boots from USB? Should I try to specify the root partition in the cmdline.txt? Or to have ituse the regular bootcode.bin file instead of u-boot?
Regards,
Xavier