* [U-Boot-Users] bootargs
@ 2004-03-10 18:33 asnua at eircom.net
2004-03-10 19:30 ` George G. Davis
2004-03-10 20:21 ` Wolfgang Denk
0 siblings, 2 replies; 10+ messages in thread
From: asnua at eircom.net @ 2004-03-10 18:33 UTC (permalink / raw)
To: u-boot
Hi
Does CONFIG_BOOTARGS and or CONFIG_CMDLINE_TAG have to be set before the env variable 'bootargs' gets passed to the kernel?
Thanks,
Dave
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot-Users] bootargs
2004-03-10 18:33 asnua at eircom.net
@ 2004-03-10 19:30 ` George G. Davis
2004-03-10 20:21 ` Wolfgang Denk
1 sibling, 0 replies; 10+ messages in thread
From: George G. Davis @ 2004-03-10 19:30 UTC (permalink / raw)
To: u-boot
On Wed, Mar 10, 2004 at 06:33:09PM +0000, asnua at eircom.net wrote:
> Hi
> Does CONFIG_BOOTARGS and or CONFIG_CMDLINE_TAG have to be set before the env variable 'bootargs' gets passed to the kernel?
>
You must enable (define) CONFIG_CMDLINE_TAG. OTOH, defining CONFIG_BOOTARGS
is optional. If you do define CONFIG_BOOTARGS, it sets the default env
bootargs if same is not present in saved flash env already. Else if you
undef CONFIG_BOOTARGS, then you can always do `setenv bootargs ...` to
set it and `saveenv` to save it.
HTH!
--
Regards,
George
P.S. Make sure you've specified the correct BOOT_PARAMS phys addr for your
machine, i.e. make sure your machine boot_params agree between u-boot and
linux:
grep -i boot_params ../u-boot/board/*/*.c ../linux/arch/arm/mach-*/*.c
> Thanks,
> Dave
>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot-Users] bootargs
2004-03-10 18:33 asnua at eircom.net
2004-03-10 19:30 ` George G. Davis
@ 2004-03-10 20:21 ` Wolfgang Denk
1 sibling, 0 replies; 10+ messages in thread
From: Wolfgang Denk @ 2004-03-10 20:21 UTC (permalink / raw)
To: u-boot
In message <E1B18nH-0006On-2d@sc8-sf-list1.sourceforge.net> you wrote:
>
> Does CONFIG_BOOTARGS and or CONFIG_CMDLINE_TAG have to be set before the env variable 'bootargs' gets passed to the kernel?
CONFIG_BOOTARGS gives just the default setting (initial value) for
bootargs. If or how this gets passed to the Linux kernel depends on
the architecture; for example on ARM CONFIG_CMDLINE_TAG may be
needed, on PowerPC it does not mean anything.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
Presidency: The greased pig in the field game of American politics.
- Ambrose Bierce
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot-Users] bootargs
@ 2004-03-11 13:13 asnua at eircom.net
2004-03-11 13:36 ` Wolfgang Denk
0 siblings, 1 reply; 10+ messages in thread
From: asnua at eircom.net @ 2004-03-11 13:13 UTC (permalink / raw)
To: u-boot
George,Wolfgang,
Well done. I modified my configuration file to enable CONFIG_CMDLINE_TAG and I can now pass command line arguments to the kernel. Yipee!!
I also checked the location of the BOOT_PARAMS phys addr and they were the same at 0x30000100.
I've also noticed that the error I was reporting earlier
in the week :
"Warning: bad configuration page, trying to continue"
has DISAPPEARED.
All this excitement in one day!!
One thing (there's always one more) ... does U-boot support writing to Intel Strata Flash?
Thanks again,
Dave
"George G. Davis" <davis_g@comcast.net> wrote:
<
< On Wed, Mar 10, 2004 at 06:33:09PM +0000, asnua at eircom.net wrote
"George G. Davis" <davis_g@comcast.net> wrote:
<
< On Wed, Mar 10, 2004 at 06:33:09PM +0000, asnua@eircom.net wrote:
< > Hi
< > Does CONFIG_BOOTARGS and or CONFIG_CMDLINE_TAG have to be set before the env variable 'bootargs' gets passed to the kernel?
< >
<
< You must enable (define) CONFIG_CMDLINE_TAG. OTOH, defining CONFIG_BOOTARGS
< is optional. If you do define CONFIG_BOOTARGS, it sets the default env
< bootargs if same is not present in saved flash env already. Else if you
< undef CONFIG_BOOTARGS, then you can always do `setenv bootargs ...` to
< set it and `saveenv` to save it.
<
< HTH!
<
< --
< Regards,
< George
< P.S. Make sure you've specified the correct BOOT_PARAMS phys addr for your
< machine, i.e. make sure your machine boot_params agree between u-boot and
< linux:
<
< grep -i boot_params ../u-boot/board/*/*.c ../linux/arch/arm/mach-*/*.c
<
<
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot-Users] bootargs
2004-03-11 13:13 asnua at eircom.net
@ 2004-03-11 13:36 ` Wolfgang Denk
0 siblings, 0 replies; 10+ messages in thread
From: Wolfgang Denk @ 2004-03-11 13:36 UTC (permalink / raw)
To: u-boot
In message <E1B1QIK-00061j-BX@sc8-sf-list1.sourceforge.net> you wrote:
>
> All this excitement in one day!!
And all for free :-)
> One thing (there's always one more) ... does U-boot support writing to Intel Strata Flash?
More exitement on the way: yes, of course.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
"Wagner's music is better than it sounds." - Mark Twain
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot-Users] bootargs
@ 2004-03-26 12:39 asnua at eircom.net
2004-03-26 13:30 ` Wolfgang Denk
0 siblings, 1 reply; 10+ messages in thread
From: asnua at eircom.net @ 2004-03-26 12:39 UTC (permalink / raw)
To: u-boot
My board has 2 x E28F128J3A150 Intel Strata flash devices at 0x08000000 and a seperate 1Mbyte AMD flash (containing u-boot) at 0x00000000. How do I configure u-boot to identify all of my flash devices?
Does u-boot use CFI to detect flash devices?
I want to use jffs2 root file system on Strata flash
If u-boot is unaware of the other (i.e.Strata) flash will that affect the kernel using jffs2 and mtd subsystem?
Currently when I do flinfo it only returns information about the 1Mbyte flash!
e.g. flinfo
Bank # 1: AMD: 1x Amd29LV800BB (8Mbit)
Size: 1 MB in 19 Sectors
Sector Start Addresses:
00000000 (RO) 00004000 (RO) 00006000 (RO) 00008000 (RO) 00010000 (RO)
00020000 00030000 00040000 00050000 00060000
00070000 00080000 00090000 000A0000 000B0000
000C0000 000D0000 000E0000 000F0000 (RO)
Thanks,
Dave
Wolfgang Denk <wd@denx.de> wrote:
<
< In message <E1B1QIK-00061j-BX@sc8-sf-list1.sourceforge.net> you wrote:
< >
< > All this excitement in one day!!
<
< And all for free :-)
<
< > One thing (there's always one more) ... does U-boot support writing to Intel Strata Flash?
<
< More exitement on the way: yes, of course.
<
< Best regards,
<
< Wolfgang Denk
<
< --
< Software Engineering: Embedded and Realtime Systems, Embedded Linux
< Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
< "Wagner's music is better than it sounds." - Mark Twain
<
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot-Users] bootargs
2004-03-26 12:39 asnua at eircom.net
@ 2004-03-26 13:30 ` Wolfgang Denk
0 siblings, 0 replies; 10+ messages in thread
From: Wolfgang Denk @ 2004-03-26 13:30 UTC (permalink / raw)
To: u-boot
In message <E1B6qcy-00011A-Er@sc8-sf-list1.sourceforge.net> you wrote:
>
> My board has 2 x E28F128J3A150 Intel Strata flash devices at
> 0x08000000 and a seperate 1Mbyte AMD flash (containing u-boot) at
> 0x00000000. How do I configure u-boot to identify all of my flash
> devices?
Adapt the flash driver for your board to initialize both banks.
> Does u-boot use CFI to detect flash devices?
You can use the CFI driver or a custom driver just as you like.
> I want to use jffs2 root file system on Strata flash
> If u-boot is unaware of the other (i.e.Strata) flash will that affect the kernel using jffs2 and mtd subsystem?
U-Boot must at least initialize the memory controller, and normally
it should report the location (address) and size to the Linux kernel.
> Currently when I do flinfo it only returns information about the 1Mbyte flash!
Which means your flash driver is incomplete.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
panic: kernel trap (ignored)
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot-Users] bootargs
@ 2004-10-14 15:20 Barbier, Renaud
2004-10-14 20:07 ` George G. Davis
0 siblings, 1 reply; 10+ messages in thread
From: Barbier, Renaud @ 2004-10-14 15:20 UTC (permalink / raw)
To: u-boot
I am not sure that I understand how to pick up the bootargs variables in Linux (ocotea) PPC.
I looked at codes of different machine but I do not know which one fit fro my 440GX based-machine.
I am still looking into these bd_t and bi_record structure to see if I can find the answer.
Any help welcome?
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot-Users] bootargs
2004-10-14 15:20 [U-Boot-Users] bootargs Barbier, Renaud
@ 2004-10-14 20:07 ` George G. Davis
0 siblings, 0 replies; 10+ messages in thread
From: George G. Davis @ 2004-10-14 20:07 UTC (permalink / raw)
To: u-boot
On Thu, Oct 14, 2004 at 10:20:29AM -0500, Barbier, Renaud (GE Infrastructure) wrote:
> I am not sure that I understand how to pick up the bootargs variables in Linux (ocotea) PPC.
Sorry, my comments earlier in this thread were relevant for ARM targets only.
I have no idea how this works for PPC or other archs.
--
Regards,
George
> I looked at codes of different machine but I do not know which one fit fro my 440GX based-machine.
>
> I am still looking into these bd_t and bi_record structure to see if I can find the answer.
>
> Any help welcome?
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot-Users] bootargs
@ 2004-10-14 20:17 Barbier, Renaud
0 siblings, 0 replies; 10+ messages in thread
From: Barbier, Renaud @ 2004-10-14 20:17 UTC (permalink / raw)
To: u-boot
thanks I figured it out.
-----Original Message-----
From: George G. Davis [mailto:gdavis at mvista.com]
Sent: Thursday, October 14, 2004 9:08 PM
To: Barbier, Renaud (GE Infrastructure)
Cc: U-Boot-Users at lists.sourceforge.net
Subject: Re: [U-Boot-Users] bootargs
On Thu, Oct 14, 2004 at 10:20:29AM -0500, Barbier, Renaud (GE Infrastructure) wrote:
> I am not sure that I understand how to pick up the bootargs variables in Linux (ocotea) PPC.
Sorry, my comments earlier in this thread were relevant for ARM targets only.
I have no idea how this works for PPC or other archs.
--
Regards,
George
> I looked at codes of different machine but I do not know which one fit fro my 440GX based-machine.
>
> I am still looking into these bd_t and bi_record structure to see if I can find the answer.
>
> Any help welcome?
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2004-10-14 20:17 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-14 15:20 [U-Boot-Users] bootargs Barbier, Renaud
2004-10-14 20:07 ` George G. Davis
-- strict thread matches above, loose matches on Subject: below --
2004-10-14 20:17 Barbier, Renaud
2004-03-26 12:39 asnua at eircom.net
2004-03-26 13:30 ` Wolfgang Denk
2004-03-11 13:13 asnua at eircom.net
2004-03-11 13:36 ` Wolfgang Denk
2004-03-10 18:33 asnua at eircom.net
2004-03-10 19:30 ` George G. Davis
2004-03-10 20:21 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox