Skip to contentSkip to conversation

Device Tree Source is not correctly specified in fitImage signing process

DISCUSSION samir mouhoune 1 participant 1 message Aug 9, 2018 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

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