1.修改屏幕尺寸
kernel/drivers/video/mxc/ldb.c
60,1920,1080,9734,220,25,21,10,40,10
arch/arm/mach-mx6/board-mx6q_sabresd.c
.interface_pix_fmt = IPU_PIX_FMT_RGB24,
.default_bpp = 32,
2. andriod kernel logo
(a) make menuconfig
Device Drivers -> Graphics Support ->Logo configuration
cp .config arch/arm/configs/imx6_android_defconfig
(b) lunch sabresd_6dq-user
(c) make
(b)setenv bootargs console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,LDB-XGA,if=RGB24,bpp=32 video=mxcfb1:off video=mxcfb2:off fbmem=24M vmalloc=400M androidboot.console=ttymxc0 androidboot.hardware=freescale mem=1024M
關鍵配置好 uboot 啓動參數才能看見 kernel logo
3. andriod 源碼單獨編譯
(a) source build/envsetup.sh
(b) source /etc/profile
(c) mmm packages/apps/Calculator
(d) 生成的文件放在 out/target/product/generic/system/app
4.adb 安裝和刪除 APP
(a) adb install XX.apk
(b) adb uninstall XX.apk
(c) adb push XXXX //上傳文件
(d) adb pull XXXX //下載文件
5.No private recovery resources for TARGET_DEVICE
(a)去相應的out文件夾下刪掉生成文件
(b)修改要build的文件。
6.app編譯進android系統
7.adb 看下系統服務
(a) adb shell service list
2.設置啓動ARM核個數
CONFIG_SPLIT_PTLOCK_CPUS = 1,怎麼不是一個核啓動,都給賦值爲2,確實兩核啓動,我現在想調整爲一個核運行,測試以下功耗,那位朋友知道怎麼配置可以成單核啓動運行?謝謝
解答:uboot 傳遞個maxcpus =1
8. hosts翻牆
(a) sudo gedit /etc/hosts
(b) sudo /etc/init.d/networking restart