yocto fsl-image-mfgtool-initramfs image dependencies

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

yocto fsl-image-mfgtool-initramfs image dependencies

3,319件の閲覧回数
luca_simone_ron
Contributor I

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.

ラベル(1)
タグ(2)
0 件の賞賛
返信
6 返答(返信)

3,108件の閲覧回数
luca_simone_ron
Contributor I

Dear Rita,

the BSP is a "rocko" for a custom kernel derived form imx-4.9.88-2.0.0.

The next question is more general, after the image fsl-image-mfgtool-initramfs has been created without errors, the deploy directory seems to contain only

fsl-image-mfgtool-initramfs-imx6qdta-20200317082039.rootfs.cpio.gz.u-boot
fsl-image-mfgtool-initramfs-imx6qdta-20200317082039.rootfs.manifest
fsl-image-mfgtool-initramfs-imx6qdta-20200317082039.testdata.json

something is missing right ?

Thanks

0 件の賞賛
返信

3,108件の閲覧回数
Rita_Wang
NXP TechSupport
NXP TechSupport

You are using the board you design, if DDR changed you need to build the images for mfgtool, here when you fished build you can try to download, make sure the name are the same with the ones in uxl2.xml file.

0 件の賞賛
返信

3,108件の閲覧回数
luca_simone_ron
Contributor I

Thanks,

for the support, I may have not clear the entire process so please apologize any weird query from my side.

We already have a mfgtools2 working with our custom image. It is manually crafted from a previous deployment by adding the new kernel, uboot and rootfs.

What I would like to understand is if the yocto recipe " image fsl-image-mfgtool-initramfs" would help in the preparation of the custom mfgtools components. I could not find any document about what I should expect from bitbaking it, it seems only to output the custom u-boot image. Is this because I already have an image bitbaked ?

Luca

0 件の賞賛
返信

3,108件の閲覧回数
Rita_Wang
NXP TechSupport
NXP TechSupport

Using Yocto Project and bibake mfgtool-linux-imx for kernel firmware and bitbake u-boot-mfgtool for uboot firmware.

0 件の賞賛
返信

3,108件の閲覧回数
Rita_Wang
NXP TechSupport
NXP TechSupport

Are you using the uuu tool to download ?

0 件の賞賛
返信

3,108件の閲覧回数
Rita_Wang
NXP TechSupport
NXP TechSupport

Could you tell us which version of BSP are you using?

0 件の賞賛
返信