Re: barebox and setenv

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux