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)

Fabry 2012-07-30 01:14

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

Originally Posted by Estel (Post 1244697)
with only GSM on, eats 6-8mAh per hour. But, as You've said, it wasn't absolutely ideal idle.

Yes 6-8mAh is about 0.4-0.6% per hour and this is a consume that I repute "normal".

In the previous post I have told that with about 10 hours battery goes from 83% to 64% (phone not used, no calls received).

19% on 10 hours is 1.9% per hour but even if it was only 1.2% per hour, it would still be higher than normal idle power consume

Fabry 2012-07-30 01:37

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

Originally Posted by Estel (Post 1244789)
In any case, it doesn't sound to be U-boot problem, at all.

Four-Five months ago I was 1.5-1.8% per hour with U-Boot and only 0.5-0.6% per hour without.
Same software, same kernel, same use (idle)

And that version of U-Boot seems already contemplating the fix for the L2 cache.
If even now (not saying that both are still so many tests to confirm whether or not the situation) I had the same result would be hard to say that U-Boot is not involved

Estel 2012-07-30 01:41

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
So why wouldn't You execute damn single-word command "powertop" and paste results here? It doesn't matter, if You do it on new or old battery, it just shows results of system wakeups, etc.

Usage:
on termina, execute "powertop". Immediately lock screen and put phone to rest without touching it - powertop will sleep for 11 seconds, then collect data for 30 seconds. So, after minute, You can safely turn it on, then copy output and paste it here.

