View Single Post
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#59
Originally Posted by nieldk View Post
# flasher -F org.img -F emmc.bin -f -R

installs developermode, untar modules to /lib/modules/(new kernel version)
#/sbin/depmod -a (new kernel version)

power-off

#flasher -F org.img -k zImage-lopen --flash-only==kernel -f -R
You made two mistakes here. First and important is what juiceme already explained (booting up closed kernel).
And second one is that you flashed also the second time the rootfs image (-F org.img), hereby overwriting your untared new modules. You should have used "-a org.img" instead of "-F org.img".

But what I ask myself is why did it start at all? If you flashed the NAT kernel, it should need its modules at correct location!? Just like juiceme said:
Originally Posted by juiceme View Post
Note that you cannot use the NAT-enhanced image here as it has different module deps...)
Or?



Originally Posted by juiceme View Post
Well what happens here is the usual "first-boot-to-closed-mode", ...

flasher -F org.img -F emmc.bin -f -R ; flasher -F org.img -k zImage-someopenimage --flash-only==kernel -f -R
Oops, the -R in first command is definitely wrong, just seen after writing post.
Just for the records. It should be enough to flash the kernel only in second command. And it is not needed to flash also eMMC (but of course you may do so). Just like:
Code:
flasher -F org.img  -f ; flasher -a org.img -k zImage-someopenimage --flash-only==kernel -f -R
Or it should/may also be possible with one flash command only (not tested/confirmed)l
Code:
flasher -F org.img -k zImage-someopenimage -f -R

Then do the developermode, modules and dep stuff and flash NAT kernel:
Code:
 flasher -a org.img -k zImage-NATimage --flash-only==kernel -f -R
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature

Last edited by peterleinchen; 2013-08-24 at 09:20. Reason: needed correction ;)