Comments (5)
Apparently iPXE scripting lets you use goto
statements now for jumping to previous labels: https://ipxe.org/scripting
but it is an iPXE issue rather than Pi4 UEFI. I have found the boot order to only persist with specific versions of RPI_EFI.fd and not with others, as there was an issue with saving boot variables on USB disks, then with SD cards, then with USB disks again.
Network boot became the priority either way (HTTP).
from rpi4.
I've changed my approach and am using MAAS for now. I'm still encountering the first part of this issue.
Whenever MAAS deploys the image to the Pi and the Pi gets cold power cycled, a new ubuntu
entry is sent to the top of the boot order. Ideally, PXE (or whatever your last configured boot entry was) is kept at the top. This appears to happen with 1.31, 1.33 and 1.34. The Pi is configured with Boot Discovery Policy as minimal
UEFI running off of SD card. I have confirmed that the settings persist across reboots.
@TheMindVirus do you know which version of the RPI_EFI.fd
could work?
from rpi4.
The versions I based my display mods from were 1.28, 1.29 and 1.33, 1.33 seems to be in common.
In each one, especially after boot order fixes, it sometimes started with HTTP boot.
https://github.com/TheMindVirus/pftf-rpi4
from rpi4.
I am not having luck. I guess I'll have to dig into the code sometime.
I've tried it again:
1.31 through 1.34
- copy to sd
- boot sd and enter menu
- disable 3gb limit
- set pxe to first
- boot policy minimal
- cold reboot Pi
- confirm that settings are applied
- cold power off Pi
- set MAAS to provision, turn on Pi.
- MAAS completes, triggers reboot
- automatic reboot is all good. No new entry. Things are working with pxe as default
If I reboot the Pi, warm or cold, a new ubuntu
entry is present at the top of the boot order. Making PXE non-default. This means that there will always have to be physical intervention to reprovision.
I haven't tried 1.35 because I get boot errors with it.
Note: I seem to have been able to work around it by flashing the SD card, booting for the first time and changing the config, shutting down the Pi and setting the SD card to write-protected using a Linux box and this code: https://github.com/BertoldVdb/sdtool (but I also set it on a Windows box with disktool)
With the SD as readonly, I've been able to provision repeatedly with PXE staying at the top and no new ubuntu
entry being added. Not an ideal solution.
from rpi4.
Hey, I am experiencing the same. Would love to have a generic Image for all Pis, no matter if they are 4 or 8GB and:
- Remove the memory limit to 3gb
- set UEFI PXE as default boot option. This does only work on the Pi where i created the files, like RPI_EFI.fd etc.
from rpi4.
Related Issues (20)
- Customize Splash Image HOT 1
- How To Make The network work without a ethernet cable HOT 1
- coreos install fails using v1.35 with 'synchronous exception at 0x000000003384D000' HOT 31
- Setup UI bugs out over serial connection HOT 2
- WOR IS NOT INSTALLING TO MY 256GB SanDisk Uitra HOT 1
- Can you Make It So theres no test mode text and add wi-fi HOT 1
- Legacy boot still possible? HOT 1
- UEFI firmware installation fails: Could not detect network connection HOT 2
- Secure Boot Setup HOT 2
- FreeBSD boot stuck at armv8crypto0: CPU lacks AES instructions HOT 4
- Meta: Plans for RPi5? HOT 24
- Cannot push clock speed in v1.35 but can easily reach 2200 MHz in v1.34 HOT 1
- Question: Why don't you provide the pkg having 3 GB Mem limit disabled? HOT 1
- Error Synchronous Exception at 0x000000033A42000 HOT 3
- Involuntary support for legacy kernels?
- Use of dtoverlay and dtparam in config.txt HOT 1
- Windows 11 boot stuck in repair mode after disabling 3GB RAM limit
- RPI_EFI.fd file HOT 5
- pi4 hdmi addresses? HOT 1
- Display not working with v1.36 HOT 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rpi4.