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
translations translations
Search



Donate

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
|-+  Rockbox Development
| |-+  New Ports
| | |-+  Ingenic Jz4740/Jz4732 players
« previous next »
  • Print
Pages: [1] 2 3 ... 13

Author Topic: Ingenic Jz4740/Jz4732 players  (Read 151311 times)

Offline mcuelenaere

  • Developer
  • Member
  • *
  • Posts: 392
Ingenic Jz4740/Jz4732 players
« on: June 15, 2008, 07:13:38 AM »
This is the forum thread for development on the Ingenic Jz4740/Jz4732 targets (currently Ainol V2000SE and Onda VX747).

All important information is currently in these links:
  * OndaVX747
  * AinolV2000SE
  * IngenicJz47xx
  * ChinaChip
  * forum thread at MP4Nation with a Chinese user (tomac) who already did a lot regarding the Ainol V2000SE

Feel free to add any usefull information regarding porting!
« Last Edit: June 15, 2008, 07:38:22 AM by mcuelenaere »
Logged

Offline mcuelenaere

  • Developer
  • Member
  • *
  • Posts: 392
Re: Ingenic Jz4740/Jz4732 players
« Reply #1 on: June 22, 2008, 01:05:24 PM »
Current status:
I'm able to upload code to my Onda VX747, check internal registers and download data from the device; all through USB (see utils/jz4740_usbtool in SVN for more info).

I've tried replicating the OF LCD init routines, but the LCD/backlight won't turn on..

Also, someone needs to check if the USBtools work with an Ainol V2000SE (or other Jz47xx chipset player).
Logged

Offline mcuelenaere

  • Developer
  • Member
  • *
  • Posts: 392
Re: Ingenic Jz4740/Jz4732 players
« Reply #2 on: June 25, 2008, 05:45:01 PM »
Currently I'm able to replicate the original FW recovery using Jz4740_usbtool.
What's probably bugging my code is the absence of an IRQ handler (and my knowledge of MIPS architecture), but I've done a bit of reading and should come up with some usable code :)

So far there are reports of an Ainol V2000SE, Onda VX979+ (clone) and Onda VX747 (mine) which work with the Jz4740_usbtool.
« Last Edit: June 30, 2008, 10:50:08 AM by mcuelenaere »
Logged

Offline WaM

  • Member
  • *
  • Posts: 2
Re: Ingenic Jz4740/Jz4732 players
« Reply #3 on: June 27, 2008, 09:16:20 AM »
Not VX989+ but VX979+ (2,4" LCD),  and I think that word "clone" is not good, this player is made by onda, but is selling as other brand (Laberg nJoy). I made a test, and load onda VX979+ v1.21 firmware into my player, and it works fine.

Something new from pasen.it ?
Logged

Offline mcuelenaere

  • Developer
  • Member
  • *
  • Posts: 392
Re: Ingenic Jz4740/Jz4732 players
« Reply #4 on: June 28, 2008, 02:37:15 PM »
Quote from: WaM on June 27, 2008, 09:16:20 AM
Not VX989+ but VX979+ (2,4" LCD),  and I think that word "clone" is not good, this player is made by onda, but is selling as other brand (Laberg nJoy). I made a test, and load onda VX979+ v1.21 firmware into my player, and it works fine.

Something new from pasen.it ?
I just took the word clone over by you, but I'll change it if you want to.

And as far as I understood Onda and Pasen buy from the same manufacturer so it can't be a rebranded Onda (I could be wrong here though...)

Christian said he would contact the company and he would try to get some information out them, but apparently that could be either nothing or either some chip information; so no source code or Ingenic datasheets.

Though he said his Chinese agent could contact Ingenic, which could provide information regarding the chipset as they want to dominate the market and they are doing it (partly) by open sourcing (some) of their chips/chips information.
Logged

Offline WaM

  • Member
  • *
  • Posts: 2
Re: Ingenic Jz4740/Jz4732 players
« Reply #5 on: June 30, 2008, 07:38:43 AM »
OK, I remember what I wrote ;)

I am also interesting who really is making this stuff, but more important for me is that Onda firmware works fine on my VX979+ "clone". It mean that hardware is the same or similar enough. :)

I think that main problem with Ingenic doc's is language. I know that it is possible to translate from Chinese, but first we have to know what we should translate...

Logged

Offline terrence1019

  • Member
  • *
  • Posts: 128
Re: Ingenic Jz4740/Jz4732 players
« Reply #6 on: July 04, 2008, 08:13:43 PM »
The Onda VX777 is applicable to the list of Ingenic Jz4740/Jz4732 Players
« Last Edit: July 04, 2008, 08:22:45 PM by terrence1019 »
Logged

