QI kernel parameters

Gennady Kupava gb at bsdmn.com
Sun Jan 2 17:21:24 CET 2011


Hi,

Notice, that if your distro-specific qi already has some kernel params
changed in source or have some additional patches, you have to use
distro-specific qi source as base.

You may attempt to cat /proc/cmdline to check that.

Alternatively just use u-boot ;)

Gennady

В Вск, 02/01/2011 в 12:14 -0500, Phil Vandry пишет:
> On Sun, Jan 02, 2011 at 05:43:36PM +0100, Ed Kapitein wrote:
> > I have a hard time with an SD card that will give errors whne running
> > fsck, even right after an fresh mke2fs.
> 
> I have one of those too :-( The problem follows the μSD card, not
> the Freerunner.
> 
> > Any other idea on how to supply kernel parameters while booting from NAND?
> 
> I needed to change the kernel command line and I found that it was easy to
> do by changing Qi's source code. Qi is very small so it's not daunting to
> modify and compiles in to time. All you need is a working toolchain.
> 
> - git clone git://git.openmoko.org/git/qi.git
> 
> - find the function append_device_specific_cmdline_gta02 in
> src/cpu/s3c2442/gta02.c
> 
> You can just add something like
> 
> cmdline += strlen(strcpy(cmdline, " youroption=yourvalue"));
> 
> - make
> 
> - Use dfu-util to flash the result onto the Freerunner.
> 





More information about the community mailing list