QI kernel parameters

Ed Kapitein ed at kapitein.org
Sun Jan 2 21:26:08 CET 2011


Hi Phil,

Thanks for the tip, it seems like a hassle to recompile qi for setting
the glamo clock speed.
Anyway, i tried it, and i end up with:
neo qi # make
mkdir -p image
ld: cannot open linker script file src/cpu//qi.lds: No such file or
directory
make: *** [image/qi--master_c38b062a609f1442.udfu] Error 1
I am building on the FR, so no toolchain there.

Did you manage to get your SD card to work? if so how?
Also in my case the error follows the SD card, another card (class 6)
works just fine, but the new (class 4)
is buggy.

Kind regards,
Ed



On 01/02/2011 06:14 PM, Phil Vandry wrote:
> 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.
>
> -Phil
>
>




More information about the community mailing list