RK3568开发板安卓系统之驱动调试技巧(三)-rk3399开发板

3 调试技巧分享

3.1 单独编译u-boot

hale@thinkpad:rk3568_aybering_Android11$ cd u-boot hale@thinkpad:rk3568_aybering_Android11$ ./make.sh rk3568

编译成功后烧写u-boot/uboot.img和rockdev/Image-rk3568_aybering/parameter.txt 即可

3.2 单独编译kernel

hale@thinkpad:rk3568_aybering_Android11$ cd kernel hale@thinkpad:kernel$ make ARCH=arm64 rockchip_defconfig rk356x_evb.config android-11.config hale@thinkpad:kernel$ make ARCH=arm64 BOOT_IMG=../rockdev/Image-rk3568_aybering/boot.img rk3568-aybering.img -j`nproc`

编译成功后烧写kernel/boot.img和rockdev/Image-rk3568_aybering/parameter.txt 即可

BOOT_IMG=../rockdev/Image-rk3568_aybering/boot.img必须准确,否则不能正常启动android。

3.3 打包update.img

hale@thinkpad:rk3568_aybering_Android11$ ./build.sh -u

build.sh参数说明

usage() { echo “USAGE: [-U] [-CK] [-A] [-p] [-o] [-u] [-v VERSION_NAME] ” echo “No ARGS means use default build option ” echo “WHERE: -U = build uboot ” echo ” -C = build kernel with Clang ” echo ” -K = build kernel ” echo ” -A = build android ” echo ” -p = will build packaging in IMAGE ” echo ” -o = build OTA package ” echo ” -u = build update.img ” echo ” -v = build android with user or userdebug ” echo ” -d = huild kernel dts name ” echo ” -V = build version ” echo ” -J = build jobs ” exit 1 }

3.4 怎么查找RK技术文档

RK相关技术文档(软件相关)存放路径在:SDK/RKDocs目录下

免责声明:文章内容来自互联网,本站不对其真实性负责,也不承担任何法律责任,如有侵权等情况,请与本站联系删除。
转载请注明出处:RK3568开发板安卓系统之驱动调试技巧(三)-rk3399开发板 https://www.yhzz.com.cn/a/9772.html

上一篇 2023-04-20 18:47:21
下一篇 2023-04-20 18:49:42

相关推荐

联系云恒

在线留言: 我要留言
客服热线:400-600-0310
工作时间:周一至周六,08:30-17:30,节假日休息。