[ELDK] Bootm.c code problem in ocotea board

Larry Baker baker at usgs.gov
Tue May 17 20:31:12 CEST 2016


Your second rootpath definition appears to be missing the opening quote.

> #define CONFIG_AMCC_DEF_ENV_ROOTPATH rootpath=/opt/eldk42/ppc_4xx\0"

Should be

> #define CONFIG_AMCC_DEF_ENV_ROOTPATH "rootpath=/opt/eldk42/ppc_4xx\0"

Yes?

Larry Baker
US Geological Survey
650-329-5608
baker at usgs.gov



On 17 May 2016, at 5:12 AM, Rama Chandra wrote:

> Hai sir,
>     I am using IBM PowerPC440GX (the reference of OCOTEA board i am taken)
> 
> arch/powerpc/lib/bootm.c: In function 'boot_jump_linux':
> arch/powerpc/lib/bootm.c:43: error: expected ';', ',' or ')' before numeric
> constant
> arch/powerpc/lib/bootm.c:49: error: 'kernel' undeclared (first use in this
> function)
> arch/powerpc/lib/bootm.c:49: error: (Each undeclared identifier is reported
> only once
> arch/powerpc/lib/bootm.c:49: error: for each function it appears in.)
> make[1]: *** [arch/powerpc/lib/bootm.o] Error 1
> make: *** [arch/powerpc/lib] Error 2
> 
> I am not changed the libraries any thing, but same problem is coming. I am
> only changed  include/configs/amcc-common.h file below things only i am
> changed eldk path changed:
> #if defined(CONFIG_440EP) || defined(CONFIG_440EPX) || \
>    defined(CONFIG_460EX) || defined(CONFIG_460GT)
> #define CONFIG_AMCC_DEF_ENV_ROOTPATH "rootpath=/opt/eldk42/ppc_4xxFP\0"
> #else
> #define CONFIG_AMCC_DEF_ENV_ROOTPATH rootpath=/opt/eldk42/ppc_4xx\0"
> #endif
> Thank you sir.
> -- 
> Thanks & Regards,
> RamaChandra PC
> +918892147159.
> _______________________________________________
> eldk mailing list
> eldk at lists.denx.de
> http://lists.denx.de/mailman/listinfo/eldk



More information about the eldk mailing list