hello,
I want to build a yocto image for the debix model a board. but when I try to compile linux-imx I get a syntax error for the corresponding .dts file
console output:
| DTC arch/arm64/boot/dts/freescale/imx8mp-debix-model-a.dtb
| Error: /home/querner/debix-sxos/build/tmp/work-shared/imx8mp-debix-model-a/kernel-source/arch/arm64/boot/dts/freescale/imx8mp-debix-model-a.dts:443.4-5 syntax error
| FATAL ERROR: Unable to parse input tree
| make[3]: *** [/home/querner/debix-sxos/build/tmp/work-shared/imx8mp-debix-model-a/kernel-source/scripts/Makefile.lib:419: arch/arm64/boot/dts/freescale/imx8mp-debix-model-a.dtb] Error 1
| make[2]: *** [/home/querner/debix-sxos/build/tmp/work-shared/imx8mp-debix-model-a/kernel-source/scripts/Makefile.build:480: arch/arm64/boot/dts/freescale] Error 2
| make[1]: *** [/home/querner/debix-sxos/build/tmp/work-shared/imx8mp-debix-model-a/kernel-source/Makefile:1384: freescale/imx8mp-debix-model-a.dtb] Error 2
| make: *** [/home/querner/debix-sxos/build/tmp/work-shared/imx8mp-debix-model-a/kernel-source/Makefile:234: __sub-make] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/querner/debix-sxos/sources/meta-imx/meta-imx-bsp/recipes-kernel/linux/linux-imx_6.6.bb:do_compile) failed with exit code '1'
this is the .dts file I want to use: https://github.com/nxp-imx/linux-imx/blob/lf-6.6.y/arch/arm64/boot/dts/freescale/imx8mp-debix-model-...
It says syntax error on line 443.
I am quite new in the yocto eco system, so any help would be appreciated.
Best Regards.
it seems MX8MP_IOMUXC_GPIO1_IO14__USB2_OTG_PWR is not defined.
I could only find #define MX8MP_IOMUXC_GPIO1_IO14__USB2_PWR 0x04C 0x2AC 0x000 0x1 0x0
in https://github.com/nxp-imx/linux-imx/blob/lf-6.6.y/arch/arm64/boot/dts/freescale/imx8mp-pinfunc.h
Hi @qbic!
Thank you for contacting NXP Support!
The problem could be that you are using our BSP for that board and our BSP is only based for our boards.
I recommend to check the DEBIX documentation because they should proportionate to their BSP for their board.
https://debix.io/Document/manual/id/1.html
Sorry for the mistake!
Best Regards!
Chavira