16
Debian / U-boot Bricking My C3000
« on: November 15, 2007, 04:30:27 am »Quote from: jpmatrix
I have only c750 and thinking about Nokia N810Quote from: svs5716Mb of NAND is enough for u-boot + emergency kernel and initrd + 2.6.x kernel
The problem is in NAND partition.
There are 3 default NAND partition:
First - System Area - 7Mb
Second - Root Filesystem - size is depend of model:
poodle - 22Mb
shepherd - 25Mb
husky - 53Mb
spitz - 5Mb
akita 58Mb
borzoi 32Mb
Third - Home - rest of NAND
First partition (7Mb) contains u-boot, emergency kernel, emergency initrd.
Rest of 1-st part. is 0x160000 was enough for kernel <=2.6.22.x
Kernel >=2.6.23 is bigger.
I change NAND partition sizes in drivers/mtd/nand/sharpsl.c
Then made relative changes in u-boot.
Now I can flash and use kernel 2.6.23
But kernel 2.6.23 has some bugs with timer and PM.
I have patch only solved timer bug
thanks for your explanations ! i guessed you have a C3000 too ?
so to be when you flash the kernel on the C3000 with the ON-OK procedure, do that touch the partition sizes too or do that touch one system area ? are this partition settings in the updater.sh file ?
on my c3000 i can flash the first 2.6.23 kernel of angstrom but not the 2nd version they made...
which bugs are you talking about 2.6.23 timer and PM ? are they present in angstrom 2.6.23 one ? i didn't remark anything...
You can change partitions size either by recompiling mtd/nand/sharpsl.c module
or adding bootarg:
mtdparts=sharpsl-nand:10240k@0k(smf),55296k@10240k(root),-(home)
(54Mb root for my shepherd)
I forget mention about once more bug in 2.6.23
It doesn't pass CONFIG_CMDLINE to kernel!
I made changes in u-boot to pass correct bootargs
http://bugzilla.kernel.org/show_bug.cgi?id=9229
http://bugzilla.kernel.org/show_bug.cgi?id=9217
http://bugzilla.kernel.org/show_bug.cgi?id=9275