slitaz-arm annotate rpi/README @ rev 54
Rename default rpi flavor to rpi-base
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Mar 13 23:17:34 2014 +0100 (2014-03-13) |
parents | 27666463d629 |
children | e78c96840be9 |
rev | line source |
---|---|
pankso@35 | 1 SliTaz RPi |
pankso@35 | 2 ================================================================================ |
pankso@35 | 3 |
pankso@35 | 4 |
pankso@35 | 5 SliTaz Raspberry Pi distro tools and files |
pankso@35 | 6 |
pankso@35 | 7 |
pankso@54 | 8 TazBerry |
pankso@54 | 9 ------------------------------------------------------------------------------- |
pankso@54 | 10 SliTaz Raspberry Pi Config Tool with cmdline suport and user frindly ncurses |
pankso@54 | 11 interface. Symply run the tool to get the menu or give TazBerry a function in |
pankso@54 | 12 argument to execute it. Tazberry cmdline output is formated to be used in GUI |
pankso@54 | 13 tools such as CGI scripts or GTK boxes: |
pankso@54 | 14 |
pankso@54 | 15 $ tazberry ls-functions |
pankso@54 | 16 |
pankso@54 | 17 |
pankso@54 | 18 Sat RPi build tool quickstart |
pankso@35 | 19 -------------------------------------------------------------------------------- |
pankso@49 | 20 The Raspberry Pi has a lot of specifications. SliTaz ARM provides 'sat-rpi' to build |
paul@40 | 21 custom SliTaz Rpi distro images ready to boot. A SliTaz RPi prebuilt Linux kernel |
paul@40 | 22 package is hosted on the SliTaz mirror. To get the latest version and unpack it: |
pankso@35 | 23 |
pankso@49 | 24 # sat-rpi get-linux |
pankso@35 | 25 |
pankso@35 | 26 The 'gen' command will generate a new SliTaz Raspberry Pi distro using 'sat'. |
paul@41 | 27 It will also install needed firmware and boot configuration files from the |
pankso@54 | 28 directory: flavors/rpi*/rootfs. Don't forget to sync your local packages |
pankso@54 | 29 mirror before generating the distro to get the latest versions and fixes: |
pankso@35 | 30 |
pankso@49 | 31 # sat-rpi gen |
pankso@35 | 32 |
paul@40 | 33 Then you can install the distro on the sdcard. It is recommended to use |
paul@40 | 34 3 partitions: one for /boot formatted in FAT32, second for the swap memory |
paul@40 | 35 and third for the root filesystem. You can you use gparted or 'fdisk' to create |
pankso@38 | 36 the needed partitions. Main advantages are: more memory for the RPi and |
paul@40 | 37 better security with file permissions. When ready and you know your disk |
pankso@49 | 38 path (sat-rpi ls-dev) you can install SliTaz RPi with: |
pankso@38 | 39 |
pankso@49 | 40 # sat-rpi install --dev=/dev/sdX |
pankso@38 | 41 |
pankso@38 | 42 |
pankso@49 | 43 Sat RPi commands and options |
pankso@38 | 44 -------------------------------------------------------------------------------- |
pankso@38 | 45 To get the list of commands and options with a short help simply run: |
pankso@38 | 46 |
pankso@49 | 47 $ sat-rpi |
pankso@38 | 48 |
pankso@54 | 49 --turbo: The forced turbo option turns off the dynamic clocks and runs the |
pankso@54 | 50 Raspberry Pi constantly at the highest arm_freq. |
pankso@54 | 51 |
pankso@54 | 52 |
pankso@39 | 53 Overclocking |
pankso@39 | 54 ------------ |
paul@40 | 55 To enable overclocking select one of the suggested modes from the list. Choosing |
pankso@39 | 56 medium is generally a good starting point without risks: |
pankso@39 | 57 |
pankso@49 | 58 # sat-rpi oclock |
pankso@49 | 59 # sat-rpi gen --oclock=medium |
pankso@39 | 60 |
pankso@54 | 61 |
pankso@39 | 62 SliTaz RPi Kernel |
pankso@39 | 63 ----------------- |
pankso@49 | 64 To build the Slitaz RPi Linux Kernel, Sat RPi uses a SliTaz prebuilt ARM cross |
pankso@39 | 65 toolchain and a small patch to modify the kernel configuration. You can browse |
pankso@49 | 66 the RPi SliTaz Mirror for preview versions or get the latest toolchain with sat-rpi |
pankso@39 | 67 and build the kernel: |
pankso@39 | 68 |
pankso@49 | 69 # sat-rpi get-prebuilt |
pankso@49 | 70 # sat-rpi cook-linux |
pankso@39 | 71 |
pankso@38 | 72 |
pankso@38 | 73 ================================================================================ |