mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: "Premi, Sanjeev" <premi@ti.com>
Cc: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: Re: [RFC] omap3evm: Set preliminary environment
Date: Tue, 14 Feb 2012 12:11:51 +0100	[thread overview]
Message-ID: <20120214111151.GW3852@pengutronix.de> (raw)
In-Reply-To: <E28AAFD00EFAA646AE3DF9B89CD24A89318431A3@DBDE01.ent.ti.com>

On Mon, Feb 13, 2012 at 10:16:13AM +0000, Premi, Sanjeev wrote:
> > -----Original Message-----
> > From: Sascha Hauer [mailto:s.hauer@pengutronix.de] 
> > Sent: Friday, February 10, 2012 5:54 PM
> > To: Premi, Sanjeev
> > Cc: barebox@lists.infradead.org
> > Subject: Re: [RFC] omap3evm: Set preliminary environment
> > 
> > On Thu, Feb 09, 2012 at 11:54:28PM +0530, Sanjeev Premi wrote:
> > > This is still work-in-progress, but wanted to
> > > share them early for any feedback.
> > > 
> > > Signed-off-by: Sanjeev Premi <premi@ti.com>
> > > ---
> > >  I have made offline edits on these scripts before making
> > >  this patch. There is a possibility of run-time failure.
> > > 
> > >  You will also observe many TODOs. Hope to get them sorted
> > >  tomorrow - for a patch worthy of applying on the tree.
> > 
> > You are rewriting what we already have in form of the generic
> > environment. You shouldn't do this, we've been there before.
> > Before there was the generic environment every board had its
> > own set of environment scripts. This resulted in tons of
> > board specific scripts in slightly different states.
> 
> Agree. I didn't want duplication - but was swayed by "FIXME"s
> the barebox/defaultenv and scripts in some of the boards that
> I saw.
> 
> It is possible to override selective variables? e.g.
> 
> machine=FIXME
> bootargs="console=ttyFIXME,115200"
> kernel_part=disk0.2
> 
> Is there an example to refer?

The idea is to just overwrite env/config and keeping the rest from the
default env. There currently is no way to overwrite only single variables.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

      reply	other threads:[~2012-02-14 11:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-09 18:24 Sanjeev Premi
2012-02-10 12:23 ` Sascha Hauer
2012-02-13 10:16   ` Premi, Sanjeev
2012-02-14 11:11     ` Sascha Hauer [this message]

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=20120214111151.GW3852@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=premi@ti.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