Parse acs.bin failed for u-boot-Odroid_N2

I tried to build Coreelec 21 but the build process stops at building u-boot for Odroid_N2 . The culprit is the Makefile at u-boot-Odroid_N2-43d26e1865333916d7889a586948e11b83b2c558 : it tries to parse the built acs.bin and the file “parse” does not exist.

I never heard it is necessary to parse the built acs.bin and no one mentions it at this forum or internet. Can somebody have a look at this issue please ?

My build steps :

  1. git clone Coreelec
  2. git checkout coreelec-21
  3. PROJECT=Amlogic-ce DEVICE=Amlogic-ng ARCH=arm64 make

Just run DEVICE=Amlogic-ng make and try again. Best a make clean before.

Thanks for the tip. Unfortunately , after make clean and run the cmd. you suggested , the problem is still the same :

  LD      examples/standalone/libstubs.o
  CC      examples/standalone/hello_world.o
  LD      examples/standalone/hello_world
  CC      examples/standalone/atmel_df_pow2.o
  LD      examples/standalone/atmel_df_pow2
  OBJCOPY examples/standalone/hello_world.srec
  OBJCOPY examples/standalone/atmel_df_pow2.srec
  OBJCOPY examples/standalone/hello_world.bin
  OBJCOPY examples/standalone/atmel_df_pow2.bin
  LDS     u-boot.lds
  LD      u-boot
  OBJCOPY u-boot.srec
  OBJCOPY u-boot.bin
  OBJCOPY u-boot.hex
  DEPS    /home/ubuntu/CoreELEC/build.CoreELEC-Amlogic-ng.arm-21/build/u-boot-Odroid_N2-43d26e1865333916d7889a586948e11b83b2c558/build/board/hardkernel/odroidn2/firmware/acs.d
  DEPS    /home/ubuntu/CoreELEC/build.CoreELEC-Amlogic-ng.arm-21/build/u-boot-Odroid_N2-43d26e1865333916d7889a586948e11b83b2c558/build/board/hardkernel/odroidn2/firmware/acs_entry.d
  DEPS    /home/ubuntu/CoreELEC/build.CoreELEC-Amlogic-ng.arm-21/build/u-boot-Odroid_N2-43d26e1865333916d7889a586948e11b83b2c558/build/board/hardkernel/odroidn2/firmware/acs.ld.d
Building board/hardkernel/odroidn2/acs.bin
  CC      acs.c
  AS      acs_entry.S
  PP      acs.ld.S
  LD      /home/ubuntu/CoreELEC/build.CoreELEC-Amlogic-ng.arm-21/build/u-boot-Odroid_N2-43d26e1865333916d7889a586948e11b83b2c558/build/board/hardkernel/odroidn2/firmware/acs.elf
  OD      /home/ubuntu/CoreELEC/build.CoreELEC-Amlogic-ng.arm-21/build/u-boot-Odroid_N2-43d26e1865333916d7889a586948e11b83b2c558/build/board/hardkernel/odroidn2/firmware/acs.dump
  BIN     /home/ubuntu/CoreELEC/build.CoreELEC-Amlogic-ng.arm-21/build/u-boot-Odroid_N2-43d26e1865333916d7889a586948e11b83b2c558/build/board/hardkernel/odroidn2/firmware/acs.bin

Built /home/ubuntu/CoreELEC/build.CoreELEC-Amlogic-ng.arm-21/build/u-boot-Odroid_N2-43d26e1865333916d7889a586948e11b83b2c558/build/board/hardkernel/odroidn2/firmware/acs.bin successfully

make[2]: /home/ubuntu/CoreELEC/build.CoreELEC-Amlogic-ng.arm-21/build/u-boot-Odroid_N2-43d26e1865333916d7889a586948e11b83b2c558/fip/parse: No such file or directory
make[2]: *** [/home/ubuntu/CoreELEC/build.CoreELEC-Amlogic-ng.arm-21/build/u-boot-Odroid_N2-43d26e1865333916d7889a586948e11b83b2c558/Makefile:871: /home/ubuntu/CoreELEC/build.CoreELEC-Amlogic-ng.arm-21/build/u-boot-Odroid_N2-43d26e1865333916d7889a586948e11b83b2c558/build/board/hardkernel/odroidn2/firmware/acs.bin] Error 127
make[1]: *** [Makefile:147: sub-make] Error 2
ESC[1;31mFAILURE: scripts/build u-boot-Odroid_N2:target during make_target (package.mk)ESC[0m
*********** FAILED COMMAND ***********
DEBUG=${PKG_DEBUG} CROSS_COMPILE=aarch64-elf- ARCH=arm CFLAGS="" LDFLAGS="" make HOSTCC="$HOST_CC" HOSTSTRIP="true"
**************************************
*********** FAILED COMMAND ***********
${SCRIPTS}/build "${1}" "${PARENT_PKG}"
**************************************
ESC[1;31mFAILURE: scripts/install u-boot-Odroid_N2:target has failed!ESC[0m
>>> u-boot-Odroid_N2:target
[133/363] [FAIL] install u-boot-Odroid_N2:target
Parallel build failure - see log for details. Time of failure: Sat May 10 15:40:02 HKT 2025
make: *** [Makefile:7: release] Error 1

I personally think the Makefile ( Makefile - Pastebin.com may be the problem : please refer to line 871.

If you need more info. , please do not hesitate to let me know .

Regards !

Xiaohai

For ce-21 best use Ubuntu 20.04.
For CE-22 better Ubuntu 22.04.

I’m buidling both CE-21 and CE-22 on Ubuntu 24.04.2 LTS.
Must be something on your distro.

Or to start from fresh

rm -fr build.CoreELEC-Amlogic-ng.arm-21
DEVICE=Amlogic-ng make