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

Prevent sending the Referer header
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 20 08:44:15 2020 +0000 (2020-08-20)
parents 758e0c5d9cbf
children
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" /></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 <div class="box-up">
72 Stay informed with: <a href="tools.cgi?micronews">SliTaz ARM &micro;News</a>
73 </div>
75 <h2>Raspberry Pi</h2>
77 <p>
78 Currently the SliTaz official ARM port works on the Raspberry Pi and can
79 be used to setup a small server. DirectFB, Xorg, JWM, E17, Openbox and
80 the FOX toolkit and FLTK are ported and provide a nice and light GUI
81 support. Sat-rpi lets advanced users create custom Rpi flavors with
82 an official Kernel, custom boot options and more.
83 </p>
85 <div class="box-rpi">
86 <a href="rpi/">SliTaz Raspberry Pi Home</a>
87 </div>
89 <h2>SliTaz Tiny/Touch Screen</h2>
91 <img src="images/shots/sts-pitft.png" alt="sts-pitft.png"
92 style="float: right; margin: 10px 0 10px 20px;" />
94 <p>
95 The SliTaz Tiny/Touch Screen aka sts provides a suitable desktop for
96 small screens such as a 320x240 TFT display. The screenshot shows sts
97 running on the Raspberry PiTFT touchscreen. The desktop is powered
98 by Openbox and LXpanel. All applications are started maximised and
99 without decoration.
100 </p>
101 <p>
102 To close windows and switch desktops you must use the hidden bottom
103 panel. Sts provide a small cmdline tool to handle custom tasks and
104 the sts-session script can be used to start an X session via startx
105 and ~/.xsession or the Slim login manager.
106 </p>
108 <pre>
109 $ sts help
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>Build distros</h2>
132 <p>
133 To create some custom ARM SliTaz flavors we use a tool called 'sat'
134 which stands for SliTaz ARM Tool. Sat is a cmdline tool written
135 in SHell script and in the spirit of SliTaz, light, fast and easy to
136 use! Get the code via the Mercurial Hg repository or download the latest tarball:
137 <a href="http://hg.slitaz.org/slitaz-arm/archive/tip.tar.bz2">tip.tar.bz2</a>
138 </p>
140 <pre>
141 $ hg clone http://hg.slitaz.org/slitaz-arm
142 </pre>
144 <p>
145 You may want to browse the
146 <a href="http://hg.slitaz.org/slitaz-arm">slitaz-arm</a>
147 Hg repo and have a look at the
148 <a href="tools.cgi?doc&amp;tool=sat">README</a> to get started. Once
149 sat is cloned and installed you can generate a distro with a single
150 command from your local slitaz-arm repo:
151 </p>
153 <pre>
154 # sat mirror &amp;&amp; sat gen --flavor=arm-base
155 </pre>
157 <h2>Prebuilt ARM Toolchain</h2>
159 <p>
160 To compile SliTaz packages to ARM you need a working cross compilation
161 toolchain. You can build your own with 'cross' or use our prebuilt
162 toolchains available from the SliTaz Mirror:
163 </p>
165 <div class="box-dl">
166 <a href="http://mirror.slitaz.org/arm/cross/"
167 >http://mirror.slitaz.org/arm/cross/</a>
168 </div>
170 <h2>Cross compiling</h2>
172 <p>
173 SliTaz provides all the necessary tools for cross compiling Open Source
174 software. The <a href="http://hg.slitaz.org/cookutils">cookutils</a>
175 package provides 'cross' which is used to create cross compilation
176 toolchains and 'cook' is used to cross compile SliTaz packages.
177 </p>
179 <p>
180 Here is a cmdline quickstart setup:
181 </p>
183 <pre>
184 1) Setup the build chroot
185 -------------------------
186 # tazdev gen-chroot --arch=arm
187 # tazdev -c --arch=arm
189 2) Setup the cross toolchain
190 ----------------------------
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 3) Setup cross/cook environment
197 -------------------------------
198 # cross arm-setup
199 # cook setup --wok
201 4) Testsuite and cross compile zlib
202 -----------------------------------
203 # cross testsuite
204 # cook zlib
205 </pre>
207 <p>
208 If you want to cross compile packages that have a lot of build
209 dependencies and don't want to build them all from source, you must
210 download any official SliTaz ARM packages to the /home/slitaz/packages
211 in the build chroot.
212 </p>
214 <p>
215 README, howto and docs: <a href="tools.cgi?doc&amp;tool=cross">cross</a>
216 - <a href="tools.cgi?doc&amp;tool=cook">cook</a>.
217 </p>
219 <h2>ARM emulator</h2>
221 <p>
222 On SliTaz you need to install the 'qemu-arm' package which provides the
223 Qemu CPU emulator for the ARM platform. If you have built a distro
224 with the sat tool you can emulate it with:
225 </p>
227 <pre>
228 # sat emu
229 </pre>
231 <!-- Close content -->
232 </div>
234 <div id="footer">
235 &copy; 2014 - <a href="http://www.slitaz.org/">SliTaz GNU/Linux</a>
236 </div>
238 </body>
239 </html>