maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1) (https://talk.maemo.org/showthread.php?t=81613)

explit 2015-12-10 09:37

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
 
Quote:

Originally Posted by peterleinchen (Post 1491016)
I remember some problems with MyDocs formatted in fat from gparted or other tools. But iirc pali enabled all 'default' file formats.
How did you format it?

Hallo peterleinchen. I have formattet my MyDOcs with this Howto:

https://talk.maemo.org/showthread.php?t=73478

The conversion from FAT32 to ext3 was done on N900. Yesterday i ran fsck.ext3 on the MyDocs: Anything was fine.
That is total frustrating because i don't really know where to dig.
tha las U-Boot from Pali should support MyDocs as ext3, it stands explicit in the u-boot thread.
All kernels and the menu items are in right place.
u-boot-update-bootmenu finds anything and create all menu items correctly without any error....

But on booting: bam...: Unrecognised file system.....

reinob 2015-12-10 15:06

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
 
Quote:

Originally Posted by explit (Post 1491066)
But on booting: bam...: Unrecognised file system.....

The only reason I can think of is that U-boot's ext3 driver is most likely not as capable as the kernel's, so the question is if you used any special parameters or ext3 features when you created the file system.

I imagine "-m 0" should pose no problem, but using things like "-E ..." or "-O ..." might make U-boot confused. Can you confirm you didn't use any voodoo options when mkfs'ing MyDocs?

peterleinchen 2015-12-10 19:39

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
 
Hmm, I do not know.
But I guess Maemo's mkfs is not really the latest technology! ;)
So it should be hard to not fulfill uboots needs? But I really do not know, so please confirm reinob's question.

Meanwhile I checked my older (all) configs and I found for nitdroid an entry of
ITEM_FSTYPE=vfat
Maybe you can try it with
ITEM_FSTYPE=ext3
or ITEM_FSTYPE="ext3"
and of course run u-boot-update-bootmenu.
But I do not think that solves your prob but worth a shot, right?

explit 2015-12-10 23:54

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
 
Quote:

Originally Posted by reinob (Post 1491102)
The only reason I can think of is that U-boot's ext3 driver is most likely not as capable as the kernel's, so the question is if you used any special parameters or ext3 features when you created the file system.

I imagine "-m 0" should pose no problem, but using things like "-E ..." or "-O ..." might make U-boot confused. Can you confirm you didn't use any voodoo options when mkfs'ing MyDocs?


I can confirm i used the standard commands for creating ext3 partition. I copy-pasted each step from here:
https://talk.maemo.org/showthread.php?t=73478

Here is the exact command:

Code:

mkfs.ext3 -m 0 -L "Nokia N900" /dev/mmcblk0p1
Now i uninstalled u-boot at all and flashed kernel-power53 to the Nand. Backupmenu runs without U-boot, but it is just a workaround, not a solution ;-) U-Boot is a must if such freaks like I am wants to play with different OSes....

explit 2015-12-10 23:56

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
 
Quote:

Originally Posted by peterleinchen (Post 1491149)
Hmm, I do not know.
But I guess Maemo's mkfs is not really the latest technology! ;)
So it should be hard to not fulfill uboots needs? But I really do not know, so please confirm reinob's question.

Meanwhile I checked my older (all) configs and I found for nitdroid an entry of
ITEM_FSTYPE=vfat
Maybe you can try it with
ITEM_FSTYPE=ext3
or ITEM_FSTYPE="ext3"
and of course run u-boot-update-bootmenu.
But I do not think that solves your prob but worth a shot, right?


Thanks Peter.
Tried this alredy and run u-boot-update-bootmenu afterwards = no success :-(

pali 2016-03-31 20:51

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
 
Hi! There is bug in u-boot-update-bootmenu script which cause that only FAT fs for MyDocs is supported. Fix is in (new) github git repository at: https://github.com/pali/u-boot-maemo

explit 2016-03-31 21:19

Re: U-Boot for Nokia RX-51 with BootMenu (version 2013.04-1)
 
Thanks for the fix Pali!
So we wait for the next u-boot update?
So much work for one small bug :-(
All kernel flash-packages with u-boot should be updated now...
Or am i wrong?

pali 2016-03-31 21:33

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
 
u-boot-update-bootmenu is shell script, you can download it from github and replace it in your n900. After that you can re-run it. No need to recompile/reflash anything.

explit 2016-04-05 08:39

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
 
1 Attachment(s)
It seems, that the github page is down. I get an error:

This page is taking way too long to load.
Sorry about that. Please try refreshing and contact us if the problem persists.

Could somebody opload the updated u-boot-configuration file here?
Thanks guys!

reinob 2016-04-05 08:43

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
 
1 Attachment(s)
Quote:

Originally Posted by explit (Post 1502831)
It seems, that the github page is down. I get an error:

This page is taking way too long to load.
Sorry about that. Please try refreshing and contact us if the problem persists.

Could somebody opload the updated u-boot-configuration file here?
Thanks guys!

Here the diff:
Code:


                mmcnum="$INT_CARD"
                mmcpart="1"
-                mmctype="fat"
+                mmctype="$type"
                mmckernfile="$BOOTMENU_IMG_DIR/$ITEM_KERNEL"
 
+                if test "$mmctype" = "vfat"; then
+                        mmctype="fat"
+                elif test "$mmctype" = "ext3"; then
+                        mmctype="ext2"
+                fi
+
                if ! test -z "$(mkimage -l $kernel_path 2>&1 1>/dev/null)"; then
 
                        echo "Generating u-boot image for kernel '$ITEM_KERNEL'..."

Github doesn't let me copy the line numbers, but I'm sure you'll be able to deal with it.

EDIT: added attached file (gzipped)


All times are GMT. The time now is 08:31.

vBulletin® Version 3.8.8