Dear all,
I am currently developing with yocto kernel 5.4.70-2.3.0 with reference of imx8qxpc0-mek to my custom board.
If you build imx8qxpc0-mek yocto, scfw_tcm.bin is created. Its size is 161 kbytes and
I can't get the source for it. The scfw porting kit for kernel 5.4.70-2.3.0 on the nxp site is 1.7.0, and
even if you receive it and build it according to the guide, the operation is different from that provided by
imx8qxpc0-mek, and the scfw_tcm.bin binary size is different. The options I built are below.
: make qx R=b0 B=mek D=1 M=1 U=0 DDR_CON=imx8qx_dcd_1.2GHz
If you build with the scfw porting kit (1.7.0) and make scfw_tcm.bin, an error occurs in the kernel as shown below.
2.484930] remoteproc remoteproc0: Synchronizing with preloaded co-processor
[ 2.492098] remoteproc remoteproc0: no dtb rsrc-table
[ 2.497177] imx-rproc imx8x_cm4@0: Invalid rsrc table header
Is the source in scfw_tcm.bin on yocto kernel 5.4.70-2.3.0 provided by nxp based on 1.7.0?
And, what about the build options?
Is the source in scfw_tcm.bin on yocto kernel 5.4.70-2.3.0 provided by nxp based on 1.7.0?
>yes
I haven't built image on my computer now, what size you get from yocto building? how about just use "make qx R=b0 B=mek", should be built by this command
Dear joanxie,
Thank you for response,
what size you get from yocto building?
-> 161kB(164,864 bytes)
how about just use "make qx R=b0 B=mek", should be built by this command
-> 158kB(161,856 bytes)
maybe the toolchain version is different from porting kit and default scfw_tcm.bin built by scfw team, you can try "make qx R=b0 B=mek D=1" again
Dear joanxie,
If I remake build as you recommand, but size of scfw_tcm.bin is 158kb(161,856bytes)
Could let me know which version of scfw compiler is used in imx8qxpc0 mek in yocto kernel 5.4.70-2.30?
I have used gcc-arm-none-eabi-8-2018-q4-major as toolchain.
I don't know the version, which is built by scfw team, if you use porting kit scfw_tcm.bin, do you get any error ?
Dear joanxie,
If use scfw_tcm.bin of scfw porting in 1.7.0, there are some error kernel log I guess.
[ 2.497177] imx-rproc imx8x_cm4@0: Invalid rsrc table header
When I use yocto scfw_tcm.bin in imx8qxpc0_mek, there is no such error above log.
and hdmi display(it6263 hdmi converter) is not working and no displayed.
Best regards,
Dear joanxie,
If use scfw_tcm.bin of scfw porting in 1.7.0, there are some error kernel log I guess.
[ 2.497177] imx-rproc imx8x_cm4@0: Invalid rsrc table header
hdmi display(it6263 hdmi converter) is not working and no displayed.
When I use yocto scfw_tcm.bin in imx8qxpc0_mek, there is no such error above log.
hdmi display is working.
you can refer to this document: