OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: gladx83 on July 30, 2004, 06:53:50 pm

Title: specify kernel command line parameters?
Post by: gladx83 on July 30, 2004, 06:53:50 pm
Does anyone know how to specify kernel boot command line parameters?

-Brian
Title: specify kernel command line parameters?
Post by: gladx83 on July 30, 2004, 07:57:29 pm
If I check dmesg:

Kernel command line: console=ttyS0 root=/dev/mtdblock2 mtdparts=sharpsl-nand:7168k@0k(smf),22528k@7168k(root),-(home) jffs2_orphaned_inodes=delete

In the .config file there is a CONFIG_CMDLINE option and only
'console=ttyS0 root=/dev/mtdblock2' are specified there.  If I try to add my own options like 'nocache nowb' and recompile they don't seem to be reflected when I re-check dmesg ?!?

And I assume those other options are from a bootloader maybe?  Because jffs2_orphaned_inodes doesn't appear in any of the other files in the linux source tree - except where its defined.

Any Ideas??  And what sort of bootloader does the Z use? Is it configurable?

-Brian
Title: specify kernel command line parameters?
Post by: Mickeyl on July 30, 2004, 08:12:14 pm
Use CMDLINE and remember to disable CONFIG_SHARP_SL_PARAMS (or something like that) which instructs the kernel to let the bootloader override CMDLINE.

The bootloader on the Zaurus models is not very flexible and porting a sane one would be great. Due to various factors, including the complexity of that subject, I suspect that it's not likely to happen ever.