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)

patriotnop 2012-08-03 07:15

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
Quote:

Originally Posted by J4ZZ (Post 1246475)
Your emmc is damaged... I had the same issue.

So backup everything from MyDocs to PC and then
Code:

mkfs.vfat -F32 /dev/mmcblk0p1      #in most cases
After that copy your files back.

now re-run u-boot-update-bootmenu

and you should be fine.

If not run a FSCK on MyDocs again and make sure *power51.item uses ITEM_OMAPATAG=1 (not REUSEATAGS or USEATAG) <- See 1st post!

You can follow all the steps by reading through pages 22 to 26 from Posts #220 -> #251 between me, Pali and drucula

Regards,

J4ZZ

Thank You Very Much @J4ZZ. Your post is the bright light. :)

Fabry 2012-08-03 09:59

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
Quote:

Originally Posted by Estel (Post 1245628)
Re-testing won't hurt, but even current results are absolutely OK. Even better than average result considered as "within error margin".

This script checks actual power usage, no matter where it originates - from U-boot, screen, kernel, or whatever - so, I think that it should convince You, that everything is OK, after all.

/Estel

I can try to convince me but please give me an answer for :

During last five days I have used U-Boot + PKv51 and the initial (first hours after a full recharge) idle power usage has been always at minimum near 11% for 9 hours, about 1.2% per hour. After some time also increased to higher levels.

This night I have flashed only PKv51 without U-Boot and this morning the result for idle power usage has been about 5% for 8 hours.
This may have been a fluke, so I will do additional testing in the coming days, but apparently from this first test the power usage appears to be half or less, why ?

Estel 2012-08-03 10:26

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
Power usage depends on many factors - actual situation with cell signal strength (GSM) in different part of day, types of Wifi routers (and signal powers) You're connected to, etc, etc...

The main thing of concern is powertop output and raw power usage monitoring. If both are OK, there is nothing to worry about.

Other than that, I can't help - it's Your device, so You have best chances to observe it and report oddities. No other things I can suggest without actually having device in hand.

/Estel

Fabry 2012-08-03 10:56

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
Quote:

Originally Posted by Estel (Post 1246873)
Power usage depends on many factors - actual situation with cell signal strength (GSM) in different part of day, types of Wifi routers (and signal powers) You're connected to, etc, etc...

The main thing of concern is powertop output and raw power usage monitoring. If both are OK, there is nothing to worry about.

Other than that, I can't help - it's Your device, so You have best chances to observe it and report oddities. No other things I can suggest without actually having device in hand.

/Estel

Yes but other phones can do the test also.
I doubt is only my phone.

It seems (if other test confirm it) that with U-Boot some hw is configured differently (or misconfigured) and there is a 6-8mA more power consuming on idle.
And this isn't normal.

After that, however, if someone wanted to say that for N900 a maximum range of 3-4 days for a full idle is acceptable, is just a speech, but we do spend the normal thing to see that normality would be instead of 6 or 7 days

reinob 2012-08-03 11:10

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
@Fabry,

I once left my spare N900 turned on (U-boot 2012.04-1, KP51, off-line mode) and the battery lasted at least 7 days (probably one or two more).

I still haven't updated to -2 but I wouldn't expect a difference.

Fabry 2012-08-03 11:26

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
Nice to see, but 7 days must be reached even with GSM on.

Sometime I have reached about 5.5 days using it (some calls and some sms, no other usage).
Of course without u-boot, with it never beyond 3 days.

I don't know what is the consume of GSM Chip on idle but with GSM Off and N900 on a drawer I think that battery life (new battery) could be more than 12 days

reinob 2012-08-04 12:12

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
I need help :(

(Follow up from:
http://talk.maemo.org/showpost.php?p...&postcount=207
)

The USB port on my spare N900 is for all intents and purposes unusable (= N900 is unflasheable).

I can't load Maemo because I fvck'd up /sbin/preinit so that I always get Malfunction, reboot in 10s.

Luckily, I thought, I have U-Boot (2012.04-1). So I dd'ed the latest available Nemo image on my Nokia 4GB uSD card (came with the E75) and then on the U-boot console I type "run sdboot".

The errors scroll a bit to quick for me to read everything, but the main error is:
Card did not respond to voltage select!

Meaning I can't do anything with the uSD card.

Code:

> mmc list
OMAP SD/MMC: 0
 OMAP SD/MMC: 1

> mmc dev 0
Card did not respond to voltage select!
mmc0(part 0) is current device

I see a number of possibilities:
1. The SD card was not written to correctly: Unlikely, I used plain-old dd to write the raw image (OK, had to use my E75 as a card reader, but I hope that didn't mess up anything).

Plus if the card is not being powered up then the possible corruptness of the partition table or the file systems themselves is irrelevant.

2. I'm not using U-boot correctly? Please note that I have no possibility to add/update items in U-boot. Whatever I do, it has to be from the U-boot console.

3. The card reader on the N900 is broken? That would mean USB is shaky at best and uSD broken. Sounds bricky to me.

Please somebody tell me I'm stupid and there is an obvious solution to this problem!

Alternatively, is there any chance that U-boot 2012.04-1 has support for writing to the N900 rootfs? (just need to chmod +x a file, ability to patch (single bytes of) /sbin/preinit would be also enough for me to unbrick it.

Is there any hope? :)

Fabry 2012-08-04 14:47

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
Quote:

Originally Posted by reinob (Post 1247299)
2. I'm not using U-boot correctly? Please note that I have no possibility to add/update items in U-boot. Whatever I do, it has to be from the U-boot console.

You can always hand write all commands in the console, or create a u-boot script to write on SD and then call it from the console

Quote:

3. The card reader on the N900 is broken? That would mean USB is shaky at best and uSD broken. Sounds bricky to me.
Try another SD, or reformat it (without Nemo, simple one partition).

Quote:

Please somebody tell me I'm stupid and there is an obvious solution to this problem!

Alternatively, is there any chance that U-boot 2012.04-1 has support for writing to the N900 rootfs? (just need to chmod +x a file, ability to patch (single bytes of) /sbin/preinit would be also enough for me to unbrick it.

Is there any hope? :)
Yes there is hope if your SD is readable.
Here three possible solutions:
  • There is an year old backupmenu custom version made for booting with u-boot.
    It uses a meego/nemo as underlying system and therefore no need for a functioning Maemo.
    This version has a framebuffer console and you can edit N900's nand from it.
  • There is RescueOS image (search the thread on TMO) and it boots with u-boot.
  • There is Meego's Rescue image that can be converted to boot with u-boot

sAhAck 2012-08-05 10:18

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
I'm having trouble booting the thing........

Generated uImages load but does not boot.... the blue LED stays on and after a while it powers off.

Seems I'm the only one having this trouble...:confused:

reinob 2012-08-05 12:56

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
Quote:

Originally Posted by Fabry (Post 1247434)
Yes there is hope if your SD is readable.

Well, the uSD card itself works fine. I took my spare-spare N900, also with U-boot (this time latest version, but shouldn't matter), and Nemo booted just fine.

Actually because of this major fvck-up I had the opportunity to spend a couple of hours with Nemo. Nice experience.

So, uSD card works fine. U-boot should be able to boot off it.
The only small-ish :) problem is that the affected N900 doesn't seem to want to cooperate with either microUSB or microSD.

Does anybody have experience with using the debug ports under the battery to create a USB connection that can be used for flashing?

I *will* search for relevant information here, but any pointers will be much appreciated :)


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

vBulletin® Version 3.8.8