Skip to contentSkip to conversation

Passing Parameters to kernel

U-Boot-Users Swapnil Ashok Narkhede 5 participants 5 messages Nov 18, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

How do i ensure the ATAG parameters are getting passed properly from U-boot to Kernel.

The bootargs command line that i specify in U-boot is not what i see on kernel command line.

The bootargs from U-boot gets overwritten by the default kernel command line specified in kernel configuration.

What could be the cause?
How do i overcome this.

Eagerly awaiting your reply.

Regards,
Swapnil Narkhede
Mob:- 0432025023
Email:- s3092131 at student.rmit.edu.au School of Computer Science and Information Technology RMIT University, Melbourne

#1 lore raw
Quoted 10 lines · On Fri, 18 Nov 2005 22:19:01 +1100 "Swapnil Ashok Narkhede"…

Hi,

How do i ensure the ATAG parameters are getting passed properly from U-boot to Kernel.

The bootargs command line that i specify in U-boot is not what i see on kernel command line.

Quoted 7 lines

The bootargs from U-boot gets overwritten by the default kernel command line specified in kernel configuration.

What could be the cause?
How do i overcome this.

Check if you have

CONFIG_CMDLINE_BOOL

set in your .config. If so, unset it.

Alex

#2 lore raw
In reply to Swapnil Ashok Narkhede
Quoted 7 lines · Swapnil Ashok Narkhede

The bootargs from U-boot gets overwritten by the default kernel command line specified in kernel configuration.

What could be the cause?
How do i overcome this.

Which kernel and which gcc do you use?
If you use a 2.4 kernel with gcc 3.4, you'll see exactly these problems.

Detlef

Signature · 3 lines
Detlef Vollmann   vollmann engineering gmbh
Linux and C++ for Embedded Systems    http://www.vollmann.ch/
Linux for PXA270 Colibri module: www.toradex.com/e/products.html
#3 lore raw
In reply to Swapnil Ashok Narkhede
Quoted 11 lines · In message <[email protected]> you wrote:

Hi,

How do i ensure the ATAG parameters
are getting passed properly from
U-boot to Kernel.

The bootargs command line that i
specify in U-boot is not what i see
on kernel command line.

The bootargs from U-boot gets

overwritten by the default kernel

Quoted 28 lines

command line specified in kernel
configuration.

What could be the cause?
How do i overcome this.

Eagerly awaiting your reply.

Regards,
Swapnil Narkhede
Mob:- 0432025023
Email:- s3092131 at student.rmit.edu.au School of Computer Science and Information Technology RMIT University, Melbourne

-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

#4 lore raw
In reply to Swapnil Ashok Narkhede
Quoted 15 lines · Swapnil Ashok Narkhede

Hi,

How do i ensure the ATAG parameters are getting passed properly from U-boot to Kernel.

The bootargs command line that i specify in U-boot is not what i see on kernel command line.

The bootargs from U-boot gets overwritten by the default kernel command line specified in kernel configuration.

Quoted 5 lines

What could be the cause?
How do i overcome this.

Eagerly awaiting your reply.

And check cmdline size, by default cmdline in U-Boot have 256 bytes long.

--
Regards
Andrey Volkov