[U-Boot-Users] kernel bootparams
Wolfgang Denk
wd at denx.de
Thu Feb 12 00:27:52 CET 2004
In message <402AB73F.5010803 at 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
More information about the U-Boot
mailing list