Hello geeks
Hope all are doing well!

Right now, I'm using the i.mx6 SOM from Variscite

I have created the custom image by adding my custom meta layers
Previously, the kernel generated the .wic image along with the default hardware 
configuration as mentioned in the DTS file through  meta-variscite-bsp layers

Now, I wanted to add my own custom DTS file.. (I'm not intended to modify the 
default DTS configuration, as it's a fresh DTS file)
And that's how I followed the below steps

*Procedure That I followed*

1. Created the recipes file called "recipes-kernel" in my custom meta-mylayer

2. added the new DTS file as followed the file configuration as.. 
*recipes-kernel/linux/files/imx6ul-var-som-aio-controller-board-v2-emmc-sd-card.dts*

3. Created the recipe file as, *"linux-aio-controller_1.0.bb"* by adding the 
following contents
-----------------------------------------------------------------------------------------------------------------------
DESCRIPTION= "AIO Controller board v2 custom kernel configuration"

LICENSE= "MIT"

LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

SRC_URI += "file://imx6ul-var-som-aio-controller-board-v2-emmc-sd-card.dts"
#LINUX_KERNEL_TYPE = "custom"

S = "${WORKDIR}"
DTS_DIR = "${S}/arch/arm/boot/dts"
DTS_NAME = "imx6ul-var-som-aio-controller-board-v2-emmc-sd-card.dts"
DTS_DEST = "${DTS_DIR}/${DTS_NAME}"

do_install() {
install -d ${DTS_DIR}
install -m 0644 ${WORKDIR}/${DTS_NAME} ${DTS_DEST}
}

do_compile() {
oe_runmake -C ${S} ARCH=${ARCH} dtbs
}

DEPENDS = "virtual/kernel"
---------------------------------------------------------------------------------------------------------

4. instead the image with the custom recipes as...
*INSTALLED_IMAGE_append = "  linux-aio-controller"*

5. Listed the dtb file in to the Makefile of the dtb list in /arc/arm/boot/dts 
directory

*Problem statement
-------------------------------------------------------------------------------------------------------
* During the baking the image, the dts file get parsed
However, it's failed to compile
As the logs shows....

*|ERROR: oe_runmake failed*
*|make: * No rule to make target 'dtbs'.  Stop.

The brief logs are as follows

*

*| DEBUG: Executing shell function do_compile*

*| NOTE: make -j 4 -C 
/home/mahendra/Documents/AIO_System/Yocto_Src/var-fslc-yocto/build_aio/tmp/work/imx6ul_var_dart-fslc-linux-gnueabi/linux-aio-controller/1.0-r0
 ARCH= dtbs*

*| ERROR: oe_runmake failed*

*| make: Entering directory 
'/home/mahendra/Documents/AIO_System/Yocto_Src/var-fslc-yocto/build_aio/tmp/work/imx6ul_var_dart-fslc-linux-gnueabi/linux-aio-controller/1.0-r0'*

*| make: Leaving directory 
'/home/mahendra/Documents/AIO_System/Yocto_Src/var-fslc-yocto/build_aio/tmp/work/imx6ul_var_dart-fslc-linux-gnueabi/linux-aio-controller/1.0-r0'*

*| WARNING: exit code 1 from a shell command.*

*| make: * No rule to make target 'dtbs'.  Stop.*

*| ERROR: 
ExecutionError('/home/mahendra/Documents/AIO_System/Yocto_Src/var-fslc-yocto/build_aio/tmp/work/imx6ul_var_dart-fslc-linux-gnueabi/linux-aio-controller/1.0-r0/temp/run.do_compile.21607',
 1, None, None)

----------------------------------------------------------------------------------------------

* Can anyone help me here to figure out the issue?

Thanks
Mahendra
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59431): https://lists.yoctoproject.org/g/yocto/message/59431
Mute This Topic: https://lists.yoctoproject.org/mt/97625924/21656
Mute #imx6:https://lists.yoctoproject.org/g/yocto/mutehashtag/imx6
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to