boot9strap icon indicating copy to clipboard operation
boot9strap copied to clipboard

Feature request: sd:/bootorder.txt

Open PlugNPush opened this issue 1 year ago • 2 comments

Instead of hardcoding boot.firm in the main.c file, I think it would be a good idea to add a possibility to bypass it using a text file (ex: bootorder.txt) which would be able to provide a list of 1 firm file per line and detect the first one available to boot it.

This would be especially useful for using BAX firms without messing around with ordinary boot.firm locations to allow smoother updates.

Right now, I made a fork of B9S to support BAX in a hardcoded way. I think it would be great to officially adopt this, but using a text file to specify which firm to load first and provide some flexibility.

Of course, it would always default to the hardcoded boot.firm file if no other firm is found, wether a bootorder.txt file is present or not.

PlugNPush avatar Jan 14 '24 17:01 PlugNPush

I would happily provide a PR for this if I get some sort of approval for the feature itself.

PlugNPush avatar Jan 14 '24 18:01 PlugNPush

I actually did not wait for the approval, I am going to use it anyways for my own use :)

PlugNPush avatar Jan 14 '24 23:01 PlugNPush