Avnet / uboot-imx

U-Boot for MaaXboard / Mini / Nano / Plus - upstream: https://source.codeaurora.org/external/i mx/uboot-imx
3 stars 4 forks source link

fatal error: asm/arch/imx-regs.h: No such file or directory #4

Open zafersn opened 1 year ago

zafersn commented 1 year ago

When I try to compile. I am getting this error below. Can anyone shed some light on how to fix it?


==================== WARNING ======================
This board does not use CONFIG_DM_SERIAL (Driver Model
for Serial drivers). Please update the board to use
CONFIG_DM_SERIAL before the v2023.04 release. Failure to
update by the deadline may result in board removal.
See doc/develop/driver-model/migration.rst for more info.
====================================================
cat: u-boot.cfg: No such file or directory
In file included from /home/ubuhdd/android_build/vendor/nxp-opensource/uboot-imx/include/config.h:4,
                 from /home/ubuhdd/android_build/vendor/nxp-opensource/uboot-imx/include/common.h:16,
                 from /home/ubuhdd/android_build/vendor/nxp-opensource/uboot-imx/lib/asm-offsets.c:14:
/home/ubuhdd/android_build/vendor/nxp-opensource/uboot-imx/include/configs/maaxboard.h:11:10: fatal error: asm/arch/imx-regs.h: No such file or directory
   11 | #include <asm/arch/imx-regs.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [/home/ubuhdd/android_build/vendor/nxp-opensource/uboot-imx/scripts/Makefile.build:143: lib/asm-offsets.s] Error 1
make[2]: *** [/home/ubuhdd/android_build/vendor/nxp-opensource/uboot-imx/Makefile:1954: prepare0] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:177: sub-make] Error 2
make: *** [/home/ubuhdd/android_build/device/nxp/common/build/uboot.mk:132: /home/ubuhdd/android_build/out/target/product/maaxboard/u-boot.imx] Error 1
make: Leaving directory '/home/ubuhdd/android_build'

Thanks!