some question about NAND partitions with QI

xiangfu xiangfu at openmoko.org
Tue Aug 26 08:23:35 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andy Green wrote:
> Somebody in the thread at some point said:
> | i am not sure about the nand partitions so i write it down, if i am
> | wrong, correct me. thanks.
> |
> | is this the final nand partitions with kboot:
> |
> |  qi     kboot           backup kernel and rootfs              normal
> | kernel and rootfs
> |
> |---|--|----------------|----------------------------------------|-----------------------------------------------------------***|
> 
> |      ^
> |       here is cmdline for normal kernel  we can put kboot kernel cmdline
> | in qi. like now Andy do.
> 
> We can't exactly do the kboot commandline thing because we have a
> commandline that changes according to boot source now.  I think we get
> away without using this cmdline partition concept.

is that mean the QI must deal with  two commandline
one is for kboot kernel
another is for normal kernel.
and both of them easy to modify by end user?

> 
> The partitioning you show is actually the default "no bad blocks"
> existing NAND partitioning scheme for simplicity so we can boot GTA02
> NAND kernel and rootfs from Qi.  Maybe we think some more and change it
> as part of larger decisions around what the backup kernel and rootfs
> must do.  But for now you have it right.
> 
> | i think we can just let QI know the kboot and the normal kernel in NAND,
> | and let kboot do "boot from SD", "boot from NFS" etc.
> 
> Yes.
> 
> | i want add some code let QI handle user indication, for choose kboot or
> | normal system.
> | i can test this use boot from SD or boot from NAND in current QI.
> 
> We need to think about how we want to do it, what is your plan?  Hold
> down a button?

1.  how about  hold down AUX, the same as nand uboot way.

and Werner mention two another ways:

Werner wrote:
> The user indication could be the user pressing on the touch screen.
> Or we could also load the default kernel first(whick will take a bit
> of thime), then check if POWER is held, if yes, load and start the
> kboot system, otherwise start the default system we've already loaded.

> 
> -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEVAwUBSLOhZxFuNemPXNFjAQKLVggAghRFKbKRLxJmQCa+ZZEc/gSMSWM/aZvG
6PtqYbMK4r8mAZfCuwsWocx2rCNQIHrrxnAtlDtXRIr4IROeitWZ3McbTSsrl5SY
6zx3L9SH5EoEc7ylrlsj5/kLLlN3tzXMAosLIIRDxKvw4w1EN8zjC5NDf49K+V3S
Re411jeT9tziT4V5l91jXArP9VS/N143+Z2wlJuPx2yMqjxiPHmGkiU6LKkFnWVc
DiHPT9MaLb5XmQgEqp7rC9rao6vnaRUT7jd8//b58TxK1xel+WomjcQT1fymQpSg
YQ2ExPfMHiQ92cH93/7ZQgWGUZKmWzjo5mZJxQhkSTvuE54YAZ88Mg==
=pave
-----END PGP SIGNATURE-----



More information about the openmoko-kernel mailing list