barebox and setenv

Marc Kleine-Budde mkl at pengutronix.de
Thu Aug 26 03:35:30 EDT 2010


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"

BTW: barebox comes with a default environment for all board. Adopt it to
your needs.

cheers, Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/barebox/attachments/20100826/1f2e0801/attachment.sig>


More information about the barebox mailing list