On Wed, Mar 04, 2020 at 03:02:59PM +0100, Paul Menzel wrote:
> From: Matt DeVillier <[email protected]>
> Date: Fri, 13 Jun 2014 17:21:57 -0500
>
> Currently, booting from a USB device displays the same text as
> booting from a hard disk ('Booting from Hard Disk').
>
> Identify USB devices based on the description string and display
> identifying text when booting.
>
> Signed-off-by: Matt DeVillier <[email protected]>
> Signed-off-by: Paul Menzel <[email protected]>
> ---
> Upstream commit from https://github.com/MrChromebox/SeaBIOS
>
> src/boot.c | 22 ++++++++++++++++++++--
> 1 file changed, 20 insertions(+), 2 deletions(-)
>
> diff --git a/src/boot.c b/src/boot.c
> index afeb36a..69c602f 100644
> --- a/src/boot.c
> +++ b/src/boot.c
> @@ -487,6 +487,7 @@ static struct hlist_head BootList VARVERIFY32INIT;
> #define IPL_TYPE_FLOPPY 0x01
> #define IPL_TYPE_HARDDISK 0x02
> #define IPL_TYPE_CDROM 0x03
> +#define IPL_TYPE_USB 0x04
> #define IPL_TYPE_CBFS 0x20
> #define IPL_TYPE_BEV 0x80
> #define IPL_TYPE_BCV 0x81
This doesn't look correct to me. Each IPL ("Initial Program Load") is
a specific method the bios uses to load an initial image. A USB boot
does not use a different boot method - it uses the harddrive method.
If you're looking for a different description to be printed, then I
recommend enhancing the IPL_TYPE_HARDDISK code so that it can print
the desired description.
-Kevin
_______________________________________________
SeaBIOS mailing list -- [email protected]
To unsubscribe send an email to [email protected]