some question about / adding commandline files from rootfs
xiangfu
xiangfu at openmoko.org
Wed Aug 27 03:38:41 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
i have an idea about choose kernel :
how about let qi read a file like qi.conf in SD card first
partition.(this file must in first partition)
qi.conf
- ------------------------------
partition1[1]
(\t)uImage.bin[2]
(\t)cmdline[3]
- ------------------------------
- -if there is file name qi.conf then qi load is and analysis it
--[1] tell qi where is the kernel
--[2] tell qi the kernel name
--[3] tell qi the kernel's cmdline
- -if there is no qi.conf file direct boot from NAND
- -if there is qi.conf and the file is blank or all in the file is comment
direct boot from NAND, the qi.conf islike this:
- ------------------------------
#partition1[1]
# (\t)uImage.bin[2]
# (\t)cmdline[3]
- ------------------------------
just an idea :-)
Werner Almesberger wrote:
> Andy Green wrote:
>> How about using this generically for selecting between multiboot
>> partitions too.
>
> Something like this ?
>
> - first choice: the first one that exists and is valid in
>
> - SD, first partition, ext2, primary kernel
> - SD, first partition, FAT, primary kernel
>
> - second choice or fallback: the first from
>
> - SD, first partition, ext2, secondary kernel
> - SD, first partition, FAT, secondary kernel
> - SD, second partition, ext2, primary kernel
> - SD, second partition, FAT, primary kernel
> - SD, second partition, ext2, secondary kernel ?
> - SD, second partition, FAT, secondary kernel ?
> - NAND
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQEVAwUBSLSv/RFuNemPXNFjAQJC/AgAl+vWOPaFlKPQPV+XO+vcPfOBAhTehqou
28vblCtz+71XsqQXVFzV+pUI82uMh2AqfHHVR1hmsDbsXtqGcFRX9E0coo1q5zQU
yD3M8fPwjtkvo9fO5ST5hWGQFlEha/c3HBeDcivDhOJKjpWLtZUFeZSSiV+5XAxq
1ik4k7FNJR9MRuQ7FzPkr2aZkMQe8dpeZBOsY7xM6ayvuNVUFhgszSC7ipkwp6CK
oVeQznepUySCue/qkL00DUTkZD2rs7Wg2BWR8iqNIrnQT4SpyDtcjK3xDJbe2Z+E
b5uLsLOynTnJGaKV51yqK7jPHJHVmSmcLiKOTPklEY3yq8ySr19M3Q==
=4nbg
-----END PGP SIGNATURE-----
More information about the openmoko-kernel
mailing list