public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [RFC] Implementing Boot Image Fallback on U-Boot
Date: Thu, 24 Apr 2008 15:23:03 +0200	[thread overview]
Message-ID: <20080424132303.4887924AB1@gemini.denx.de> (raw)
In-Reply-To: Your message of "Thu, 24 Apr 2008 21:42:15 +0900." <48108027.7020605@miraclelinux.com>

In message <48108027.7020605@miraclelinux.com> you wrote:
>
> I've read it but I'm afraid it's bit different from Boot Image Fallback.
> 
> Boot Image Fallback decides image to boot according to a order of images to 
> boot and depending on previous boot has succeeded or not. So, this kind of 
> mechanism is still needed.

Are you aware that U-Boot has scripting capabilities, to the extend of
being able to run shell scripts?

What you are asking for can be pretty easily implemented using a few
macro definitions utilizing the aforementioned features.

If you think something is missing, please point out which specific
feature you think is missing.

Please make sure to read the previous postings and the available
documentation on this topic.

> Also, on Boot Image Fallback, "default" changes dynamically but "default 
> booting configuration" is embedded in ".its" and it's static.

You can define boot commands, and change these definitions with each
boot you perform.

Don't look for a turn-key solution, instead look for building blocks
which you can easily put together.

> Anyway thank you. By the way, is it able to define "bootargs" for each image 
> entry on ".its"?

The "bootargs" variable normally gets built dynamically, and of cource
you can change the settings each time you build it.

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
"The one charm of marriage is that it makes a  life  of  deception  a
neccessity."                                            - Oscar Wilde

  reply	other threads:[~2008-04-24 13:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-24  2:53 [U-Boot-Users] [RFC] Implementing Boot Image Fallback on U-Boot Makito SHIOKAWA
2008-04-24  5:00 ` Matthias Fuchs
2008-04-24  9:59   ` Makito SHIOKAWA
2008-04-24 13:12     ` Wolfgang Denk
2008-04-24  9:01 ` Bartlomiej Sieka
2008-04-24 11:16   ` Makito SHIOKAWA
2008-04-24 12:42   ` Makito SHIOKAWA
2008-04-24 13:23     ` Wolfgang Denk [this message]
2008-04-25 10:45       ` Makito SHIOKAWA

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=20080424132303.4887924AB1@gemini.denx.de \
    --to=wd@denx.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox