Rockbox Technical Forums

Rockbox Development => New Ports => Topic started by: mcuelenaere on June 15, 2008, 07:13:38 AM

Title: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere 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 (http://www.rockbox.org/wiki/OndaVX747)
  * AinolV2000SE (http://www.rockbox.org/wiki/AinolV2000SE)
  * IngenicJz47xx (http://www.rockbox.org/wiki/IngenicJz47xx)
  * ChinaChip (http://www.rockbox.org/wiki/ChinaChip)
  * forum thread at MP4Nation (http://mp4nation.net/forum/viewtopic.php?f=24&t=3432) with a Chinese user (tomac) who already did a lot regarding the Ainol V2000SE

Feel free to add any usefull information regarding porting!
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere 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 (http://www.mediafire.com/?ovj1bgxbmzb), 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).
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere 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.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: 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 ?
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on June 28, 2008, 02:37:15 PM
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 (http://mp4nation.net/forum/viewtopic.php?p=34789#p34789), 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.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: WaM 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...

Title: Re: Ingenic Jz4740/Jz4732 players
Post by: terrence1019 on July 04, 2008, 08:13:43 PM
The Onda VX777 is applicable to the list of Ingenic Jz4740/Jz4732 Players
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on July 05, 2008, 04:38:36 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 (http://www.mediafire.com/?dkm1px0h0va)
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere 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 (http://www.mediafire.com/?w0st47zmyfc)

A diff (http://www.mediafire.com/?wngjptmmeel)
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: 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?
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on July 07, 2008, 04:50:17 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 (http://www.emdebian.org/debian/pool/main/g/gcc-4.3/).

BTW I was talking about the threading handling.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere 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 (http://www.mediafire.com/?kdmwath99nj)
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: Bagder 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
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: Bagder 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.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on July 09, 2008, 06:39:32 PM
Oh man, I am deeply impressed. Very very nice work!
...
Thanks! :)


I've created a Flyspray task (http://www.rockbox.org/tracker/task/9180) for attaching patches.

Current status:
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: Bagder on July 10, 2008, 02:33:03 AM
Quote
The mips bug is probably still there

Isn't this simply because the compiler has a preset define for 'mips' internally? Try with appending -undef to gcc or just -Umips

(Although I don't see any such listed here (http://predef.sourceforge.net/prearch.html#sec9)...)
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on July 10, 2008, 07:12:35 AM
Isn't this simply because the compiler has a preset define for 'mips' internally? Try with appending -undef to gcc or just -Umips

(Although I don't see any such listed here (http://predef.sourceforge.net/prearch.html#sec9)...)
Thanks, I did a #undef mips in the files who complained and now it works :)
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on July 11, 2008, 09:51:43 AM
I can confirm that the LCD color mode is 16-bit 5-6-5; because that's the only way the image extracted from the OF looks good with Image Search Editor (http://www.mp4nation.net/forum/viewtopic.php?p=23852#p23852).

On the other hand, this means there's still something wrong with either the LCD init or the transfer of data through DMA.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on July 14, 2008, 11:29:43 AM
I just committed support for the Onda VX747 to SVN as I got printf() (http://www.flickr.com/photos/27622164@N02/2668209038/) working (http://www.flickr.com/photos/27622164@N02/2668210792/) on (http://www.flickr.com/photos/27622164@N02/2667391103/) the (http://www.flickr.com/photos/27622164@N02/2668213592/) device (http://www.flickr.com/photos/27622164@N02/2667393929/)!

Also basic touchscreen support and buttons are working.

Next stop: better LCD handling, working interrupts and NAND flash support ;)
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: rosco_pc on July 16, 2008, 04:56:00 AM
Just got an Onda VX757, but can not get the cross compiler to compile correctly. Here is the error while building libssp:

Code: [Select]
../../../gcc-4.1.2/libssp/ssp.c: In function '__guard_setup':
../../../gcc-4.1.2/libssp/ssp.c:70: warning: implicit declaration of function 'open'
../../../gcc-4.1.2/libssp/ssp.c:70: error: 'O_RDONLY' undeclared (first use in this function)
../../../gcc-4.1.2/libssp/ssp.c:70: error: (Each undeclared identifier is reported only once
../../../gcc-4.1.2/libssp/ssp.c:70: error: for each function it appears in.)
../../../gcc-4.1.2/libssp/ssp.c:73: error: 'ssize_t' undeclared (first use in this function)
../../../gcc-4.1.2/libssp/ssp.c:73: error: expected ';' before 'size'
../../../gcc-4.1.2/libssp/ssp.c:75: warning: implicit declaration of function 'close'

I googled around a bit, but could not really find any solution. Any ideas?
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on July 16, 2008, 05:15:39 AM
Just got an Onda VX757, but can not get the cross compiler to compile correctly. Here is the error while building libssp:

Code: [Select]
../../../gcc-4.1.2/libssp/ssp.c: In function '__guard_setup':
../../../gcc-4.1.2/libssp/ssp.c:70: warning: implicit declaration of function 'open'
../../../gcc-4.1.2/libssp/ssp.c:70: error: 'O_RDONLY' undeclared (first use in this function)
../../../gcc-4.1.2/libssp/ssp.c:70: error: (Each undeclared identifier is reported only once
../../../gcc-4.1.2/libssp/ssp.c:70: error: for each function it appears in.)
../../../gcc-4.1.2/libssp/ssp.c:73: error: 'ssize_t' undeclared (first use in this function)
../../../gcc-4.1.2/libssp/ssp.c:73: error: expected ';' before 'size'
../../../gcc-4.1.2/libssp/ssp.c:75: warning: implicit declaration of function 'close'

I googled around a bit, but could not really find any solution. Any ideas?

How did you compile this? (I suppose using rockboxdev.sh)
Try compiling with --disable-libssp; if that still doesn't work PM me and I'll give you a download link for the binaries Ingenic provides.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on July 17, 2008, 06:49:14 AM
I added a HOWTO on the OndaVX747 wiki page (http://www.rockbox.org/twiki/bin/view/Main/OndaVX747) for running code from SDRAM, so people who are interested in this port can help out.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: 00christian00 on August 02, 2008, 08:16:02 PM
Hi Maurus,
sorry for the late reply.
I spoke with Ingenic and they said for tech support we first have to deal with their chinese agent(chinachip) buying the dev board for around 1500 usd plus another 1500 usd refundable when we buy 50k chips.
But I don't think the board will be of any use.
Do you need some kind of info not specific to the onda player?If yes I could try ask them directly.
But it seem all you need is specific to that model.
Also vx777 is confirmed to be jz4732,they don't have any player with jz4740 yet.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on August 02, 2008, 10:09:12 PM
Hi Maurus,
sorry for the late reply.
I spoke with Ingenic and they said for tech support we first have to deal with their chinese agent(chinachip) buying the dev board for around 1500 usd plus another 1500 usd refundable when we buy 50k chips.
But I don't think the board will be of any use.
Do you need some kind of info not specific to the onda player?If yes I could try ask them directly.
But it seem all you need is specific to that model.
Also vx777 is confirmed to be jz4732,they don't have any player with jz4740 yet.
Hi Christian,

could they(Ingenic) provide any more information about their chips? Like datasheets, what the Jz4732 actually is, ....  anything :)

Because the source code does help a lot, but without a datasheet some of the key components will be harder to figure out (for example the audio codec has some undocumented constants feeded in the code)
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: 00christian00 on August 04, 2008, 04:46:07 AM
This is from Ingenic :
"Dear Christian,

Nice to receive your email. And I saw your products in the web, as you want to know the Jz4732 specification, you can find it as Jz4740 datasheet in our website. The difference between Jz4732 and Jz4740 is that we offer Jz4732 for overseas customers, and Jz4740 in Mainland of China. So if you want to know more about the Jz4732, please just see Jz4740 in ftp.ingenic.cn
"

So it's the same chip as jz4740.
Regarding the costant in the audio codec,where did you take them?In the audio driver for linux?
Can't you use the higher level function as they are?
I'll dig more info.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on August 04, 2008, 05:58:50 AM
This is from Ingenic :
"Dear Christian,

Nice to receive your email. And I saw your products in the web, as you want to know the Jz4732 specification, you can find it as Jz4740 datasheet in our website. The difference between Jz4732 and Jz4740 is that we offer Jz4732 for overseas customers, and Jz4740 in Mainland of China. So if you want to know more about the Jz4732, please just see Jz4740 in ftp.ingenic.cn
"

So it's the same chip as jz4740.
Regarding the costant in the audio codec,where did you take them?In the audio driver for linux?
Can't you use the higher level function as they are?
I'll dig more info.
Heh, well at least it's a reply :)

About the constants: these are something like this
Code: [Select]
REG_ICDC_CDCCR1 = 0x001b2302; sometimes they're surrounded with a bit of comment but most of the times not (this example is from the linux/sound/oss/jzcodec.c, but I'm sure there are some also in µCos II; can't find them atm though).

I can of course just copy-paste their code, but as it sometimes differs between µCos II/Linux (or even between µCos II versions) I'm not really certain what version to take.. But currently we don't have to worry about this as the port isn't at that stage yet :)

Another (more important) problem is the NAND flash: I tried getting some data out of it but can't seem to succeed; I think this is due too the timing not set correctly but as the registers are named like this - EMC_SMCR_TAW_BIT - I have to guess what's it meaning (EMC = External Memory Controller, SMCR = Static Memory Control Register, TAW = ?).

And as you can see for yourself, the "datasheet" (http://ftp://ftp.ingenic.cn/2soc/Jz4740_ds.pdf) they provide isn't really helpfull...

So could you ask them (politely?) for some more information? And tell them we don't need any secret documentation of them, just some extra info regarding the how the chip registers work and what their meaning is. Even if it's documented in Chinese it's OK (there are online translators..)

BTW in what language do you mail them? I tried mailing them in English and in Chinese but they didn't respond to any..

Thanks
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: 00christian00 on August 04, 2008, 07:34:13 AM
I wrote in english and they replied the day after,but of course they are more interested in supporting a company like us,since we already sell player with their chips :P

I had a quick look at the nand boot code.It seem the boot loader should detect autumatically the timings of the nand.I can try asking more specific functions like registers meanings,but you know chip manufacturer are always afraid of releasing too much info on their hardware.

If you didn't get the nand to works,how did you boot the initial rockbox logo like in the picture?
Did you embed the image in the code?
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on August 04, 2008, 07:36:28 AM
I wrote in english and they replied the day after,but of course they are more interested in supporting a company like us,since we already sell player with their chips :P

I had a quick look at the nand boot code.It seem the boot loader should detect autumatically the timings of the nand.I can try asking more specific functions like registers meanings,but you know chip manufacturer are always afraid of releasing too much info on their hardware.

If you didn't get the nand to works,how did you boot the initial rockbox logo like in the picture?
Did you embed the image in the code?
No, everything currently works through USB and SDRAM.

There's a special USB recovery mode built in the chip, and this allows you to upload code; you only need to know how to trigger out (hold VOL DOWN on the VX747).

edit: yes, I embedded the image in the code
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on August 06, 2008, 05:03:26 PM
I committed my NAND code in SVN which is almost fully based on the code Ingenic provides, so it _should_ work; but doesn't...

So perhaps with the help of some extra information (datasheet? ;)), this could be fixed..

Anyway, had any luck getting something more out of them? (@00christian00)
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on August 10, 2008, 05:52:05 PM
Now interrupts are working too, except for the fact the player crashes at about 10-30 seconds later...

This started when I enabled interrupt handling and won't go away, I'm not sure what causes this; perhaps an exception is triggered (which isn't displayed because of ??).

Touchscreen handling is also better now: pen up and pen down are identified now.

The reason why there are cli() and sti() (clear/set interrupts) calls added in the bootloaders is because when an interrupt is enabled _before_ lcd_init()->lcd_init_device()->lcd_init_controller()->_display_init() is called; the DAP crashes there (why? dunno).
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on September 05, 2008, 06:42:37 PM
Current status:

the 'crashing' problem have been identified as TLB Load/Store/Ifetch exceptions.
Also, TLB refill's have been requested by the MMU.

Current workaround: disable interrupts :/

Next blocker is the NAND: for some reason it just won't respond to any READ commands (I've tried several timing options, none worked).
The only NAND-related stuff that works is it's identification..

The Onda VX767 has been added as a target and will probably differ not much from the VX747.

I found the official datasheets, but currently the parts what I'm interested in are either missing or not helping (NAND & MMU/TLB)..

So my current options are rather limited; with the main one being RE.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on September 14, 2008, 05:01:09 PM
Good news :)

I think almost all previous bugs have been fixed and only 1 new one has been introduced ;)

What was the cause of the weird TLB/MMU/Exception/Interrupt bug?
In the interrupt/exception handler all CPU registers get stored on the stack and when leaving from an interrupt, they get restored from stack.
_But_ instead of loading the data of register $1 into $1, it got loaded into $v1 (stupid typo, I know).
This messed up quite some other unrelated code, because of course this meant $v1 could get changed at _any_ time (interrupts occur 'randomly').

Today I also got threading code to work - needs thorough testing though, but at least the Onda ran >2min non-stop with interrupts on (while before it would crash at about 15-20sec).

I also dumped some NAND data (http://www.mediafire.com/?zm3ibebpmwd) through USB to my PC to try locating the FAT partition, but didn't came far. As expected, the data at page 0 in block 0 contains executable code (this gets executed as second-stage bootloader), but RE it doesn't provide much info.

And last but not least: the new bug makes the backlight blink when doing button_read_device(); I haven't investigated why this occurs and it started doing so when I implemented thread handling and added yield() to the bootloader.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: here2code on September 26, 2008, 02:41:38 PM
Thanks Saratoga for the help on irc channel the other day.

Hi Maurus,

I am able to load the bootloader in SDRAM and run using your code and usbtools. Next step for me is to try to load the bootloader in NAND and run it from there. Have you tried doing that?

Have you tried running rockbox from SDRAM using usbtools?

thanks.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on September 26, 2008, 05:37:06 PM
Thanks Saratoga for the help on irc channel the other day.

Hi Maurus,

I am able to load the bootloader in SDRAM and run using your code and usbtools. Next step for me is to try to load the bootloader in NAND and run it from there. Have you tried doing that?

Have you tried running rockbox from SDRAM using usbtools?

thanks.
No, I haven't tried running the bootloader from NAND but AFAI checked, it should work (I made the SDRAM environment as close as possible to the NAND one).

And there's no point running Rockbox from SDRAM as no FAT partition can be mounted (yet), and as Rockbox will need to load some files it is rather pointless.

Currently what we need to find out is what NAND wearout scheme/NAND layout structure has been used by ChinaChip (I'm betting on either the one implemented in µCos II, as a lot of that source code has been used in the OF or the MTD ones in Linux)

==off topic==
BTW have you turned on nick name highlighting in mIRC? Because I've tried to speak to you thrice now and you don't seem to have responded (all text in #rockbox is logged).
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: LeJ on October 16, 2008, 10:21:21 AM
Hi mcuelenaere,

I have just read the talk between you and wpyh.
http://www.rockbox.org/irc/rockbox-20080910.txt
I got the same problem with VX767 lcd, the backlight turns on, and I get nothing displayed.
On my experience in linux lcd driver. I think that maybe:
      1. The LCD controller was not been configured properly.
      2. The LCM need power on sequence

I don't know if the LCM is I2C, if so we can saw the sequence in oscilloscope.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on October 16, 2008, 11:07:21 AM
Hi mcuelenaere,

I have just read the talk between you and wpyh.
http://www.rockbox.org/irc/rockbox-20080910.txt
I got the same problem with VX767 lcd, the backlight turns on, and I get nothing displayed.
On my experience in linux lcd driver. I think that maybe:
      1. The LCD controller was not been configured properly.
      2. The LCM need power on sequence

I don't know if the LCM is I2C, if so we can saw the sequence in oscilloscope.
My best guess is the LCD controller is uncorrectly initialized (the Rockbox version can be found here (http://svn.rockbox.org/viewvc.cgi/trunk/firmware/target/mips/ingenic_jz47xx/onda_vx767/lcd-ondavx767.c?view=markup)).

If you're into reverse engineering, you can compare the Rockbox version with the Original Firmware's version yourself, and if all went well they should be exactly the same...
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: LeJ on October 21, 2008, 04:52:39 AM
Hi mcuelenaere,

I write a tool to analyse the VX767_V1.0.dl, found that *.DL file may
the dynamic library. And also I disassembling the data segment. Then I
found the lcd init functions. The result is in the attachment. I wish
this would be helpful.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on October 21, 2008, 01:40:05 PM
Hi mcuelenaere,

I write a tool to analyse the VX767_V1.0.dl, found that *.DL file may
the dynamic library. And also I disassembling the data segment. Then I
found the lcd init functions. The result is in the attachment. I wish
this would be helpful.

Have you seen the Rockbox driver (http://svn.rockbox.org/viewvc.cgi/trunk/firmware/target/mips/ingenic_jz47xx/onda_vx767/lcd-ondavx767.c?view=markup) for the VX767 lcd?

As (I suppose) you have the device yourself, you could help by getting that code to work with what you reverse engineered.

I have done the same with IDA, except for the fact that I don't have the VX767 :)

And could you post that utility you wrote? Perhaps it could help others to port their devices..

If you have any other questions, just ask me.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: LeJ on October 22, 2008, 04:09:51 AM
Hi mcuelenaere,

Yes, I have one(VX767 V2), and I saw the lcd driver in rockbox, but where does this code come from ? I'll try to get lcd to work. But in asm code, I found some unknown OP code.

About utility, do you mean the dl file analyser ? If so, I'll do some comment in the code, latter I will post the code.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on October 22, 2008, 05:29:03 AM
Hi mcuelenaere,
Hi
Quote
Yes, I have one(VX767 V2), and I saw the lcd driver in rockbox, but where does this code come from ? I'll try to get lcd to work. But in asm code, I found some unknown OP code.
The code is 'mine', which was reverse engineered from the same file you're analysing (using IDA and some PHP helper scripts).
Quote
About utility, do you mean the dl file analyser ? If so, I'll do some comment in the code, latter I will post the code.
Yes, it could potentially help others to port their ChinaChip based devices to Rockbox.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: LeJ on October 22, 2008, 10:26:17 PM
Hi,
  The utility was posted, see the attachment.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: n3wb13 on November 05, 2008, 06:46:08 AM
Code: [Select]
http://www.rockbox.org/twiki/bin/viewfile/Main/ChinaChip?rev=1;filename=dlldr.zip
I have tried to compile this with Microsoft Visual Studio 2005 + IDA Pro Advanced 5.2 SDK but I got those errors ( posted image ). Can anybody help me please ? ???

Code: [Select]
http://img255.imageshack.us/my.php?image=errorla1.jpg
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on November 05, 2008, 08:14:03 AM
Code: [Select]
http://www.rockbox.org/twiki/bin/viewfile/Main/ChinaChip?rev=1;filename=dlldr.zip
I have tried to compile this with Microsoft Visual Studio 2005 + IDA Pro Advanced 5.2 SDK but I got those errors ( posted image ). Can anybody help me please ? ???

Code: [Select]
http://img255.imageshack.us/my.php?image=errorla1.jpg
You do know there's a binary version in the zip (dlldr.ldw) ?

If you do want to compile it, the only things you'll need to change are the AdditionalIncludeDirectories and AdditionalLibraryDirectories (and perhaps OutputFile too).

Besides that it should compile perfectly..

P.S.: it seems to me the errors you're facing is because an invalid/missing IDA SDK library
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: n3wb13 on November 09, 2008, 11:50:05 AM
You do know there's a binary version in the zip (dlldr.ldw) ?

If you do want to compile it, the only things you'll need to change are the AdditionalIncludeDirectories and AdditionalLibraryDirectories (and perhaps OutputFile too).

Besides that it should compile perfectly..

P.S.: it seems to me the errors you're facing is because an invalid/missing IDA SDK library

Ah oh, I didn't notice this. Thanks for your help.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: 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
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on December 04, 2008, 03:00:54 PM
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.

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
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...
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: 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 ?
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on December 19, 2008, 05:31:06 AM
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 ?

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.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: 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 ?

I just opened an account on the wiki but am still denied editing, when it's OK I'll add gpio config for vx747+.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on December 19, 2008, 08:25:38 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 ?
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+.

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 :)
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: oiseau on December 19, 2008, 09:08:13 AM
Good :)

I just updated the wiki, expliciting it works on VX747+.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: jaining on January 21, 2009, 09:53:52 AM
hello

am new the forum. am interested in help porting rockbox on vx747. i have hardware and knowledge on processors. i have player with me and able to upload bootloader.
has anyone able to upload rockbox yet? the stable release code base is not fully compile the code for Normal mode. on forum i found that someone was able to play audio, but garbage. where is that code base?

thanks

jaining
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on January 21, 2009, 09:58:23 AM
hello

am new the forum. am interested in help porting rockbox on vx747. i have hardware and knowledge on processors. i have player with me and able to upload bootloader.
has anyone able to upload rockbox yet? the stable release code base is not fully compile the code for Normal mode. on forum i found that someone was able to play audio, but garbage. where is that code base?

thanks

jaining

Hi,

the current focus is on USB and trying to get some storage to work (I still haven't committed the USB drivers, I'll certainly do it today).

I got audio out of the device several times, the first time it was 'recognizable' but after that it was just garbage and I haven't put any energy in it (as it's not a priority).

The codebase is in SVN and in my local tree (but not for long).

There's no point compiling Rockbox (non-bootloader) as there's no storage to put it on (except for the RAM-disk, but that's not really an option).
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: jaining on January 21, 2009, 10:32:56 AM

Hi,

the current focus is on USB and trying to get some storage to work (I still haven't committed the USB drivers, I'll certainly do it today).

I got audio out of the device several times, the first time it was 'recognizable' but after that it was just garbage and I haven't put any energy in it (as it's not a priority).

The codebase is in SVN and in my local tree (but not for long).

There's no point compiling Rockbox (non-bootloader) as there's no storage to put it on (except for the RAM-disk, but that's not really an option).

Thank you for quick reply. I hope to use the code after u comitt to the SVN.  please reply when u do.
For storage, i look at wiki page, shows that FLT not known yet. But that is needed only if we want to run both original FW of player as well as rockbox. what if we format the flash with known FS like FAT, and run only rockbox? please tell if i miss something here.

thanks
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on January 21, 2009, 10:38:30 AM
Thank you for quick reply. I hope to use the code after u comitt to the SVN.  please reply when u do.
For storage, i look at wiki page, shows that FLT not known yet. But that is needed only if we want to run both original FW of player as well as rockbox. what if we format the flash with known FS like FAT, and run only rockbox? please tell if i miss something here.

thanks
Yes, that's possible but how would you know which blocks are currently marked as a bad block?
If you would ignore that, you would get in trouble pretty quickly as on every NAND chip there are several bad blocks.

When a NAND chip is shipped, the manufacturer has marked these blocks in a way like they described in the datasheet; but as we currently don't know the FTL we also don't know which blocks are bad.

Also, there will always be a need to run the OF (especially in the beginning, when not all drivers are fully developed/working) so it would be better when we use the original FTL.

If you really want to get some storage working, I would say you should look after microSD.
I did a little bit of groundwork there, but got stuck at some point.

And just 'formatting' the NAND as FAT won't work either, there's really a *need* for a FTL (bad block management, Google for more information).
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: jaining on January 21, 2009, 10:41:14 AM
Thank you for quick reply. I hope to use the code after u comitt to the SVN.  please reply when u do.
For storage, i look at wiki page, shows that FLT not known yet. But that is needed only if we want to run both original FW of player as well as rockbox. what if we format the flash with known FS like FAT, and run only rockbox? please tell if i miss something here.

thanks
Yes, that's possible but how would you know which blocks are currently marked as a bad block?
If you would ignore that, you would get in trouble pretty quickly as on every NAND chip there are several bad blocks.

When a NAND chip is shipped, the manufacturer has marked these blocks in a way like they described in the datasheet; but as we currently don't know the FTL we also don't know which blocks are bad.

Also, there will always be a need to run the OF (especially in the beginning, when not all drivers are fully developed/working) so it would be better when we use the original FTL.

If you really want to get some storage working, I would say you should look after microSD.
I did a little bit of groundwork there, but got stuck at some point.

And just 'formatting' the NAND as FAT won't work either, there's really a *need* for a FTL (bad block management, Google for more information).

mcuelenaere,

thanks for replying. i will look up. pardon my ignorance on flash, i will study and see what i do about microSD.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on January 21, 2009, 07:13:43 PM
I committed a working USB driver (receiving data on the device is a bit flaky) and an AFAICS working NAND driver.

Now we're able to dump the NAND, but I'm not sure whether the NAND driver outputs the data in the correct order (I'll need to look further into this issue).

If you want to test the code, you'll need to edit the bootloader and you can use this patch (http://pastebin.com/m663c0c6d) for it (you'll also need to define USB_STORAGE in usb_core.h).
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: jaining on January 22, 2009, 07:51:11 AM
thanks i will check out this week
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: jaining on January 29, 2009, 09:19:40 AM
I committed a working USB driver (receiving data on the device is a bit flaky) and an AFAICS working NAND driver.


hi mcuelenaere, do u have app.lds file for vx747? it is missing from tree.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on January 29, 2009, 09:22:09 AM
hi mcuelenaere, do u have app.lds file for vx747? it is missing from tree.
No, I haven't added that yet because there's no point in adding support for the main Rockbox firmware due to the lack of (working) storage drivers..
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: jaining on January 29, 2009, 09:28:36 AM
hi mcuelenaere, do u have app.lds file for vx747? it is missing from tree.
No, I haven't added that yet because there's no point in adding support for the main Rockbox firmware due to the lack of (working) storage drivers..

but i read forum that u run firmware from sdram once? how possible u build without app.lds?
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on January 29, 2009, 11:21:28 AM
No, I haven't added that yet because there's no point in adding support for the main Rockbox firmware due to the lack of (working) storage drivers..

but i read forum that u run firmware from sdram once? how possible u build without app.lds?
Because it isn't needed to build a bootloader.
To build the bootloader, only boot.lds needs to be present (which is similar to app.lds).
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on February 03, 2009, 06:55:41 PM
To people interested in FTL analysis:

I copied a raw NAND dump over USB from my Onda VX747 8GB.
It contains all the non-spare pages (== non-OOB data).

Download link (http://www.mediafire.com/?sharekey=456c97544b88ddd591b20cc0d07ba4d2b25d2a2012bfc5e7)
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: slowmoe on February 13, 2009, 12:50:01 PM
hey folks,

i compiled the bootloader and the firmware for the onda vx747 to try it on my 777. when i uploaded it the rockbox logo shows up and it says "ATA error: 11". Does anyone know what that mean?
i copied the firmware to my 8gb microsd card but i don't know if sdhc is supported at the moment, maybe it's the reason for that error.
Here is an image:
http://img-upload.net/images/img-upload.net-da1c5df368fe4e8e17d011541898db7c-img_0250.jpg

thanks and best regards
slowmoe

PS: The power button don't seem to work so i have to wait till the battery runs out of power. :(
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on February 13, 2009, 12:55:57 PM
hey folks,

i compiled the bootloader and the firmware for the onda vx747 to try it on my 777. when i uploaded it the rockbox logo shows up and it says "ATA error: 11". Does anyone know what that mean?
i copied the firmware to my 8gb microsd card but i don't know if sdhc is supported at the moment, maybe it's the reason for that error.
Here is an image:
http://img-upload.net/images/img-upload.net-da1c5df368fe4e8e17d011541898db7c-img_0250.jpg

thanks and best regards
slowmoe

PS: The power button don't seem to work so i have to wait till the battery runs out of power. :(

Yes, that's probably something with the SD driver, have you tried the latest revision?

And there's a reset hole on the Onda, just use a small, sharp object (pen or similar) to reset your device.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: slowmoe on February 13, 2009, 01:05:28 PM
i tried revision 19998
thanks for the tip with reset hole

Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on February 16, 2009, 11:33:16 AM
did you get this error when compiling bootloader for vx747:

CC tools/mkboot
CONVBDF fonts/08-Schumacher-Clean.bdf
CC bootloader/common.c
/home/aizyctech/rockbox/rockboxcurrent/bootloader/common.c: In function ‘load_firmware’:
/home/aizyctech/rockbox/rockboxcurrent/bootloader/common.c:170: warning: suggest parentheses around arithmetic in operand of |
make: *** No rule to make target `rockboxlogo.h', needed by `/home/aizyctech/rockbox/rockboxcurrent/build/bootloader/ondavx747.o'.  Stop.

i tried all releases, but same problem.

jaining
Yes, I know this is a problem in the bootloader in SVN currently, if you want it to compile just remove the '#include "rockboxlogo.h"' line and all references to rockboxlogo.

Actually, you don't need the bootloader. You can just compile the main firmware and copy rockbox.bin as onda.bin and do 'usbtool 10' on it; this will give the same effect as running the bootloader with the firmware.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: jaining on February 16, 2009, 11:51:25 AM
thank you for your reply mcuelenaere

i tried compiling the main firmware also, but it also breaks. Here is the error
LD rockbox.elf
/home/rockbox/rockboxcurrent/build/apps/keymaps/keymap-touchscreen.o: In function `get_context_mapping':
(.text.get_context_mapping+0x28): undefined reference to `target_get_context_mapping'
/home/rockbox/rockboxcurrent/build/apps/keymaps/keymap-touchscreen.o: In function `get_context_mapping':
(.text.get_context_mapping+0x2c): undefined reference to `target_get_context_mapping'
collect2: ld returned 1 exit status
make: *** [/home/rockbox/rockboxcurrent/build/rockbox.elf] Error 1

maybe i am doing something wrong?

Title: Re: Ingenic Jz4740/Jz4732 players
Post by: slowmoe on February 16, 2009, 01:38:32 PM
@ jaining
I commented this line out:

    if ((context&CONTEXT_REMOTE) || (context&CONTEXT_CUSTOM2))
        return target_get_context_mapping(context&(~CONTEXT_CUSTOM2));

it's at the end of "keymap-touchscreen.o"
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on February 16, 2009, 04:25:48 PM
thank you for your reply mcuelenaere

i tried compiling the main firmware also, but it also breaks. Here is the error
LD rockbox.elf
/home/rockbox/rockboxcurrent/build/apps/keymaps/keymap-touchscreen.o: In function `get_context_mapping':
(.text.get_context_mapping+0x28): undefined reference to `target_get_context_mapping'
/home/rockbox/rockboxcurrent/build/apps/keymaps/keymap-touchscreen.o: In function `get_context_mapping':
(.text.get_context_mapping+0x2c): undefined reference to `target_get_context_mapping'
collect2: ld returned 1 exit status
make: *** [/home/rockbox/rockboxcurrent/build/rockbox.elf] Error 1

maybe i am doing something wrong?
No you're not :)

Another fault on my side, I forgot to commit a file..

Try compiling with the latest SVN revision (the bootloader 'bug' is still present though).

edit:
to 'fix' the bootloader 'bug', comment #include "rockboxlogo.h" and the body of show_logo().

edit2:
I got rid of the bootloader 'bug'
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: jaining on February 17, 2009, 08:11:38 AM
thanks mcuelenaere, it compile ok now. both bootloader and firmware. i get partition not found error on loading. but i think that is because of sd driver.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on February 17, 2009, 08:20:33 AM
thanks mcuelenaere, it compile ok now. both bootloader and firmware. i get partition not found error on loading. but i think that is because of sd driver.
Check if your partition is FAT32 and not FAT(16), Rockbox doesn't have support for FAT16 by default.

Also, you do have a .rockbox folder on it with files in them? (you can get them by doing 'make zip')
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: cluex on February 28, 2009, 09:22:49 AM
 :o
I'm so happy that my onda vx747 clone mp4 player which I have had for almost a year has got rockbox port. Though it's not completed n fully supported yet, but it really rocks. Thank to Rockbox n the developers especially to mcuelenaere.

BTW, I can't help with the programming, but I can inform that my Mp4 Player is "Simbadda Deo Vision 3.0" which is an onda vx747 clone. It works perfectly with custom VX747 BBE Audio firmware from mp4nation. This player is available in Indonesia. I don't know in the other countries. So I guess later when the port is fully supported, Simbadda's owner can try it as well.
The current firmware shipped with my simbadda player sucks. So I hope this rockbox port will be supported soon.

I also haven't tried to compile the SVN code since I don't know how. Any chance giving me the compiled version ??? ;D

Is this port suspended coz I don't see any further post in this forum? Any chance this port would be fully supported in the next Rockbox 3.2 ? Correct me if I'm wrong.

Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on February 28, 2009, 09:53:10 AM
:o
I'm so happy that my onda vx747 clone mp4 player which I have had for almost a year has got rockbox port. Though it's not completed n fully supported yet, but it really rocks. Thank to Rockbox n the developers especially to mcuelenaere.

BTW, I can't help with the programming, but I can inform that my Mp4 Player is "Simbadda Deo Vision 3.0" which is an onda vx747 clone. It works perfectly with custom VX747 BBE Audio firmware from mp4nation. This player is available in Indonesia. I don't know in the other countries. So I guess later when the port is fully supported, Simbadda's owner can try it as well.
The current firmware shipped with my simbadda player sucks. So I hope this rockbox port will be supported soon.

I also haven't tried to compile the SVN code since I don't know how. Any chance giving me the compiled version ??? ;D
See this link (http://www.mediafire.com/?3njtmzjjmlw).
Extract it to the root of a SD card and copy .rockbox/rockbox.bin as onda.bin (for usbtool, see OndaVX747 wiki for more info).

All Onda VX747-related devices/clones (and VX747+, VX777, VX757(?), perhaps more) should be supported with this build.

Other ChinaChip devices (like VX767, Ainol V2000SE, ...) shouldn't require much porting as the basis has already been done.
Quote
Is this port suspended coz I don't see any further post in this forum?
No, the forum thread just doesn't really reflect the port status of the Onda VX747.
Quote
Any chance this port would be fully supported in the next Rockbox 3.2 ? Correct me if I'm wrong.
Probably not.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on March 11, 2009, 07:58:33 PM
I cleaned this thread a bit to get rid of the non-development posts.

Basically what the posts boiled down to is this:

(to add the MIPSel compiler to your PATH in Ubuntu)
   
But how do I now link together?

Can you give me an example say?
Like saratoga said:
In Ubuntu you can add

Code: [Select]
PATH=$PATH:/path/to/your/compiler/
to your .bashrc file, or to one of your other startup scripts.
If you don't know how to edit the file, the easiest way to set the PATH is like this:
Code: [Select]
export PATH=$PATH:/usr/local/mipsel-elf/bin

(or to add it to .bashrc without a text editor:
Code: [Select]
echo 'export PATH=$PATH:/usr/local/mipsel-elf/bin' >> ~/.bashrc
)
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: no1be4me on March 12, 2009, 11:49:06 AM
:o
I'm so happy that my onda vx747 clone mp4 player which I have had for almost a year has got rockbox port. Though it's not completed n fully supported yet, but it really rocks. Thank to Rockbox n the developers especially to mcuelenaere.

BTW, I can't help with the programming, but I can inform that my Mp4 Player is "Simbadda Deo Vision 3.0" which is an onda vx747 clone. It works perfectly with custom VX747 BBE Audio firmware from mp4nation. This player is available in Indonesia. I don't know in the other countries. So I guess later when the port is fully supported, Simbadda's owner can try it as well.
The current firmware shipped with my simbadda player sucks. So I hope this rockbox port will be supported soon.

I also haven't tried to compile the SVN code since I don't know how. Any chance giving me the compiled version ??? ;D
See this link (http://www.mediafire.com/?3njtmzjjmlw).
Extract it to the root of a SD card and copy .rockbox/rockbox.bin as onda.bin (for usbtool, see OndaVX747 wiki for more info).

All Onda VX747-related devices/clones (and VX747+, VX777, VX757(?), perhaps more) should be supported with this build.

Other ChinaChip devices (like VX767, Ainol V2000SE, ...) shouldn't require much porting as the basis has already been done.
Quote
Is this port suspended coz I don't see any further post in this forum?
No, the forum thread just doesn't really reflect the port status of the Onda VX747.
Quote
Any chance this port would be fully supported in the next Rockbox 3.2 ? Correct me if I'm wrong.
Probably not.

I downloaded the link for the sd files. See this link (http://www.mediafire.com/?3njtmzjjmlw).  I extracted them to a fat16 sd card.
I found no onda.bin in the download. So I renamed bootloader2.bin to onda.bin
I complied usbtool now when I type sudo ./usbtool 10 the computer screen says success but the 747 does not load rockbox. What am I missing?

Also sorry to ask in this thread.I did not know where else to ask.
 Any way thanks for any advice in advance
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on March 12, 2009, 11:55:26 AM
I downloaded the link for the sd files. See this link (http://www.mediafire.com/?3njtmzjjmlw).  I extracted them to a fat16 sd card.
Rockbox isn't compiled with FAT16 support by default, so you'll need to either compile it yourself or reformat it to FAT32.

Quote
I found no onda.bin in the download. So I renamed bootloader2.bin to onda.bin
I complied usbtool now when I type sudo ./usbtool 10 the computer screen says success but the 747 does not load rockbox. What am I missing?

Also sorry to ask in this thread.I did not know where else to ask.
 Any way thanks for any advice in advance
I'm not sure where you got bootloader2.bin from, but if it's the Rockbox bootloader you'll need to hold down a button (not the volume up) to display debug information.

But I would rather advice you to rename rockbox.bin as onda.bin - as this will also work - and you don't need to have a bootloader if you use usbtool.

edit: oh and Onda VX747 is now in the build table, so you can get the most recent version here (http://build.rockbox.org/dist/build-ondavx747/rockbox.zip)
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: no1be4me on March 12, 2009, 12:01:26 PM
I downloaded the link for the sd files. See this link (http://www.mediafire.com/?3njtmzjjmlw).  I extracted them to a fat16 sd card.
Rockbox isn't compiled with FAT16 support by default, so you'll need to either compile it yourself or reformat it to FAT32.

Quote
I found no onda.bin in the download. So I renamed bootloader2.bin to onda.bin
I complied usbtool now when I type sudo ./usbtool 10 the computer screen says success but the 747 does not load rockbox. What am I missing?

Also sorry to ask in this thread.I did not know where else to ask.
 Any way thanks for any advice in advance
I'm not sure where you got bootloader2.bin from, but if it's the Rockbox bootloader you'll need to hold down a button (not the volume up) to display debug information.

But I would rather advice you to rename rockbox.bin as onda.bin - as this will also work - and you don't need to have a bootloader if you use usbtool.

edit: oh and Onda VX747 is now in the build table, so you can get the most recent version here (http://build.rockbox.org/dist/build-ondavx747/rockbox.zip)

wow that was fast. I was going to edit my post to say I used second_bootloader.bin as onda.bin
Ok I'll reformat card to fat32. Where do I find onda.bin Rockbox.bin is not in the download link you provided. And you mean hold down the m button while I do ./usbtool 10 ?
Thanks in advance again
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on March 12, 2009, 12:06:02 PM
wow that was fast. I was going to edit my post to say I used second_bootloader.bin as onda.bin
Ok I'll reformat card to fat32.
Can't recall any file named second_bootloader.bin

Quote
Where do I find onda.bin? Rockbox.bin is not in the download link you provided.
It's in the zip: /.rockbox/rockbox.bin

Quote
And you mean hold down the m button while I do ./usbtool 10 ?
Thanks in advance again
Yes, you'll need to hold down the the M button (or the - ) if you're trying to load the bootloader and would like to see the debug information (which is likely just going to say it can't find .rockbox/rockbox.bin on the microSD).

If you're going to upload 'normal' Rockbox this won't do anything, and Rockbox will power on the LCD anyway.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: no1be4me on March 12, 2009, 12:56:30 PM
wow that was fast. I was going to edit my post to say I used second_bootloader.bin as onda.bin
Ok I'll reformat card to fat32.
Can't recall any file named second_bootloader.bin

Quote
Where do I find onda.bin? Rockbox.bin is not in the download link you provided.
It's in the zip: /.rockbox/rockbox.bin

Quote
And you mean hold down the m button while I do ./usbtool 10 ?
Thanks in advance again
Yes, you'll need to hold down the the M button (or the - ) if you're trying to load the bootloader and would like to see the debug information (which is likely just going to say it can't find .rockbox/rockbox.bin on the microSD).

If you're going to upload 'normal' Rockbox this won't do anything, and Rockbox will power on the LCD anyway.

All right sorry to have bothered you. I downloaded that zip file 3 times there is no rockbock.bin I saw a rockbox747 file.
I was able to load the qutopia linux thing. I thought this would be easy.
The instructions are a little to vague. Not everyone has compiling experience In your instructions you say Download usbtool from SVN and read the README. Well you also have to download some other files from there and you do not mention that. Can you check your zip file and make sure you did not leave out the rockbox.bin see attached picture. Screen shot of the zip file opened. Please have a look!
http://www.mediafire.com/imgbnc.php/9eddaf23799be5126eabfa8730c74a705g.jpg
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on March 12, 2009, 01:03:32 PM
All right sorry to have bothered you. I downloaded that zip file 3 times there is no rockbock.bin I saw a rockbox747 file.
I was able to load the qutopia linux thing. I thought this would be easy.
The instructions are a little to vague. Not everyone has compiling experience In your instructions you say Download usbtool from SVN and read the README. Well you also have to download some other files from there and you do not mention that. Can you check your zip file and make sure you did not leave out the rockbox.bin see attached picture. Screen shot of the zip file opened. Please have a look!
http://www.mediafire.com/imgbnc.php/9eddaf23799be5126eabfa8730c74a705g.jpg
Oh, sorry; I meant rockbox.vx747 instead of rockbox.bin  :-[
You'll need the bootloader, as rockbox.bin doesn't come with rockbox.zip

I know the instructions aren't that good, I'll need to rewrite it a bit but the whole 'upload firmware to the device' process isn't finished actually (just as this port).

I'm currently more focused on getting Rockbox to work on the device than getting other users be able to replicate my case..
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: slowmoe on March 27, 2009, 03:21:15 PM
I had some success on my Onda 777.
I returned the retval in the "mmc_select_card()" function earlier to see where the error (ATA Error: 11) occurred and then suddenly Rockbox boots up fine.

if (sd2_0)
    {
        retval = mmc_read_switch(&request);
        if (!retval)
        {
            mmc_switch_hs(&request);
            jz_mmc_set_clock(1, SD_CLOCK_HIGH);
        }
        return retval;    //  <--
    }

It's in the "ata-sd-jz4740.c" file.
After booting Rockbox the touchscreen doesn't work. With an older revision it worked but only 1 out of 10 times.
Do I have to press a button to activate it?
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on March 28, 2009, 07:55:19 PM
I had some success on my Onda 777.
I returned the retval in the "mmc_select_card()" function earlier to see where the error (ATA Error: 11) occurred and then suddenly Rockbox boots up fine.

if (sd2_0)
    {
        retval = mmc_read_switch(&request);
        if (!retval)
        {
            mmc_switch_hs(&request);
            jz_mmc_set_clock(1, SD_CLOCK_HIGH);
        }
        return retval;    //  <--
    }

It's in the "ata-sd-jz4740.c" file.
After booting Rockbox the touchscreen doesn't work. With an older revision it worked but only 1 out of 10 times.
Do I have to press a button to activate it?
Are you sure you aren't just in the 3x3 grid mode? (vs absolute point mode?)

And no, there's no need to press a button to activate it.. Perhaps this is a calibration problem?

I'll look into it (and ata-sd-jz4740.c) later.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: slowmoe on March 29, 2009, 09:51:11 AM
How can I find out if I'am in absolute point mode?
The times it works its in 3x3 grid mode.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: Chronon on April 07, 2009, 08:13:43 PM
Some people seem to have gotten Linux booting on these players: http://code.google.com/p/jz-hacking/wiki/Index?tm=6
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on April 08, 2009, 05:47:34 AM
How can I find out if I'am in absolute point mode?
The times it works its in 3x3 grid mode.
Look at Setting->General Settings->System->Touchscreen Mode
Some people seem to have gotten Linux booting on these players: http://code.google.com/p/jz-hacking/wiki/Index?tm=6
I know of it, this (http://vm-kernel.org/blog/) is Yajin's blog (containing how-to's).

(btw plugins are working now)
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on April 22, 2009, 10:24:17 AM
Regarding the touchscreen issue: this should be fixed in current SVN now (USB fix isn't still in yet).

Audio also remains a problem..
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: cluex on May 16, 2009, 10:15:40 AM
To mcuelenaere

I've read your post in mp4 nation forum about installing rockbox to onda vx747. My player is SImbadda which is Onda vx747 clone. I use linux Slackware to upload it to my player, but I got error code on the player's screen :

ATA error = -1

What was wrong? ???

I've tried it using Windows XP Service Pack 2, and the player's screen was just blank without any output. The usbtool produced error too.

What was wrong? ???

Thanks in advance.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on May 16, 2009, 10:17:09 AM
To mcuelenaere

I've read your post in mp4 nation forum about installing rockbox to onda vx747. My player is SImbadda which is Onda vx747 clone. I use linux Slackware to upload it to my player, but I got error code on the player's screen :

ATA error = -1

What was wrong? ???

I've tried it using Windows XP Service Pack 2, and the player's screen was just blank without any output. The usbtool produced error too.

What was wrong? ???

Thanks in advance.
What SD card do you have? (an SDHC one?)
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: cluex on May 16, 2009, 10:34:38 AM
It's 8 gb, and that's right SDHC

So it has something to do with the SDHC card? ???

Thanks
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: ocean on June 19, 2009, 11:43:10 AM
i've just bought a 747+ (if it is of use is DXT VX747+ fw version 1.0) clone that is for sure chinachip/jz47**, though there isn't a firmware backup in the cd included with player, wanted to experiment with rockbox/firmware upgrading, but i don't want to break it so i would like to know if there's a way to backup firmware (have done some search but haven't found anything so far only how to write firmware with 747write tool but not how to backup if it is possible at all).

regards
ocean
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on June 19, 2009, 12:09:34 PM
i've just bought a 747+ (if it is of use is DXT VX747+ fw version 1.0) clone that is for sure chinachip/jz47**, though there isn't a firmware backup in the cd included with player, wanted to experiment with rockbox/firmware upgrading, but i don't want to break it so i would like to know if there's a way to backup firmware (have done some search but haven't found anything so far only how to write firmware with 747write tool but not how to backup if it is possible at all).

regards
ocean
The VX747, VX747+ and VX777 firmwares are interchangeable (they're mostly the same hardware); so if you would brick your device it is still reparaible through the OF (Original Firmware) recovery software.

Also, currently Rockbox doesn't require you (and it isn't possible either) to flash it to your device, it is purely run from RAM and gets it data from an SD card.

edit:
To all people who are having trouble with SD(HC) cards: I finally got myself an 8GB SDHC card which triggers the ATA -1 or ATA 18 behaviour; expect a fix soon.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: ocean on June 19, 2009, 12:39:43 PM
The VX747, VX747+ and VX777 firmwares are interchangeable (they're mostly the same hardware); so if you would brick your device it is still reparaible through the OF (Original Firmware) recovery software.

Also, currently Rockbox doesn't require you (and it isn't possible either) to flash it to your device, it is purely run from RAM and gets it data from an SD card.

i already read about 747write (that's the OF recovery software linked in the wiki) but it needs the original firmware (or am i wrong?), i don't have access to the original firmware (that clone produced by DXT don't include it in the cd), so it would be nice if there's a way to access (rebuild?) the original hxf (to avoid losing possible customization to the firmware done from the clone factory), maybe usb/jz4740 tools can be used somehow?
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on June 19, 2009, 12:43:27 PM
i already read about 747write but it needs the original firmware (or am i wrong?), i don't have access to the original firmware (that clone produced by DXT don't include it in the cd), so it would be nice if there's a way to access (rebuild?) the original hxf (to avoid losing possible customization to the firmware done from the clone factory), maybe usb/jz4740 tools can be used somehow?

Hmm yes, well you can't access the OF as the NAND FTL isn't figured out.. And the OF HXF is stored somewhere before/after the FAT partition on the NAND..
There is access to raw NAND though, but unless you have access to what FTL Chinachip used I don't think it's of any good to you..

But like I said, currently Rockbox doesn't require any changes to the NAND (in fact, NAND write access is disabled in the Rockbox driver) and it's purely run from RAM over USB (+ SD for storage).

(edit by funman : replace FLT by FTL -Flash Translation Layer-)
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: ocean on June 19, 2009, 01:12:41 PM
i'll try running latest rockbox build on ram.

btw, since it's stored on the nand, couldn't it be possible to read "behind the fat partition" with a raw read, for example from linux /dev/ (i don't know why but my linux 2.6.30 doesn't recognize the fat partition, while recognizes the sd card partition, windows recognizes the fat partition so maybe "the answer" is in the windows driver?).

thanks for being so patient replying to my questions.

regards
ocean
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on June 19, 2009, 01:35:26 PM
i'll try running latest rockbox build on ram.

btw, since it's stored on the nand, couldn't it be possible to read "behind the fat partition" with a raw read, for example from linux /dev/ (i don't know why but my linux 2.6.30 doesn't recognize the fat partition, while recognizes the sd card partition, windows recognizes the fat partition so maybe "the answer" is in the windows driver?).

thanks for being so patient replying to my questions.

regards
ocean

No, this has nothing to do with the host side when accessing it over USB in the OF, NFTL stands for NAND Flash Translation Layer; it consists of some special algorithms in order to reduce page wearout and other NAND peculiarities.

This is implemented in the OF as a layer on top of the raw NAND, so it is completely transparant to the 'outside' world. But as we're not on the outside, but on the inside we need to understand how this mapping works in order to access the FAT partition.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: Gametot on July 14, 2009, 11:06:07 AM
Hello mcuelenaere

've A question on which player is best on rockbox.
At a Onda VX747 or VX777?

And yet what did you experience with the clones of the pasen pasen itouch LE 4GB running since rockbox is the same hardware.

I Thank you
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on July 14, 2009, 11:09:20 AM
Hello mcuelenaere

've A question on which player is best on rockbox.
At a Onda VX747 or VX777?

And yet what did you experience with the clones of the pasen pasen itouch LE 4GB running since rockbox is the same hardware.

I Thank you
I suppose currently a VX747, as this one has some physical buttons and not all of Rockbox has been adjusted to work with a touchscreen.

I only have a VX747, so I can't comment on how good Rockbox works with any clones; but I think it shouldn't give any problems..
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on July 17, 2009, 10:59:46 AM
Good news! :)

It's now possible to permanently 'stick' Rockbox on your device!

Just follow the instructions at the wiki (http://www.rockbox.org/wiki/OndaVX747#How_to_upload_the_Rockbox_bootlo) page and upgrade the OF firmware like you'd do with a normal firmware upgrade.

Make sure you put either ccpmp.bin (the OF) or a Rockbox installation on your SD card or you'll need to re-install your DAP.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: Gametot on July 18, 2009, 03:17:34 PM
Hello mcuelenaere

   
I've a question.
If rockbox for the vx747 + also supports the camera?

i thank you

Gametot
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on July 19, 2009, 04:16:28 AM
I've a question.
If rockbox for the vx747 + also supports the camera?
No, currently there's no camera driver in Rockbox for the VX747+ (nor is there for any other target, like the M:Robe 500).
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: Gametot on July 22, 2009, 11:16:14 AM
Good news! :)

It's now possible to permanently 'stick' Rockbox on your device!

Just follow the instructions at the wiki (http://www.rockbox.org/wiki/OndaVX747#How_to_upload_the_Rockbox_bootlo) page and upgrade the OF firmware like you'd do with a normal firmware upgrade.

Make sure you put either ccpmp.bin (the OF) or a Rockbox installation on your SD card or you'll need to re-install your DAP.

is also the boot loader with a vx747 +
Because the player is indeed a different firmware than the vx747
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on July 22, 2009, 02:28:21 PM
is also the boot loader with a vx747 +
Because the player is indeed a different firmware than the vx747
No, currently the VX747+ firmware is identical to the VX747 one.
The only difference is for the VX777 build, and I would appreciate it if anyone could give me feedback about installing the bootloader on such a device.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: slowmoe on July 28, 2009, 11:48:30 AM
i get an error when i try to replace the ccpmp.bin.

[INFO] Searching for ccpmp.bin...
[ERR]   Cannot read from vx777.hxf
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: no1be4me on July 29, 2009, 09:43:07 AM
i get an error when i try to replace the ccpmp.bin.

[INFO] Searching for ccpmp.bin...
[ERR]   Cannot read from vx777.hxf

I had a similar issue. The command seems to be case sensitive. Rename the file using caps on. (VX777.HXF).
Hopes this helps. I never could get it to work with the 777 firmware. Worked great with the 747 firmware hmm go figure
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: Gametot on July 29, 2009, 05:38:36 PM
Hello mcuelenaere

I'm not, I hope you can help me.
I have rockbox for the VX747 + Compiling.
Have it on the microSD card copied.
But what should I do the manual leads me nowhere.
I got the firmware 1.0 from vx747p downloaded.
And what should I do now?

Thanks
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: no1be4me on July 29, 2009, 07:10:37 PM
How to upload the Rockbox bootloader to NAND

Compile the bootloader
Download the Original Firmware (OF) package (called VX747.HXF or SG301.HXF; vx777.HXF for the VX777)
Compile HXFreplace in utils/jz4740_utils/ (read the README)
Run ../utils/jz4740_utils/HXFreplace VX747.HXF output.HXF ccpmp.bin in the dir where you compiled your bootloader
Put output.HXF in the root of the NAND drive (boot into the OF as Rockbox currently can't access the NAND storage) and name it SG301.HXF (or VX747.HXF on some targets)
Reset your player while holding VOL DOWN (on the VX777 you don't need to hold any buttons)
If you want to have dual-boot capabilities:

Run HXFsplit VX747.HXF output/ and copy output/ccpmp.bin to the root of your SD card
(The bootloader will boot into the OF (loaded from ccpmp.bin from the SD card) when you switch the HOLD switch on, it will boot into an USB mode when pressing VOL UP and if nothing is pressed it will boot Rockbox from the SD)
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: Gametot on July 30, 2009, 05:59:18 PM
   
   
If I HXFreplace compile the following error message

Quote
daniel@linux:~/jz_xloader/jz4740$ make
mipsel-linux-gcc -D__ASSEMBLY__ -O2 -G 0 -mno-abicalls -fno-pic -mips32 -I../include -I../boards/onda_vx747 -c start.S -o start.o
make: mipsel-linux-gcc: Kommando nicht gefunden
make: *** [start.o] Fehler 127
daniel@linux:~/jz_xloader/jz4740$
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: no1be4me on July 31, 2009, 09:01:45 AM
@Gametot here is HXFreplace compiled. http://www.mediafire.com/download.php?hbza2njkkm2

@mcuelenaere
A patch for RockboxUtility support is on the patch tracker atm.

How would one use the above mentioned patch?
It's a diff file. Do I recompile the utility? Sorry that I'm confused
Thanks in advance for your response  ;)
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: Gametot on July 31, 2009, 05:38:46 PM
@Gametot here is HXFreplace compiled. http://www.mediafire.com/download.php?hbza2njkkm2

@mcuelenaere
A patch for RockboxUtility support is on the patch tracker atm.

How would one use the above mentioned patch?
It's a diff file. Do I recompile the utility? Sorry that I'm confused
Thanks in advance for your response  ;)

Thanks

It runs but, unfortunately, I have these weird graphics bugs. I can see nothing but music he plays.
I can now make no photo

an example I can see the main menu 5 times in a row.

i have onda vx747+
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: no1be4me on July 31, 2009, 10:38:20 PM
@Gametot here is HXFreplace compiled. http://www.mediafire.com/download.php?hbza2njkkm2

@mcuelenaere
A patch for RockboxUtility support is on the patch tracker atm.

How would one use the above mentioned patch?
It's a diff file. Do I recompile the utility? Sorry that I'm confused
Thanks in advance for your response  ;)

Thanks

It runs but, unfortunately, I have these weird graphics bugs. I can see nothing but music he plays.
I can now make no photo

an example I can see the main menu 5 times in a row.

i have onda vx747+

When compiling you chose number 122 for the vx747+ correct?
If you did, I would then assume the plus model uses a different lcd screen (cheaper version) I use Ubuntu to do my Compiling.
I followed the instructions posted here http://www.rockbox.org/twiki/bin/view/Main/SimpleGuideToCompiling
Hope this helps.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: Gametot on August 01, 2009, 03:45:04 AM
@Gametot here is HXFreplace compiled. http://www.mediafire.com/download.php?hbza2njkkm2

@mcuelenaere
A patch for RockboxUtility support is on the patch tracker atm.

How would one use the above mentioned patch?
It's a diff file. Do I recompile the utility? Sorry that I'm confused
Thanks in advance for your response  ;)

Thanks

It runs but, unfortunately, I have these weird graphics bugs. I can see nothing but music he plays.
I can now make no photo

an example I can see the main menu 5 times in a row.

i have onda vx747+

When compiling you chose number 122 for the vx747+ correct?
If you did, I would then assume the plus model uses a different lcd screen (cheaper version) I use Ubuntu to do my Compiling.
I followed the instructions posted here http://www.rockbox.org/twiki/bin/view/Main/SimpleGuideToCompiling
Hope this helps.

Yes I have done everything as stated in the manual described.


The Boodloaderscreen is displaying correctly but then when I insert the SDKarte rockbox and invite these errors. So it may be also involved in the subject Compiling version.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on August 01, 2009, 06:18:37 AM
...
I never could get it to work with the 777 firmware. Worked great with the 747 firmware hmm go figure
Could you give me a link for this particular firmware?

How to upload the Rockbox bootloader to NAND

...
There's no need to literally copy what's described in the wiki ;)

A patch for RockboxUtility support is on the patch tracker atm.

How would one use the above mentioned patch?
It's a diff file. Do I recompile the utility? Sorry that I'm confused
Thanks in advance for your response  ;)
You'll need to apply the patch to an SVN checkout and then recompile RockboxUtility, see RockboxUtilityDevelopment (http://www.rockbox.org/wiki/RockboxUtilityDevelopment) for more info about compiling RBUtility.

I'm planning to commit this though.

Yes I have done everything as stated in the manual described.

The Bootloaderscreen is displaying correctly but then when I insert the SDKarte rockbox and invite these errors. So it may be also involved in the subject Compiling version.
Could you take a picture of how it looks like?
Did you compile this build yourself? And did you got Rockbox working before?


edit:
In other news, I got software volume control (partly) working; so expect a commit for that soon ;)
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: Gametot on August 01, 2009, 09:09:22 AM
Quote
Could you take a picture of how it looks like?
Did you compile this build yourself? And did you got Rockbox working before?

So I already have experience in compiling.

Here's a video and screenshots.

Video

http://www.youtube.com/watch?v=6SEhGa2D-dk


Screenshots

(http://img197.imageshack.us/img197/8894/ondavx747.th.jpg) (http://img197.imageshack.us/i/ondavx747.jpg/)

(http://img13.imageshack.us/img13/1624/ondavx7472.th.jpg) (http://img13.imageshack.us/i/ondavx7472.jpg/)


Thanks for you help


Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on August 01, 2009, 09:30:26 AM
So I already have experience in compiling.

Here's a video and screenshots.

Video
http://www.youtube.com/watch?v=6SEhGa2D-dk

Screenshots
(http://img197.imageshack.us/img197/8894/ondavx747.th.jpg) (http://img197.imageshack.us/i/ondavx747.jpg/)
(http://img13.imageshack.us/img13/1624/ondavx7472.th.jpg) (http://img13.imageshack.us/i/ondavx7472.jpg/)

Thanks for you help

It looks like the LCD is inited for landscape mode instead of portrait mode.
Are you compiling from a clean SVN checkout? (there is an option to compile in landscape mode)

If so, try adding #define USB_BOOT to autoconf.h and recompile.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: Gametot on August 01, 2009, 09:53:58 AM
Quote
It looks like the LCD is inited for landscape mode instead of portrait mode.
Are you compiling from a clean SVN checkout? (there is an option to compile in landscape mode)

If so, try adding #define USB_BOOT to autoconf.h and recompile.

   
Thanks it works now


   
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on August 01, 2009, 05:42:17 PM
Today was a busy bug hunting day :) :
 * fixed Doom
 * fixed the bug that made Rockbox crash on some music files with ID3V1 genre tags
 * added software volume control (now you can finally lower the volume :))
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: no1be4me on August 01, 2009, 06:46:53 PM
@ mcuelenaere
 ftp://ftp.onda.cn/download/driver/oamp3/vx777/
I tried version 1.0

Title: Re: Ingenic Jz4740/Jz4732 players
Post by: Gametot on August 09, 2009, 04:31:54 PM
Could it be the lcd driver Bugy something is?
At my Onda VX747 + is sometimes simply the display is dark when it is tapped.
Only after a few seconds, it lights up briefly and then go back to normal.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: cluex on August 10, 2009, 09:42:30 AM
to gametot

This screen blank problem also happened to my Onda VX747, I guess it comes from the LCD driver in rockbox. Try to adjust the brightness to 15 not 16. This method solve it. Hope it helps.  ;)
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on August 10, 2009, 10:35:19 AM
Could it be the lcd driver Bugy something is?
At my Onda VX747 + is sometimes simply the display is dark when it is tapped.
Only after a few seconds, it lights up briefly and then go back to normal.
to gametot

This screen blank problem also happened to my Onda VX747, I guess it comes from the LCD driver in rockbox. Try to adjust the brightness to 15 not 16. This method solve it. Hope it helps.  ;)

First, this isn't the LCD driver but the backlight driver ;)

Gametot: at what brightness levels do you experience this?
It sounds like the backlight driver starts the fading process, but the backlight doesn't have the correct values set.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: Gametot on August 10, 2009, 11:11:21 AM
I have the value set at 15 now the problem is now no more.

   
Are you still working on the keymaps?
In the control Pacbox is wrong    and by Doom and at the screen when I turn at 90, the control also twisted what can you do?.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on August 10, 2009, 11:56:20 AM
I have the value set at 15 now the problem is now no more.

Are you still working on the keymaps?
In the control Pacbox is wrong and by Doom and at the screen when I turn at 90, the control also twisted what can you do?.
You can remap the keys in Doom itself, haven't looked at Pacbox yet.

If you want to look yourself, the keymap is in apps/plugins/pacbox/pacbox.h
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: tspoon on August 16, 2009, 01:30:34 AM
Hi, I have been running Rockbox on my 747 for several days and have a question. How do you perform a 'stop' to stop playback from the wps? I can't seem to find that control, it's useful for bookmarking when leaving one playlist to play another.  Thanks for all the work to those involved so far.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: cluex on August 17, 2009, 01:44:54 AM
While in WPS screen, touch the top right screen, it will stop playback.

Hope it helps. ;D
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: tspoon on August 17, 2009, 05:13:56 AM
Hmm on my unit it goes to 'pause' not 'stop'. It won't bookmark on pause...

I also tried to define a 'stop' area on the screen from the wps, but I'm not sure of the syntax, are the x & y coordinates counted from the top or the bottom of the screen?

my wps code : %T|100|75|40|50|stop|
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: cluex on August 17, 2009, 05:32:59 AM
Ooops, I only know pausing playback. Sorry for it.

Could anyone post link to latest Rockbox Onda VX747 build? I can't compile it.

The previous SVN link is no longer available.. Thank u in advance.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on August 17, 2009, 09:00:30 AM
Hmm on my unit it goes to 'pause' not 'stop'. It won't bookmark on pause...

I also tried to define a 'stop' area on the screen from the wps, but I'm not sure of the syntax, are the x & y coordinates counted from the top or the bottom of the screen?

my wps code : %T|100|75|40|50|stop|
X- and Y- coordinates are counted from the top-left of the current viewport.

Try %T|206|372|24|24|&stop| instead, this makes the button behave as a pause button when pressing it shortly, but it acts as a stop button when press-and-hold'ing it (this will go into SVN later).

edit:
Also, I ported the Pen&Paper WPS for the Onda, if anyone's interested I could add an entry in the theme server for the Onda's.

Ooops, I only know pausing playback. Sorry for it.

Could anyone post link to latest Rockbox Onda VX747 build? I can't compile it.

The previous SVN link is no longer available.. Thank u in advance.
http://build.rockbox.org/data/rockbox-ondavx747.zip is always the latest build (or use Rockbox Utility to download it).
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: sinless on August 17, 2009, 01:53:10 PM
Hmm...I have a onda vx777...as i know it only has two buttom(one and another inside the device,less than 747)..Can Rockbox run correctly on 777?
And how can i make it dual-boot(777 doesn't have a hold switch)?
Thanks....
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: Gametot on August 17, 2009, 02:21:32 PM
Quote
edit:
Also, I ported the Pen&Paper WPS for the Onda, if anyone's interested I could add an entry in the theme server for the Onda's.

yes i have Interested
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on August 17, 2009, 03:48:19 PM
Hmm...I have a onda vx777...as i know it only has two buttom(one and another inside the device,less than 747)..Can Rockbox run correctly on 777?
And how can i make it dual-boot(777 doesn't have a hold switch)?
Thanks....
Sure, I have had reports of users running Rockbox on the VX777 with no problems.

I didn't know it doesn't have a hold switch, what buttons does it have then?

I'll make you a build which'll show the GPIO values, that way I can figure out how the buttons are mapped.

Quote
edit:
Also, I ported the Pen&Paper WPS for the Onda, if anyone's interested I could add an entry in the theme server for the Onda's.

yes i am interested
I'll post it later this evening.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: tspoon on August 17, 2009, 04:23:18 PM

Try %T|206|372|24|24|&stop| instead

edit:
Also, I ported the Pen&Paper WPS for the Onda, if anyone's interested I could add an entry in the theme server for the Onda's.

http://build.rockbox.org/data/rockbox-ondavx747.zip

Thanks, I'd be interested in the theme too...

Actually just one further question, on the wps page it gives a code for volume, but the description  does not say how raising or lowering the volume is accomplished, it only says :

 volume - sets the appropriate volume based on the touch

Can anybody tell how this works to raise or lower the volume. I'm guessing that maybe it raises if you hold your finger on and move left to right, and lowers for a right to left movement...
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on August 17, 2009, 04:39:48 PM
Actually just one further question, on the wps page it gives a code for volume, but the description  does not say how raising or lowering the volume is accomplished, it only says :

 volume - sets the appropriate volume based on the touch

Can anybody tell how this works to raise or lower the volume. I'm guessing that maybe it raises if you hold your finger on and move left to right, and lowers for a right to left movement...
It's based on the width and height of that touch screen area, if the width is bigger than the height it's landscape oriented, otherwise portrait.

When landscape oriented, the area acts as a vertical scrollbar (in portrait as a horizontal) to set the volume (which isn't ideal, perhaps an argument should get added to manually force portrait or landscape orientation).

Try downloading/compiling the simulator and play with that (or just run a build on your device!), you'll figure it out eventually :)
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on August 18, 2009, 02:02:50 PM
sinless:

Could you download this file (http://www.mediafire.com/?odzj4wg1jxy) and upload it to your player with usbtool 10 bootloader.bin (see the wiki (http://www.rockbox.org/twiki/bin/view/Main/OndaVX747#How_to_upload_Rockbox_to_SDRAM) for more info about usbtool)?

You'll need to open up your device and look for an internal button, that's the 'magic' button (see this (http://www.mp4nation.net/forum/viewtopic.php?p=108542#p108542) for more details).

The file contains a modified Rockbox bootloader showing the touchscreens coordinates and the GPIO 0-3 raw values.

Could you tell me what value changes when you press a button, and that for each button there is on your device? (including power-off and hold if available)
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: slowmoe on August 19, 2009, 06:19:06 AM
sinless:

Could you download this file (http://www.mediafire.com/?odzj4wg1jxy) and upload it to your player with usbtool 10 bootloader.bin (see the wiki (http://www.rockbox.org/twiki/bin/view/Main/OndaVX747#How_to_upload_Rockbox_to_SDRAM) for more info about usbtool)?

You'll need to open up your device and look for an internal button, that's the 'magic' button (see this (http://www.mp4nation.net/forum/viewtopic.php?p=108542#p108542) for more details).

The file contains a modified Rockbox bootloader showing the touchscreens coordinates and the GPIO 0-3 raw values.

Could you tell me what value changes when you press a button, and that for each button there is on your device? (including power-off and hold if available)

On my 777 there are these 4 values:
B0010300  FEFC1866  77F30000  FFFFFFFF

Pressing the power button changes the last Value to DFFFFFFF. The hidden button changes the Value to FFFFFFFD. When I put my sd card in it the second Value changes to DEFC1866.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: sinless on August 19, 2009, 09:31:11 AM
mcuelenaere:
sorry for my poor english and computer skills...
I am really a Rockbox fans...I used to have many players can run RB..But two months ago a thief broken into my house and took all of them(a ipod video 30g,ipod nano 1st gen 1g,ipod mini 2nd gen 8GB CF mod and a ipod color- -||...)After that,I bought four players,ipod classic 80G,ipod nano 4gen 8G,ipod nano 2gen,and a VX777.
Now..only VX777 can run RB,but i don't know anything about linux and .c I don't know how to port RB to VX777...
oh ...please tell me how to make VX777 dual boot...thanks
And ..I can't download things from mediafire...because of my ISP...
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: tspoon on August 20, 2009, 03:56:01 AM
I am noticing on my VX747 that the WPS touchscreen codes do not seem to work. This is on the Cabbie theme and on my own wps. Any touchscreen action defined in the wps file do nothing, while the default touchscreen behaviour seems to continue, even on the default wps.
 The build I am using is 20th August 09.

I'm not sure if this is the correct place to mention this as the problem may not be specific to the Onda units


 p.s. if you test a %Tl tag within a viewport, does it only return true if the press is within the viewport?
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on August 20, 2009, 12:14:50 PM
I am noticing on my VX747 that the WPS touchscreen codes do not seem to work. This is on the Cabbie theme and on my own wps. Any touchscreen action defined in the wps file do nothing, while the default touchscreen behaviour seems to continue, even on the default wps.
 The build I am using is 20th August 09.

I'm not sure if this is the correct place to mention this as the problem may not be specific to the Onda units
You are sure that you're not in grid mode? What revision are you using? Could you try the newest one?

Quote
p.s. if you test a %Tl tag within a viewport, does it only return true if the press is within the viewport?
I don't know, try asking in the WPS subforum.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: tspoon on August 20, 2009, 03:11:48 PM

Ah i did not realise the difference between the two modes, sorry for these questions i will take them to the wps forum. thanks again
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: sinless on August 25, 2009, 09:58:42 PM
When i open the usbtool.it recognized my vx777,but it can't install the bootloader[error sending control message]...
I wonder somebody can help me to solve this problem..Thanks:)
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: tspoon on August 28, 2009, 05:39:48 PM
Hi there, one further thing I've noticed, I'm not sure if the problem is only with this model (VX747). When you connect the player using the USB cable, it shows in windows explorer as a removable drive, but only if the player was already switched on. If you plug it in while off, the player turns on and shows the USB screen, but does not show in windows. Unplugging and replugging it is enough to make it then show.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: sinless on August 28, 2009, 10:23:57 PM
..I also have a question....Rockbox need to use the buttom inside vx777(as a menu buttom?)...It means that we only can use RB after the vx777 takes apart?
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on September 01, 2009, 03:37:40 AM
Hi there, one further thing I've noticed, I'm not sure if the problem is only with this model (VX747). When you connect the player using the USB cable, it shows in windows explorer as a removable drive, but only if the player was already switched on. If you plug it in while off, the player turns on and shows the USB screen, but does not show in windows. Unplugging and replugging it is enough to make it then show.
Hmm, I don't have that behaviour in Linux; perhaps I should try Windows too. What revision is this?

..I also have a question....Rockbox need to use the buttom inside vx777(as a menu buttom?)...It means that we only can use RB after the vx777 takes apart?
No, it doesn't need it (unless you want to use USB boot).
If you flash Rockbox (+ dual boot) to your device, you should never even have to open up your device (there's a bug atm though which won't let you access the boot menu on the VX777 that I'm going to address soon).
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: tspoon on September 02, 2009, 04:16:07 AM
Hmm, I don't have that behaviour in Linux; perhaps I should try Windows too. What revision is this?

My windows version is XP Version 2002 service pack 3
Rock box version is : r22596-090901



Also I am consistently getting two other problems, when I select 'next track' just after starting playback from a bookmark or the file browser. Rockbox crashes and the screen says:

*PANIC*
Exception occured: TLB Exception (Load or Ifetch)v [0x0005CB54] at 0x8003DD0C (tack at 0x801986B4)

Another time it said 'Address' Error instead of 'TLB Exception'. A third time it said 'Reserved Instruction'. But mostly it is  'Load or Ifetch'. And always after pressing for 'Next Track' shortly after the original track starts playing.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: jasio on October 20, 2009, 12:32:44 PM
I have installed Rockbox on my VX777 just before going away on holidays. I used it for 2 weeks and it works pretty well already. I'm working on a WPS that is more adapted to the complete lack of buttons.

There are a few things that I would appreciate help with:

- the bottom of the touch screen behaves strangely (about 20 or 30 pixels): in most menus touching the bottom area returns to the main menu; in the WPS nothing happens which is annoying as I have placed most of the controls in the lower part of the screen.

- even with a fairly large font the menus are too difficult to use. How can I add spacing between each line? Either by creating a font with additional spacing or by patching (can you point me to the right place in the code?)

- I don't think that it's possible yet but I would really like to be able to display a viewport as an action of a %T tag. That would make volume control so much easier: press the volume button on screen and a large volume slider would be displayed.

I'll update if I make any progress...

Title: Re: Ingenic Jz4740/Jz4732 players
Post by: Giova on November 25, 2009, 08:32:10 AM
I've just made a couple of scans of VX747 and VX777 (http://rapidshare.com/files/312013873/OndaPlayersImages.zip.html) players.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: 526459330q on January 01, 2010, 02:15:08 AM
please forgive my poor English
  I'm an mp3 fans from China.And I want to turn to  you :I cannot install RB into my VX777.I downloaded the RB double boot firmware for 777.But refreshing my 777,I cannot boot from neither OF  nor RB .Once I boot from RB the screen cannot appear anything but some flower.i had put .rockbox and the old ccpmp.bin into the Sd card which is a fat32 partition.And I had follow the steps .Is that anything wrong with my firmware?
so I do hope you can teach me how I can run RB on my 777.I had seen some one can run it !!(http://i3.6.cn/cvbnm/1a/68/21/8d26b5dc1e483beee61d39ba810e71a8.jpg)(http://i3.6.cn/cvbnm/2a/6d/d5/dfc96281f7336b66ad5f1d886f06b6d8.jpg)(http://i3.6.cn/cvbnm/d9/62/e6/a391297753c8a3286ed3d5a0e299fb64.jpg)Now I sent you the firmware I used  :http://d.namipan.com/d/503e2beb9a167702c9edb3c2406848b7b3b869140490d400  By the way ,can you teach me how to com pile bootloader ,which will generate afile ccpmp.bin for 777
Thanks very much .happy new year
Or can you make a double boot firmware for me  My email is :caihaoting520@qq.com
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on January 04, 2010, 07:57:38 AM
please forgive my poor English
  I'm an mp3 fans from China.And I want to turn to  you :I cannot install RB into my VX777.I downloaded the RB double boot firmware for 777.But refreshing my 777,I cannot boot from neither OF  nor RB .
What happens when you boot while holding the power down button (this should give you the bootloader menu)?

If your player hangs, you're going to need to press the reset button.

Also see the wiki (http://www.rockbox.org/wiki/OndaVX747#Official_flash_recovery) for recovering to the OF (on the VX777, the reset button is *inside* the player so you'll need to open it up).
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: 526459330q on January 08, 2010, 04:08:04 AM
i had burn to the OF.what i want to know is how i can install RB?
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on January 08, 2010, 08:16:51 AM
i had burn to the OF.what i want to know is how i can install RB?
I haven't tested the install instructions on a VX777 myself, but others seem to have got it working. If you can't follow the instructions on the wiki, I'm afraid you won't be able to use Rockbox (yet). Remember, this is still a port in *development*.

Rockbox Utility has an installation method for VX747/VX777, but that still requires you to compile the bootloader yourself (this should be distributed by the build system eventually).
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: 526459330q on January 09, 2010, 04:12:42 AM
how can i compile the bootloader?i had downloaded the USBTOOL.exe,but i don't know how to use it ?when i connect my 777 with burn mode and run USBtool 10 bootloader.bin ,it said"Error sending control message (-5, usb_control_msg: sending control message failed, win error:连接到系统上的设备没有发挥作用……"     
     beside ,when i install RB  with the firmware i sent to you ,i can play music(i Pressed blindly)  but i can't see anything on the screen !!! 
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: no1be4me on January 09, 2010, 11:27:34 AM
Here is the bootloader for the VX777 it was compiled 11-04-2009.   
  Link removed
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: 526459330q on January 10, 2010, 02:18:02 AM
i don't there's something wrong with the firmware .but i think  there's some with the RB ,for i can play music but i can not see anything on the screen!!


i cannot download this firmware!!
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: no1be4me on January 12, 2010, 02:01:55 PM
i don't there's something wrong with the firmware .but i think  there's some with the RB ,for i can play music but i can not see anything on the screen!!


i cannot download this firmware!!

Ok I have uploaded it to mediafire so you can download it. Flash the dual boot firmware as normal and copy the ccpmp.bin to your sd card.
Link removed
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: 526459330q on January 17, 2010, 01:09:13 AM
i had downloaded the firmware !but before ,i also downloaded another firmware from a Chinese website :   www.ondabbs.cn  download address :http://d.namipan.com/d/503e2beb9a167702c9edb3c2406848b7b3b869140490d400   Are they the same?
i don't there's something wrong with the firmware .but i think  there's some with the RB ,for i can play music but i can not see anything on the screen!!
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: no1be4me on January 17, 2010, 09:32:14 AM
i had downloaded the firmware !but before ,i also downloaded another firmware from a Chinese website :   www.ondabbs.cn  download address :http://d.namipan.com/d/503e2beb9a167702c9edb3c2406848b7b3b869140490d400   Are they the same?
i don't there's something wrong with the firmware .but i think  there's some with the RB ,for i can play music but i can not see anything on the screen!!


No it's not the same firmware as on the Chinese website.
The firmware I posted for you has been confirmed to work by other members of mp4nation. None of them mentioned any problems with the screen. ;)
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: 526459330q on January 19, 2010, 04:38:40 AM
but i had check its MD5 ,it appeared the same as that firmware
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: no1be4me on January 19, 2010, 10:23:58 AM
I just checked my media fire account and the firmware has not been downloaded. So I do not see how you checked the md5 hash if you never downloaded it.
 So all I can say is I tried to help. Maybe someone else can help you.

 
 So good luck with you endeavor !
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: 526459330q on January 19, 2010, 09:14:36 PM
i did not download it  from MEDIA ,here in China i can't visit the MEDIA web .i downloaded it from the first link.
yes i had really checked its MD5 .it appeared the same .if you didn't believe me you can download my firmware  and check its MD5
http://d.namipan.com/d/503e2beb9a167702c9edb3c2406848b7b3b869140490d400
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: no1be4me on January 19, 2010, 10:26:02 PM
i did not download it  from MEDIA ,here in China i can't visit the MEDIA web .i downloaded it from the first link.
yes i had really checked its MD5 .it appeared the same .if you didn't believe me you can download my firmware  and check its MD5
http://d.namipan.com/d/503e2beb9a167702c9edb3c2406848b7b3b869140490d400


Sorry I cannot help you. The problem you are having is weird. That firmware has worked on three different vx777 users. So I have no clue as to why it does not work for you. Sorry once again and good luck. If you wish I can point you to a web page here on the Rockbox Wiki page that describes how to compile in Linux. Other than that I'm out of ideas.  ???
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: 526459330q on February 19, 2010, 11:12:42 PM
I'm sorry to tell you that almost all of the Chinese vx777 users have the same problem with the screen .can you solve this problem?
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: no1be4me on February 21, 2010, 10:23:54 AM
I'm sorry to tell you that almost all of the Chinese vx777 users have the same problem with the screen .can you solve this problem?

Maybe the latest version of will fix the problem. I compiled 24803 for you to try.Both the bootloader and the SD-card files.
http://rapidshare.com/files/353798411/Rockboxv24803-vx777.rar

Update the player with the new firmware.
Copy the ccpmp.bin to your SD-card.
Extract Rockbox-sdcard.zip to your SD card.
Post back and let us know if it works.  ;)


Title: Re: Ingenic Jz4740/Jz4732 players
Post by: Purling Nayuki on March 12, 2010, 05:12:57 AM
Hi,first of all I'd like to say I'm studying Rockbox on Ondas.
I checked the svn files and I only found a ondavx747.c file in 'bootloader' directory.So I wondered if bootloaders for Onda VX777&VX747 are the same one?
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on March 12, 2010, 06:25:19 AM
Hi,first of all I'd like to say I'm studying Rockbox on Ondas.
I checked the svn files and I only found a ondavx747.c file in 'bootloader' directory.So I wondered if bootloaders for Onda VX777&VX747 are the same one?

Yes, they are.
If you take a look at bootloader/SOURCES you'll see that it's also used for the VX747+ and VX767.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: 526459330q on March 13, 2010, 04:04:03 AM
I'm sorry to tell you that almost all of the Chinese vx777 users have the same problem with the screen .can you solve this problem?

Maybe the latest version of will fix the problem. I compiled 24803 for you to try.Both the bootloader and the SD-card files.
http://rapidshare.com/files/353798411/Rockboxv24803-vx777.rar

Update the player with the new firmware.
Copy the ccpmp.bin to your SD-card.
Extract Rockbox-sdcard.zip to your SD card.
Post back and let us know if it works.  ;)




i had tried but failed.i 'm sure there is something wrong with the RB .maybe ,the VX777's chip in China is different from foreign
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: Purling Nayuki on March 19, 2010, 06:03:10 AM
Quote
i had tried but failed.i 'm sure there is something wrong with the RB .maybe ,the VX777's chip in China is different from foreign
Now I think it's not the Rockbox's fault.You should try to download Rockbox builds for VX777,not for VX747.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: 526459330q on March 20, 2010, 10:00:49 AM
tried and failed
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: Purling Nayuki on March 22, 2010, 11:22:09 PM
I'll upload a bootloader for VX777 for you and try again.
BTW:I cannot find the 'svn' tool in the Ctgwin.Where is it?
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: 526459330q on April 03, 2010, 11:24:01 PM
the problem i met when i install the RB onto my vx777 :
(http://i3.6.cn/cvbnm/37/74/3b/bca0fe5d664712c9360ae484ab5da267.jpg)
(http://i3.6.cn/cvbnm/11/1e/37/282c573631ebda1a776855e32092e981.jpg)
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: Purling Nayuki on April 04, 2010, 02:59:36 AM
Looks terrible.So I had reinstalled my Cygwin and I had to set up the build envoirment--not very diffcult but cost me much time.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on April 04, 2010, 05:22:18 AM
the problem i met when i install the RB onto my vx777 :

That's odd, this could indicate that they have different LCD controllers on different versions of the hw board.

I know that the OF does most of it's LCD initialisation in the bootloader, but Rockbox can't rely on that as it uses a different screen (and probably pixel) orientation.

Does the Rockbox bootloader give a correct screen output?
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: 526459330q on April 04, 2010, 08:33:44 AM
i don't know .i know little about C++
maybe ,there is something wrong with the screen drivers in RB
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: saratoga on April 06, 2010, 06:18:34 PM
mcuelenaere: 

The Ingenic MIPS CPUs would be really neat to see test_codec results for.  Could you wget this folder:

http://download.rockbox.org/test_files/

add test_codec.c in apps/plugins/SOURCES

and then run it on that whole folder and post the logs?  Sooner or later we'll have to start optimizing for MIPS and it would be great to have a baseline.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on April 07, 2010, 07:51:29 AM
mcuelenaere: 

The Ingenic MIPS CPUs would be really neat to see test_codec results for.  Could you wget this folder:

http://download.rockbox.org/test_files/

add test_codec.c in apps/plugins/SOURCES

and then run it on that whole folder and post the logs?  Sooner or later we'll have to start optimizing for MIPS and it would be great to have a baseline.

I've tried this before, but last time I did test_codec crashed on several of these files and I never (really) looked into it.

I'll retry and see whether this problem has been fixed/disappeard.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on April 07, 2010, 11:34:24 AM
See http://www.rockbox.org/wiki/CodecPerformanceComparison#Onda_VX747

edit:

Quote
ape_c1000.ape
ape_c2000.ape
ape_c3000.ape
ape_c4000.ape
ape_c5000.ape
applelossless.m4a
flac_5.flac
flac_8.flac
wv_fastx3.wv
wv_normx4.wv

couldn't be tested due too "File too large".
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: saratoga on April 07, 2010, 12:24:46 PM
Quite good considering most codecs have no MIPS optimized 32 bit x 32 bit = 64 bit multiply.  We could quite easily improve most of them.

FWIW, from the memory error, I'm guessing you have a 16MB target?  Current test codec isn't smart enough to rebuffer is a file doesn't fit in RAM.  Its on my todo list.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: Purling Nayuki on May 05, 2010, 06:34:02 AM
So have you tried to disassemble the OF to find out the FTL?
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: Giova on September 20, 2010, 05:12:36 PM
Why the Ondas doesn't appear on the current build section of the main site?
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: mcuelenaere on September 20, 2010, 05:51:32 PM
Why the Ondas doesn't appear on the current build section of the main site?

I guess no one bothered to add them.
They are available (http://build.rockbox.org/data/rockbox-ondavx747.zip) though (http://build.rockbox.org/data/rockbox-ondavx777.zip).
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: saratoga on September 20, 2010, 06:33:58 PM
Why the Ondas doesn't appear on the current build section of the main site?

I guess no one bothered to add them.
They are available (http://build.rockbox.org/data/rockbox-ondavx747.zip) though (http://build.rockbox.org/data/rockbox-ondavx777.zip).

I think you need to promote the builds to unstable and then ask Bagder or Zagor to update the front page and the builds table.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: Purling Nayuki on September 21, 2010, 06:31:01 AM
Why the Ondas doesn't appear on the current build section of the main site?

I guess no one bothered to add them.
They are available (http://build.rockbox.org/data/rockbox-ondavx747.zip) though (http://build.rockbox.org/data/rockbox-ondavx777.zip).

I think you need to promote the builds to unstable and then ask Bagder or Zagor to update the front page and the builds table.
You should really do that. VX747 can run Rockbox fairly well except it can read from NAND. But it is usable, not unusable. It's only unstable.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: undersys on July 06, 2013, 12:24:11 PM
Don't mean to gave dig hear...
but would this port be a good starting place for the Ingenic Z4760 ?

I am currently reading the data sheets on the Z4760.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: saratoga on July 06, 2013, 03:05:44 PM
but would this port be a good starting place for the Ingenic Z4760 ?

They're both MIPS, so imagine at least bits of it will be useful.  Should probably start a new thread specific to whatever device you're working on.
Title: Re: Ingenic Jz4740/Jz4732 players
Post by: sinless on July 10, 2018, 04:17:41 AM
Hi guys
I hope someone can help to provide bootloader file for onda players (ccmpmp.bin)
currently the VM image provided on dev page doesn't include mipsel-elf-gcc. which is hard to find...
thanks