Jun 9 2010, 12:09 PM
Post
#1
|
|
|
Group: Members Posts: 17 Joined: 23-May 05 Member No.: 7,196 |
Trying to follow the instructions to move most of zubuntu to the internal flash to try to make the system work quickly and independent of the SDCard. I have found that the kexecboot will not see the boot folder on the /dev/mtdblock3 but will see it on /dev/mtdblock2.
I am using the updater and tools from the PDAXii3 site to resize the root mtd partition to 121 and see if that works. we will see Baz |
|
|
|
![]() |
Jun 10 2010, 08:20 AM
Post
#2
|
|
![]() Group: Members Posts: 156 Joined: 10-December 06 From: Croatia Member No.: 13,288 |
MTD partitions can be hardcoded into the kernel or defined through the kernel command line. kexecboot kernels provided by openembedded default to partitions hardcoded into the kernel. the partitions are defined in "/drivers/mtd/nand/sharpsl.c". Now, i presume you want one partition of maximum size (121Mib i believe). This is a problem since the zubuntu flash installer assumes two partitions as defined by the sharp rom and it's derivatives (or maybe early 2.4 kernel based pdaxrom builds, i can't remember) while the kexecboot kernel also assumes two (or three?) partitions but of different sizes. I think that's your problem.
What i think you should do: 1). use pdaxrom R198 to run zubuntu flash installer and change the script to install to /dev/mtdblock2. R198 defines by default a 121Mib nand partition (mtdblock2). 2). You need to change the nand partitioning in the kexecboot kernel. Either change the definitions in sharpsl.c or provide partition definitions via the kernel command line. (add "mtdparts=sharpsl-nand:7168k(System),-(Rootfs)" to the kernel command line). This _should_ work but i can't give you any guarantees. But be warned. If this works, zubuntu will still need the SD card inserted at all times. The biggest part of the rootfs tree is still on the SD card, namely the whole "/usr" tree. The zubuntu rootfs will simply not fit inside the nand chip. As for speed improvements, i dont think you will see a big difference. |
|
|
|
thebaz67 Zubuntu From Flash Attempt 2 Jun 9 2010, 12:09 PM
thebaz67 Well it seems that this is not quite going to do w... Jun 10 2010, 06:17 AM
thebaz67 Actually what I think is happening is that when I ... Jun 10 2010, 06:42 AM
ant QUOTE(Dromede @ Jun 10 2010, 05:20 PM) MT... Jun 18 2010, 02:06 AM
xamindar It might be better to stick zubuntu on a compact f... Jun 10 2010, 08:55 AM
thebaz67 I am still trying to play with this...
I was hopi... Jun 10 2010, 09:55 AM
thebaz67 Going to have to give up for today...
For some re... Jun 10 2010, 11:29 AM
Dromede I stand corrected. Thanks for the info! Jun 18 2010, 02:21 AM
xamindar Thanks for the info ant. Do those kernels scan the... Jun 18 2010, 02:31 AM
ant QUOTE(xamindar @ Jun 18 2010, 11:31 AM) T... Jun 18 2010, 02:55 AM
thebaz67 Well what I have found is that when I mount the mt... Jun 25 2010, 04:44 AM![]() ![]() |
|
Lo-Fi Version | Time is now: 20th June 2013 - 02:51 AM |