Hello Mike Banon, build bot (Jenkins), Martin Roth, Stefan Reinauer,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/32351
to look at the new patch set (#11).
Change subject: SeaBIOS patches: advanced_bootmenu, multiple_floppies, writeprotected_usb ......................................................................
SeaBIOS patches: advanced_bootmenu, multiple_floppies, writeprotected_usb
If you'd like to add many useful floppies to your coreboot (learn more: http://dangerousprototypes.com/docs/Lenovo_G505S_hacking#Useful_floppies ), or to use your USB numpad for choosing a SeaBIOS boot entry, or to boot from your USB flash drive with a write protect switch enabled, - then this change is for you! It contains three valuable patches together with a Makefile mod needed to automatically apply these patches to a cloned SeaBIOS before its' compilation.
advanced_bootmenu: up to 35 entries (2 pages if >18), numpad console https://mail.coreboot.org/hyperkitty/list/seabios@seabios.org/thread/CKWLNTZ...
[PATCH v2] ramdisk: search for all the available floppies instead of one https://mail.coreboot.org/pipermail/seabios/2018-December/012670.html
[PATCHv2] Support booting USB drives with a write protect switch enabled https://mail.coreboot.org/hyperkitty/list/seabios@seabios.org/thread/FPQEYFM...
Patch descriptions are available at these links, and here's a copy:
advanced_bootmenu: up to 35 entries (2 pages if >18), numpad support
Add support for up to 35 boot menu entries (2 pages if >18). To solve the ">10" problem currently experienced by SeaBIOS users (there are no 11, 12, etc. keys on a keyboard - so impossible to choose the last menu entries if you got >10 entries because of multiple hard drives / secondary payloads / floppies) - the boot menu has been extended to the letter keys. NOTE: TPM menu has been moved from T to M letter: it is at the end of keyboard's 3rd row of letters and "Trusted" is adjective while "Module" is a noun; alternatively could press '-'.
Also, add support for a numpad. Small USB numpad could be really convenient for choosing the boot entries at coreboot boards used as (maybe headless) servers. '/' char on numpad could be used to open the boot menu or to exit it. If there are >10 boot menu entries - the numpad console interface will be enabled: press one or two digit keys and then ENTER to confirm your choice, or remove a digit by pressing the '.Del' key. Also you could call TPM with '-' key at any moment, or boot with a single key press of your fullsize keyboard.
[PATCH v2] ramdisk: search for all the available floppies instead of one
All the floppy images available at CBFS will be found and listed in a boot menu, instead of the first found. Could be highly valuable if you are participating in a hobby OS development - would like to test multiple versions of your floppy at the same coreboot image, to reduce the amount of re-flashes and accelerate the development at bare metal - or simply you would like to access multiple floppies as a coreboot user. For example: KolibriOS (nice assembly OS with GUI and apps), FreeDOS, MichalOS, Snowdrop and memtest (coreboot's memtest version is buggy, e.g. external USB keyboard isn't working at some laptops; floppy is much better)
[PATCHv2] Support booting USB drives with a write protect switch enabled
At least some USB drives with a write protect switch (e.g. Netac U335) could report "MEDIUM NOT PRESENT" for a while if a write protect is enabled. Instead of stopping the initialization attempts immediately, stop only after getting this report for 3 times, to ensure the successful initialization of such a "broken hardware".
Signed-off-by: Mike Banon mikebdp2@gmail.com Change-Id: Idf4efba31091a8678b51c2f6541d440c5cc6d37d --- M payloads/external/SeaBIOS/Makefile A payloads/external/SeaBIOS/advanced_bootmenu.patch A payloads/external/SeaBIOS/multiple_floppies.patch A payloads/external/SeaBIOS/writeprotected_usb.patch 4 files changed, 631 insertions(+), 5 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/51/32351/11