![]() |
Re: [Announce] N9 Multiboot - Harmattan, Nemo & Nitdroid
Quote:
Actually there is no need to add extra parameters to the kernel cmdline, it can be done the way I currently handle it; I have separate preinit files for my kernels, like "/sbin/preinit_harmattan", "/sbin/preinit_nitdroid" and I just give that as the "init=xx" parameter when I boot off the selected kernel. That way I can make all the selection&preparation stuff in the 1st-stage boot. |
Re: [Announce] N9 Multiboot - Harmattan, Nemo & Nitdroid
Quote:
The Nemo kernel I am using is "mer-n9-2.6.32-20121301" kernel which is a bit dated. (but of a lot newer than the Nokia PR1.3 kernel...) I tried the latest Nemo kernel on github, the version 3.5.3 but that did not compile cleanly so I did not invest that much effort on it. Actually as this is just the 1st stage loader kernel, which launches the actual "use-kernel" it does much matter if it is older or newer... the important thing is just that it can mount the needed devices and execute the next stage loader (which does not work correctly on Nokia kernels). |
Re: [Announce] N9 Multiboot - Harmattan, Nemo & Nitdroid
Quote:
See, if it was possible (or easy :D) to write a kernel module for the stock aegis-enabled kernel to load up next-stage kernel at will, that would be a serious security breach. That would enable user to load up anything she likes and as far as system knows the device would still stay in closed mode, with all R/W access to CAL enabled. |
Re: [Announce] N9 Multiboot - Harmattan, Nemo & Nitdroid
This sure is interesting.
juiceme, mind including an entry to export the eMMC over USB for repartitioning? Code:
modprobe g_file_storage stall=0 luns=2 ro=0 removable |
Re: [Announce] N9 Multiboot - Harmattan, Nemo & Nitdroid
Actually, what I am now thinking of doing is instead of repartitioning mmcblk to use partition 4 as the Nemo partition, I am trying to install the Nemo filesystem on /home/nemo on partition 1 and chroot to that on startup. (as suggested by Sazpaimon)
That way there is no need to resize partitions, which makes it a lot friendly to install on a freshly flashed device. I am trying to create the correct bootscripts for it now. |
Re: [Announce] N9 Multiboot - Harmattan, Nemo & Nitdroid
|
Re: [Announce] N9 Multiboot - Harmattan, Nemo & Nitdroid
wouldnt this thread be documented on wiki ?
|
Re: [Announce] N9 Multiboot - Harmattan, Nemo & Nitdroid
Thanks, that looks promising. I belive the problems I have with regular kexec() have something to do with the fact that HW state is somewhat "half-initialized" when switching to the 2nd level kernel.
|
Re: [Announce] N9 Multiboot - Harmattan, Nemo & Nitdroid
Ohh, it's been a while since I did something with this, and now just today I when I played with it again I suddenly realized what's been the problem all the time!
I feel a bit embarassed even, the solution is so simple :D The problem I had, was that I used incorrect way of shutting down the watchdog when I did the kexec() to the 2nd level kernel! Now why did I ever make such a novice mistake :eek: Well, I can happily report now that I can reliably boot at least Harmattan, Nemo and Nitdroid fully up from multiboot touch menu, without being anywhere near a computer :p |
Re: [Announce] N9 Multiboot - Harmattan, Nemo & Nitdroid
Does this work with sillyboot v2?
|
All times are GMT. The time now is 11:04. |
vBulletin® Version 3.8.8