Zum Inhalt springen

Hack-A-N900/Development: Unterschied zwischen den Versionen

Amir (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Amir (Diskussion | Beiträge)
 
(7 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
<br>
<br>
<span style="font-size: 20px"><b>ALWAYS CREATE A BACKUP BEFORE TINKERING WITH YOUR N900</b></span><br>
<span style="font-size: 20px"><b>ALWAYS CREATE A [http://metalab.at/wiki/Hack-A-N900/Backup BACKUP] BEFORE TINKERING WITH YOUR N900</b></span><br>


== ON-Device - Getting Started ==
== ON-Device - Getting Started ==
Zeile 19: Zeile 19:
deb http://repository.maemo.org/ fremantle/sdk free
deb http://repository.maemo.org/ fremantle/sdk free
deb-src http://repository.maemo.org/ fremantle/sdk free
deb-src http://repository.maemo.org/ fremantle/sdk free
</pre>
Update apt cache:
<pre>
apt-get update
</pre>
</pre>


Zeile 24: Zeile 29:


<pre>
<pre>
apt-get install bzip2 cpio cpp dpkg-dev g++ g++-4.2 gcc libc6-dev libstdc++6-4.2-dev \
apt-get install bzip2 cpio cpp dpkg-dev g++ g++-4.2 gcc \
libstdc++6-4.2-dbg patch perl perl-modules autoconf automake1.9 libtool flex bison gdb
libc6-dev libstdc++6-4.2-dev libstdc++6-4.2-dbg patch \
perl perl-modules autoconf automake1.9 libtool flex bison \
gdb diffutils-gnu
</pre>
</pre>


On default setups it will fail because of apt-get saving temporary files on the root partition.  
On default setups it will fail because of apt-get saving temporary files on the root partition.  
Just clean the apt cache (<pre style="display: inline; padding: 2px">apt-get clean</pre>) and repeat the above command.
Just clean the apt cache (<pre style="display: inline; padding: 2px">apt-get clean</pre>) and repeat the above command.
<br>
 
You might want to install kernel headers:
=== Fix scratchbox hacks ===
 
The tools from the SDK and TOOLS repository are meant for scratchbox and have been altered to use scratchbox paths. Instead of rewriting paths you can fake scratchbox directory structure.
 
<pre>
<pre>
apt-get install linux-kernel-headers
mkdir -p /scratchbox/tools/
ln -s /usr/bin /scratchbox/tools/bin
</pre>
</pre>
linking bin seems to be enough.


[[Kategorie:N900]]
[[Kategorie:N900]]