rpi-eeprom
rpi-eeprom copied to clipboard
Variable names in urls for HTTP_PATH
Describe the bug
A way to send a variable, eg the mac address or serial number in the HTTP_PATH
Ex HTTP_HOST=example.com HTTp_PORT=80 HTTP_PATH=/files/%MAC%
Will result in http://example.com:80/files/001122334455/boot.bin
Then its possible to load custom OS for each device.
Steps to reproduce the behaviour
Set Config i eeörom
Device (s)
Raspberry Pi 5, Raspberry Pi 4 Mod. B, Raspberry Pi 400, Raspberry Pi CM4, Raspberry Pi CM4 Lite, Raspberry Pi CM4-S
Bootloader configuration.
As description
System
No response
Bootloader logs
No response
USB boot
No response
NVMe boot
No response
Network (TFTP boot)
No response
Low priority but might be useful to make this consistent with TFTP_PREFIX https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#TFTP_PREFIX