While running nanopi-neo image in yocto it throws the following error. In local.conf MACHINE ??= "nanopi-neo
ERROR: OE-core's config sanity checker detected a potential misconfiguration. Either fix the cause of this error or at your own risk disable the checker (see sanity.conf). Following is the list of potential problems / advisories:
MACHINE=nanopi-neo is invalid. Please set a valid MACHINE in your local.conf, environment or other configuration file.
Can anyone please tell me to fix this error?
Apparently, nanopi-neo is unknown target device for your setup. MACHINE ??= nanopi-neo looks as default value, so you most probably should set this variable to the target that is available in your bsp layer, which typically has name meta-bsp-smth. You can find the list of available devices in meta-bsp-smth/conf/machine folder (e.g. meta-bsp-smth/conf/machine/some_dev_name.conf). Then add to local.conf:
Check also in conf/bblayers.conf which layers are enabled if error remains, that bsp layer's full path should be in the list of BBLAYERS.
Update
You can also check available products by running
and check the first column for availability and correct name of product. Then, available layers you can check by running:
and check if meta-sunxi is in the output list.