![]() |
2012-12-03
, 08:44
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#3
|
![]() |
2012-12-03
, 09:59
|
Posts: 1,225 |
Thanked: 1,905 times |
Joined on Feb 2011
@ Quezon City, Philippines
|
#5
|
ubi.mtd=var root=ubi0:var rootfstype=ubifs rootflags=bulk_read,no_chk_data_crc
![]() |
2012-12-03
, 11:26
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#6
|
Slightly off topic, but speaking of your kexec idea, may I suggest setting the flashable kernel's cmdline for boot device to:
so that the system will be completely independent of the state of Harmattan, Nemo and NITDroid?Code:ubi.mtd=var root=ubi0:var rootfstype=ubifs rootflags=bulk_read,no_chk_data_crc
The base system can probably be done with evtap + Harmattan components (as seen in the touch preinit)
With the right interface script, you can do everything.
It would allow really easy repartitioning and an extra layer of safety (no need to load Rescue Initrds anymore, you can simply not care about whether the eMMC gets wiped, and with modifiable boot menus, you can kexec into Harmattan outside of mmcblk0p2).
You can probably even slap a complete Debian base system into the "var" partition, which is ~500MB.
Oh, and I've answered some of your questions on the triple-boot thread.
![]() |
2012-12-03
, 11:52
|
Posts: 1,225 |
Thanked: 1,905 times |
Joined on Feb 2011
@ Quezon City, Philippines
|
#7
|
mmh, I am not that familiar using UBIFS so I have not thought of that. (actuallly just now googled it) I guess the rootfs location would then be somewhere outside mmcblk0, in an unpartitioned flash area...?
The reason I have now thought of booting Harmattan/Nitdroid as the first stage and then if Nemo is selected, boot to that using kexec is that I was unable to boot reliably to the existing Harmattan/Nitdroid installation from the Nemo loader.
I have trouble understanding where does flashing the kernal actually store the kernel and initrd, they seem to be outside the filesystem, maybe in this UBIFS area?
![]() |
2012-12-03
, 12:29
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#8
|
~ # ~ # cat /proc/mtd dev: size erasesize name mtd0: 00100000 00040000 "bootloader" mtd1: 002c0000 00040000 "config" mtd2: 01000000 00040000 "kernel" mtd3: 00200000 00040000 "log" mtd4: 1ca40000 00040000 "var" mtd5: 02000000 00040000 "moslo" mtd6: 20000000 00040000 "omap2-onenand" ~ #
![]() |
2012-12-03
, 12:42
|
Posts: 1,225 |
Thanked: 1,905 times |
Joined on Feb 2011
@ Quezon City, Philippines
|
#9
|
What I find hard to understand now, if this space is called "var", it is not mounted as /var ?
As there is only /var that is part of the / (mounted from /dev/mmcblk0p2) in the system... so what is it actually used for?
![]() |
2012-12-03
, 12:45
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#10
|
All that I have found is the repository git://gitorious.org/android-n900/kernel-ng.git which is supposed to be the the correct version.
However, the zImage.pr13 is version 2.6.32.54-dfl61-20121301.
The git version on the other hand is 2.6.32.48-dfl61.
I need to compile the nitdroid kernel with kexec support, this is part of my attempt to build tripleboot kernel for Harmattan/Nitdroid/Nemo