IMX6Q基于Yocto移植:kernel打上tp2854全景方案补丁

一、参考文档:
https://community.nxp.com/docs/DOC-335803

二、操作步骤

  1. 源码打 patch
cd <KERNEL_DIR>
patch -p1 <PATCH_DIR>/0001-IPU-update-IPU-capture-driver-to-support-up-to-four-.patch
patch -p1 <PATCH_DIR>/0002-Remove-the-page-size-align-requirement-for-v4l2-capt.patch
patch -p1 <PATCH_DIR>/0003-Add-TP2854-support-on-SabreAuto-board-which-can-supp.patch

去除补丁回到旧版本可以通过-R选项实现

  1. kernel distclean
cd <KERNEL_BUILD_DIR> //
source angzf@linux-server:~/yocto/fsl-release-bsp/build-avm718/tmp/work/imx6q_avm718-poky-linux-gnueabi/linux-imx/4.1.15-r0/build
make distclean
  1. do configure生成.config文件
cd <YOCTO_BUILD_DIR>
bitbake -c configure -f linux-imx
  1. 修改配置
cd  <KERNEL_BUILD_DIR>
make menuconfig

配置如下
在这里插入图片描述

5.编译内核

cd <YOCTO_BUILD_DIR>
bitbake -c compile -f linux-imx

猜你喜欢

转载自blog.csdn.net/weixin_42421766/article/details/83034271
今日推荐