kernel params passed by OF/cmdline/"append="
tony at bakeyournoodle.com
Tue Oct 25 12:05:52 EST 2011
On Mon, Oct 24, 2011 at 09:32:51PM +0800, Ryan Wang wrote:
> I still have another 2 questions:
> 1) Where does boot-file come in effect?
> E.g. I run 'setenv boot-file xmon=on' in the openfirmware, can
> the vmlinux booted
> by yaboot get the arg 'xmon=on'?
No. Those arguments would be consumed by yaboot and they're not passed
onto the booted kernel. Best to add them to the append line in your
> 2) What's the relationship between boot-file and bootargs?
This can be a little tricky to tease out but basically
boot-file are the args used to boot but /chosen/bootargs are the
arguments passed to the last boot command. Some OF (all?) may also
include bootargs when autobooting but I'd nee to confirm that.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 836 bytes
Desc: not available
More information about the Yaboot-users