public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Passing Parameters to kernel
@ 2005-11-18 11:19 Swapnil Ashok Narkhede
  2005-11-18 12:55 ` Alex Zeffertt
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Swapnil Ashok Narkhede @ 2005-11-18 11:19 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] Passing Parameters to kernel
  2005-11-18 11:19 Swapnil Ashok Narkhede
@ 2005-11-18 12:55 ` Alex Zeffertt
  2005-11-18 14:04 ` Detlef Vollmann
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Alex Zeffertt @ 2005-11-18 12:55 UTC (permalink / raw)
  To: u-boot

On Fri, 18 Nov 2005 22:19:01 +1100
"Swapnil Ashok Narkhede" <S3092131@student.rmit.edu.au> 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
> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] Passing Parameters to kernel
  2005-11-18 11:19 Swapnil Ashok Narkhede
  2005-11-18 12:55 ` Alex Zeffertt
@ 2005-11-18 14:04 ` Detlef Vollmann
  2005-11-18 14:17 ` Wolfgang Denk
  2005-11-18 16:30 ` Andrey Volkov
  3 siblings, 0 replies; 6+ messages in thread
From: Detlef Vollmann @ 2005-11-18 14:04 UTC (permalink / raw)
  To: u-boot

Swapnil Ashok Narkhede wrote:
> 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

-- 
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] Passing Parameters to kernel
  2005-11-18 11:19 Swapnil Ashok Narkhede
  2005-11-18 12:55 ` Alex Zeffertt
  2005-11-18 14:04 ` Detlef Vollmann
@ 2005-11-18 14:17 ` Wolfgang Denk
  2005-11-18 16:30 ` Andrey Volkov
  3 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2005-11-18 14:17 UTC (permalink / raw)
  To: u-boot

In message <1132312741.535ddf1cS3092131@student.rmit.edu.au> 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
> 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
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] Passing Parameters to kernel
       [not found] <1132327613.53632bdcS3092131@student.rmit.edu.au>
@ 2005-11-18 16:06 ` Detlef Vollmann
  0 siblings, 0 replies; 6+ messages in thread
From: Detlef Vollmann @ 2005-11-18 16:06 UTC (permalink / raw)
  To: u-boot

Swapnil Ashok Narkhede wrote:
> I am using kernel 2.4.2 and gcc  3.3.1.
> But how is this related with the issue.
Starting with gcc 3.4, the attribute 'unused' is interpreted
differently.  And the ARM kernel uses this attribute for
transferring kernel parameters.

 Detlef

-- 
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] Passing Parameters to kernel
  2005-11-18 11:19 Swapnil Ashok Narkhede
                   ` (2 preceding siblings ...)
  2005-11-18 14:17 ` Wolfgang Denk
@ 2005-11-18 16:30 ` Andrey Volkov
  3 siblings, 0 replies; 6+ messages in thread
From: Andrey Volkov @ 2005-11-18 16:30 UTC (permalink / raw)
  To: u-boot

Swapnil Ashok Narkhede 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
> command line specified in kernel
> configuration.
> 
> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-11-18 16:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1132327613.53632bdcS3092131@student.rmit.edu.au>
2005-11-18 16:06 ` [U-Boot-Users] Passing Parameters to kernel Detlef Vollmann
2005-11-18 11:19 Swapnil Ashok Narkhede
2005-11-18 12:55 ` Alex Zeffertt
2005-11-18 14:04 ` Detlef Vollmann
2005-11-18 14:17 ` Wolfgang Denk
2005-11-18 16:30 ` Andrey Volkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox