Author Topic: specify kernel command line parameters?  (Read 2195 times)

gladx83

  • Newbie
  • *
  • Posts: 3
    • View Profile
specify kernel command line parameters?
« on: July 30, 2004, 06:53:50 pm »
Does anyone know how to specify kernel boot command line parameters?

-Brian

gladx83

  • Newbie
  • *
  • Posts: 3
    • View Profile
specify kernel command line parameters?
« Reply #1 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

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
specify kernel command line parameters?
« Reply #2 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.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.