
6.1.3 Kernel compilation ................................................................... 34
6.2 Generation of the file system .......................................... 34
6.2.2 Android system compilation ...................................................... 35
6.3 System Customization....................................................36
6.3.1 Modification of Kernel Configuration ........................................... 36
6.3.2 Compilation............................................................................. 37
6.4 Introduction to Drivers ...................................................38
6.4.1 NAND ..................................................................................... 38
6.4.2 SD/MMC ................................................................................. 39
6.4.3 LCDC...................................................................................... 40
6.4.4 Audio in/out ............................................................................ 41
6.5 Driver Development .......................................................42
6.5.1 Driver for the gpio_keys ........................................................... 42
6.5.2 Driver for the gpio_leds ............................................................ 47
6.6 Updating the System......................................................50
6.6.1 Updating the TF card system image ........................................... 50
6.6.2 Updating NAND Flash ............................................................... 54
6.7 Instructions ..................................................................56
6.7.1 Selecting the Display Mode ....................................................... 56
6.7.2 Using a 4.3” LCD Display .......................................................... 57
6.7.3 Using a 7” LCD Display ............................................................. 58
6.7.4 Using a VGA Display................................................................. 58
6.7.5 Using an LVDS Display ............................................................. 58
6.8 Testing.........................................................................58
6.8.1 LED Testing............................................................................. 58
6.8.2 KEYPAD Testing....................................................................... 58
6.8.3 Touch Screen Testing ............................................................... 60
6.8.4 Backlight Testing ..................................................................... 60
6.8.5 RTC Testing ............................................................................ 61
6.8.6 TF Card Testing ....................................................................... 62
6.8.7 USB DEVICE Testing ................................................................ 63
6.8.8 USB HOST Testing ................................................................... 65
6.8.9 AUDIO Testing......................................................................... 66