Imx6q Andriod4.4.2调试

来源:互联网 发布:mac windows抹掉 编辑:程序博客网 时间:2024/05/21 09:12

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核个数

imx6q android 中的imx6_android_defconfig文件中修改CONFIG_NR_CPUS = 1
CONFIG_SPLIT_PTLOCK_CPUS = 1,怎么不是一个核启动,都给赋值为2,确实两核启动,我现在想调整为一个核运行,测试以下功耗,那位朋友知道怎么配置可以成单核启动运行?谢谢

        解答:uboot 传递个maxcpus =1

8. hosts翻墙

(a) sudo gedit /etc/hosts

(b) sudo /etc/init.d/networking restart

0 0
原创粉丝点击