public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Timur Tabi <timur@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Linux kernel ignoring bootargs
Date: Wed, 09 Aug 2006 17:08:13 -0500	[thread overview]
Message-ID: <44DA5CCD.4040001@freescale.com> (raw)
In-Reply-To: <44DA5AAF.3020104@ovro.caltech.edu>

David Hawkins wrote:
> Timur Tabi wrote:
>> I'm trying to boot a Linux 2.6.17 kernel from U-Boot, and it appears 
>> that it's ignoring the bootargs variable in U-Boot.
> 
> Try clearing bootargs, and then setting it again.

Doesn't help.

It looks like there's a command line hard-coded into the kernel:

[    0.000000] Kernel command line: root=/dev/nfs rw nfsroot=192.168.1.1:/nfsroot0/u/timur/itx-ltib/rootfs ip=192.168.1.141:192.168.1.1:192.168.1.1:255.255.255.0:unknown:eth0:off console=ttyS0,115200

I can't figure out how it got there.  I know I put it there, because the IP addresses are correct for the test board that's in the lab.  It's not correct, however, for the board in my office.

ACK!  I just remembered - the command line is hard-coded in the device tree, which is hard-coded in the kernel image.  Crap.  Oh well, thanks for helping me remember!

-- 
Timur Tabi
Linux Kernel Developer @ Freescale

      reply	other threads:[~2006-08-09 22:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-09 21:33 [U-Boot-Users] Linux kernel ignoring bootargs Timur Tabi
2006-08-09 21:59 ` David Hawkins
2006-08-09 22:08   ` Timur Tabi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44DA5CCD.4040001@freescale.com \
    --to=timur@freescale.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox