Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 2738

Raspberry Pi OS • Re: Feature request - BIOS style boot device menu

$
0
0
Not exactly what you're asking for but you can achieve your aim by using GPIO based conditional filters in the bootloader eeprom config.

For example:

Code:

gpio=13=ip,pugpio=21=ip,puBOOT_ORDER=0xf641[gpio13=0]BOOT_ORDER=0xf416[gpio21=0]BOOT_ORDER=0xf614[all]
If neither GPIO is low you get the unfiltered boot order. If either is low you get the one in the active filter. If both are low order matters and last one wins.

[all] is needed to clear the active filter before processing any further parameters. As with config.txt if a parameter is repeated and both lines are active, last one wins.

Add as many (or as few) filters as you need.

Statistics: Posted by thagrol — Sat Jun 15, 2024 1:13 pm



Viewing all articles
Browse latest Browse all 2738

Trending Articles