barebox and setenv
Uwe Kleine-König
u.kleine-koenig at pengutronix.de
Thu Aug 26 04:56:45 EDT 2010
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/ |
More information about the barebox
mailing list