slitaz-arm annotate rpi/README @ rev 133

rpi: use raspberrypi package, clean up code
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 26 03:12:28 2014 +0200 (2014-04-26)
parents d81795f58d28
children 3b857a987d2b
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 -------------------------------------------------------------------------------
paul@56 10 SliTaz Raspberry Pi Config Tool with cmdline support and user friendly ncurses
paul@56 11 interface. Simply run the tool to get the menu or give TazBerry a function in
paul@56 12 argument to execute it. Tazberry cmdline output is formatted 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@67 40 # sat-rpi install
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@67 47 $ sat-rpi help
pankso@38 48
pankso@54 49
pankso@39 50 Overclocking
pankso@39 51 ------------
pankso@133 52 To enable overclocking you must use tazberry directly on your Raspberry Pi.
pankso@39 53
pankso@54 54
pankso@39 55 SliTaz RPi Kernel
pankso@39 56 -----------------
pankso@49 57 To build the Slitaz RPi Linux Kernel, Sat RPi uses a SliTaz prebuilt ARM cross
pankso@39 58 toolchain and a small patch to modify the kernel configuration. You can browse
pankso@49 59 the RPi SliTaz Mirror for preview versions or get the latest toolchain with sat-rpi
pankso@39 60 and build the kernel:
pankso@39 61
pankso@49 62 # sat-rpi get-prebuilt
pankso@49 63 # sat-rpi cook-linux
pankso@39 64
pankso@38 65
pankso@38 66 ================================================================================