imx6q的kernel在yocto中的有关内容
来源:互联网 发布:java 面试宝典2017 编辑:程序博客网 时间:2024/05/18 20:07
[fulinux@dev-ubuntu sources]$ cat meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/linux/linux-imx_4.1.15.bb
# Copyright (C) 2013-2016 Freescale Semiconductor
# Released under the MIT license (see COPYING.MIT for the terms)
SUMMARY = "Linux Kernel provided and supported by Freescale"
DESCRIPTION = "Linux Kernel provided and supported by Freescale with focus on \
i.MX Family Reference Boards. It includes support for many IPs such as GPU, VPU and IPU."
require recipes-kernel/linux/linux-imx.inc
require recipes-kernel/linux/linux-dtb.inc
DEPENDS += "lzop-native bc-native"
SRCBRANCH = "imx_4.1.15_2.0.0_ga"
LOCALVERSION = "-2.0.3"
SRCREV = "b63f3f52cb393e3287352cf63f0caef31a33ab63"
KERNEL_SRC ?= "git://git.freescale.com/imx/linux-imx.git;protocol=git"
SRC_URI = "${KERNEL_SRC};branch=${SRCBRANCH}"
MX6ULL_900MHZ_PATCH = "file://0008-MLK-14409-01-ARM-imx-Add-speed-grading-fuse-check-fo.patch \
file://0009-MLK-14409-02-ARM-dts-imx-Add-900MHz-setpoint-on-i.mx.patch \
file://0010-MLK-14409-03-ARM-dts-imx-Correct-the-setpoint-on-imx.patch \
"
SRC_URI += "file://0001-ARM-imx-imx6ul-add-PHY-KSZ8081-new-silicon-revision-.patch \
file://0001-MLK-13418-ASoC-wm8960-workaround-no-sound-issue-in-m.patch \
file://0002-MLK-13422-ASoC-wm8960-fix-the-pitch-shift-issue-afte.patch \
file://0001-MLK-13748-ARM-dts-imx6ull-9x9-evk-ldo-add-ldo-enable.patch \
file://0002-MLK-13766-ARM-dts-imx6ull-9x9-evk-correct-the-xnur-p.patch \
file://0003-MLK-13774-ARM-imx-fix-lpddr2-busfreq-support-on-i.mx.patch \
file://0004-MLK-13724-ARM-dts-fix-audio-error-log-in-kernel-boot.patch \
file://0005-MLK-13601-01-ARM-dts-imx-update-the-setpoint-for-imx.patch \
file://0006-MLK-13601-02-ARM-imx-Add-fuse-check-support-for-imx6.patch \
file://0007-MLK-13616-ARM-imx-Add-low-power-run-voltage-change-s.patch \
${MX6ULL_900MHZ_PATCH} \
"
DEFAULT_PREFERENCE = "1"
DO_CONFIG_V7_COPY = "no"
DO_CONFIG_V7_COPY_mx6 = "yes"
DO_CONFIG_V7_COPY_mx6ul = "yes"
DO_CONFIG_V7_COPY_mx7 = "yes"
addtask copy_defconfig after do_patch before do_preconfigure #do_configure
do_copy_defconfig () {
if [ ${DO_CONFIG_V7_COPY} = "yes" ]; then
# copy latest imx_v7_defconfig to use for mx6, mx6ul and mx7
mkdir -p ${B}
cp ${S}/arch/arm/configs/imx_v7_defconfig ${B}/.config
cp ${S}/arch/arm/configs/imx_v7_defconfig ${B}/../defconfig //${S} 表示linux source code 的目录, ${B} 表示linux build 目录。
fi
}
COMPATIBLE_MACHINE = "(mx6|mx6ul|mx7)"
# Copyright (C) 2013-2016 Freescale Semiconductor
# Released under the MIT license (see COPYING.MIT for the terms)
SUMMARY = "Linux Kernel provided and supported by Freescale"
DESCRIPTION = "Linux Kernel provided and supported by Freescale with focus on \
i.MX Family Reference Boards. It includes support for many IPs such as GPU, VPU and IPU."
require recipes-kernel/linux/linux-imx.inc
require recipes-kernel/linux/linux-dtb.inc
DEPENDS += "lzop-native bc-native"
SRCBRANCH = "imx_4.1.15_2.0.0_ga"
LOCALVERSION = "-2.0.3"
SRCREV = "b63f3f52cb393e3287352cf63f0caef31a33ab63"
KERNEL_SRC ?= "git://git.freescale.com/imx/linux-imx.git;protocol=git"
SRC_URI = "${KERNEL_SRC};branch=${SRCBRANCH}"
MX6ULL_900MHZ_PATCH = "file://0008-MLK-14409-01-ARM-imx-Add-speed-grading-fuse-check-fo.patch \
file://0009-MLK-14409-02-ARM-dts-imx-Add-900MHz-setpoint-on-i.mx.patch \
file://0010-MLK-14409-03-ARM-dts-imx-Correct-the-setpoint-on-imx.patch \
"
SRC_URI += "file://0001-ARM-imx-imx6ul-add-PHY-KSZ8081-new-silicon-revision-.patch \
file://0001-MLK-13418-ASoC-wm8960-workaround-no-sound-issue-in-m.patch \
file://0002-MLK-13422-ASoC-wm8960-fix-the-pitch-shift-issue-afte.patch \
file://0001-MLK-13748-ARM-dts-imx6ull-9x9-evk-ldo-add-ldo-enable.patch \
file://0002-MLK-13766-ARM-dts-imx6ull-9x9-evk-correct-the-xnur-p.patch \
file://0003-MLK-13774-ARM-imx-fix-lpddr2-busfreq-support-on-i.mx.patch \
file://0004-MLK-13724-ARM-dts-fix-audio-error-log-in-kernel-boot.patch \
file://0005-MLK-13601-01-ARM-dts-imx-update-the-setpoint-for-imx.patch \
file://0006-MLK-13601-02-ARM-imx-Add-fuse-check-support-for-imx6.patch \
file://0007-MLK-13616-ARM-imx-Add-low-power-run-voltage-change-s.patch \
${MX6ULL_900MHZ_PATCH} \
"
DEFAULT_PREFERENCE = "1"
DO_CONFIG_V7_COPY = "no"
DO_CONFIG_V7_COPY_mx6 = "yes"
DO_CONFIG_V7_COPY_mx6ul = "yes"
DO_CONFIG_V7_COPY_mx7 = "yes"
addtask copy_defconfig after do_patch before do_preconfigure #do_configure
do_copy_defconfig () {
if [ ${DO_CONFIG_V7_COPY} = "yes" ]; then
# copy latest imx_v7_defconfig to use for mx6, mx6ul and mx7
mkdir -p ${B}
cp ${S}/arch/arm/configs/imx_v7_defconfig ${B}/.config
cp ${S}/arch/arm/configs/imx_v7_defconfig ${B}/../defconfig //${S} 表示linux source code 的目录, ${B} 表示linux build 目录。
fi
}
COMPATIBLE_MACHINE = "(mx6|mx6ul|mx7)"
0 0
- imx6q的kernel在yocto中的有关内容
- imx6q yocto 添加自己的应用程序
- Linux内核yocto在Freescale的IMX6q上启动遇到booting from net,.....
- imx6q yocto常见问题
- IMX6Q MFG-Kernel 生成
- yocto environment:imx6q Cross Compile Toolchain Installation
- Yocto tips (9): Yocto 软件包的下载地址在哪
- yocto linux kernel config
- [IMX6Q]kernel匹配machine type
- imx6q yocto修改device tree中uart管脚配置
- yocto命令yocto-layer /yocto-bsp/ yocto-kernel/ bitbake-layer命令
- imx6q中的按键驱动
- 有关在促销中的差价的解决方法
- 在android中常常会遇到与context有关的内容
- 有关Sendmessage的内容!!!
- 有关KVM的内容
- 有关Python的内容
- 有关Java的内容
- Set是如何不能加入重复值
- HTML5对手机页面长按会粘贴复制禁用的解决方法(常用)
- C++ UnitTest编写
- 电脑盘符太少教你在不用重装系统的前提下扩展盘符
- 猜数字(c语言实现)
- imx6q的kernel在yocto中的有关内容
- empty
- Linux下访问不了Tomcat下的项目
- android 自定义view仿通讯录
- 我的第一篇博客
- offset、client、scroll
- 01背包问题(leetcode 416. Partition Equal Subset Sum & leetcode 474 ones and zeroes)
- 在Windows下编译Caffe的Python接口
- 滤波器设计注意事项: