Active Topics

 


Reply
Thread Tools
Posts: 1,225 | Thanked: 1,905 times | Joined on Feb 2011 @ Quezon City, Philippines
#81
Cool, finally, progress towards booting Maemo from eMMC without using mtd5.

By the way, I think that with this, we can finally mess with getting rid of /sbin/preinit (which imo is a huge WTF) without risking a reflash! (initrd runs backupmenu if it sees slide open? recovery OS from u-boot?)
__________________
N9 PR 1.3 Open Mode + kernel-plus for Harmattan
@kenweknot, working on Glacier for Nemo.
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#82
Originally Posted by Fabry View Post
But Cpio does not involve the use of EXT2 ?
Cpio Is just a archive format, but when the kernel, during boot process, decompresses the cpio image on ramfs does not try to use EXT2 ?
It shouldn't involve ext2, no, the cpio is extracted to tmpfs.
 
Posts: 197 | Thanked: 101 times | Joined on Dec 2009 @ Netherlands
#83
So the cpio archive could be a way to go.
Then it comes to what exactly is needed to setup a prerootfs to boot from.
The multiboot script creates loads of device nodes and insmods many modules. I guess this can be simplified.

I think we only need /dev/console and the mmcblk devices and only need to load the ext2 module to access the real root filesystem.
All other stuff should be done by the init command on the real root filesystem.

Or am I missing something.
 
Posts: 1,042 | Thanked: 430 times | Joined on May 2010
#84
@Pali
Could you compile your bootmenu patch against stskeeps' version of u-boot? I tried compiling al's latest u-boot(clean) and caused the same reboot loop so I decided to try compiling stskeeps version of u-boot and merged with kp49 and it worked flawlessly on my device. So my request is could you provide a compiled version of u-boot.bin that is patched with stskeeps u-boot for some of us who are having problems with the current u-boot? I'm not really good at these patch & diff thingy that's why I am asking if you could do it?


Thanks and I hope you would be reconsidering my request

Last edited by Radicalz38; 2011-09-28 at 10:36.
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#85
bootmenu patches rebased on top of matan (origin ali/stskeeps) version are in branch pali: https://gitorious.org/u-boot-shr/u-boot/commits/pali
 

The Following 2 Users Say Thank You to pali For This Useful Post:
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#86
All versions of u-boot (expect mine) need to have enabled R&D mode with disabled watchdogs. Mine version should not boot default Maemo5 correctly with enabled R&D.

So try boot mine version version again but disable R&D mode

Problem is with watchdog...
 

The Following 2 Users Say Thank You to pali For This Useful Post:
Posts: 362 | Thanked: 426 times | Joined on Nov 2010 @ Italy, Lombardia
#87
Originally Posted by pali View Post
All versions of u-boot (expect mine) need to have enabled R&D mode with disabled watchdogs.
Matan's version (Nov 2010) has watchdog code (you can stay on console as long you want).
This at least on Hw Rev 2101

Last edited by Fabry; 2011-09-28 at 12:28.
 

The Following User Says Thank You to Fabry For This Useful Post:
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#88
Originally Posted by Fabry View Post
Matan's version (Nov 2010) has watchdog code (you can stay on console as long you want).
This at least on Hw Rev 2101
Mine has code for watchdog too. But matan's version totaly disable watchdog (so if you tried boot bad/broken/unbootable kernel you will need to restart phone with battery!). My version kick watchdog every 2s (when U-Boot is active). When U-Boot is stopped (started kernel) there is time 30s to kick watchdog again (prevent restart) which is then handled by os kernel... But this is bad behaviour: If device is in R&D mode with CAL flag disabled-watchog Maemo5 think that watchdog is disable and never kick it...
 

The Following 2 Users Say Thank You to pali For This Useful Post:
kinggo's Avatar
Posts: 943 | Thanked: 3,228 times | Joined on Jun 2010 @ Zagreb
#89
well, I have to admit that I'm lost in all this. Before I was using kp v45 with u-boot and everything was working fine. But then my N900 kind of died. Now I have a new one with kp v48 so can someone tell me which u-boot should I install that is compatible with kp v48 so I can boot new release of MeeGo?
 
Posts: 1,042 | Thanked: 430 times | Joined on May 2010
#90
Hi pali.... Seems like matan's version of u-boot ain't working for me. But if I compile stskeep's(no modifications) version directly U-Boot seems working fully. Could you also create one from stskeeps version? Without matan's patches just yours on stskeeps version?
 
Reply


 
Forum Jump


All times are GMT. The time now is 09:16.