[U-Boot] onenand compile failures w/top of tree on ARM

Scott Wood scottwood at freescale.com
Fri Aug 15 18:06:48 CEST 2008


On Fri, Aug 15, 2008 at 08:51:45AM -0500, Kumar Gala wrote:
> When trying to build the apollon_config w/top of tree I get:

What SHA-1?

> arm-linux-gcc -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 - 
> msoft-float  -D__KERNEL__ -DTEXT_BASE=0x80e80000 -I/tmp/u-boot-85xx/ 
> include -fno-builtin -ffreestanding -nostdinc -isystem /local/opt/eldk/ 
> 4.1/arm-linux-x86/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe  - 
> DCONFIG_ARM -D__ARM__ -march=armv5 -mabi=apcs-gnu -mno-thumb-interwork  
> -Wall -Wstrict-prototypes  -c -o onenand_base.o onenand_base.c
> onenand_base.c: In function 'onenand_bufferram_offset':
> onenand_base.c:331: error: 'struct mtd_info' has no member named  
> 'oobblock'
> onenand_base.c: In function 'onenand_read_ecc':
> onenand_base.c:541: error: 'struct mtd_info' has no member named  
> 'oobblock'
> onenand_base.c:543: error: 'struct mtd_info' has no member named  
> 'oobblock'
> onenand_base.c:544: error: 'struct mtd_info' has no member named  
> 'oobblock'
> onenand_base.c:545: error: 'struct mtd_info' has no member named  
...etc.

This should be fixed by d438d50848e9425286e5fb0493e0affb5a0b1e1b.

> onenand_base.c:1245: warning: assignment from incompatible pointer type
> onenand_base.c:1246: warning: assignment from incompatible pointer type

This needs updating for the new API, though nothing should be calling
onenand via this interface yet.

-Scott



More information about the U-Boot mailing list