slitaz-forge rev 511
arm: add setup guid for cross compiling
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 12 21:07:10 2014 +0200 (2014-04-12) |
parents | f511b36dde9d |
children | b6820b2f1e49 |
files | arm/images/shots/sts-pitft.png arm/index.html |
line diff
1.1 Binary file arm/images/shots/sts-pitft.png has changed
2.1 --- a/arm/index.html Sat Apr 12 15:22:06 2014 +0300 2.2 +++ b/arm/index.html Sat Apr 12 21:07:10 2014 +0200 2.3 @@ -135,6 +135,29 @@ 2.4 >http://cook.slitaz.org/cross/arm/packages/</a> 2.5 </div> 2.6 2.7 +<h2>SliTaz Tiny/Touch Screen</h2> 2.8 + 2.9 +<img src="images/shots/sts-pitft.png" alt="sts-pitft.png" 2.10 + style="float: right; margin: 4px 0 10px 20px;" /> 2.11 + 2.12 +<p> 2.13 + The SliTaz Tiny/Touch Screen aka sts provide a suitable desktop for 2.14 + small screens such as 320x240 TFT display. The screenshot shown sts 2.15 + running on the Raspberry PiTFT touchscreen. The desktop is powered 2.16 + by Openbox and LXpanel. All applications are started maximited and 2.17 + without decoration. 2.18 +</p> 2.19 +<p> 2.20 + To close windows and switch desktop you must use the hidden bottom 2.21 + panel. Sts provide a small cmdline tool to handle custom tasks and 2.22 + the sts-session script can be used to start an X session via startx 2.23 + and ~/.xsession or the Slim login manager. 2.24 +</p> 2.25 + 2.26 +<pre> 2.27 +$ sts help 2.28 +</pre> 2.29 + 2.30 <h2>Prebuilt ARM Toolchain</h2> 2.31 2.32 <p> 2.33 @@ -159,9 +182,33 @@ 2.34 2.35 <p> 2.36 README, howto and docs: <a href="tools.cgi?doc&tool=cross">cross</a> 2.37 - - <a href="tools.cgi?doc&tool=cook">cook</a>. 2.38 + - <a href="tools.cgi?doc&tool=cook">cook</a>. Here is a quickstart 2.39 + cmdline setup: 2.40 </p> 2.41 2.42 +<pre> 2.43 +Setup the build chroot 2.44 +# tazdev gen-chroot --arch=arm 2.45 +# tazdev -c --arch=arm 2.46 + 2.47 +Setup the cross toolchain 2.48 +# mkdir -p /cross && cd /cross 2.49 +# wget http://mirror.slitaz.org/arm/cross/slitaz-arm-toolchain-20140304.tar.bz2 2.50 +# tar xjf slitaz-arm-toolchain-20140304.tar.bz2 2.51 +# cp -a slitaz-arm-toolchain-*/arm /cross 2.52 + 2.53 +Check the toolchain installation 2.54 +# export PATH=$PATH:/cross/arm/tools/bin 2.55 +# arm-slitaz-linux-gnueabi-gcc -v 2.56 + 2.57 +Setup cook environment: 2.58 +# cook arm-setup 2.59 +# cook setup --wok 2.60 + 2.61 +Cross compile zlib and check testsuite output 2.62 +# cook zlib 2.63 +</pre> 2.64 + 2.65 <h2>ARM emulator</h2> 2.66 2.67 <p>