From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.72 #1 (Red Hat Linux)) id 1OoZ4c-0005Cf-O4 for barebox@lists.infradead.org; Thu, 26 Aug 2010 09:48:44 +0000 Received: from gallifrey.ext.pengutronix.de ([2001:6f8:1178:4:5054:ff:fe8d:eefb] helo=[127.0.0.1]) by metis.ext.pengutronix.de with esmtp (Exim 4.71) (envelope-from ) id 1OoZ4b-0008NT-1E for barebox@lists.infradead.org; Thu, 26 Aug 2010 11:48:41 +0200 Resent-To: barebox mailing list Resent-Message-Id: <4C76387B.2000209@pengutronix.de> MIME-Version: 1.0 In-Reply-To: <4C761942.1020800@pengutronix.de> References: <4C761942.1020800@pengutronix.de> Date: Thu, 26 Aug 2010 14:39:54 +0530 Message-ID: From: Nataraj S Narayan List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1228458808==" Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: barebox and setenv To: Marc Kleine-Budde --===============1228458808== Content-Type: multipart/alternative; boundary=0016e659f49c872cc8048eb65c4a --0016e659f49c872cc8048eb65c4a Content-Type: text/plain; charset=ISO-8859-1 Hi Marc My board is at91sam9263. I am fully on Nand flash. Before i fully embark onto barebox, may i have a few hints from you? 1. Can i do away with initial at91bootstrap.bin? 2. Using file jffs2 on Nand which takes at least 10 sec to mount, do you suggest any substitute that barebox supports? 3. How stable is barebox now? warm regards Nataraj On Thu, Aug 26, 2010 at 1:05 PM, 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" > > 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 | > > --0016e659f49c872cc8048eb65c4a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Marc

My board is at91sam9263. I am fully on Nand flas= h. Before i fully embark onto barebox, may i have a few hints from you?

1. Can i do away with initial=A0at91bootstrap.bin?
2. Using file jffs2 on Nand which takes at least 10 sec to mount, do y= ou suggest any substitute that barebox supports?
3. How stable is= barebox now?=A0

warm regards

Nataraj

On Thu, Aug 26, 2010 at 1:05= PM, Marc Kleine-Budde <mkl@pengutronix.de> wrote:
Nataraj S Narayan wrote:
> Hi
>
> How do I =A0"setenv bootargs mem=3D64M console=3DttyS0,115200 roo= t=3D/dev/mtdblock0
> rw rootfstype=3Djffs2" in barebox?
>
> export seems not to work for me.

the barebox shell is "sh" like, so use

bootargs=3D"mem=3D64M console=3DttyS0,115200 root=3D/dev/mtdblock0 rw = rootfstype=3Djffs2"

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

cheers, Marc

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


--0016e659f49c872cc8048eb65c4a-- --===============1228458808== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox --===============1228458808==--