## ºÎÆà ¸ðµå -SD ºÎÆà SW1: 2 ¹ø ON , ³ª¸ÓÁö OFF, SW2 : 3,4,5 ¹ø ON ³ª¸ÓÁö OFF -eMMC ºÎÆà : SW1: 2,3 ¹ø ON , ³ª¸ÓÁö OFF, SW2 : 4,6 ¹ø ON ³ª¸ÓÁö OFF ##Linux Environment install http://source.android.com/source/initializing.html ## jdk install ## source download http://crztech.iptime.org:8080/Release/mango-imx6q/Android9.0/ $ wget http://crztech.iptime.org:8080/Release/mango-imx6q/Android9.0/Prebuilts/Android9.0-prebuilts.tgz $ wget http://crztech.iptime.org:8080/Release/mango-imx6q/Android9.0/<Ãֽų¯Â¥ ¼Ò½º>.tgz $ tar xf <Ãֽų¯Â¥ ¼Ò½º>.tgz $ cd android_build $ tar xf Android9.0-prebuilts.tgz #Àüü ºôµå $ cd android_build $ source build/envsetup.sh $ lunch sabresd_6dq-eng $ make -j 9 2>&1 | tee build-log.txt #U-boot ÄÄÆÄÀÏ $ cd android_build $ source build/envsetup.sh $ lunch sabresd_6dq-eng $ make bootloader -j4 #Ä¿³Î ÄÄÆÄÀÏ $ export MY_ANDROID=/home/icanjji/work/imx6q/android-work/android9.0-work/android_build °æ·Î´Â °¢ÀÚ È¯°æ¿¡ ¸Â°Ô ¼¼ÆÃÇÑ´Ù. $ cd ${MY_ANDROID}/vendor/nxp-opensource/kernel_imx $ echo $ARCH && echo $CROSS_COMPILE # Make sure you have those 2 environment variables set # If the two variables have not set, please set the as: $ export ARCH=arm $ export CROSS_COMPILE=${MY_ANDROID}/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi- # Generate ".config" according to default config file under arch/arm/configs. # to build the kernel Image for i.MX 6Quad, 6QuadPlus, 6DualLite, 6Solo, 6SoloLite, 6SoloX ,7Dual and 7ULP $ make imx_v7_android_defconfig $ make KCFLAGS=-mno-android ## 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] sdg: sdg1 sdg2 $ cd ${ANDROID_BUILD} $ sudo ./device/fsl/common/tools/fsl-sdcard-partition.sh -f imx6q -D out/target/product/sabresd_6dq/ /dev/sdx 8GB micro sd À̹ÌÁö°¡ Write°¡ µÈ´Ù. 16GB Micro sd $ cd ${ANDROID_BUILD} $ sudo ./device/fsl/common/tools/fsl-sdcard-partition.sh -f imx6q -c 14 -D out/target/product/sabresd_6dq/ /dev/sdx 32GB Micro Sd $ cd ${ANDROID_BUILD} $ sudo ./device/fsl/common/tools/fsl-sdcard-partition.sh -f imx6q -c 28 -D out/target/product/sabresd_6dq/ /dev/sdx 7 inch °¨¾Ð½Ä LCD+ HDMI ºÎÆà bootargs setenv panel HDMI setenv bootargs console=ttymxc0,115200 init=/init video=mxcfb0:dev=lcd,MANGO-PRESS7,if=BGR24,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=256M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=512M androidboot.serialno=0 androidboot.selinux=disabled saveenv reset 7inch Á¤Àü½Ä LCD ºÎÆà (Android) setenv panel HDMI setenv bootargs console=ttymxc0,115200 init=/init video=mxcfb0:dev=lcd,MANGO-CAP7,if=BGR24,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=256M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=512M androidboot.serialno=0 androidboot.selinux=disabled saveenv reset 10.4 inch °¨¾Ð½Ä LCD ºÎÆà bootargs setenv panel HDMI setenv bootargs console=ttymxc0,115200 init=/init video=mxcfb0:dev=lcd,MANGO-PRESS10.4,if=BGR24,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=256M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=512M androidboot.serialno=0 androidboot.selinux=disabled saveenv reset 10.1 inch Á¤Àü½Ä LCD ºÎÆà bootargs setenv panel HDMI setenv bootargs console=ttymxc0,115200 init=/init video=mxcfb0:dev=lcd,MANGO-CAP10.1,if=BGR24,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=128M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=512M androidboot.serialno=0 androidboot.selinux=disabled saveenv reset HDMI ONLY setenv bootargs console=ttymxc0,115200 init=/init video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=128M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=512M galcore.contiguousSize=33554432 loop.max_part=7 androidboot.serialno=0 androidboot.selinux=disabled saveenv reset ####### Reference ## system remount $ adb shell $ su # mount -o rw,remount /system - adb root Go to Settings. Click on "about tablet" Scroll down to the last row (Build Number) and tap that row 7 times. Return to the previous screen and click on "developer options" Confirm that "usb debugging" is checked. - disable power save mode : LCD ²¨ÁöÁö ¾Êµµ·Ï Go to Settings. Click on "about tablet" Scroll down to the last row (Build Number) and tap that row 7 times. Return to the previous screen and click on "developer options" Settings > Developer options > Stay awake Linux ,window pc¿¡¼­ adb Å×½ºÆ® ½Ã ÃֽŠsdk ¼³Ä¡ https://developer.android.com/studio/index.html Window pc adb Å×½ºÆ® c:\Android_SDK\adt-bundle-windows-x86_64-20130219\sdk\platform-tools>adb device List of devices attached 0 device c:\Android_SDK\adt-bundle-windows-x86_64-20130219\sdk\platform-tools>adb root adbd is already running as root c:\Android_SDK\adt-bundle-windows-x86_64-20130219\sdk\platform-tools>adb shell root@sabresd_6dq:/ # su