User manual
Linux Guide taskit GmbH
Table of contents
1. Introduction................................................................................................6
2. Supported products...................................................................................7
3. Mounting MMC or SD-cards......................................................................8
4. Using the bootloader „U-Boot“.................................................................9
4.1. Setting up a TFTP server under Linux...................................................................9
4.2. Description of the bootprocess..............................................................................9
4.3. Reading and writing memory and flash memory................................................10
4.4. Scripts with U-Boot................................................................................................10
4.5. Creating a bootscript..............................................................................................12
4.6. Updating U-Boot.....................................................................................................14
5. Compiling and debugging applications.................................................15
5.1. Setting up a development system........................................................................15
5.1.1. Installing the toolchain on Debian................................................................15
5.2. Mounting the working directory............................................................................16
5.3. Compiling the application sample........................................................................16
5.4. Starting the sample................................................................................................16
5.5. Debugging the sample...........................................................................................17
5.6. Downsizing the binary............................................................................................17
6. Compiling a new linux kernel..................................................................18
6.1. Configuring the kernel...........................................................................................18
6.2. Compiling the kernel..............................................................................................19
6.3. Preparing the kernel...............................................................................................20
6.4. Installing the kernel................................................................................................20
6.5. Resetting to the original state...............................................................................21
7. Creating a new root filesystem...............................................................22
7.1. Overview..................................................................................................................22
7.2. Installing the busybox............................................................................................22
7.3. Installing the MTD-utilities.....................................................................................23
7.4. Creating the initial ramdisk image........................................................................24
Page 3 of 65 Version 1.26 (2008-04-30)