All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dirk Behme <dirk.behme@de.bosch.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] U-Boot Graphics Library?
Date: Thu, 17 Jan 2013 08:05:59 +0100	[thread overview]
Message-ID: <50F7A2D7.90405@de.bosch.com> (raw)
In-Reply-To: <CAPnjgZ0vjatrA5X_SuQC4j8-0HC=FOGcj9sSk_zqyCet6iMJhQ@mail.gmail.com>

On 16.01.2013 23:54, Simon Glass wrote:
> Hi Wolfgang,
> 
> On Wed, Jan 16, 2013 at 2:40 PM, Wolfgang Denk <wd@denx.de> wrote:
>> Dear Simon Glass,
>>
>> In message <CAPnjgZ3rNhvL98JEOPV=90u-Wr3iEqs8QgqYaz=bOohRFRJeEA@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.

Yes, we were thinking about the same use case: An U-Boot based device 
where U-Boot is responsible for the whole system update, including the 
OS. The user has to insert an USB stick or SD card containing the files 
to be updated. Then U-Boot has to copy these files to the NOR, NAND or 
whatever the system boots from. The only user interface is a display, no 
serial console. On the display something like "Please insert the USB 
stick", "Update in progress, please wait", "Update successfully 
finished", "Update error xx" has to be shown, then.

Best regards

Dirk

  reply	other threads:[~2013-01-17  7:05 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-16 15:17 [U-Boot] U-Boot Graphics Library? Simon Glass
2013-01-16 19:46 ` Wolfgang Denk
2013-01-16 21:46   ` Simon Glass
2013-01-16 22:40     ` Wolfgang Denk
2013-01-16 22:54       ` Simon Glass
2013-01-17  7:05         ` Dirk Behme [this message]
2013-01-17  7:53           ` James W.
2013-01-17 12:56           ` Wolfgang Denk
2013-01-17 12:48         ` Wolfgang Denk
2013-01-18  9:18     ` Stefano Babic
2013-01-18 13:23       ` Simon Glass
     [not found]         ` <CAGrmWbzMM33kvQjvDEn66e_XO+GrV+UYb9uVxqUv0iHAnKm3Vg@mail.gmail.com>
2013-01-18 20:57           ` Simon Glass
2013-01-21  1:29             ` Alexander Holler
2013-01-22 11:29               ` Alexander Holler
2013-01-18  0:50   ` Alexander Holler
2013-01-18  1:22     ` [U-Boot] cc-list modified? Alexander Holler
2013-01-18  3:17       ` Scott Wood
2013-01-18 16:32         ` Alexander Holler
2013-01-21  2:53           ` Alexander Holler
2013-01-21 18:19             ` Scott Wood
2013-01-21 18:32               ` Alexander Holler
2013-01-18  8:49     ` [U-Boot] U-Boot Graphics Library? Albert ARIBAUD
2013-01-16 22:42 ` Andre Renaud
2013-01-16 22:57   ` Simon Glass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50F7A2D7.90405@de.bosch.com \
    --to=dirk.behme@de.bosch.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.