* barebox and setenv
@ 2010-08-26 6:50 Nataraj S Narayan
2010-08-26 7:03 ` Nataraj S Narayan
2010-08-26 7:35 ` Marc Kleine-Budde
0 siblings, 2 replies; 5+ messages in thread
From: Nataraj S Narayan @ 2010-08-26 6:50 UTC (permalink / raw)
To: barebox
[-- Attachment #1.1: Type: text/plain, Size: 165 bytes --]
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.
regards
Nataraj
[-- Attachment #1.2: Type: text/html, Size: 204 bytes --]
[-- Attachment #2: Type: text/plain, Size: 149 bytes --]
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: barebox and setenv
2010-08-26 6:50 barebox and setenv Nataraj S Narayan
@ 2010-08-26 7:03 ` Nataraj S Narayan
2010-08-26 7:35 ` Marc Kleine-Budde
1 sibling, 0 replies; 5+ messages in thread
From: Nataraj S Narayan @ 2010-08-26 7:03 UTC (permalink / raw)
To: barebox
[-- Attachment #1.1: Type: text/plain, Size: 397 bytes --]
Hi
As a follow up to my previous mail,
I am on barebox 2010.05.0-00446-g02f7dfe-dirty (Aug 23 2010 - 10:05:28).
regards
Nataraj
On Thu, Aug 26, 2010 at 12:20 PM, Nataraj S Narayan <natarajsn@gmail.com>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.
>
> regards
>
> Nataraj
>
[-- Attachment #1.2: Type: text/html, Size: 733 bytes --]
[-- Attachment #2: Type: text/plain, Size: 149 bytes --]
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: barebox and setenv
2010-08-26 6:50 barebox and setenv 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
2010-08-26 9:09 ` Nataraj S Narayan
1 sibling, 2 replies; 5+ messages in thread
From: Marc Kleine-Budde @ 2010-08-26 7:35 UTC (permalink / raw)
To: Nataraj S Narayan; +Cc: barebox
[-- Attachment #1.1: Type: text/plain, Size: 698 bytes --]
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 |
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
[-- Attachment #2: Type: text/plain, Size: 149 bytes --]
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: barebox and setenv
2010-08-26 7:35 ` Marc Kleine-Budde
@ 2010-08-26 8:56 ` Uwe Kleine-König
2010-08-26 9:09 ` Nataraj S Narayan
1 sibling, 0 replies; 5+ messages in thread
From: Uwe Kleine-König @ 2010-08-26 8:56 UTC (permalink / raw)
To: Marc Kleine-Budde; +Cc: barebox
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: barebox and setenv
2010-08-26 7:35 ` Marc Kleine-Budde
2010-08-26 8:56 ` Uwe Kleine-König
@ 2010-08-26 9:09 ` Nataraj S Narayan
1 sibling, 0 replies; 5+ messages in thread
From: Nataraj S Narayan @ 2010-08-26 9:09 UTC (permalink / raw)
To: Marc Kleine-Budde
[-- Attachment #1.1: Type: text/plain, Size: 1149 bytes --]
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 <mkl@pengutronix.de>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 |
>
>
[-- Attachment #1.2: Type: text/html, Size: 1749 bytes --]
[-- Attachment #2: Type: text/plain, Size: 149 bytes --]
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-08-26 9:48 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-26 6:50 barebox and setenv 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
2010-08-26 9:09 ` Nataraj S Narayan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox