* [U-Boot-Users] kernel bootparams
@ 2004-02-11 23:14 himbA
2004-02-11 23:27 ` Wolfgang Denk
0 siblings, 1 reply; 3+ messages in thread
From: himbA @ 2004-02-11 23:14 UTC (permalink / raw)
To: u-boot
Hello
I have a board, pxa based, and it has u-boot burnt, but i don't have the
source from which it was compiled from, so i don't have any config
setting (got the board as-is).
for now booting is made from flash, loading both kernel and ramdisk. i
want to try nfs based booting and first strange thing i notice when
kernel gets booted is that kernel parameters are always the same, no
matter to what i set 'bootargs' var in u-boot. it always displays
....
Kernel command line: root=/dev/ram0 console=ttyS0,115200 mem=64M
....
and hangs at
....
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
Kernel panic: VFS: Unable to mount root fs on 01:00
although passed bootargs says:
bootargs=root=/dev/nfs rw nfsroot=10.10.10.1:/tftpboot/10.10.10.1
ip=10.10.10.2:10.10.10.1::255.255.255.0:xcep:: console=ttyS0,115200 mem=64M
I also tried changing CONFIG_CMDLINE setting in .config of the kernel to
same value as bootargs but still notihng changed.
If CONFIG_BOOTARGS var in u-boot is specified during compile time, does
it interfere with bootargs passed at boot time ?
i will copile u-boot from CVS tomorrow (need to create new board
defines), just need to clear some stuff now...
regards, himba
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] kernel bootparams
2004-02-11 23:14 [U-Boot-Users] kernel bootparams himbA
@ 2004-02-11 23:27 ` Wolfgang Denk
2004-02-12 11:47 ` himbA
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2004-02-11 23:27 UTC (permalink / raw)
To: u-boot
In message <402AB73F.5010803@email.si> you wrote:
>
> I have a board, pxa based, and it has u-boot burnt, but i don't have the
> source from which it was compiled from, so i don't have any config
> setting (got the board as-is).
Then request the source from the guys who gave/sold you the board.
U-Boot is under GPL and they MUST give you the full source code,
including all modifications they might have made, _ffor_free_.
> for now booting is made from flash, loading both kernel and ramdisk. i
> want to try nfs based booting and first strange thing i notice when
> kernel gets booted is that kernel parameters are always the same, no
> matter to what i set 'bootargs' var in u-boot. it always displays
Probably the kernel uses it's own bootstrap loader which includes a
hard-wired command line.
> I also tried changing CONFIG_CMDLINE setting in .config of the kernel to
> same value as bootargs but still notihng changed.
>
> If CONFIG_BOOTARGS var in u-boot is specified during compile time, does
> it interfere with bootargs passed at boot time ?
No, this is just the default value which can be overwritten by the
standard setenv command.
> i will copile u-boot from CVS tomorrow (need to create new board
> defines), just need to clear some stuff now...
Complain at the guys who gave you the board!!
Best regards,
Wolfgang Denk
--
See us @ Embedded World, Nuremberg, Feb 17 - 19, Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
"I knew then (in 1970) that a 4-kbyte minicomputer would cost as much
as a house. So I reasoned that after college, I'd have to live
cheaply in an apartment and put all my money into owning a computer."
- Apple co-founder Steve Wozniak, EE Times, June 6, 1988, pg 45
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] kernel bootparams
2004-02-11 23:27 ` Wolfgang Denk
@ 2004-02-12 11:47 ` himbA
0 siblings, 0 replies; 3+ messages in thread
From: himbA @ 2004-02-12 11:47 UTC (permalink / raw)
To: u-boot
i apoligize since i sent first reply to Wolfgang Denk only, my mail
client tricked me :)
Wolfgang Denk wrote:
> In message <402AB73F.5010803@email.si> you wrote:
>
>>I have a board, pxa based, and it has u-boot burnt, but i don't have the
>>source from which it was compiled from, so i don't have any config
>>setting (got the board as-is).
>
>
> Then request the source from the guys who gave/sold you the board.
> U-Boot is under GPL and they MUST give you the full source code,
> including all modifications they might have made, _ffor_free_.
>
got it today, the forgot to include on the cd they gave me.
>
>>for now booting is made from flash, loading both kernel and ramdisk. i
>>want to try nfs based booting and first strange thing i notice when
>>kernel gets booted is that kernel parameters are always the same, no
>>matter to what i set 'bootargs' var in u-boot. it always displays
>
>
> Probably the kernel uses it's own bootstrap loader which includes a
> hard-wired command line.
and how could i tell if such bootstrap loader exists ? as far as i know
there is nothing present on flash except u-boot and u-boot env.
>
>
>>I also tried changing CONFIG_CMDLINE setting in .config of the kernel to
>>same value as bootargs but still notihng changed.
>>
>>If CONFIG_BOOTARGS var in u-boot is specified during compile time, does
>>it interfere with bootargs passed at boot time ?
>
>
> No, this is just the default value which can be overwritten by the
> standard setenv command.
>
ok, that means kernel line supplied to the kernel is hardwired, i guess,
somewhere else.
>
>>i will copile u-boot from CVS tomorrow (need to create new board
>>defines), just need to clear some stuff now...
>
>
> Complain at the guys who gave you the board!!
>
i did, and i got it - but they have 1.0.0 sources ported and said they
tried porting cvs version, but had some problems.
are there major changes from 1.0.0 and current cvs (1.0.2)? it is only a
patch revision according to numbering in README as I recall, so how
different could it be.
> Best regards,
>
> Wolfgang Denk
>
thank, you
regards, himba
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-02-12 11:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-11 23:14 [U-Boot-Users] kernel bootparams himbA
2004-02-11 23:27 ` Wolfgang Denk
2004-02-12 11:47 ` himbA
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox