[U-Boot-Users] Compile Error : kb9202 board! (Thanks!!)
Yaseen Lanka
yaseenlanka at yahoo.com
Fri Mar 9 11:56:55 CET 2007
Wolfgang Denk <wd <at> denx.de> writes:
>
> In message <250873.85581.qm <at> web36510.mail.mud.yahoo.com> you wrote:
> >
> > i do a make kb9202_config. an error occurs when i do a
> > make
>
> This board seems to be unmaintained. A patch that might fix your
> problem was sent to my private address by some, but when I asked the
> guys to go the offical way (i. e. submit it to the mailing list) I
> never heard anything again.
>
> I'll attach the patch below - Peter, maybe you can have a look at it,
> please.
>
> | Hello,
> | Will you please submit the enclosed patch for KwikByte KB9202B board?
> | Thank you,
> | KwikByte Dev Team
> |
> |
> | CHANGELOG:
> | Changes apply to KB920x boards
> | - Fixed build error caused by bad value for CFG_MALLOC_LEN.
> | - Added late init function to set the MAC for the kernel.
> | - Updated board defines for additional SDRAM (64MB).
> | Patch by KB920x Dev Team (kb9200_dev <at> kwikbyte.com), 03 Oct 2006
>
> Best regards,
>
> Wolfgang Denk
It does seems to be unmaintained, will pass a strong word to the board dev.
team. The patch fixed the error, thanks alot! but i am still getting some
errors, probably due to some bad coding. In the file configs/kb9202.h, the
#define CONFIG_COMMANDS has a missing'(' or an extra ')'.
I couldnt figure that out.
This time when i compile, i get the following error:
make[1]: Entering directory `/home/rayyan/u-boot-1.2.0/lib_generic'
arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8
-msoft-float -malignment-traps -D__KERNEL__ -DTEXT_BASE=0x21f00000
-I/home/rayyan/u-boot-1.2.0/include -fno-builtin -ffreestanding -nostdinc
-isystem /home/rayyan/uqba_proj/buildroot/build_arm_nofpu/staging_dir/lib/gcc/
arm-linux-uclibc/3.4.5/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv4
-mapcs-32 -Wall -Wstrict-prototypes -c -o crc32.o crc32.c
crc32.c:174:7: missing binary operator before token "0x0000001000000000ULL"
make[1]: *** [crc32.o] Error 1
make[1]: Leaving directory `/home/rayyan/u-boot-1.2.0/lib_generic'
make: *** [lib_generic/libgeneric.a] Error 2
There is some problem with line 174:
#if (CONFIG_COMMANDS & CFG_CMD_JFFS2) || \
((CONFIG_COMMANDS & CFG_CMD_NAND) && !defined(CFG_NAND_LEGACY))
Thanks..
More information about the U-Boot
mailing list