[poky] [ Error ] Could not locate BSP definition witch custom machine.conf
Bruce Ashfield
bruce.ashfield at gmail.com
Thu Oct 17 13:27:57 PDT 2019
On Thu, Oct 17, 2019 at 1:00 PM AshishKumar Mishra
<ashish.emailaddress at gmail.com> wrote:
>
> Hi Team ,
>
> (1) I am trying to understand yocto BSP creation for which i create an
> machine.conf ( used qemux86.conf )
> PROMPT : ls conf/machine/armour-whiplash.conf
> conf/machine/armour-whiplash.conf
>
> (2) I made the changes in linux recipe file on lines of qemux86
> PROMPT : cat recipes-kernel/linux/linux-yocto_5.0.bb | grep armour*
> KBRANCH_armour-whiplash ?= "v5.0/standard/base"
> SRCREV_machine_armour-whiplash ?= "14b6c1fc020fa357245e9ac9c6c69d253bc7ce30"
> COMPATIBLE_MACHINE = "qemuarm|qemuarmv5|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64|armour-whiplash"
> KERNEL_FEATURES_append_armour-whiplash=" cfg/sound.scc cfg/paravirt_kvm.scc"
>
> PROMPT : cat recipes-kernel/linux/linux-yocto_5.0.bb | grep qemux86
> KBRANCH_qemux86 ?= "v5.0/standard/base"
> SRCREV_machine_qemux86 ?= "14b6c1fc020fa357245e9ac9c6c69d253bc7ce30"
> COMPATIBLE_MACHINE = "qemuarm|qemuarmv5|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64|armour-whiplash"
> KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc"
>
>
> (3) When i compile the core-image i am getting below mentioned error
> ERROR: linux-yocto-5.0.7+gitAUTOINC+2d838e11b0_14b6c1fc02-r0 do_kernel_metadata: Could not locate BSP definition for armour-whiplash/standard and no defconfig was provided
>
You need to have a BSP definition file, which tells the kernel meta
data and configuration phases how to actually configure the board from
the collection of fragments.
That error is telling you that you don't have a BSP definition file
that can be located by the tools.
If you want to have your own machine name, but otherwise re-use the
qemux86 configuration, you can put: KMACHINE_armour-whiplash =
"qemux86", and the tools will use that as the starting point for
configuration.
If you need to define your own BSP definition file, search for the
recent thread with this subject: "[yocto] Kernel patches pulled from
BSP definition file are not applied", and you'll see an example of how
to define one in your own layer.
Bruce
> Can team please provide any pointers on same as i checked that my layer has machine.conf (armour-whiplash.conf)
> but not sure why yocto gives error of no BSP
>
> Thanks
> Ashish
>
> --
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
--
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
More information about the poky
mailing list