Active Topics

 


Reply
Thread Tools
Posts: 539 | Thanked: 518 times | Joined on May 2010 @ nanaurbusiness
#231
mmcinfo

Device: OMAP SD/MMC
Manufacturer ID: 11
OEM: 100
Name: MMC32
Tran Speed: 25000000
Rd Block Len: 512
MMC version 4.0
High Capacity: Yes
Capacity: 29,8 GiB
Bus Width: 8-bit

mmc dev 1

mmc1 is current device

mmc part 1

shows partition map
1 Type c
2 Type 83
3 swap (Type 82)

fatls mmc 1:1 /

lists 132 file(s), 144 dir(s)
but the file/folder names seem to be totally messed up...
__________________

N900 ~ $ make me a sandwich
-bash: no, make it yourself
N900 ~ $ sudo make me a sandwich
-bash: ok then...
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#232
Originally Posted by J4ZZ View Post
fatls mmc 1:1 /

lists 132 file(s), 144 dir(s)
but the file/folder names seem to be totally messed up...
so this is problem why u-boot cannot load it.

you can try to backup all files, then format partition to vfat (fat32) and copy files back.
 

The Following 2 Users Say Thank You to pali For This Useful Post:
Posts: 101 | Thanked: 47 times | Joined on Aug 2010 @ somerset
#233
sorry to sound ******ed but can't seem to do this part


Examples:

This tarball http://atrey.karlin.mff.cuni.cz/~pal...12.04-1.tar.gz contains some kernels (stock PR1.3 and stock PR1.3 with framebuffer) and some item files.

For playing & testing download archive to / and unpack it as root:
$ cd / && tar -xf u-boot-images.tar.gz

probably just bieng a fool
 
Posts: 539 | Thanked: 518 times | Joined on May 2010 @ nanaurbusiness
#234
but why is this? Filenames are just fine in WinSCP or Putty when doing ls.

Could this be caused by a restored backup optfs?
__________________

N900 ~ $ make me a sandwich
-bash: no, make it yourself
N900 ~ $ sudo make me a sandwich
-bash: ok then...
 
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#235
No, it doesn't work that way. Just do as Pali suggested - at best, it will fix Your problem, at worst, it will filter out possible source of issues. U-Boot is just different kind of low-level, when reading required bits - it may work well via filemanager, SCP or whatever, but be too FCKD up for U-Boot. Which seems to be the case - You said already, that for U-Boot directories/filenames are FCKD.

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following User Says Thank You to Estel For This Useful Post:
Posts: 34 | Thanked: 44 times | Joined on Sep 2010 @ Israel
#236
I found out the reason that causing J4ZZ's problem (and mine). I have (now, had) the same problem too after installing u-boot today for the first time.
The problem is backupmenu. It is creating a .item file in /etc/bootmenu.d/ called backupmenu.item which contains only this line:
Code:
. /usr/share/backupmenu/BackupMenuLauncher.item
u-boot-update-bootmenu can't read this file correctly and then fails while running, throwing some "can't read from /dev/null" error (sorry for not saving the error log ).

I fixed it this way: flashed only the kernel, booted maemo, renamed this /etc/bootmenu.d/backupmenu.item file, reflashed u-boot (run dpkg -i u-boot-flasher...) and finally ran u-boot-update-bootmenu again. Now everything works the way it should have worked.
 

The Following 4 Users Say Thank You to drucula For This Useful Post:
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#237
Originally Posted by drucula View Post
Code:
. /usr/share/backupmenu/BackupMenuLauncher.item
This is not valid bootmenu item file. u-boot use same file format as fanoush bootmenu and this is invalid.
 

The Following 2 Users Say Thank You to pali For This Useful Post:
Posts: 34 | Thanked: 44 times | Joined on Sep 2010 @ Israel
#238
Originally Posted by pali View Post
This is not valid bootmenu item file. u-boot use same file format as fanoush bootmenu and this is invalid.
That's the weird part.. I found no reason for it to be there at all. I looked through backupmenu's .deb and install scripts and found nothing related to /etc/bootmenu.d. I have no idea how it got there. I certainly have not copied it there.
 

The Following 2 Users Say Thank You to drucula For This Useful Post:
Posts: 539 | Thanked: 518 times | Joined on May 2010 @ nanaurbusiness
#239
Originally Posted by pali View Post
so this is problem why u-boot cannot load it.

you can try to backup all files, then format partition to vfat (fat32) and copy files back.
It's half way fixed... Proper U-boot menu is now showing omap1-power50 and all the others, but after selecting default entry all I get is "Starting Kernel..."
and then the phone turns off.

fatls mmc 1:1 / is now displaying correct filenames after backup and mkfs.vfat -F32 /dev/MyDocs... and then restoring.
__________________

N900 ~ $ make me a sandwich
-bash: no, make it yourself
N900 ~ $ sudo make me a sandwich
-bash: ok then...
 
Posts: 539 | Thanked: 518 times | Joined on May 2010 @ nanaurbusiness
#240
Originally Posted by drucula View Post
I found out the reason that causing J4ZZ's problem (and mine). I have the same problem too after installing u-boot today for the first time.
The problem is backupmenu. It is creating a .item file in /etc/bootmenu.d/ called backupmenu.item
sorry, but I cannot confirm that. No such *.item file here. But the problem still exists.
__________________

N900 ~ $ make me a sandwich
-bash: no, make it yourself
N900 ~ $ sudo make me a sandwich
-bash: ok then...
 

The Following User Says Thank You to J4ZZ For This Useful Post:
Reply

Tags
bootmenu, u-boot


 
Forum Jump


All times are GMT. The time now is 13:50.