[U-Boot] U-Boot Graphics Library?

Simon Glass sjg at chromium.org
Wed Jan 16 23:54:50 CET 2013


Hi Wolfgang,

On Wed, Jan 16, 2013 at 2:40 PM, Wolfgang Denk <wd at denx.de> wrote:
> Dear Simon Glass,
>
> In message <CAPnjgZ3rNhvL98JEOPV=90u-Wr3iEqs8QgqYaz=bOohRFRJeEA at mail.gmail.com> you wrote:
>>
>> The problem is that a major purpose of the GUIs is to allow installing
>> an OS from a USB stick/SD card, since the OS may have become corrupted
>> and unbootable. We have looked at keeping around a separate OS image
>> for this (e.g. in an available disk partition), but so far that hasn't
>> proved practical since that itself can be fairly easily overwritten
>> and we then have a doorstop.
>>
>> The less fancy, the better, but consumers have certain expectations
>> that force us to make some efforts...there is already a single font in
>> U-Boot, but it's not good enough for multi-language pretty displays
>> unfortunately.
>
> Why don't you load and start a small recovery system from the USB
> stick then?  I don't see why you need a GUI to do that.  This could be
> mostly made automatic.

That's exactly what we do, yes!

But the user has to be told that there is a problem, and be able to
select their language so they can understand the instructions. The USB
image needs to be downloaded, and the stick inserted. Also we require
that the stick be inserted while we are watching, since this shows
that the user is actually present, and it is not a remote attacker
causing recovery. All of this means instructions are needed, hence the
bitmaps and text.

Regards,
Simon

>
> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> Brain: an apparatus with which we think we think.    - Ambrose Bierce


More information about the U-Boot mailing list