Luca Ronga

yocto fsl-image-mfgtool-initramfs image dependencies

Discussion created by Luca Ronga on Mar 17, 2020
Latest reply on Apr 10, 2020 by Rita Wang

Hello,

I am working on a custom BSP for a board based on i.MX6 quad and I need a mfgtool image. I have a custum kernel and bootloader for my machine, correctly proposed as PREFERRED_PROVIDERS of virtual/kernel and virtual/bootloader respectively. However when I try to bitbake the mfgtool image with "bitbake fsl-image-mfgtool-initramfs" it seems to be dependent on "u-boot-fsl-mfgtool" instead of my custum bootloader.

 

Investigating further I found that in the image recipe

sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images/fsl-image-mfgtool-initramfs.bbappend

the dependency is adjusted only for the kernel and not for the bootloader

 

# Replace linux-mfgtool with virtual/kernel

DEPENDS_remove = "linux-mfgtool"
DEPENDS_append = " virtual/kernel"

 

Should it be as follow ?

 

# Replace linux-mfgtool with virtual/kernel

DEPENDS_remove = "linux-mfgtool u-boot-mfgtool"
DEPENDS_append = " virtual/kernel virtual/bootloader"

 

Thanks.

Outcomes