Editing CSSU-thumb toolchain setup (gcc4.7.2-linaro)
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
This document describes how to setup the CSSU-thumb toolchain (gcc4.7.2-linaro) in scratchbox. | This document describes how to setup the CSSU-thumb toolchain (gcc4.7.2-linaro) in scratchbox. | ||
- | |||
- | |||
- | |||
- | |||
1. You need to have [http://wiki.maemo.org/Documentation/Maemo_5_Final_SDK_Installation ScratchBox] environment already set up. | 1. You need to have [http://wiki.maemo.org/Documentation/Maemo_5_Final_SDK_Installation ScratchBox] environment already set up. | ||
- | 2. Download [http://maemo.merlin1991.at/cssu/develdebs/gcc-4.7.2_fremantle_armel/linaro-4.7-2012.07-fremantle-armv7a.tar.bz2 gcc-4.7.2-linaro toolchain] and extract it under /scratchbox | + | 2. Download [http://maemo.merlin1991.at/cssu/develdebs/gcc-4.7.2_fremantle_armel/linaro-4.7-2012.07-fremantle-armv7a.tar.bz2 gcc-4.7.2-linaro toolchain] and extract it under /scratchbox |
- | + | ||
3. Create new ScratchBox target FREMANTLE_ARMEL_GCC472 | 3. Create new ScratchBox target FREMANTLE_ARMEL_GCC472 | ||
Line 19: | Line 14: | ||
[sbox->:~]sb-conf st FREMANTLE_ARMEL_GCC472 -c linaro-4.7-2012.07-fremantle-armv7a -d qemu:perl:debian-etch:doctools:svn:git -t qemu-arm-sb | [sbox->:~]sb-conf st FREMANTLE_ARMEL_GCC472 -c linaro-4.7-2012.07-fremantle-armv7a -d qemu:perl:debian-etch:doctools:svn:git -t qemu-arm-sb | ||
- | |||
- | |||
[sbox->:~]sb-conf se FREMANTLE_ARMEL_GCC472 | [sbox->:~]sb-conf se FREMANTLE_ARMEL_GCC472 | ||
Line 27: | Line 20: | ||
[sbox-FREMANTLE_ARMEL_GCC472: ~] > sb-conf in -edL | [sbox-FREMANTLE_ARMEL_GCC472: ~] > sb-conf in -edL | ||
- | |||
- | |||
[sbox-FREMANTLE_ARMEL_GCC472: ~] > apt-get update | [sbox-FREMANTLE_ARMEL_GCC472: ~] > apt-get update | ||
[sbox-FREMANTLE_ARMEL_GCC472: ~] > fakeroot apt-get install maemo-sdk-debug | [sbox-FREMANTLE_ARMEL_GCC472: ~] > fakeroot apt-get install maemo-sdk-debug | ||
- | - Accept [http://tablets-dev.nokia.com/eula/index.php | + | - Accept Maemo5 SDK EULA [http://tablets-dev.nokia.com/eula/index.php here] and copy the URL. Add nokia-binaries repository URL to /etc/apt/sources.list |
[sbox-FREMANTLE_ARMEL_GCC472: ~] >apt-get update | [sbox-FREMANTLE_ARMEL_GCC472: ~] >apt-get update | ||
Line 41: | Line 32: | ||
[sbox-FREMANTLE_ARMEL_GCC472: ~] >mkdir /targets/FREMANTLE_ARMEL_GCC472/opt | [sbox-FREMANTLE_ARMEL_GCC472: ~] >mkdir /targets/FREMANTLE_ARMEL_GCC472/opt | ||
- | - Download ScratchBox errata dependency provider package [http://maemo.merlin1991.at/cssu/develdebs/gcc-4.7.2_fremantle_armel/sb-thumb-errata-provider_0.1-1_armel.deb | + | - Download ScratchBox errata dependency provider package from [http://maemo.merlin1991.at/cssu/develdebs/gcc-4.7.2_fremantle_armel/sb-thumb-errata-provider_0.1-1_armel.deb here] and install it |
dpkg -i sb-thumb-errata-provider_0.1-1_armel.deb | dpkg -i sb-thumb-errata-provider_0.1-1_armel.deb | ||
Line 52: | Line 43: | ||
echo "deb http://maemo.merlin1991.at/cssu/community-thumb/ fremantle free non-free" >> /etc/apt/sources.list | echo "deb http://maemo.merlin1991.at/cssu/community-thumb/ fremantle free non-free" >> /etc/apt/sources.list | ||
echo "deb-src http://maemo.merlin1991.at/cssu/community-thumb/ fremantle free" >> /etc/apt/sources.list | echo "deb-src http://maemo.merlin1991.at/cssu/community-thumb/ fremantle free" >> /etc/apt/sources.list | ||
- | |||
- | |||
- | |||
- | |||
- | |||
[sbox-FREMANTLE_ARMEL_GCC472: ~] >apt-get update | [sbox-FREMANTLE_ARMEL_GCC472: ~] >apt-get update | ||
[sbox-FREMANTLE_ARMEL_GCC472: ~] >fakeroot apt-get upgrade | [sbox-FREMANTLE_ARMEL_GCC472: ~] >fakeroot apt-get upgrade | ||
- | + | Your target should be ok at that point | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | Your target should be ok at that point | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + |
Learn more about Contributing to the wiki.