Greetings. I was trying to build a redboot_ROM image for a MIPS 4Kc processor on a malta platform using a latest checkout of anoncvs. I've hit a build failure which I'll describe here.
I'm using the recommended tools as follows : $ ecosconfig new malta_mips32_4kc redboot $ ecosconfig import $ECOS_REPOSITORY/hal/mips/malta/current/misc/redboot_ROM.ecm $ ecosconfig check $ ecosconfig tree $ make I get a build failure at this point : mipsisa32-elf-gcc -c -I/data/software/ecos_work/mips/build/redboot_ROM/install/include -I/data/software/ecos_work/master_tree/ecos/packages/hal/common/current -I/data/software/ecos_work/master_tree/ecos/packages/hal/common/current/src -I/data/software/ecos_work/master_tree/ecos/packages/hal/common/current/tests -I. -I/data/software/ecos_work/master_tree/ecos/packages/hal/common/current/src/ -finline-limit=7000 -mips32 -EL -msoft-float -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -g -O2 -ffunction-sections -fdata-sections -fno-exceptions -G0 -Wp,-MD,src/hal_if.tmp -o src/hal_common_hal_if.o /data/software/ecos_work/master_tree/ecos/packages/hal/common/current/src/hal_if.c /data/software/ecos_work/master_tree/ecos/packages/hal/common/current/src/hal_if.c:539:27: macro "HAL_ICACHE_INVALIDATE" requires 2 arguments, but only 1 given /data/software/ecos_work/master_tree/ecos/packages/hal/common/current/src/hal_if.c: In function `flush_icache': /data/software/ecos_work/master_tree/ecos/packages/hal/common/current/src/hal_if.c:539: `HAL_ICACHE_INVALIDATE' undeclared (first use in this function) /data/software/ecos_work/master_tree/ecos/packages/hal/common/current/src/hal_if.c:539: (Each undeclared identifier is reported only once /data/software/ecos_work/master_tree/ecos/packages/hal/common/current/src/hal_if.c:539: for each function it appears in.) make[1]: *** [src/hal_if.o.d] Error 1 make[1]: Leaving directory `/data/software/ecos_work/mips/build/redboot_ROM/hal/common/current' make: *** [build] Error 2 The HAL_ICACHE_INVALIDATE macro is being called without arguments. I would imagine it should be called as follows : HAL_ICACHE_INVALIDATE ( __p, __nbytes ); Could this be corroborated please ? Cheers and thanks, Robin -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
