slitaz-forge view arm/index.html @ rev 530

arm: tiny edits
author Paul Issott <paul@slitaz.org>
date Fri Apr 25 18:25:59 2014 +0100 (2014-04-25)
parents f60b8d4347c9
children 758e0c5d9cbf
line source
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <title>SliTaz ARM</title>
5 <meta charset="utf-8" />
6 <meta name="viewport" content="width=device-width, initial-scale=1.0">
7 <link rel="stylesheet" type="text/css" href="style.css" />
8 <link rel="stylesheet" type="text/css" href="style-tiny.css" />
9 <link rel="shortcut icon" href="favicon.ico" />
10 </head>
11 <body>
13 <div id="header">
14 <div id="logo"></div>
15 <div id="network">
16 <a href="http://scn.slitaz.org/">SCN</a>
17 <a href="http://forum.slitaz.org/forum/arm">Forum</a>
18 <a href="http://bugs.slitaz.org/?arch=arm">Bugs</a>
19 <a href="http://hg.slitaz.org/slitaz-arm/summary">Hg</a>
20 <a href="http://cook.slitaz.org/cross/arm/">Cooker</a>
21 <a href="http://mirror.slitaz.org/arm/">Mirror</a>
22 </div>
23 <h1><a href="./">SliTaz ARM</a></h1>
24 </div>
26 <nav id="nav" role="navigation" tabindex="0">
27 <ul>
28 <li><a class="nav2" href="codex/">Codex</a></li>
29 <li><a class="nav1" href="tools.cgi?pkgs">Packages</a></li>
30 <li><a class="navpi" href="rpi/">Raspberry Pi</a></li>
31 <li><a class="nav2" href="tools.cgi?doc&amp;tool=sat">README</a></li>
32 <li><a class="nav1" href="http://twitter.com/slitaz"
33 title="Follow us on Twitter"><img src="images/twitter.png"
34 alt="Twitter" /><span class="mobile"> @slitaz</span></a></li>
35 </ul>
36 </nav>
38 <!-- Content -->
39 <div id="content">
41 <h2>Welcome to SliTaz ARM</h2>
43 <img src="images/arm.png" alt="arm.png"
44 style="float: right; margin: 0 0 10px 20px;" />
45 <p>
46 This website provides information, notes and links about the
47 <a href="http://www.slitaz.org/">SliTaz GNU/Linux</a> port to
48 the ARM architecture. SliTaz currently supports the ARM v6 (armel)
49 architecture and work is on the stove for armv6hf (hard float) and
50 armv7.
51 </p>
52 <p>
53 SliTaz ARM is supported by the official SliTaz project but with its
54 own boot scripts for faster start-up. A base system will use around
55 20mb of RAM. SliTaz can turn an ARM device into a music or web server,
56 a NAT, an IRC bot, a small desktop and much more.
57 </p>
59 <div style="text-align: center;">
60 <a href="images/shots/slitaz-rpi-jwm.png"><img
61 src="images/shots/slitaz-rpi-jwm_thumb.png"
62 alt="slitaz-rpi-jwm PNG" style="margin: 4px 0;" /></a>
63 <a href="images/shots/slitaz-rpi-e17.jpg"><img
64 src="images/shots/slitaz-rpi-e17_thumb.png"
65 alt="slitaz-rpi-e17 PNG" style="margin: 4px 0;" /></a>
66 <a href="images/shots/slitaz-rpi-e17-links.png"><img
67 src="images/shots/slitaz-rpi-e17-links_thumb.png"
68 alt="slitaz-rpi-links PNG" style="margin: 4px 0;" /></a>
69 </div>
71 <h2>Raspberry Pi</h2>
73 <p>
74 Currently the SliTaz official ARM port works on the Raspberry Pi and can
75 be used to setup a small server. DirectFB, Xorg, JWM, E17, Openbox and
76 the FOX toolkit is ported and provides a nice and light GUI support.
77 Sat-rpi lets advanced users create custom Rpi flavors with an official
78 Kernel, custom boot options and more.
79 </p>
81 <div class="box-rpi">
82 <a href="rpi/">SliTaz Raspberry Pi Home</a>
83 </div>
85 <h2>Build distros</h2>
87 <p>
88 To create some custom ARM SliTaz flavors we use a tool called 'sat'
89 which stands for SliTaz ARM Tool. Sat is a cmdline tool written
90 in SHell script and in the spirit of SliTaz, light, fast and easy to
91 use! Get the code via the Mercurial Hg repository or download the latest tarball:
92 <a href="http://hg.slitaz.org/slitaz-arm/archive/tip.tar.bz2">tip.tar.bz2</a>
93 </p>
95 <pre>
96 $ hg clone http://hg.slitaz.org/slitaz-arm
97 </pre>
99 <p>
100 You may want to browse the
101 <a href="http://hg.slitaz.org/slitaz-arm">slitaz-arm</a>
102 Hg repo and have a look at the
103 <a href="tools.cgi?doc&amp;tool=sat">README</a> to get started. Once
104 sat is cloned and installed you can generate a distro with a single
105 command from your local slitaz-arm repo:
106 </p>
108 <pre>
109 # sat mirror &amp;&amp; sat gen --flavor=arm-base
110 </pre>
112 <h2>Packages</h2>
114 <p>
115 All SliTaz ARM packages are automatically built by the
116 <a href="http://cook.slitaz.org/cross/arm/">ARM Cooker</a>. To properly
117 handle the SLITAZ_ARCH variable, the recommended Package Manager is
118 <a href="http://hg.slitaz.org/spk">spk</a>. One way to start
119 with the Spk Toolset is to generate a distro and include spk.
120 On a SliTaz ARM system you simply run 'spk-up --list' to get the
121 latest <a href="tools.cgi?pkgs">packages list</a>. The current ARM
122 packages mirror URL:
123 </p>
125 <div class="box-dl">
126 <a href="http://cook.slitaz.org/cross/arm/packages/"
127 >http://cook.slitaz.org/cross/arm/packages/</a>
128 </div>
130 <h2>SliTaz Tiny/Touch Screen</h2>
132 <img src="images/shots/sts-pitft.png" alt="sts-pitft.png"
133 style="float: right; margin: 10px 0 10px 20px;" />
135 <p>
136 The SliTaz Tiny/Touch Screen aka sts provides a suitable desktop for
137 small screens such as a 320x240 TFT display. The screenshot shows sts
138 running on the Raspberry PiTFT touchscreen. The desktop is powered
139 by Openbox and LXpanel. All applications are started maximised and
140 without decoration.
141 </p>
142 <p>
143 To close windows and switch desktops you must use the hidden bottom
144 panel. Sts provide a small cmdline tool to handle custom tasks and
145 the sts-session script can be used to start an X session via startx
146 and ~/.xsession or the Slim login manager.
147 </p>
149 <pre>
150 $ sts help
151 </pre>
153 <h2>Prebuilt ARM Toolchain</h2>
155 <p>
156 To compile SliTaz packages to ARM you need a working cross compilation
157 toolchain. You can build your own with 'cross' or use our prebuilt
158 toolchains available from the SliTaz Mirror:
159 </p>
161 <div class="box-dl">
162 <a href="http://mirror.slitaz.org/arm/cross/"
163 >http://mirror.slitaz.org/arm/cross/</a>
164 </div>
166 <h2>Cross compiling</h2>
168 <p>
169 SliTaz provides all the necessary tools for cross compiling Open Source
170 software. The <a href="http://hg.slitaz.org/cookutils">cookutils</a>
171 package provides 'cross' which is used to create cross compilation
172 toolchains and 'cook' is used to cross compile SliTaz packages.
173 </p>
175 <!--<p>
176 README, howto and docs: <a href="tools.cgi?doc&amp;tool=cross">cross</a>
177 - <a href="tools.cgi?doc&amp;tool=cook">cook</a>. Here is a quickstart
178 cmdline setup:
179 </p>-->
181 <p>
182 Here is a cmdline quickstart setup:
183 </p>
185 <pre>
186 Setup the build chroot
187 # tazdev gen-chroot --arch=arm
188 # tazdev -c --arch=arm
190 Setup the cross toolchain
191 # mkdir -p /cross &amp;&amp; cd /cross
192 # wget http://mirror.slitaz.org/arm/cross/slitaz-arm-toolchain-20140304.tar.bz2
193 # tar xjf slitaz-arm-toolchain-20140304.tar.bz2
194 # cp -a slitaz-arm-toolchain-*/arm /cross
196 Check the toolchain installation
197 # export PATH=$PATH:/cross/arm/tools/bin
198 # arm-slitaz-linux-gnueabi-gcc -v
200 Setup cross/cook environment:
201 # cross arm-setup
202 # cook setup --wok
204 Cross compile zlib and check testsuite output
205 # cook zlib
206 </pre>
208 <p>
209 If you want to cross compile packages that have a lot of build
210 dependencies and don't want to build them all from source, you must
211 download any official SliTaz ARM packages to the /home/slitaz/packages
212 in the build chroot.
213 </p>
215 <p>
216 README, howto and docs: <a href="tools.cgi?doc&amp;tool=cross">cross</a>
217 - <a href="tools.cgi?doc&amp;tool=cook">cook</a>.
218 </p>
220 <h2>ARM emulator</h2>
222 <p>
223 On SliTaz you need to install the 'qemu-arm' package which provides the
224 Qemu CPU emulator for the ARM platform. If you have built a distro
225 with the sat tool you can emulate it with:
226 </p>
228 <pre>
229 # sat emu
230 </pre>
232 <!-- Close content -->
233 </div>
235 <div id="footer">
236 &copy; 2014 - <a href="http://www.slitaz.org/">SliTaz GNU/Linux</a>
237 </div>
239 </body>
240 </html>