Offline mcuelenaere

  • Developer
  • Member
  • *
  • Posts: 392
Re: Ingenic Jz4740/Jz4732 players
« Reply #7 on: July 05, 2008, 04:38:36 PM »
Quote from: terrence1019 on July 04, 2008, 08:13:43 PM
The Onda VX777 is applicable to the list of Ingenic Jz4740/Jz4732 Players
AFAIK the VX777 is a Jz4740 and is described as so on the wiki.

Now about the porting: I'm sure my code runs fine atm, but for some stupid reason I still can't figure out how to drive the LCD.

So for debugging I currently use the USB SoftConnect: this way Windows makes that sound when a device is disconnected, so I know the code runs upto there (this is far from practical, but as I don't have any serial reading hardware and don't know where the connectors are on the board, it'll satisfy).

The code
Logged

Offline mcuelenaere

  • Developer
  • Member
  • *
  • Posts: 392
Re: Ingenic Jz4740/Jz4732 players
« Reply #8 on: July 06, 2008, 07:55:04 PM »
Finally some breakthrough!

Today, I was able to drive the LCD :)
The problem was the backlight wasn't on, so I could do everything I want with the actual LCD, but you couldn't see a thing.

Now that problem is solved, I'm working on integrating my code in the Rockbox target tree (which isn't that easy as there's no support for MIPS at the moment).

A video

A diff
« Last Edit: July 06, 2008, 07:56:44 PM by mcuelenaere »
Logged

Offline Bagder

  • Member
  • *
  • Posts: 1447
    • Daniel's site
Re: Ingenic Jz4740/Jz4732 players
« Reply #9 on: July 07, 2008, 03:11:15 AM »
Regarding MIPS support. Isn't this "just" a matter of extending rockboxdev.sh to also give a MIPS option to build a cross-compiler for this?
Logged

Offline mcuelenaere

  • Developer
  • Member
  • *
  • Posts: 392
Re: Ingenic Jz4740/Jz4732 players
« Reply #10 on: July 07, 2008, 04:50:17 AM »
Quote from: Bagder on July 07, 2008, 03:11:15 AM
Regarding MIPS support. Isn't this "just" a matter of extending rockboxdev.sh to also give a MIPS option to build a cross-compiler for this?
Last time when I tried that it didn't work out for me, so I downloaded the cross-compiler from Emdebian.

BTW I was talking about the threading handling.
Logged

Offline mcuelenaere

  • Developer
  • Member
  • *
  • Posts: 392
Re: Ingenic Jz4740/Jz4732 players
« Reply #11 on: July 07, 2008, 08:23:51 PM »
Current status: Rockbox compiles but the LCD only works half of the times, seems something isn't set up fully correct which I'll have to investigate...

Diff
Logged

Offline Bagder

  • Member
  • *
  • Posts: 1447
    • Daniel's site
Re: Ingenic Jz4740/Jz4732 players
« Reply #12 on: July 08, 2008, 02:57:10 AM »
Oh man, I am deeply impressed. Very very nice work!

Two minor nits on the patch:

1 - the D2 mod is probably not meant to be in the jz47-patch

2 - the makesrc.inc change must not be committed since it breaks builds
Logged

Offline Bagder

  • Member
  • *
  • Posts: 1447
    • Daniel's site
Re: Ingenic Jz4740/Jz4732 players
« Reply #13 on: July 08, 2008, 03:14:19 AM »
I've just committed a fix for rockboxdev.sh that makes it capable of building a mipsel-elf compiler that should be suitable for building Rockbox on little endian MIPS targets. Would be great if this would be verified to work as expected.
Logged

Offline mcuelenaere

  • Developer
  • Member
  • *
  • Posts: 392
Re: Ingenic Jz4740/Jz4732 players
« Reply #14 on: July 09, 2008, 06:39:32 PM »
Quote from: Bagder on July 08, 2008, 02:57:10 AM
Oh man, I am deeply impressed. Very very nice work!
...
Thanks! :)


I've created a Flyspray task for attaching patches.

Current status:
  • I've cleaned the code a bit and split it into several files
  • The code compiles and runs fine on the target, but still running code is highly unstable (sometimes your code just won't run, so being carefull is a necessity)
  • The mips bug is probably still there (haven't tested it yet): whenever I change the folder firmware/target/MIPS to firmware/target/mips all references to this folder in SOURCES are replaced with 1
    e.g. firmware/target/1/ingenic_jz47xx/system-jz4740.c
Logged

  • Print
Pages: [1] 2 3 ... 13
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  Ingenic Jz4740/Jz4732 players
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.144 seconds with 21 queries.