root@shikhar-laptop:/home/shikhar/Desktop/rockbox/build# ../tools/rockboxdev.sh
Download directory: /tmp/rbdev-dl (set RBDEV_DOWNLOAD to change dir)
Install prefix: /usr/local/[target] (set RBDEV_PREFIX to change dir)
Build dir: /tmp/rbdev-build (set RBDEV_BUILD to change dir)
Select target arch:
s - sh (Archos models)
m - m68k (iriver h1x0/h3x0, ifp7x0 and iaudio)
a - arm (ipods, iriver H10, Sansa, etc)
e - arm-eabi (same as above, new testing toolchain)
i - mips (Jz4740 and ATJ-based players)
separate multiple targets with spaces
(Example: "s m a" will build sh, m86k and arm)
a
In case you encounter a slow internet connection, you can use an alternative mirror.
A list of other GNU mirrors is available here: http://www.gnu.org/prep/ftp.html
Usage: GNU_MIRROR=[URL] ./rockboxdev.sh
Example:
$ GNU_MIRROR=http://mirrors.kernel.org/gnu ./rockboxdev.sh
binutils 2.16.1 already downloaded
ROCKBOXDEV: Downloading ftp://ftp.gnu.org/pub/gnu/gcc/gcc-4.0.3/gcc-core-4.0.3.tar.bz2 using wget
--2010-04-02 07:07:03-- ftp://ftp.gnu.org/pub/gnu/gcc/gcc-4.0.3/gcc-core-4.0.3.tar.bz2
Resolving vsnlproxy.iitk.ac.in... 172.31.1.227
Connecting to vsnlproxy.iitk.ac.in|172.31.1.227|:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 15573608 (15M) [application/octet-stream]
Saving to: `/tmp/rbdev-dl/gcc-core-4.0.3.tar.bz2'
100%[======================================>] 1,55,73,608 1.76M/s in 16s
2010-04-02 07:07:24 (949 KB/s) - `/tmp/rbdev-dl/gcc-core-4.0.3.tar.bz2' saved [15573608/15573608]
ROCKBOXDEV: Downloading http://www.rockbox.org/gcc/rockbox-multilibs-arm-elf-gcc-4.0.3_3.diff using wget
--2010-04-02 07:07:24-- http://www.rockbox.org/gcc/rockbox-multilibs-arm-elf-gcc-4.0.3_3.diff
Resolving vsnlproxy.iitk.ac.in... 172.31.1.227
Connecting to vsnlproxy.iitk.ac.in|172.31.1.227|:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 1420 (1.4K) [text/x-diff]
Saving to: `/tmp/rbdev-dl/rockbox-multilibs-arm-elf-gcc-4.0.3_3.diff'
100%[======================================>] 1,420 --.-K/s in 0s
2010-04-02 07:07:25 (76.3 MB/s) - `/tmp/rbdev-dl/rockbox-multilibs-arm-elf-gcc-4.0.3_3.diff' saved [1420/1420]
============================ Summary ============================
target: arm-elf
gcc version: 4.0.3
gcc patch: rockbox-multilibs-arm-elf-gcc-4.0.3_3.diff
binutils: 2.16.1
installation target: /usr/local/arm-elf
When done, append /usr/local/arm-elf/bin to PATH
=================================================================
ROCKBOXDEV: extracting binutils-2.16.1 in /tmp/rbdev-build
bunzip2: Compressed file ends unexpectedly;
perhaps it is corrupted? *Possible* reason follows.
bunzip2: Inappropriate ioctl for device
Input file = (stdin), output file = (stdout)
It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.
You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
root@shikhar-laptop:/home/shikhar/Desktop/rockbox/build#