Of course, phone should be idle, without any other things opened - ideally, in flight mode (but GSM doesn't affect results much).

/Estel

Fabry 2012-07-30 04:25

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

Originally Posted by Estel (Post 1244803)
So why wouldn't You execute damn single-word command "powertop" and paste results here? It doesn't matter, if You do it on new or old battery, it just shows results of system wakeups, etc.

Because I have no usb cable with me nor a WiFi connection, so I must copy by hand the result shown on N900 screen, not acceptable.

Later (several hours from now) I will take up the usb cable and I will post the result of "sudo powertop > ptop.txt"

don_falcone 2012-07-30 06:10

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

Originally Posted by Fabry (Post 1244819)
so I must copy by hand the result shown on N900 screen, not acceptable.

Oh the whorrorz... Do you ever use your keyboard to write real letters/documents?

Fabry 2012-07-30 10:34

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

Powertop 1.13.3
Sleeping for 11 seconds before sampling
Collecting data for 30 seconds
Sample interval was 00m 30s 18861us

C#      | Ratio  | Avg/dura | Frequency | Ratio
--------+--------+----------+-----------+--------+
    C0 |  0.9% |          |  1150 MHz |  nan% |
    C1 |  0.0% |    0.2ms |
    C2 |  1.0% |    5.5ms |
    C3 |  6.0% |  200.9ms |
    C4 |  92.1% | 2763.1ms |

IRQ#    | Activity  | Type          | Name
--------+------------+----------------+---------------------------
    56 |        194 |          INTC | i2c_omap
    37 |        64 |          INTC | gp
    86 |        40 |          INTC | mmc1
    11 |        36 |          INTC | prcm
    57 |        34 |          INTC | i2c_omap
    12 |        10 |          INTC | DMA
    225 |          8 |          GPIO | omap2-onenand

PID#    | Activity  | Name          | Function Entry (Expire)
--------+------------+----------------+---------------------------
      0 |        40 |  <kernel core> | tick_nohz_restart_sched_tick (tick_sched_timer)
      1 |        10D|        preinit | cpufreq_governor_dbs (delayed_work_timer_fn)
      0 |        10 |  <kernel core> | hrtimer_start (tick_sched_timer)
    889 |          7 |      bme_RX-51 | sys_timer_settime (posix_timer_fn)
    45 |          7 |          mmcqd | schedule_timeout (process_timeout)
    850 |          3 |          dsme | do_nanosleep (hrtimer_wakeup)
    850 |          3 |          dsme | __enqueue_rt_entity (sched_rt_period_timer)
    45 |          3 |          mmcqd | queue_delayed_work (delayed_work_timer_fn)
    889 |          2 |      bme_RX-51 | sys_timer_settime (posix_timer_fn)
    878 |          2D|<kernel module> | queue_delayed_work (delayed_work_timer_fn)
      1 |          2D|  <kernel core> | queue_delayed_work (delayed_work_timer_fn)
    184 |          2 |  cifsdnotifyd | schedule_timeout (process_timeout)
    889 |          2 |      bme_RX-51 | do_nanosleep (hrtimer_wakeup)
    889 |          2 |      bme_RX-51 | schedule_timeout (process_timeout)
  1068 |          1 | hald-addon-bme | schedule_hrtimeout_range (hrtimer_wakeup)
  1406 |          1 |  BatteryGraphd | journal_get_write_access (commit_timeout)
  2492 |          1 |      powertop | do_nanosleep (hrtimer_wakeup)

Power domain activity breakdown
Domain  | % of time spent in states
--------+---------+---------+---------+---------+----------
usbhost |OFF: 100%|RET:  0%|INA:  0%| ON:  0%| now:(OFF)
    sgx |OFF: 100%|RET:  0%|INA:  0%| ON:  0%| now:(OFF)
    per |OFF:  98%|RET:  1%|INA:  0%| ON:  0%| now:(ON)
    dss |OFF: 100%|RET:  0%|INA:  0%| ON:  0%| now:(OFF)
    cam |OFF: 100%|RET:  0%|INA:  0%| ON:  0%| now:(OFF)
  core |OFF:  92%|RET:  6%|INA:  0%| ON:  1%| now:(ON)
  neon |OFF:  92%|RET:  6%|INA:  1%| ON:  0%| now:(ON)
    mpu |OFF:  92%|RET:  6%|INA:  1%| ON:  0%| now:(ON)
  iva2 |OFF: 100%|RET:  0%|INA:  0%| ON:  0%| now:(OFF)

Clock activity breakdown at end of period
Domain  | Active clocks
--------+---------------+---------------+------------------
  core |          SDRC | HSOTGUSB_IDLE |      OMAPCTRL
        |    MAILBOXES |
  wkup |          GPT1 |      32KSYNC |        GPIO1
        |          WDT1 |
  ckgen |          CORE |          PERI |          96M
        |          48M |          12M |          54M
        |      EMU_CORE |
    per |        GPIO2 |        GPIO3 |        GPIO4
        |        GPIO5 |        GPIO6 |

Total wakeups  484,  16.1/s | IRQ  386,  12.9/s | Timers  98,  3.3/s
HW wakeups      36,  1.2/s |    Real gp_timers expired  64,  2.1/s


freemangordon 2012-07-30 12:23

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
hmm, powertop output looks ok to me, anyone?

Estel 2012-07-31 04:08

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
powertop output is absolutely OK, no unexpected wakes from kernel, etc.

Fabry, could You open my tutorial for measuring battery capacity (it's in my signature), grab bq27200.sh script posted there (You may ignore everything else written there, if You wish), put it in your device, ensure, that You have i2c-tools installed, and finally, run it in loop, via:

Code:

bq27200.sh 5
...On idle device, with everything (including GSM) turned off. Then, lock the screen, and put phone to rest for 5 min, with script running in background. After this, copy and paste here last 15-20 lines, OK?

Normal result for idle device, with script like bq27200.sh looping every 5 seconds, is 20-25 mA current detected. We will see, if Your current usage is higher.

/Estel

patriotnop 2012-07-31 11:43

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04-2)
 
Please, help
I've just install UBOOT fellow the 1st post and config as pali described after all everything done OK. But the problem is unable to boot attached kernel zImage-2.6.28.10-power51 only boot 2.6.28-omap1 (legacy kernel)
:confused:

ersanpermana 2012-07-31 12:01

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

Originally Posted by patriotnop (Post 1245390)
Please, help
I've just install UBOOT fellow the 1st post and config as pali described after all everything done OK. But the problem is unable to boot attached kernel zImage-2.6.28.10-power51 only boot 2.6.28-omap1 (legacy kernel)
:confused:

You must Create symlink to /etc/default/bootmenu.item from your item file. For example:
$ ln -s /etc/bootmenu.d/20-Maemo5-kernel-power-2.6.28.10-power51.item /etc/default/bootmenu.item
don't forget u-boot-update-bootmenu :D
and change ITEM_OMAPATAG to ITEM_REUSEATAGS


All times are GMT. The time now is 17:03.

vBulletin® Version 3.8.8