mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Juergen Beisert <jbe@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Udi Ron <udi.ron@wellsense-tech.com>,
	Itai Raab <itai.raab@wellsense-tech.com>
Subject: Re: Fallback environment in barebox
Date: Tue, 8 Mar 2011 16:37:47 +0100	[thread overview]
Message-ID: <201103081637.47812.jbe@pengutronix.de> (raw)
In-Reply-To: <20110306182606.GD16849@tarshish>

Baruch Siach wrote:
> On Sun, Mar 06, 2011 at 04:59:02PM +0200, Itai Raab wrote:
> > I tried doing what you explained, but it seems like Barebox startup code
> > didn't load the environment from env1 when env0 was corrupted.
> >
> > In barebox shell I could find /dev/env1 with all the data, but when the
> > Barebox started I got:
> > 	no valid environment found on /dev/env0. Using default environment
> >
> > Looking at the startup code (common/startup.c - is this the place?) I
> > don't see any mechanism to load env1 when env0 fails.
>
> You seem to be right. Juergen, can you explain what you meant?

It seems the patches to add this feature are forgotten in one of our BSPs. :-(

I will search for them and resend them to this list. Please be patient.

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | Phone: +49-8766-939 228     |
Vertretung Sued/Muenchen, Germany             | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686              | http://www.pengutronix.de/  |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2011-03-08 15:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-27  6:19 Boaz Ben-David
2011-02-27  9:50 ` Juergen Beisert
2011-02-27 10:09   ` Boaz Ben-David
2011-02-28  5:50     ` Baruch Siach
2011-02-28  8:08       ` Boaz Ben-David
2011-03-06 14:59       ` Itai Raab
2011-03-06 18:26         ` Baruch Siach
2011-03-08 15:37           ` Juergen Beisert [this message]
2011-03-09 11:00             ` Juergen Beisert
2011-03-27  8:58               ` Boaz Ben-David
2011-04-08  7:03                 ` Sascha Hauer

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=201103081637.47812.jbe@pengutronix.de \
    --to=jbe@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=itai.raab@wellsense-tech.com \
    --cc=udi.ron@wellsense-tech.com \
    /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