OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> U-boot Bricking My C3000, Trying to follow the 2.6.23.1 yonggun with uboot on the wiki
Chadarius
post Nov 14 2007, 04:24 PM
Post #1





Group: Members
Posts: 8
Joined: 10-February 05
Member No.: 6,451



I'm following the 2.6.23.1 yonggun with uboot guide on the wiki.

The process for installing uboot always results in a bricking my c3000. After the uboot procedure, the orange charging light does not even go on. I have to restore the Sharp nand at that point. It does seem to boot on the local disk to a text prompt before I attempt to flash to the uboot update. I can login as root there, so the previous steps in that doc seem to be working.

I've reformatted the SD card to just a 128mb fat16 partition and used that for the uboot procedure. I had read that it was best to do that for the Sharp ROM to be able to read it properly.

Anyone else having issues with uboot like this? If so, what can I do to get around it?
Go to the top of the page
 
+Quote Post
flux
post Nov 14 2007, 04:57 PM
Post #2





Group: Members
Posts: 104
Joined: 14-August 06
Member No.: 10,798



I'm not sure at all... but iirc, jpmatrix told me that u-boot on c3000 -> between difficult and impossible, due to lack of rom memory (only 16 Mo, not 128 like on c1000, c3100 and c3200). maybe you should try an install without u-boot ?
hope someone will confirm or infirm what i just told.
Go to the top of the page
 
+Quote Post
jpmatrix
post Nov 14 2007, 09:58 PM
Post #3





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



QUOTE(flux @ Nov 15 2007, 01:57 AM) *
I'm not sure at all... but iirc, jpmatrix told me that u-boot on c3000 -> between difficult and impossible, due to lack of rom memory (only 16 Mo, not 128 like on c1000, c3100 and c3200). maybe you should try an install without u-boot ?
hope someone will confirm or infirm what i just told.


i confirm that it doesn't work on my C3000 smile.gif
why did you want to install it ?
to install eabi just flash the 2.6.23 kernel of angstrom and untar the rootfs to the hdd
Go to the top of the page
 
+Quote Post
svs57
post Nov 15 2007, 12:01 AM
Post #4





Group: Members
Posts: 108
Joined: 7-November 05
From: Russia
Member No.: 8,481



16Mb 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
Go to the top of the page
 
+Quote Post
jpmatrix
post Nov 15 2007, 01:04 AM
Post #5





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



QUOTE(svs57 @ Nov 15 2007, 09:01 AM) *
16Mb 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...
Go to the top of the page
 
+Quote Post
svs57
post Nov 15 2007, 01:30 AM
Post #6





Group: Members
Posts: 108
Joined: 7-November 05
From: Russia
Member No.: 8,481



QUOTE(jpmatrix @ Nov 15 2007, 12:04 PM) *
QUOTE(svs57 @ Nov 15 2007, 09:01 AM) *
16Mb 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...

I have only c750 and thinking about Nokia N810 smile.gif
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 smile.gif
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
Go to the top of the page
 
+Quote Post
svs57
post Nov 15 2007, 01:34 AM
Post #7





Group: Members
Posts: 108
Joined: 7-November 05
From: Russia
Member No.: 8,481



about flashing
I flash kernel 2.6.23 from 2.6.22.9 with new NAND partitions
Not using emergency kernel (pressing OK while boot)
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th June 2013 - 02:38 PM