Flexbuild is showing linkage errors (media/platform/mxc) when building kernel, how to fix?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Flexbuild is showing linkage errors (media/platform/mxc) when building kernel, how to fix?

281 Views
devnull0
Contributor II

Hi

I've created a custom device tree. Now I would like to build the kernel. When I execute ... 

flex-builder -c linux:linux:LSDK-21.08-LS1046ASBCX1 -m ls1046asbcx1

... i get errors saying unexpected GOT/PLT entries detected and unexpected run-time procedure linkages detected. I really have no idea what I'm looking at here to determine how to fix this. Please see the attached file providing the output from the above command. 

It appears as if flexbuild is trying to link against drivers down in "drivers/media/platform/mxc". I'm not even sure I need this mxc stuff but even if I don't need it I don't know how to remove it. Need some help here in fixing this. I don't believe I need this mxc (i'm on a custom layerscape LS1046a board).

0 Kudos
1 Reply

237 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please modify configs/board/ls1046ardb/manifest to replace all fsl-ls1046a-rdb-sdk.dtb with your dtb file name.

Then run flex-builder -c linux -m ls1046ardb

0 Kudos