Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search




Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Sansа Clip Zip - Improve battery life
« previous next »
  • Print
Pages: 1 ... 11 12 [13] 14 15 ... 22

Author Topic: Sansа Clip Zip - Improve battery life  (Read 81914 times)

Offline johnb

  • Member
  • *
  • Posts: 185
Re: Sansа Clip Zip - Improve battery life
« Reply #180 on: February 15, 2015, 03:33:43 AM »
Quote from: rbert on February 09, 2015, 11:39:23 AM
Quote from: Mihail Zenkov on February 09, 2015, 11:17:38 AM
Yes, very strange. Can you try  0x80 | 47 + attached patch?
Thank you very much, it works.
Now I can test lower voltages.

EDIT:
no problems with 0x80 | 20
I can now confirm, that my fuzev2 variant0 works like a charm with
- Patch Set 7 471ced2d0f1df1f6e53824197c93e52563fdac3a
- rockbox-restore_irq.patch.txt
- the same changes in firmware/export/config/sansafuzev2.h as in the other config files

EDIT2:
for anyone else to test:
http://gregory.bplaced.net/rockbox/rockbox-fuzev2-1.7z

My daughter just got an ' Undefined instruction set ...' crash with this build.
Logged

Offline Mihail Zenkov

  • Developer
  • Member
  • *
  • Posts: 374
Re: Sansа Clip Zip - Improve battery life
« Reply #181 on: February 15, 2015, 06:03:32 AM »
Quote from: johnb on February 15, 2015, 03:33:43 AM
My daughter just got an ' Undefined instruction set ...' crash with this build.
It was only once or regularly? In which conditions (step to reproduce)?

rbert:
Can you replace my "irq" patch with patch from jhMikeS and test it?
Logged

Offline johnb

  • Member
  • *
  • Posts: 185
Re: Sansа Clip Zip - Improve battery life
« Reply #182 on: February 15, 2015, 07:01:13 AM »
Quote from: Mihail Zenkov on February 15, 2015, 06:03:32 AM
Quote from: johnb on February 15, 2015, 03:33:43 AM
My daughter just got an ' Undefined instruction set ...' crash with this build.
It was only once or regularly? In which conditions (step to reproduce)?


So far this was the only occasion (I run it in parallel on my fuze).
What she told me she was doing is: while listening to a song, she went into the file browser and selected a track -> then crashed
Logged

Offline rbert

  • Member
  • *
  • Posts: 10
Re: Sansа Clip Zip - Improve battery life
« Reply #183 on: February 18, 2015, 06:11:10 PM »
Quote from: Mihail Zenkov on February 15, 2015, 06:03:32 AM
rbert:
Can you replace my "irq" patch with patch from jhMikeS and test it?

OK, I just compiled and tested
 - Enable frequency and voltage scaling on the AMSv2 devices. http://gerrit.rockbox.org/r/#/c/1062/  Patch Set 7
 - then I cherry-picked jhMikeS patch http://gerrit.rockbox.org/1145/
 - and made my changes to firmware/export/config/sansafuzev2.h

Once I got an "Undefined instruction at 300C7BD8",
but otherwise the fuzev2 hangs completely
or only the scroll wheel works, but skips menu items and doesn't react to button presses and usb
Logged

Offline jhMikeS

  • Developer
  • Member
  • *
  • Posts: 242
Re: Sansа Clip Zip - Improve battery life
« Reply #184 on: February 18, 2015, 09:59:48 PM »
Okay, it doesn't appear to be a race condition. There's should no race condition in the patched driver. I wonder if certain things happening, like interrupt processing, during a voltage change can cause glitches in operation. I really should patch my Fuze V2 with this scaling patch and dive deeper.

Who has which variant? Mine is variant 0.
Logged

Offline johnb

  • Member
  • *
  • Posts: 185
Re: Sansа Clip Zip - Improve battery life
« Reply #185 on: February 19, 2015, 02:00:07 AM »
I have two of variant 0.
Logged

Offline rbert

  • Member
  • *
  • Posts: 10
Re: Sansа Clip Zip - Improve battery life
« Reply #186 on: February 19, 2015, 03:59:13 AM »
Mine is variant 0, too.
Logged

Offline Mihail Zenkov

  • Developer
  • Member
  • *
  • Posts: 374
Re: Sansа Clip Zip - Improve battery life
« Reply #187 on: February 19, 2015, 06:00:37 AM »
Probably we should check ascodec_wait - we have one variant when irq enabled and other when irq disabled. Can we use semaphore_wait when irq disabled?
Logged

Offline johnb

  • Member
  • *
  • Posts: 185
Re: Sansа Clip Zip - Improve battery life
« Reply #188 on: February 21, 2015, 02:14:46 PM »
Quote from: johnb on February 15, 2015, 03:33:43 AM
Quote from: rbert on February 09, 2015, 11:39:23 AM
Quote from: Mihail Zenkov on February 09, 2015, 11:17:38 AM
Yes, very strange. Can you try  0x80 | 47 + attached patch?
Thank you very much, it works.
Now I can test lower voltages.

EDIT:
no problems with 0x80 | 20
I can now confirm, that my fuzev2 variant0 works like a charm with
- Patch Set 7 471ced2d0f1df1f6e53824197c93e52563fdac3a
- rockbox-restore_irq.patch.txt
- the same changes in firmware/export/config/sansafuzev2.h as in the other config files

EDIT2:
for anyone else to test:
http://gregory.bplaced.net/rockbox/rockbox-fuzev2-1.7z

My daughter just got an ' Undefined instruction set ...' crash with this build.


I have NOT found any issue with this build on MY fuze (and have not heard any further report from my daughter). So I would say it's pretty good.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8770
Re: Sansа Clip Zip - Improve battery life
« Reply #189 on: February 21, 2015, 02:28:09 PM »
Quote from: johnb on February 21, 2015, 02:14:46 PM
I have NOT found any issue with this build on MY fuze (and have not heard any further report from my daughter). So I would say it's pretty good.

Could you charge the battery and then do a battery bench?
Logged

Offline johnb

  • Member
  • *
  • Posts: 185
Re: Sansа Clip Zip - Improve battery life
« Reply #190 on: February 21, 2015, 03:16:24 PM »
I will.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8770
Re: Sansа Clip Zip - Improve battery life
« Reply #191 on: February 21, 2015, 03:59:40 PM »
Quote from: johnb on February 21, 2015, 03:16:24 PM
I will.

Maybe I misunderstood, but which build is this? 
Logged

Offline johnb

  • Member
  • *
  • Posts: 185
Re: Sansа Clip Zip - Improve battery life
« Reply #192 on: February 22, 2015, 05:35:42 AM »
I am using the one posted by rbert in
http://forums.rockbox.org/index.php/topic,48549.msg233959.html#msg233959
http://gregory.bplaced.net/rockbox/rockbox-fuzev2-1.7z

471ced2M-150209
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8770
Re: Sansа Clip Zip - Improve battery life
« Reply #193 on: February 22, 2015, 03:46:52 PM »
Quote from: johnb on February 22, 2015, 05:35:42 AM
I am using the one posted by rbert in
http://forums.rockbox.org/index.php/topic,48549.msg233959.html#msg233959
http://gregory.bplaced.net/rockbox/rockbox-fuzev2-1.7z

471ced2M-150209

Sorry, I misunderstood and thought you meant that the newer patch was working. 
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8770
Re: Sansа Clip Zip - Improve battery life
« Reply #194 on: February 22, 2015, 03:50:32 PM »
Quote from: jhMikeS on February 18, 2015, 09:59:48 PM
Okay, it doesn't appear to be a race condition. There's should no race condition in the patched driver. I wonder if certain things happening, like interrupt processing, during a voltage change can cause glitches in operation. I really should patch my Fuze V2 with this scaling patch and dive deeper.


Are you sure theres no possible race condition in there?  I don't see how interrupt processing would be more of a problem then audio decoding, and given that it seems to crash on probably the first or second voltage change, its apparently extremely likely to occur in an ISR but rarely or never happening otherwise. 

Plus the fact that it happens on the Fuze v2 but not Zip/Clip+ which have the same SOC makes me wonder if some other thread or peripheral specific to the fuze (scrollwheel, buttons, DBOP, etc) that causes this. 
Logged

  • Print
Pages: 1 ... 11 12 [13] 14 15 ... 22
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Sansа Clip Zip - Improve battery life
 

  • SMF 2.0.6 | SMF © 2013, Simple Machines
  • XHTML
  • RSS
  • WAP2

Page created in 0.13 seconds with 63 queries.