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 16:33:04 -0500 [thread overview]
Message-ID: <44DA5490.9050100@freescale.com> (raw)
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.
Here is my U-Boot environment:
baudrate=115200
loads_echo=1
ethaddr=00:E0:0C:00:8C:01
eth1addr=00:E0:0C:00:8C:02
ipaddr=10.82.19.159
serverip=10.82.48.106
rootpath=/nfsroot0/u/timur/itx-ltib/rootfs
gatewayip=10.82.19.254
netmask=255.255.252.0
hostname=timur-dev
bootfile=/timur/uImage
loadaddr=200000
netdev=eth0
tftpuboot=tftpboot $loadaddr timur/u-boot.bin; erase fe700000 fe77ffff; cp.b $loadaddr fe700000 $filesize; cmp.b $loadaddr fe700000 $filesize
tftplinux=tftpboot $loadaddr /timur/uImage
ethact=TSEC0
bootargs=root=/dev/nfs rw nfsroot=10.82.48.106:/nfsroot0/u/timur/itx-ltib/rootfs ip=10.82.19.159:10.82.48.106:10.82.19.254:255.255.252.0:timur-dev:eth0:off console=ttyS0,115200
stdin=serial
stdout=serial
stderr=serial
And here's what Linux says when it boots:
## Booting image at 00200000 ...
Image Name: Linux-2.6.17-g339d76c5-dirty
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1401739 Bytes = 1.3 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
## Current stack ends at 0x0FF71D18 => set upper limit to 0x00800000
## cmdline at 0x007FFF00 ... 0x007FFFA7
bd address = 0x0FF71FBC
memstart = 0x00000000
memsize = 0x10000000
flashstart = 0xFE000000
flashsize = 0x01000000
flashoffset = 0x00000000
sramstart = 0x00000000
sramsize = 0x00000000
bootflags = 0x00000001
intfreq = 533.333 MHz
busfreq = 266.666 MHz
ethaddr = 00:E0:0C:00:8C:01
eth1addr = 00:E0:0C:00:8C:02
IP addr = 10.82.19.159
baudrate = 115200 bps
No initrd
## Transferring control to Linux (at address 00000000) ...
[ 0.000000] Using MPC834x ITX machine description
....
[ 41.727079] IP-Config: Complete:
[ 41.730136] device=eth0, addr=192.168.1.141, mask=255.255.255.0, gw=192.168.1.1,
[ 41.737995] host=unknown, domain=, nis-domain=(none),
[ 41.743479] bootserver=192.168.1.1, rootserver=192.168.1.1, rootpath=
As you can see, it's using the wrong IP address. It's using the one hard-coded into the kernel's configuration. I thought 'bootargs' was supposed to override that?
--
Timur Tabi
Linux Kernel Developer @ Freescale
next reply other threads:[~2006-08-09 21:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-09 21:33 Timur Tabi [this message]
2006-08-09 21:59 ` [U-Boot-Users] Linux kernel ignoring bootargs David Hawkins
2006-08-09 22:08 ` Timur Tabi
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=44DA5490.9050100@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