2009-05-28 17:19:25     Problem passing bootargs to kernel

Document created by Aaronwu Employee on Sep 18, 2013
Version 1Show Document
  • View in full screen mode

2009-05-28 17:19:25     Problem passing bootargs to kernel

Jason Holden (UNITED STATES)

Message: 74730   

 

Hi,

 

  I've recently been playing around w/ updating to a latest-and-greatest kernel on a BF537-STAMP after about a 1year hiatus, and I can't seem to to pass any arguments from u-boot to the kernel.  I will typically do a "bootm" in uboot after tftp'ing the kernel into memory.

 

bootargs is definitely set when I boot, but a cat on /proc/cmdline is empty.

 

I noticed the following on the release notes for u-boot2009R1.  I this my problem?

 

http://docs.blackfin.uclinux.org/doku.php?id=bootloaders:u-boot:release-notes:2009r1&s[]=boot

 

"Booting Linux kernel ELF images does not pass command line -- use bootable u-boot images instead"

 

 

 

I've also tried reverting to u-boot 2008R1.5, but still couldn't get anything into the kernel command line.

 

I'm using an updated toolchain.

 

Any ideas?  Thanks!

 

-Jason

QuoteReplyEditDelete

 

 

2009-05-28 17:36:07     Re: Problem passing bootargs to kernel

Mike Frysinger (UNITED STATES)

Message: 74734   

 

you didnt say what kernel version you're using.  there was a bug in recent trunk that clobbered the command line, but that's been fixed.

QuoteReplyEditDelete

 

 

2009-06-01 09:48:33     Re: Problem passing bootargs to kernel

Jason Holden (UNITED STATES)

Message: 74922   

 

That looks to be the issue.  I was at (trunk@6447, bc96852a8) and needed to be at (trunk@6477, e680ff71) or (2009R1@6478, 427c2edc1f) to pick up the fix for [#5160]

 

Thanks

 

Jason

Attachments

    Outcomes