AnsweredAssumed Answered

bitbake -c compile -f u-boot failed

Question asked by jun gong on May 12, 2018
Latest reply on May 15, 2018 by bpe

Hi to all!

Please, help me!

My board is  based on p1010RDB, My DDR and SYSCLK is not same with rdb, If I undefined CONFIG_SYS_DDR_RAW_TIMING , u-boot compile will fail like following:

///////////////////////////////////////

LD      u-boot
| powerpc-fsl-linux-gnuspe-ld.bfd:u-boot.lds:1: ignoring invalid character `#' in expression
| powerpc-fsl-linux-gnuspe-ld.bfd:u-boot.lds:1: syntax error
| make[1]: *** [u-boot] Error 1
| make[1]: Leaving directory `/home/nxp/SDK/QorIQ-SDK-V1.9-20151210-yocto/build_p1010rdb/tmp/work/p1010rdb-fsl-linux-gnuspe/u-boot-qoriq/2015.01+fslgit-r0/git/P1010RDB-PB_NOR_config'
| make: *** [sub-make] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/nxp/SDK/QorIQ-SDK-V1.9-20151210-yocto/build_p1010rdb/tmp/work/p1010rdb-fsl-linux-gnuspe/u-boot-qoriq/2015.01+fslgit-r0/temp/log.do_compile.19970)
ERROR: Task 4 (/home/nxp/SDK/QorIQ-SDK-V1.9-20151210-yocto/sources/meta-freescale/recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb, do_compile) failed with exit code '1'

//////////////////////////////////////////////////////////////////////////////////////////////////

 

Which is the correct way to undefine in P1010RDB.h ?

I used SDK1.9.

Thanks!

Outcomes