rpi-eeprom icon indicating copy to clipboard operation
rpi-eeprom copied to clipboard

Variable names in urls for HTTP_PATH

Open sweroam-mibr opened this issue 1 year ago • 1 comments

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

sweroam-mibr avatar Aug 17 '24 12:08 sweroam-mibr

Low priority but might be useful to make this consistent with TFTP_PREFIX https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#TFTP_PREFIX

timg236 avatar Aug 07 '25 16:08 timg236