From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: Marc Kleine-Budde <mkl@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: barebox and setenv
Date: Thu, 26 Aug 2010 10:56:45 +0200 [thread overview]
Message-ID: <20100826085645.GB5355@pengutronix.de> (raw)
In-Reply-To: <4C761942.1020800@pengutronix.de>
Hello,
On Thu, Aug 26, 2010 at 09:35:30AM +0200, Marc Kleine-Budde wrote:
> Nataraj S Narayan wrote:
> > Hi
> >
> > How do I "setenv bootargs mem=64M console=ttyS0,115200 root=/dev/mtdblock0
> > rw rootfstype=jffs2" in barebox?
> >
> > export seems not to work for me.
>
> the barebox shell is "sh" like, so use
>
> bootargs="mem=64M console=ttyS0,115200 root=/dev/mtdblock0 rw rootfstype=jffs2"
... probably followed by
export bootargs
as you asked for (C-Shell like) setenv, not set.
BTW, I recently saw a bug concerning export. Exporting a variable
twice results in an error. I havn't investigated it though.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2010-08-26 8:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-26 6:50 Nataraj S Narayan
2010-08-26 7:03 ` Nataraj S Narayan
2010-08-26 7:35 ` Marc Kleine-Budde
2010-08-26 8:56 ` Uwe Kleine-König [this message]
2010-08-26 9:09 ` Nataraj S Narayan
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=20100826085645.GB5355@pengutronix.de \
--to=u.kleine-koenig@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=mkl@pengutronix.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