[Balloon] bootloader build woes

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: balloon
Subject: [Balloon] bootloader build woes
Is this one of the things on the list of stuff to be patched?

I'd help if I knew what to do but this is deeper than standing depth for me.

-- Charles


make[2]: Entering directory `/opt/balloon/trunk/bootldr'
rm -f   *.o nand/*.o yaffs2/*.o yaffs2/direct/*.o \
            bootldr-elf bootldr bootldr.nm \
                zbsdchksum generated_date_code.h \
                generated_date_code.c \
        bootldr-* version_* *.ld \
        pics/splash.pnm_tmp \
        *.gz *fast* *slow* *small*
make -C load_kernel/src clean
make[3]: Entering directory `/opt/balloon/trunk/bootldr/load_kernel/src'
rm -f compr_rtime.o compr_rubin.o compr_zlib.o cramfs.o crc32.o jffs2.o 
mini_inflate.o zImage.o pushpull.o libload_kernel.a 
make[3]: Leaving directory `/opt/balloon/trunk/bootldr/load_kernel/src'
make[2]: Leaving directory `/opt/balloon/trunk/bootldr'
make  -f Makefile-level2 CONFIG_ARCH=PXA CONFIG_BALLOON_SMALL=y
make[2]: Entering directory `/opt/balloon/trunk/bootldr'
arm-linux-gnu-gcc -DCONFIG_MACH_BALLOON=1 -DCONFIG_PXA=1 -DCONFIG_BIG_KERNEL -DCONFIG_POWERMGR -DCONFIG_LARGE_MEMORY_MODEL -DCONFIG_AMD_FLASH=1 -DCONFIG_MINIMAL=1 -DCONFIG_BALLOON_FPGA -DCONFIG_BALLOON_SLOW_CPU=1 -DCONFIG_PROTECT_BOOTLDR -DCONFIG_FAKE_CFI_FLASH -DVERSION_MAJOR=3  -DVERSION_MINOR=3  -DVERSION_MICRO=0  -DVERSION_SPECIAL=\"\"  -DBOOTLDR -DDATE=\"10-08-19_11:48\" -DCONFIG_ACCEPT_GPL -UBOOT_SILENT  -x 
assembler-with-cpp -c  -I.  -I./arm-linux/include -I/usr/arm-linux-gnu/include 
boot-pxa.s
arm-linux-gnu-gcc -DCONFIG_MACH_BALLOON=1 -DCONFIG_PXA=1 -DCONFIG_BIG_KERNEL -DCONFIG_POWERMGR -DCONFIG_LARGE_MEMORY_MODEL -DCONFIG_AMD_FLASH=1 -DCONFIG_MINIMAL=1 -DCONFIG_BALLOON_FPGA -DCONFIG_BALLOON_SLOW_CPU=1 -DCONFIG_PROTECT_BOOTLDR -DCONFIG_FAKE_CFI_FLASH -DVERSION_MAJOR=3  -DVERSION_MINOR=3  -DVERSION_MICRO=0  -DVERSION_SPECIAL=\"\"  -DBOOTLDR -DDATE=\"10-08-19_11:48\" -DCONFIG_ACCEPT_GPL -UBOOT_SILENT  -O -fPIC -march=armv4 -fno-zero-initialized-in-bss -mtune=xscale -Wall -fpic -fno-builtin -I.  -I./arm-linux/include -I/usr/arm-linux-gnu/include  -DCONFIG_USE_DATE_CODE -c -o 
mmu-pxa.o mmu-pxa.c
mmu-pxa.c: In function ‘bootConfigureMMU’:
mmu-pxa.c:56: warning: null argument where non-null required (argument 2)
arm-linux-gnu-gcc -DCONFIG_MACH_BALLOON=1 -DCONFIG_PXA=1 -DCONFIG_BIG_KERNEL -DCONFIG_POWERMGR -DCONFIG_LARGE_MEMORY_MODEL -DCONFIG_AMD_FLASH=1 -DCONFIG_MINIMAL=1 -DCONFIG_BALLOON_FPGA -DCONFIG_BALLOON_SLOW_CPU=1 -DCONFIG_PROTECT_BOOTLDR -DCONFIG_FAKE_CFI_FLASH -DVERSION_MAJOR=3  -DVERSION_MINOR=3  -DVERSION_MICRO=0  -DVERSION_SPECIAL=\"\"  -DBOOTLDR -DDATE=\"10-08-19_11:48\" -DCONFIG_ACCEPT_GPL -UBOOT_SILENT  -O -fPIC -march=armv4 -fno-zero-initialized-in-bss -mtune=xscale -Wall -fpic -fno-builtin -I.  -I./arm-linux/include -I/usr/arm-linux-gnu/include  -DCONFIG_USE_DATE_CODE -c -o 
bootldr.o bootldr.c
In file included from /usr/arm-linux-gnu/include/errno.h:36,
                 from hal.h:20,
                 from bootldr.c:86:
/usr/arm-linux-gnu/include/bits/errno.h:25:26: error: linux/errno.h: No such 
file or directory
bootldr.c: In function ‘program_flash_region’:
bootldr.c:2031: warning: pointer targets in assignment differ in signedness
bootldr.c: In function ‘sdramBankTest’:
bootldr.c:4643: warning: passing argument 1 of ‘sdramLocationTest’ discards 
qualifiers from pointer target type
make[2]: *** [bootldr.o] Error 1
make[2]: Leaving directory `/opt/balloon/trunk/bootldr'
make[1]: *** [../../build/bootldr/bootldrpxa.small] Error 2
make[1]: Leaving directory `/opt/balloon/trunk/bootldr'
make: *** [all] Error 1