View Single Post
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#114
Originally Posted by peterleinchen View Post
Thanks theyosh, Hurrian and juiceme for your input.

Theyosh may be right, that Nemo may not be possible to boot from p7 instead of p4 (opposed to Hurrians -fully agreed from side- answer)?

@juiceme
of course I modified that func and edited some more passages where p4 was mentioned (even in kexec_load). And also modified cmdline of Nemo boot partition.

The kernel of Nemo bzImage is already located as link inside tarball, so there is no need to copy anything after untaring. Right?

I checked everything once again. And I do not get it. Grrr... :angry:
I have attached all my mods in a zip file.
Nitdroid and all kernels of Harmattan work fine.
If you could check that once again, please?
On checking your modificatinos they seem to be OK.
How exactly does your nemo behave when you boot it, when you select the kernel does it boot after that, and stay hung or does it boot back to ubiboot?

Could you try to boot it manually, meaning: boot to the repair console and log in to the device. Then copy the /proc/original_cmdline and change the partition and give path to the kernel, and give kexec_load;

something like this:

Code:
OCMD=$(cat /proc/original_cmdline); TMP1=$(echo "$OCMD" | sed -e "s/root\=\/dev\/mmcblk0p2/root\=\/dev\/mmcblk0p7/") ; TMP2=$(echo "$TMP1" | sed -e "s/ init\=\/sbin\/preinit/init\=\/sbin\/init/") ; FCMD="\"$TMP2\"" ; kexec -l --type=zImage --command-line=$FCMD /mnt/7/boot/bzImage ; echo $?
If the return value is 0, then the kernel and command line was loaded correctly, and you can try to boot it with command;

Code:
/usr/bin/disable_pm ; kexec -e ; echo $? ; sleep 10
There is one thing still that could affect it, maybe on the command line you need to specify that the boot partition is extended partition, similarily as on booting ubifs partition you need to specify the partition label?