imx8mp: multilib: sdma-imx7d.bin in linux-firmware conflicts with firmware-imx-sdma-imx7d

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

imx8mp: multilib: sdma-imx7d.bin in linux-firmware conflicts with firmware-imx-sdma-imx7d

1,294件の閲覧回数
KenKurematsu
Contributor I

Hello.

When I tried to build the imx-image-multimedia recipe SDK in a multilib environment (bitbake imx-image-multimedia -c populate_sdk),
I got the following error.

Error: Transaction test error:
  file /lib/firmware/imx/sdma/sdma-imx7d.bin from install of linux-firmware-1:20210818-r0.cortexa53_crypto conflicts with file from package firmware-imx-sdma-imx7d-1:8.14-r0.cortexa53_crypto

branch :imx-linux-hardknott
manifest:imx-5.10.72-2.2.2.xml
machine :imx8mp-lpddr4-evk

meta-imx seems to try to remove the firmware of sdma in linux-firmware_%.bbappend,
In a multilib environment, the following base_libdir becomes lib64 and it seems that it cannot be deleted.
Looking at the surrounding code, it looks like nonarch_base_libdir is correct, not base_libdir.

https://source.codeaurora.org/external/imx/meta-imx/tree/meta-bsp/recipes-kernel/linux-firmware/linu...

    # No need to do install for imx sdma binaries
    if [ -d ${D}${base_libdir}/firmware/imx/sdma ]; then
        rm -rf ${D}${base_libdir}/firmware/imx/sdma
    fi

Also, the latest (kirkstone-5.15.32-2.0.0) seemed to be the same...

https://source.codeaurora.org/external/imx/meta-imx/tree/meta-bsp/recipes-kernel/linux-firmware/linu...

To NXP:
I avoided it by adding bbappend as below, but is there any problem with this workaround?

do_install_append () {
    if [ -d ${D}${nonarch_base_libdir}/firmware/imx/sdma ]; then
        rm -rf ${D}${nonarch_base_libdir}/firmware/imx/sdma
    fi
}

 

ラベル(2)
0 件の賞賛
返信
0 返答(返信)