[yocto] Device Tree Source is not correctly specified in fitImage signing process
samir mouhoune
mouhoune_samir at yahoo.fr
Thu Aug 9 06:48:33 PDT 2018
Hi All,
I am trying to generate a signed fitImage for IMX6 (nitrogen6x) som using PYRO 2.3 branch.
I my setup I had the following configs:
KERNEL_DEVICETREE = "imx6q-sabrelite.dtb \ imx6q-nitrogen6x.dtb imx6dl-nitrogen6x.dtb \" KERNEL_IMAGETYPE = "fitImage"KERNEL_CLASSES += "kernel-fitimage"
PREFERRED_PROVIDER_u-boot = "u-boot-boundary"PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-boundary"PREFERRED_PROVIDER_virtual/kernel ??= "linux-boundary"
UBOOT_SIGN_ENABLE = "1"UBOOT_SIGN_KEYDIR = "/data_local/imx6/keys"UBOOT_SIGN_KEYNAME = "ubootkey.key"UBOOT_MKIMAGE_DTCOPTS = "-I dts -O dtb -p 2000"
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += " \ kernel-image \ kernel-devicetree \"...
In uboot: in include/configs/nitrogen6x.h I added #define CONFIG_OF_CONTROL#define CONFIG_OF_SEPARATE
At the compilation I am getting The following error: Device Tree Source is not correctly specified.
Please define 'CONFIG_DEFAULT_DEVICE_TREE' or build with 'DEVICE_TREE=<device_tree>' argument
Any idea about the root cause?. Idon't understand why I am getting this error. In my config I already set
KERNEL_DEVICETREE = "imx6q-sabrelite.dtb \ imx6q-nitrogen6x.dtb imx6dl-nitrogen6x.dtb \"
Thank you in advance for your support
Cordialement, Best Regards,Samir MOUHOUNE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180809/ed0a0767/attachment-0001.html>
More information about the yocto
mailing list