大家好!
我用的imx6q LINUX版本是3.14.52
现在想增加一个自己的DTS文件,我在arch/arm/boot/dts/目录下添加了自己的DTS文件imx6q-sabresd-ldo10.dts
在arch/arm/boot/dts/Makefile中增加
dtb-$(CONFIG_ARCH_MXC) += \
.......
imx6q-sabresd-ldo.dtb \
imx6q-sabresd-ldo10.dtb \
然后用
bitbake -c compile -f -v linux-imx
bitbake linux-imx -c compile_kernelmodules -f -v
bitbake -c deploy -f -v linux-imx
编译内核,但是执行完后根本没有编译imx6q-sabresd-ldo10.dts、没有产生imx6q-sabresd-ldo10.dtb文件
请高手看看是不是还有什么地方没有添加?
it doesn't work in both 2 ways from my side.
Hello,
Here you can try and refer to the following command.
This following shell script will set up related environment and build the kernel image.
#!/bin/bash
export ARCH=arm
export CROSS_COMPILE=$your_build_dir/tmp/sysroots/x86_64-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-
make distclean
make my_imx6ul_defconfig
make zImage
make dtbs
Then you can see your kernel images on your arch/arm/boot/dts/ folder.
Have a great day,
Rita
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
3.14.52已经采用yocto了,好像不能直接make编译