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



Donate

Rockbox Technical Forums


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

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  iriver h1x0 - RTC (real time clock) mod
« previous next »
  • Print
Pages: 1 ... 4 5 [6] 7 8 ... 10

Author Topic: iriver h1x0 - RTC (real time clock) mod  (Read 77275 times)

Offline Davide-NYC

  • Member
  • *
  • Posts: 429
Re: iriver h1x0 - RTC (real time clock) mod
« Reply #75 on: February 11, 2007, 06:01:12 PM »
WHAT!!!!   ;D  :D  :)

I just performed the mod successfully. It took a while as this was the tinyest soldering I've ever done.

Booting into iRiver firmware works fine.
Booting into an unpatched version of Rockbox works fine.
Booting into the patched version of Rockbox gives me a beautiful Real Time Clock with functioning alarm.

Roolku, jimdearras, Software_Samurai... THANK YOU!

RTC on my H120!

W00t.
Logged
Currently: iRiver H132-RTC-CFMod

Offline TaperChuck

  • Member
  • *
  • Posts: 61
    • CoTapers
Re: iriver h1x0 - RTC (real time clock) mod
« Reply #76 on: February 11, 2007, 06:14:07 PM »
Welcome to Team RTC!
Logged
Chuck

Offline Davide-NYC

  • Member
  • *
  • Posts: 429
Re: iriver h1x0 - RTC (real time clock) mod
« Reply #77 on: February 12, 2007, 03:15:55 PM »
So as long as the modders use the DS3231 chips (instead of the DS1339c) what is the harm in including the patch into SVN?

I suggest modifying the Wiki page to tell new modders not to use the DS1339c and to use the DS3231 chips instead and then just put the code into Rockbox!

I'm going to mod my other units this coming weekend.  ;D
Logged
Currently: iRiver H132-RTC-CFMod

Offline roolku

  • Developer
  • Member
  • *
  • Posts: 350
Re: iriver h1x0 - RTC (real time clock) mod
« Reply #78 on: February 12, 2007, 03:24:56 PM »
Quote from: Davide-NYC on February 12, 2007, 03:15:55 PM
So as long as the modders use the DS3231 chips (instead of the DS1339c) what is the harm in including the patch into SVN?

Have a read here:

http://forums.rockbox.org/index.php?topic=2513.msg67109#msg67109

and test the patch with auto detection (especially with un-modded units).

Than it is just a question of lobbying the right person with commit access...

Quote from: Davide-NYC on February 12, 2007, 03:15:55 PM
I suggest modifying the Wiki page to tell new modders not to use the DS1339c and to use the DS3231 chips instead.

Will do.
Logged

Offline Davide-NYC

  • Member
  • *
  • Posts: 429
Re: iriver h1x0 - RTC (real time clock) mod
« Reply #79 on: February 12, 2007, 03:59:29 PM »
Will test the auto-detect build before I mod the H140s.

What exactly should be done to insure that there are no unwanted side effects?
  • Playback files.
  • Record some files and play them back.
  • Make sure not HAVE_RTC functions are present...
- What else?
« Last Edit: February 12, 2007, 04:08:22 PM by Davide-NYC »
Logged
Currently: iRiver H132-RTC-CFMod

Offline roolku

  • Developer
  • Member
  • *
  • Posts: 350
Re: iriver h1x0 - RTC (real time clock) mod
« Reply #80 on: February 12, 2007, 06:59:25 PM »
Quote from: Davide-NYC on February 12, 2007, 03:59:29 PM
Will test the auto-detect build before I mod the H140s.

Thank you, I think it is more likely that I might have broken rockbox for units without RTC.

Quote from: Davide-NYC on February 12, 2007, 03:59:29 PM
What exactly should be done to insure that there are no unwanted side effects?

Anything that I haven't anticipated.

Quote from: Davide-NYC on February 12, 2007, 03:59:29 PM
  • Playback files.
  • Record some files and play them back.
  • Make sure not HAVE_RTC functions are present...
- What else?

Creating files on target by various means (text_editor, write cfg files, recording) and check that the fat timestamps and (if appropriate) the filenames are correct. Check if the scrobbler log still works. Check that RTC related menus only appear if there is an RTC mod. Check out what the clock plugin does. Or any other plugins that use the clock. Whatever action might possibly access the RTC and check if correct behaviour happens for modded and un-modded units...

Logged

Offline TaperChuck

  • Member
  • *
  • Posts: 61
    • CoTapers
Re: iriver h1x0 - RTC (real time clock) mod
« Reply #81 on: February 15, 2007, 04:32:59 PM »
The patched build of the REP Rockbox I got from roolku doesn't write the .cfg files the same as the regular build. They are much shorter and doen't seem to save settings the same as the regular build. I wish I understood how to patch the software better.  ??? Anyway, I need all the functionality offered by the regular REP build, but I also want the RTC mod code patched into it. For now, I'm going back to the regular REP build, until either the RTC mod is added in, or I can get a version that writes the .cfg files correctly.  :(
Logged
Chuck

Offline Davide-NYC

  • Member
  • *
  • Posts: 429
Re: iriver h1x0 - RTC (real time clock) mod
« Reply #82 on: February 15, 2007, 04:48:15 PM »
I have downloaded two different REP-RTC rockbox zipfiles.

rockbox_rep_rtc_r12186.zip
rockbox_rep_rtc_r12213.zip

Which one is the one you're using? Also (roolku) is the 12213 the latest version?
Logged
Currently: iRiver H132-RTC-CFMod

Offline roolku

  • Developer
  • Member
  • *
  • Posts: 350
Re: iriver h1x0 - RTC (real time clock) mod
« Reply #83 on: February 15, 2007, 07:01:09 PM »
Quote from: TaperChuck on February 15, 2007, 04:32:59 PM
The patched build of the REP Rockbox I got from roolku doesn't write the .cfg files the same as the regular build.

Huh? Can you give an example please (attach the cfg files). I am not touching the settings stuff and it would be a strange bug indeed.

Quote from: TaperChuck on February 15, 2007, 04:32:59 PM
For now, I'm going back to the regular REP build, until either the RTC mod is added in, or I can get a version that writes the .cfg files correctly.  :(

Well, Linus reviewed it and I changed what he wanted and synched it with the SVN. However with JdGordon's menu changes it goes out of sync sometimes on a daily basis and I am getting tired of updating it constantly. So I will do an update if someone is willing to commit it or if the updates have slowed down a little.

Quote from: Davide-NYC on February 15, 2007, 04:48:15 PM
I have downloaded two different REP-RTC rockbox zipfiles.

rockbox_rep_rtc_r12186.zip
rockbox_rep_rtc_r12213.zip

Which one is the one you're using? Also (roolku) is the 12213 the latest version?

The 12213 is the one with the auto detection.

Logged

Offline TaperChuck

  • Member
  • *
  • Posts: 61
    • CoTapers
Re: iriver h1x0 - RTC (real time clock) mod
« Reply #84 on: February 15, 2007, 07:15:03 PM »
config1 is the RTC build file
config2 is the normal REP build file

Please school me if there is something I am doing wrong, because I really like the RTC mod and plan to do it to another iRiver soon.

[attachment deleted by admin, too old]
Logged
Chuck

Offline roolku

  • Developer
  • Member
  • *
  • Posts: 350
Re: iriver h1x0 - RTC (real time clock) mod
« Reply #85 on: February 16, 2007, 03:04:40 AM »
Quote from: TaperChuck on February 15, 2007, 07:15:03 PM
config1 is the RTC build file
config2 is the normal REP build file

Please school me if there is something I am doing wrong, because I really like the RTC mod and plan to do it to another iRiver soon.

Well, I think you will find that this is part of JdGordons settings patch/commit. Try on official build and you will get the same short cfg file without the comments. I can only assume that your REP build is rather old.

Logged

Offline TaperChuck

  • Member
  • *
  • Posts: 61
    • CoTapers
Re: iriver h1x0 - RTC (real time clock) mod
« Reply #86 on: February 16, 2007, 08:18:56 AM »
The first one is the REP build that is in Mmmm's signature line. That's the most recent build isn't it?
Logged
Chuck

Offline TaperChuck

  • Member
  • *
  • Posts: 61
    • CoTapers
Re: iriver h1x0 - RTC (real time clock) mod
« Reply #87 on: February 17, 2007, 06:56:39 PM »
Well, I just moded an iHP-140 with a Real Time Clock. My second iRiver device with the RTC mod. I happen to have one of the chips left. If someone wants it, PM me...

BTW, Mmmm, just commited the new menu to his build. The version in his sig line has the new menu. :)

And Roolku, yes, the new build does have the truncated .cfg files, so I'm back to using the build you compiled a while ago. I freaked a bit, thinking something was wrong...

I would really appreciate it if someone would compile the new REP build with the RTC clock patch and post it somewhere. I really like the new menu.



Logged
Chuck

Offline roolku

  • Developer
  • Member
  • *
  • Posts: 350
Re: iriver h1x0 - RTC (real time clock) mod
« Reply #88 on: February 19, 2007, 02:42:22 PM »
I will wait a little longer until the dust over jdgordon's menu changes has settled and update the auto-detection patch so it applies to svn. At that point I will also have a look if it still clashes with the REP and most likely compile a new version.

Until then you can still use the non-auto-detecting patch. This is what I have in my personal build and it still compiles for me.
Logged

Offline TaperChuck

  • Member
  • *
  • Posts: 61
    • CoTapers
Re: iriver h1x0 - RTC (real time clock) mod
« Reply #89 on: February 19, 2007, 02:51:31 PM »
Great. Thanks roolku! :)
Logged
Chuck

  • Print
Pages: 1 ... 4 5 [6] 7 8 ... 10
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  iriver h1x0 - RTC (real time clock) mod
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.079 seconds with 14 queries.