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



Donate

Rockbox Technical Forums


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

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Installation / Removal
| |-+  Manual Installation
| | |-+  Apple - Installation/Removal
| | | |-+  Installation Problems-Linux (Solved)
« previous next »
  • Print
Pages: [1]

Author Topic: Installation Problems-Linux (Solved)  (Read 4547 times)

Offline felix

  • Member
  • *
  • Posts: 4
Installation Problems-Linux (Solved)
« on: March 18, 2006, 11:39:20 PM »
Hi, I'm trying to compile Rockbox to work with my iPod Photo. When compiling (Step #1 under the IpodBoot instructions), I run into the error:

AR+RANLIB /home/felix/Desktop/rockbox-bleeding/build-dir/librockbox.a
make[1]: *** [/home/felix/Desktop/rockbox-bleeding/build-dir/librockbox.a] Error 127
make: *** [all] Error 2

I'm not quite sure what's wrong. I think AR and RANLIB have to do with gcc, but I don't know much about compiling other than your standard ./configure, make, make install.

Any ideas?

Thanks.
« Last Edit: March 19, 2006, 06:08:33 PM by felix »
Logged

Offline felix

  • Member
  • *
  • Posts: 4
Re: Installation Problems-Linux
« Reply #1 on: March 18, 2006, 11:54:45 PM »
Never mind. I fixed it. ;D

Forgot to copy bootloader.bin into the right directory.
Logged

Offline felix

  • Member
  • *
  • Posts: 4
Re: Installation Problems-Linux
« Reply #2 on: March 19, 2006, 12:46:13 PM »
Okay, so I've run into another problem.
I'm not sure which partition I'm supposed to load the rockboot.bin file onto. sda1 is the first partition of my ipod, and sda2 is the FAT32 partition.
Also, I ran into a problem booting rockbox, which gave me an error message -1.

Thanks for any help.
Logged

Offline linuxstb

  • Developer
  • Member
  • *
  • Posts: 1163
Re: Installation Problems-Linux
« Reply #3 on: March 19, 2006, 12:50:48 PM »
rockboot.bin should be copied to /dev/sda1 using a command like:

dd if=rockboot.bin of=/dev/sda1

But from your second question, it sounds like you have already done that.

error message -1 means that you don't have Rockbox itself installed.

If you're compiling yourself, then the following commands are needed:

mkdir build
cd build
../tools/configure
[Choose your ipod, and then "N" for a normal build]
make
make zip
unzip rockbox.zip -d /mnt/ipod/

The "make zip" command creates the rockbox.zip archive, and this needs to be unzipped onto the FAT32 partition on your ipod.  Alternatively, just download the very latest rockbox.zip for your player here:

http://www.rockbox.org/cvs.shtml
Logged

Offline felix

  • Member
  • *
  • Posts: 4
Re: Installation Problems-Linux (SOLVED)
« Reply #4 on: March 19, 2006, 02:38:13 PM »
Okay, the firmware works, but now I can't seem to be able to mount the iPod.

How should I change my fstab?

Thanks.

EDIT: Do I need to change the FS type to usbfs? That's the only way I can mount the drive at all. Vfat won't work.
EDIT2: fdisk -l /dev/sda returns that sda2 has both logical and physical endings. Could this be the problem?
EDIT3: Problem solved through a reboot.
« Last Edit: March 19, 2006, 06:07:57 PM by felix »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Installation / Removal
| |-+  Manual Installation
| | |-+  Apple - Installation/Removal
| | | |-+  Installation Problems-Linux (Solved)
 

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

Page created in 0.137 seconds with 19 queries.