Rockbox Development > New Ports

Ingenic Jz4740/Jz4732 players

<< < (10/37) > >>

mcuelenaere:
A quick status update:
currently the code is very stable, no unknown bugs are appearing anymore (except for the button/touchscreen handling code, but this isn't a real 'bug').

USB works, but the device can't seem to get recognized by a PC (the cause is unknown, my best guess is data isn't transmitted (correctly) from the DAP to the PC).

Audio works too, it only needs some tweaking in the sample rate, clock, etc.. Currently it outputs garbage (although I got it to play some slightly distorted music some weeks/months ago).

SD card is still unsupported, I'll need to find the GPIO signal to enable power to the SD card first for that..

Nothing has changed in the FTL area (it's still not figured out), and I'm trying to get USB to work so I can easily dump the whole NAND chip to my PC for analysing.


--- Quote from: terrence1019 on December 03, 2008, 07:15:13 PM ---Do you, by chance, know if the GSL-2801A is a ChinaChip DAP?

http://gslltd.manufacturer.globalsources.com/si/6008827347504/pdtl/Flash-portable/1009251153/Flash-Portable-Media-Player.htm

--- End quote ---
No I don't, and a quick look on Google reveals this isn't a very popular product... So I wouldn't guess this is an Ingenic Jz4740 DAP...

oiseau:
Hi mcuelenaere and all !

I do have a new Onda VX747+ since a week, which I acquired knowing I could start hack it out of the box, thanks to your work and to rockbox team !

I could run the bootloader build on the device like a charm, I only had to comment the storage_init function to build it. The lcd and touchscreen are working, but only the vol_down and off buttons where working.
I could easily find out with the bootloader the GPIO config, and I made a patch adding a model in rockbox, with buttons working.

I just added this patch to the tracker, but maybe adding a new model is overkill, could it be done only with #ifdefs ?

The GPIO config is:
#define BTN_HOLD     (1 << 22)  /* on GPIO 2 */
#define BTN_MENU     (1 << 20)
#define BTN_VOL_UP   (1 << 19)

should I just update the vx747 page on the wiki ?

mcuelenaere:

--- Quote from: oiseau on December 18, 2008, 10:46:49 PM ---Hi mcuelenaere and all !

I do have a new Onda VX747+ since a week, which I acquired knowing I could start hack it out of the box, thanks to your work and to rockbox team !

I could run the bootloader build on the device like a charm, I only had to comment the storage_init function to build it. The lcd and touchscreen are working, but only the vol_down and off buttons where working.
I could easily find out with the bootloader the GPIO config, and I made a patch adding a model in rockbox, with buttons working.

I just added this patch to the tracker, but maybe adding a new model is overkill, could it be done only with #ifdefs ?

The GPIO config is:
#define BTN_HOLD     (1 << 22)  /* on GPIO 2 */
#define BTN_MENU     (1 << 20)
#define BTN_VOL_UP   (1 << 19)

should I just update the vx747 page on the wiki ?


--- End quote ---
Hi!

It's always nice to see some new devices get supported :)

I know that current source code is a bit of a mess (especially the bootloader, who in current SVN probably isn't really working real great because the most accurate version is still in my local tree), but all the files in firmware/target/mips/ingenic-jz47xx/ should work with the HW.

I also prefer using #ifdef's for at least the sadc-onda_vx747.c file.

And you may edit the OndaVX747 wiki page, I think there's no need to make a new one as there's not much difference between the 2 devices?

edit:
I've now committed your (modified) patch.

oiseau:
Hi !

Thanks for including it this fast, I just went to sleep and as I woke up you included, like in a dream :) And the code duplication is gone now, nice :)

I'll continue to test the ingenic code now, as I understand it the current only way is to modify the bootloader code, am I right ?

I just opened an account on the wiki but am still denied editing, when it's OK I'll add gpio config for vx747+.

mcuelenaere:

--- Quote from: oiseau on December 19, 2008, 08:19:40 AM ---Hi !

Thanks for including it this fast, I just went to sleep and as I woke up you included, like in a dream :) And the code duplication is gone now, nice :)

I'll continue to test the ingenic code now, as I understand it the current only way is to modify the bootloader code, am I right ?

--- End quote ---
Correct.
I think the main thing we should focus on currently is USB support (which is partly working).
With it we would be able to dump the full NAND data to a PC and then we can start analyzing it to RE the FTL (Flash Translation Layer, ie YAFFS2).

Or we could try getting microSD card to work, as this can also be a backend for the storage of Rockbox (I tried this, but didn't got far).

--- Quote ---I just opened an account on the wiki but am still denied editing, when it's OK I'll add gpio config for vx747+.


--- End quote ---
Normally, you're supposed to ask in IRC for wiki write access; but you won't need to do that anymore as I just added you to the list :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version