Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Installing the MIPS compiler (was: Ingenic Jz4740/Jz4732 players)
« previous next »
  • Print
Pages: [1]

Author Topic: Installing the MIPS compiler (was: Ingenic Jz4740/Jz4732 players)  (Read 6519 times)

dude0316

  • Guest
Installing the MIPS compiler (was: Ingenic Jz4740/Jz4732 players)
« on: March 23, 2009, 01:05:58 PM »
mcuelenaere.
I really do not understand what I'm doing wrong.
I follewed these instructions to to the tee  http://www.rockbox.org/twiki/bin/view/Main/CygwinDevelopment
Which included running the setup a second time using the -X option
This is what i get when I try to compile
 
Dam Mediafire.( Picture not showing at time of this post)
The error message says mipsel-elf-gcc: Command not found
Next error is mipsel-elf-ld: Command not found
Once in the build folder I typed this during my second try
export PATH=/usr/local/arm-elf/bin:$PATH
I know you posted the it allready compiled, but I think you must have chossen normal build instaed of bootloader build.
I guess I'm asking when you boot rockbox from sd card the screen should come on and we should beable to see what rockbox will look like? Every time I try your complied version and use the new usbtool 10 rockbox.bin the competer gives results saying done.


But the player screen remains blank and nothing happens.
I'f you don't mind can you point me in the right direction or recomplie it using bootloader instead of normal. Thanks in advance  8)


Ok I have Ubuntu on a serprate drive. I booted to that then folled these instructions to the tee
http://www.rockbox.org/twiki/bin/view/Main/LinuxSimpleGuideToCompiling
All said and done i still get that dam mipsel-elf-gcc error.
I feel the need to tell you this is driving me crazy.I want to learn about it and help out. Although If I cannot even see a glimpse of it working what's the point. I googled and cannot find no file called mipsel-elf-gcc do you have a copy of it.
« Last Edit: March 23, 2009, 01:15:32 PM by saratoga »
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Installing the MIPS compiler (was: Ingenic Jz4740/Jz4732 players)
« Reply #1 on: March 23, 2009, 01:16:46 PM »
Please don't ask for tech support in the New Ports forum.  We even have a sticky saying not to do it.

Quote from: dude0316 on March 23, 2009, 01:05:58 PM
mcuelenaere.
I really do not understand what I'm doing wrong.
I follewed these instructions to to the tee  http://www.rockbox.org/twiki/bin/view/Main/CygwinDevelopment
Which included running the setup a second time using the -X option
This is what i get when I try to compile
 
Dam Mediafire.( Picture not showing at time of this post)
The error message says mipsel-elf-gcc: Command not found
Next error is mipsel-elf-ld: Command not found

These mean you either didn't install the compiler, or installed it but did not add it to your path.

Quote from: dude0316 on March 23, 2009, 01:05:58 PM
Once in the build folder I typed this during my second try
export PATH=/usr/local/arm-elf/bin:$PATH

arm-elf is the compiler for arm targets, not mips targets.  Did you install the mips compiler?  If so, you should add the path to the mips compiler here.

If not, go back to the beginning, and this time install the mips compiler.
Logged

Offline mcuelenaere

  • Developer
  • Member
  • *
  • Posts: 392
Re: Installing the MIPS compiler (was: Ingenic Jz4740/Jz4732 players)
« Reply #2 on: March 23, 2009, 01:23:20 PM »
I uploaded a bootloader here, but you really should try getting the Development environment to work.
Logged

dude0316

  • Guest
Re: Installing the MIPS compiler (was: Ingenic Jz4740/Jz4732 players)
« Reply #3 on: March 23, 2009, 07:31:49 PM »
Quote from: saratoga on March 23, 2009, 01:16:46 PM
Please don't ask for tech support in the New Ports forum.  We even have a sticky saying not to do it.

Quote from: dude0316 on March 23, 2009, 01:05:58 PM
mcuelenaere.
I really do not understand what I'm doing wrong.
I follewed these instructions to to the tee  http://www.rockbox.org/twiki/bin/view/Main/CygwinDevelopment
Which included running the setup a second time using the -X option
This is what i get when I try to compile
 
Dam Mediafire.( Picture not showing at time of this post)
The error message says mipsel-elf-gcc: Command not found
Next error is mipsel-elf-ld: Command not found

These mean you either didn't install the compiler, or installed it but did not add it to your path.

Quote from: dude0316 on March 23, 2009, 01:05:58 PM
Once in the build folder I typed this during my second try
export PATH=/usr/local/arm-elf/bin:$PATH

arm-elf is the compiler for arm targets, not mips targets.  Did you install the mips compiler?  If so, you should add the path to the mips compiler here.

If not, go back to the beginning, and this time install the mips compiler.

Sorry about that. I followed the link from wiki. Although I now know and am sorry.
I did install the mips complier. What would the path look like?

Quote from: mcuelenaere
uploaded a bootloader here, but you really should try getting the Development environment to work.
Thank you. Also I plan to, this is a lot of info to take in a short period of time. I have learned more in the past two days than I have the last six months.
I appreciate your patience with me.
« Last Edit: March 23, 2009, 07:38:30 PM by dude0316 »
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Installing the MIPS compiler (was: Ingenic Jz4740/Jz4732 players)
« Reply #4 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.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

dude0316

  • Guest
Re: Installing the MIPS compiler (was: Ingenic Jz4740/Jz4732 players)
« Reply #5 on: March 24, 2009, 12:52:42 PM »
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.

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
« Last Edit: March 25, 2009, 10:33:57 AM by dude0316 »
Logged

Offline mcuelenaere

  • Developer
  • Member
  • *
  • Posts: 392
Re: Installing the MIPS compiler (was: Ingenic Jz4740/Jz4732 players)
« Reply #6 on: March 25, 2009, 01:07:03 PM »
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
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.
Logged

dude0316

  • Guest
Re: Installing the MIPS compiler (was: Ingenic Jz4740/Jz4732 players)
« Reply #7 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
Logged

Offline mcuelenaere

  • Developer
  • Member
  • *
  • Posts: 392
Re: Installing the MIPS compiler (was: Ingenic Jz4740/Jz4732 players)
« Reply #8 on: March 25, 2009, 08:07:03 PM »
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

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?
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Installing the MIPS compiler (was: Ingenic Jz4740/Jz4732 players)
 

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

Page created in 0.078 seconds with 15 queries.