## jdk install
sudo tar -xf jdk1.7.0_79.tgz -C /opt
## Android Build
./build_android.sh
## u-boot build
./build_android.sh uboot
## kernel build
./build_android.sh kernel
## SD Fusing
- images 폴더에서 작업.
- SD 카드 삽입후, 장치 확인
dmesg | tail
[ 4223.048053] sd 7:0:0:0: [sdb] 15628288 512-byte logical blocks: (8.00 GB/7.45 GiB)
[ 4223.050036] sd 7:0:0:0: [sdb] No Caching mode page found
[ 4223.050040] sd 7:0:0:0: [sdb] Assuming drive cache: write through
[ 4223.052662] sd 7:0:0:0: [sdb] No Caching mode page found
[ 4223.052666] sd 7:0:0:0: [sdb] Assuming drive cache: write through
[ 4223.053306] sdb: sdg1 sdg2
- SD Write
sudo ./fsl-sdcard-partition.sh -f imx6q /dev/sdg
Download the U-Boot image:
# sudo dd if=u-boot.imx of=/dev/sdg bs=1K seek=1; sync
Download the boot image:
# sudo dd if=boot.img of=/dev/sdg1; sync
Download the Android system root image:
# sudo dd if=system.img of=/dev/sdg5; sync
Download the Android recovery image:
# sudo dd if=recovery.img of=/dev/sdg2; sync
##u-boot 환경변수 설정
setenv bootcmd booti mmc2
setenv fastboot_dev mmc2
리셋
7inch 정전식 LCD 부팅 (Android)
setenv bootargs console=ttymxc0,115200 init=/init video=mxcfb0:dev=lcd,MANGO-CAP7,fbpix=BGR32,bpp=32 androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale androidboot.selinux=disabled
10.1 inch 정전식 LCD 부팅 bootargs
setenv bootargs console=ttymxc0,115200 init=/init video=mxcfb0:dev=lcd,MANGO-CAP10.1,fbpix=BGR32,bpp=32 androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale androidboot.selinux=disabled
10.4 inch 감압식 LCD 부팅 bootargs
setenv bootargs console=ttymxc0,115200 init=/init video=mxcfb0:dev=lcd,MANGO-PRESS10.4,fbpix=BGR32,bpp=32 androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale androidboot.selinux=disabled
7 inch 감압식 LCD 부팅 bootargs
setenv bootargs console=ttymxc0,115200 init=/init video=mxcfb0:dev=lcd,MANGO-PRESS7,fbpix=BGR32,bpp=32 androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale androidboot.selinux=disabled
내용