-
Notifications
You must be signed in to change notification settings - Fork 38
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
Headless boot issue with absent monitor #7
Comments
I've used piPXE for headless boot before (on a Pi 3B+), so it definitely is capable of working. The console output in piPXE is entirely via the UEFI firmware's Have you tried attaching a USB TTL serial adapter (e.g. https://www.amazon.co.uk/Serial-Converter-Adapter-Prolific-Windows-Black/dp/B08DKM6Q63)? That should let you observe the boot messages for debugging even when no HDMI display is present. |
I tried with the exact same setup (RPi4B 8GB) and was able to reproduce the issue. I see Adding those hdmi vars to config.txt makes the problem disappear. Unfortunately I have no USB TTL serial adapter nor micro hdmi cable to check the output. |
I'm using pipxe with MAAS images and cloud-init to have a bunch of centrally managed Pies, just like I do with x86. After patching EDK2 to not limit RAM to 3GB, and to auto-boot from the network device (instead of waiting for manual input), there is another issue left for headless boot: absent monitor. Either the UEFI bootloader from EDK2 or pipxe doesn't like an absent monitor and appears to freeze (I can ping the machine for about 5 seconds and then it goes offline, so it appears to be happening between the UEFI and pipxe phases). At first, I worked around it by using a dummy HDMI plug, but later found out that it can be worked around in software by adding the following into
config.txt
(which in my case resides on the TFTP server):I successfully tested the workaround it on a RPi4B with 2G and 8G of RAM.
Unfortunately I don't know whether the issue is triggered in the UEFI bootloader or in pipxe, so I'm not sure where to report it.
The text was updated successfully, but these errors were encountered: