-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pi 3B+ won't netboot with bootcode.bin on SD card #987
Comments
just to add that have same problem with reboot here using rpi3b+ built in bootloader. 3 blinks followed by a long on the green LED. The DCHP server sees discover and offers but never sees a request 👍 May 3 11:10:18 router dnsmasq-dhcp[5144]: DHCPDISCOVER(enp1s0) b8:27:eb:53:de:0a whilst booted correctly they all have the green led blinking rapidly 4 times followed by a pause. I've not yet found what that means. |
Serial output:
In effect, the Ethernet device cannot be loaded, because the USB hub is not detected. So it's probably unrelated to the issues mentioned above. Without an Ethernet device no DHCP request can be sent, so none is visible. It appears that the |
Booting from SD card works reliably for me now (from commit 0f5f899). The reboot issue remains, however, with slightly different symptoms. This is the log output on the server when rebooting without having an individual directory for the PI serial (in my case /srv/kernel/xxxxxx):
When I add such a directory (before or after initially booting the PI), things get weirder:
So if there is no serial directory, the PI asks for one, but if one exists, the PI won't ask for it. Most strange. |
Isn't this just because it's only logging the files it doesn't find, not the ones it does? |
No, it logs all TFTP file transfers. My first post contains the log ouptut for a successful boot, and contains lots of lines like this one:
|
Tested today with .43 and .44 Kernelversions, but the Problem still exist not reboot after netboot. same enviroment with a Pi3B no Problems with 3b+ the reboot did not work. Got some changes in behavior ... now the Raspi 3b+ will shut down but still no reboot. Any idea when this Problem is solved ? thanks for your Service Dag |
How have you updated? Did you include the firmware (start.elf) when updating? I would have expected the release of May 18, 2018 ("kernel: Bump to 4.14.41") to allow a 3B+ to reboot when netbooted, provided it is an ordinary, orderly reboot. |
I used the rpi-update on the "server" Raspi then I copied the boot dir to the tftp folder and copied the /lib/modules/ dirs to the nfs Server ..... |
or what is the correct way for updating in the netboot enviroment ? |
Closing this issue as it seems like the remaining part (reboot not working under netboot) is covered by #968. |
This is probably related to #963 and possibly #941.
I have an environment running with ~65 pi 1B and ~10 pi 2B, all netbooted with bootcode.bin on the SD card. I am now working on introducing pi 3B+ into this environment, and am running into two issues that to me seem interconnected.
When booting without an SD card, everything works great, until I try rebooting the 3B+ (by running "reboot" via SSH). Upon reboot, all that happens is this:
This is what the daemon.log on the DHCP/TFTP server says (serial and MAC obfuscated):
When doing a cold boot, the same log says this:
Now, since this is basically the exact problem described in #963, I went to try booting with bootcode.bin on the SD card. However, this works even worse - I get the exact same blink pattern, but no activity on the network at all, neither on the switchport LEDs or in the server log.
I have tried with several different versions of bootcode.bin - one pulled directly from this repo's master branch (pulled yesterday), one pulled from the Raspbian Stretch Lite image (found here https://www.raspberrypi.org/downloads/raspbian/), one pulled from this repo's 'next' branch (pulled today), and one taken from an SD card that boots a pi 2B without problems (unsure about the age of that file). I also tried adding a timeout file to no avail. Setting
program_usb_boot_mode
also seems to do nothing.As of yet I have reproduced this behavour on 2 different 3 B+ boards, but I have 64 more to try if necessary.
I would greatly appreciate any pointers as to what I'm doing wrong or how this can be fixed. Ideally I would like to be able to (re)boot completely without SD card, but since all the existing pis in my environment are running off SD cards with bootcode.bin, needing that on the new pis is no big deal.
The text was updated successfully, but these errors were encountered: