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:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Help with X20 ARM programming
« previous next »
  • Print
Pages: 1 [2]

Author Topic: Help with X20 ARM programming  (Read 9515 times)

Offline keenox

  • Member
  • *
  • Posts: 12
Re: Help with X20 ARM programming
« Reply #15 on: April 25, 2008, 03:18:26 PM »
i'll use your advice. happily, i don't need to monitor usb traffic, as iriver provides the firmware files for manual upgrade. as you can see in the other thread on rockboxing x20 (link in the first post), i managed to modify the Insignia firmware (with some great help from your wiki section on Telechips) in order to be accepted by my iriver x20.
also, can you point me to a specific arm compiler? i would really appreciate it. ;D
P.S i still don't understand you affliction toward using original firmware. isn't the functionality itself the thing that matters? would anyone (i mean final users) be bothered by what the bootloader uses?
« Last Edit: April 25, 2008, 03:23:45 PM by keenox »
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Help with X20 ARM programming
« Reply #16 on: April 25, 2008, 03:38:04 PM »
Quote from: keenox on April 25, 2008, 03:18:26 PM
also, can you point me to a specific arm compiler? i would really appreciate it. ;D

As LambdaCalculus379 said, you will want to use the one included in the rockbox dev tools.

Quote from: keenox on April 25, 2008, 03:18:26 PM
P.S i still don't understand you affliction toward using original firmware. isn't the functionality itself the thing that matters? would anyone (i mean final users) be bothered by what the bootloader uses?

What users want is pretty much irrelevant here.  We can't distribute code thats not ours, due to how governments and laws and things like that work.
Logged

Offline lowlight

  • Developer
  • Member
  • *
  • Posts: 194
Re: Help with X20 ARM programming
« Reply #17 on: April 25, 2008, 04:00:09 PM »
You are best off trying to leverage what's already been done in Rockbox.  So far, most (maybe all?) Telechip devices have a USB mode through which you can upload code using tcctool. I found this site for the Insignia NS-DV and in this picture there are clearly USB and NAND jumpers just like on the Logik Dax (also a Telechips SoC). If you can't find the button combination to boot into USB mode, then I think you can switch the jumpers and boot to it directly. I can't say if the the X20 has the same jumpers (you'd have to open it up), but it probably has a USB mode that you can somehow access. Then, you can forget about hacking the original firmware and the installer and start RE-ing the OF for the LCD code so you can make your own Rockbox bootloader. And if you are lucky, the D2's NAND driver in Rockbox (and maybe other Telechip-specific components) might work as-is.

Maybe I'll look for a cheap NS-DV on ebay  ;D

Good luck.
Logged

Offline keenox

  • Member
  • *
  • Posts: 12
Re: Help with X20 ARM programming
« Reply #18 on: April 25, 2008, 05:12:27 PM »
FXXK!!!i bricked my player  :'( :'(!! i flashed it with the logik dax firmware and now it doesn't respond to any button. it doesn't turn on even if i connect it to usb... i opened it and took a pic.



i tried to short the pins "USB/NAND" and then "USB". in both cases the computer showed that a device was connected but was unable to recognize it or find a driver...  ??? any solutions? i'm pretty desperate

LE scrached off the solder from "NAND" pins and managed to connect in usb mode. i installed the development driver(found on this forums) and windows recognized it. the bad thing is that the flashing utility(for developers) didn't... and i can't see it as a drive
« Last Edit: April 25, 2008, 06:08:57 PM by keenox »
Logged

Offline lowlight

  • Developer
  • Member
  • *
  • Posts: 194
Re: Help with X20 ARM programming
« Reply #19 on: April 25, 2008, 08:03:35 PM »
First...of course you "bricked" it, the Logik Dax has a completely different hardware inside. What did you think you would accomplish by doing that?

Second...in usb boot mode, it I don't think it will show up as a drive, nor do you need a driver. You need to use tcctool to upload the proper firmware to it. tcctool may need to be modified, I don't know if it supports the x20. Ask linuxstb in irc, he wrote it.

Third...post a larger hi res picture, I can't make out anything on that one.
Logged

Offline keenox

  • Member
  • *
  • Posts: 12
Re: Help with X20 ARM programming
« Reply #20 on: April 26, 2008, 05:09:33 AM »
lowlight that picture is hi-res enough. it seems to have been resized. just "save as". thanks for the tips! i'll try them  :-[

i had my player replaced with a new one  ;D. do you have any ideas on how can i study the x20 bootloader? i dumped the firmware from the new player with the fwdn tool and it looks just like the one in the file. i think the bootloader is stored in another section of the memory.
« Last Edit: June 04, 2008, 10:50:55 AM by keenox »
Logged

  • Print
Pages: 1 [2]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Help with X20 ARM programming
 

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

Page created in 0.072 seconds with 14 queries.