|
2010-12-30
, 02:04
|
Posts: 362 |
Thanked: 426 times |
Joined on Nov 2010
@ Italy, Lombardia
|
#112
|
Did you leave maemo by reboot?
I find that if I reboot, mmc1 is not recognized, if I power off, and then power on with the power key, mmc1 is recognized.
mmc2 is even more problematic. It appears to work once after maemo, but If I boot from u-boot (by the command reset, or letting the watchdog boot), it won't recognize it again.
|
2010-12-30
, 02:06
|
Posts: 362 |
Thanked: 426 times |
Joined on Nov 2010
@ Italy, Lombardia
|
#113
|
>* rebuilt head nitdroid 2.6.28 06 kernel in scratchbox adding MMC and ext2/3/4 support
>* copied lib/modules, lib/firmware and /dev from maemo in the nitdroid partition
>* booted with args root=/dev/mmcblk0p2 rootwait
>I may see the little "ANDROID" banner down on the fb console, then the screen clears and the system hangs.
If you have adb installed, run 'adb logcat', it's useful for troubleshooting in Android.
>I suppose that some preinit logic has to be moved from maemo/multiboot to the nitdroid partition,
>but really lack knowledge and time! anyone helping?
Yes, multiboot loads kernel modules (list is in /lib/modules/2.6.28.NIT06/modules.boot file). Solution for problem: load modules from /init.nokia.rc script ('on boot' section).
see also: http://code.google.com/p/nitdroid-v2...s/detail?id=41
>Can this be taken to mean the NITDroid team is taking an interest in seeing what can be done with adding uboot support to NITDroid?
Yes. I've got an idea about combining u-boot and multiboot... instead of flashing, multiboot should write boot.scr for u-boot (and then reboots, as usual).
The Following User Says Thank You to Fabry For This Useful Post: | ||
|
2010-12-30
, 02:32
|
Posts: 362 |
Thanked: 426 times |
Joined on Nov 2010
@ Italy, Lombardia
|
#114
|
I haven't read -everything-, but before I install this:
Is there a way to create a boot option that launches a shell-script with the rootfs mounted? I'm looking for a way to make BackupMenu compatible with U-boot.
Also, can I use a shell-script to start the various OS's? I'd like to see about making a GRUB-style boot menu.
The Following User Says Thank You to Fabry For This Useful Post: | ||
|
2010-12-30
, 09:00
|
Posts: 1,224 |
Thanked: 1,763 times |
Joined on Jul 2007
|
#115
|
The Following User Says Thank You to Matan For This Useful Post: | ||
|
2010-12-30
, 12:19
|
Posts: 362 |
Thanked: 426 times |
Joined on Nov 2010
@ Italy, Lombardia
|
#116
|
Yes. But as I said it does not setup something correctly, so it only works after maemo sets it up. If you reset the CPU from within u-boot (or let the watchdog do it for you), then u-boot comes up again, but does not recognise the internal mmc.
I did not check if after nitdroid or meego the internal mmc is recognised.
|
2010-12-30
, 12:51
|
Posts: 1,224 |
Thanked: 1,763 times |
Joined on Jul 2007
|
#117
|
The Following 2 Users Say Thank You to Matan For This Useful Post: | ||
|
2010-12-30
, 13:58
|
Posts: 362 |
Thanked: 426 times |
Joined on Nov 2010
@ Italy, Lombardia
|
#118
|
u-boot works a bit differently. If you want to use the second card, it needs to be explicit:
mmc init 2
Tags |
power kernel, uboot |
|
Boot the stock kernel first before you reinstall kernel flasher