Skip to content

Variable names in urls for HTTP_PATH #595

@sweroam-mibr

Description

@sweroam-mibr

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions