Rockbox Development > Starting Development and Compiling

Installing the MIPS compiler (was: Ingenic Jz4740/Jz4732 players)

<< < (2/2)

dude0316:

--- Quote from: Chronon on March 23, 2009, 08:05:14 PM ---Well, the obvious place to look would be /usr/local/mipsel-elf/bin.  If the missing items are located there, then add this directory to your path.

--- End quote ---

Ok   :-[ I guess that was a dumb question. I was tired though had been messing with the deal for three hours yesterday. B.T.W. I love your avatar I use it on another site 8)

Edit: 3-25-09
I got it to finally work. I used Ubuntu linux and this guide http://www.rockbox.org/twiki/bin/view/Main/LinuxSimpleGuideToCompiling

First I complied a normal mode. Extracted the zip to my sd card.
Then I compiled again boot loader mode. I used this command to boot sudo ./usbtool 10 bootloader.bin in the terminal window. Weird thing is it does not always work. Out of 25 tries it has booted twice. Now that I can test my work I.m going to try and write the audio driver. I have never done anything like this. Worst case I'll fail bad but ohwell it should be fun trying.  ;D

mcuelenaere:

--- Quote from: dude0316 on March 24, 2009, 12:52:42 PM ---...
Now that I can test my work I.m going to try and write the audio driver. I have never done anything like this. Worst case I'll fail bad but ohwell it should be fun trying.  ;D

--- End quote ---
I'm not sure if you know, but audio already works on the Onda VX747 (however, it doesn't work reliably).

And if you're serious about working on Rockbox, I suggest you to come on IRC.

dude0316:
Irc will be a new thing to learn. Although I feel commited now. Although in order to test my work I need to boot and test. Right now I get one boot out of maybe 25 tries. Here is there error code from terminal

[INFO] Searching for device...
[INFO] Found device, uploading application.
[INFO] Start!
[INFO] Using built-in jz_xloader.bin
[INFO] GET_CPU_INFO: JZ4740V1
[INFO] SET_DATA_ADDRESS to 0x80000000... Done!
[INFO] Sending data... Done!
[INFO] Verifying data... Done!
[INFO] Booting device STAGE1... Done!
[INFO] GET_CPU_INFO:
[ERR]  Error sending control message (-71, error sending control message: Protocol error)
[INFO] Booting device STAGE2...
[ERR]  Error sending control message (-71, error sending control message: Protocol error)
[INFO] Done!

I can not figure out why it only some times work. I get that (-71, error sending control message: Protocol error) 24 out of 25 times. Does anyone know why ?
Before I try again I hold down the m button and hit the reset switch

mcuelenaere:

--- Quote from: dude0316 on March 25, 2009, 01:27:08 PM ---Irc will be a new thing to learn. Although I feel commited now. Although in order to test my work I need to boot and test. Right now I get one boot out of maybe 25 tries. Here is there error code from terminal

[INFO] Searching for device...
[INFO] Found device, uploading application.
[INFO] Start!
[INFO] Using built-in jz_xloader.bin
[INFO] GET_CPU_INFO: JZ4740V1
[INFO] SET_DATA_ADDRESS to 0x80000000... Done!
[INFO] Sending data... Done!
[INFO] Verifying data... Done!
[INFO] Booting device STAGE1... Done!
[INFO] GET_CPU_INFO:
[ERR]  Error sending control message (-71, error sending control message: Protocol error)
[INFO] Booting device STAGE2...
[ERR]  Error sending control message (-71, error sending control message: Protocol error)
[INFO] Done!

I can not figure out why it only some times work. I get that (-71, error sending control message: Protocol error) 24 out of 25 times. Does anyone know why ?
Before I try again I hold down the m button and hit the reset switch


--- End quote ---
I only tested usbtools on Windows, so I can't really help you here..
I do know however that it used to work under Linux, I think wpyh tested that and it worked..

Have you tried using other USB ports on your PC?

Navigation

[0] Message Index

[*] Previous page

Go to full version