-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathBuild_Android_QT210.txt
More file actions
79 lines (62 loc) · 1.78 KB
/
Build_Android_QT210.txt
File metadata and controls
79 lines (62 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
##Build U-boot for MMC boot
*Decompress u-boot
tar -jxvf qt210_ics_uboot.bz2
*Enter u-boot folder
cd qt210_ics_uboot
*Config and Build
make smdkv210single_config
make -j8
*Result image
u-boot.bin
*Build Android Kernel
*Decompress Android Kernel
tar -jxvf qt210_ics_kernel3.0.8_adk.tar.bz2
*Enter Kernel folder
cd qt210_ics_kernel3.0.8_adk
*Config and Build
cp config_for_ADK .config
make -j8 uImage
*Result image
arch/arm/boot/uImage
*Build Android file system
*Decompress Android 4.0 source code
tar -jxvf android_4.0.3_ADK.tar.bz2
*Enter Android folder
cd android_4.0.3_ADK
*Set up envirunment
source build/envsetup.sh
*Config build target
lunch
full_smdkv210-eng
*Build
make -j8
*Result
out/target/product/smdkv210/ramdisk-uboot.img
out/target/product/smdkv210/system.img
*Build Bootable SD Card
*Step 1 - Use sd_fusing to create bootable SD card
cd qt210_ics_uboot/sd_fusing
sudo ./sd_fusing_uboot.sh /dev/sdX
*Step 2 - Boot from SD card and create partition (In u-boot stage)
fdisk -c 0
*Update Android to QT210
*Step 1 - Enter fastboot mode [Target]
fastboot
*Step 2 - Update u-boot [PC]
fastboot flash bootloader u-boot.bin
*Step 3 - Reboot target board and load new bootloader [Target]
reboot
fastboot
*Step 4 - Update Android Kernel [PC]
fastboot flash kernel uImage
*Step 5 - Update Android RAMDISK [PC]
fastboot flash ramdisk ramdisk-uboot.img
*Step 6 - Update Android System.img [PC]
fastboot flash system system.img
*Step 7 - Finish and reboot [Target]
ctrl+c to interrtup fastboot mode
reboot
*Step 8 - Format data partition [PC]
sudo mkfs.ext4 /dev/sdX3 where X is your usb sd card reader number (Try dmesg)
*Step 8 - Set stay awake mode on Android
setting->development->stay awake (checked)