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

IPB

Welcome Guest ( Log In | Register )

2 Pages V  < 1 2  
Reply to this topicStart new topic
> Kexec From Debian To Sharprom, Really Working How-to!, you have to compile a kernel - easy
Jon_J
post Dec 29 2008, 07:20 AM
Post #16





Group: Members
Posts: 1,843
Joined: 31-December 05
From: Illinois USA
Member No.: 8,821



So you're saying I cannot boot cacko from NAND using the multiboot kernel that cortez posted with zubuntu?
I did cat/proc/mtd It still spits out some sort of hex number.
(I'm not a math genus or binary wizard, so these numbers don't resemble the numbers the sharp users have posted above)
CODE
cat /proc/mtd
dev     size   erasesize  name
mtd0: 006b0000 00020000 "Filesystem"
mtd1: 00700000 00020000 "smf"
mtd2: 03500000 00020000 "root"
mtd3: 04400000 00020000 "home"

after reading another post on NAND partitions: http://www.oesf.org/forum/index.php?showto...sharpsl\.c
I found my kernel command line in dmesg, but it is severally truncated:
CODE
kernel command line: console=ttyS0 root=/dev/mtdblock2
Go to the top of the page
 
+Quote Post
ant
post Dec 29 2008, 09:13 AM
Post #17





Group: Members
Posts: 163
Joined: 11-March 04
From: IT
Member No.: 2,270



QUOTE(Jon_J @ Dec 29 2008, 04:20 PM) *
So you're saying I cannot boot cacko from NAND using the multiboot kernel that cortez posted with zubuntu?
...
mtd2: 03500000 00020000 "root"


For 2.4 kernels (cacko) the kernel-cmdline should contain the mtdparts string, because the old kernels cannot process the cmdline passed by atags nor appended by the (broken) bootloader.


Btw 53mb rootfs is the standard for 760 / 860 (husky and boxer).
0x03c00000-
0x00700000=
0x03500000 (=53mb)


Ant
Go to the top of the page
 
+Quote Post
Jon_J
post Dec 29 2008, 09:32 AM
Post #18





Group: Members
Posts: 1,843
Joined: 31-December 05
From: Illinois USA
Member No.: 8,821



QUOTE(ant @ Dec 29 2008, 11:13 AM) *
QUOTE(Jon_J @ Dec 29 2008, 04:20 PM) *
So you're saying I cannot boot cacko from NAND using the multiboot kernel that cortez posted with zubuntu?
...
mtd2: 03500000 00020000 "root"


For 2.4 kernels (cacko) the kernel-cmdline should contain the mtdparts string, because the old kernels cannot process the cmdline passed by atags nor appended by the (broken) bootloader.


Btw 53mb rootfs is the standard for 760 / 860 (husky and boxer).
0x03c00000-
0x00700000=
0x03500000 (=53mb)


Ant

That goes back to my original question.
Where or how do I get the mtdparts string? It is NOT in /var/log/dmesg, like it is for the first several people in this thread.
Mine only shows: console=ttyS0 root=/dev/mtdblock2
The rest of it is missing.
When I originally flashed zubuntu, cortez said to use a copy of /boot/kernel-cmdline (from zubuntu) to boot "other" OS's
Could this be why my mtdparts string is truncated?

Thank you for your help on this. This kernel stuff and NAND stuff is all new to me.
Go to the top of the page
 
+Quote Post
Jon_J
post Dec 29 2008, 09:49 AM
Post #19





Group: Members
Posts: 1,843
Joined: 31-December 05
From: Illinois USA
Member No.: 8,821



I just booted back to cacko and removed /boot/kernel-cmdline
Then I rebooted back to angstrom and then back to cacko (using kexec -f ~/zimage.bin)
This confirmed that the "kernel-cmdline" in /boot (in cacko's filesystem),
has no effect on the "kernel command line" shown in /var/log/dmesg. It is still the same.
Go to the top of the page
 
+Quote Post
cortez
post Dec 29 2008, 10:31 AM
Post #20





Group: Members
Posts: 376
Joined: 18-March 04
From: The Netherlands
Member No.: 2,380



/boot/kernel-cmdline should contain something like: mtdparts=sharpsl-nand:7168k@0k(smf),44032k@7168k(root),-(home) jffs2_orphaned_inodes=delete. I haven't tested this, so I don't know what it should be exactly. I gladly leave this for others to find out wink.gif
Go to the top of the page
 
+Quote Post
Jon_J
post Dec 29 2008, 04:59 PM
Post #21





Group: Members
Posts: 1,843
Joined: 31-December 05
From: Illinois USA
Member No.: 8,821



QUOTE(cortez @ Dec 29 2008, 12:31 PM) *
/boot/kernel-cmdline should contain something like: mtdparts=sharpsl-nand:7168k@0k(smf),44032k@7168k(root),-(home) jffs2_orphaned_inodes=delete. I haven't tested this, so I don't know what it should be exactly. I gladly leave this for others to find out wink.gif

I tried this string, it's still a no go. No option shows on the menu for my cacko nand partition when booting.
I'll wait for your next release.
I noticed on the instructions page for installing zubuntu, that you have a picture of Zaurus with zubuntu on flash, on the boot menu. smile.gif

I found a thread in pdaxrom that has several "different" sets of numbers in this string, and a default set of numbers.
I would paste them in here, but I don't want to confuse anyone else with these widely varying sets of numbers.
You do know most people re-partition their flash in pdax beta3 to 121MB
Go to the top of the page
 
+Quote Post

2 Pages V  < 1 2
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: 11th July 2014 - 03:23 AM