[U-Boot] Build uboot for Amlogic aml8726m6 g18refboard

ehsan farahani ehsansis0 at gmail.com
Mon Oct 30 10:59:46 UTC 2017


Hi all

i want to create uboot for our hardware that exists, this board used
aml8726 m6 rev1 with board version g18ref. i start install ubuntu 16.0.4
64bit and run operation from this instruction
http://openlinux.amlogic.com/Android/Mbox/4.2_Release_info/How_to_compile_code_for_MX_Mbox_android_4.2.2.
i several run this command:

root at ubuntu:/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot# make
m6_mbx_v1_config
awk '(NF && $1 !~ /^#/) { print $1 ": " $1 "_config; $(MAKE)" }' boards.cfg
board/amlogic/boards.cfg customer/board/boards.cfg >
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/.boards.depend
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/mkconfig -A m6_mbx_v1
m6_mbx_v1 arm aml_meson m6_mbx_v1 amlogic m6 amlogic/m6_mbx_v1:
Configuring for m6_mbx_v1 board...


make
root at ubuntu:/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot# make
Generating /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/
autoconf.mk
Generating
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/autoconf.mk.dep
arm-none-eabi-gcc -DDO_DEPS_ONLY \
        -g  -Os   -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x8F800000
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include -fno-builtin
-ffreestanding -nostdinc -isystem
/opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.4.1/include
-pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork
-mcpu=cortex-a9  -ffixed-r8 -mno-long-calls  -Wall -fPIC  -Wall
-Wstrict-prototypes -fno-stack-protector   \
        -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/lib/asm-offsets.s
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/asm-offsets.c -c -S
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/common.h:37,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/asm-offsets.c:18:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
Generating
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/generated/generic-asm-offsets.h
tools/scripts/make-asm-offsets
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/lib/asm-offsets.s
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/generated/generic-asm-offsets.h
for dir in tools examples/standalone examples/api arch/arm/cpu/aml_meson
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/ ;
do \
                make -C $dir _depend ; done
make[1]: Entering directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools'
make[1]: Leaving directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools'
make[1]: Entering directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools'
make[1]: Entering directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/examples/standalone'
make[1]: Leaving directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/examples/standalone'
make[1]: Entering directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/examples/standalone'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/examples/standalone'
make[1]: Entering directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/examples/api'
make[1]: Leaving directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/examples/api'
make[1]: Entering directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/examples/api'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/examples/api'
make[1]: Entering directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson'
make[1]: Leaving directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson'
make[1]: Entering directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson'
make[1]: Entering directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson'
make -C tools all
make[1]: Entering directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools
-DCONFIG_SYS_TEXT_BASE=0x8F800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/bin2code.o
bin2code.c -c
gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools
-DCONFIG_SYS_TEXT_BASE=0x8F800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES  -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/bin2code
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/bin2code.o
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools
-DCONFIG_SYS_TEXT_BASE=0x8F800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/convert.o
convert.c -c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools
-DCONFIG_SYS_TEXT_BASE=0x8F800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/m1_romboot.o
m1_romboot.c -c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools
-DCONFIG_SYS_TEXT_BASE=0x8F800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/a3_romboot.o
a3_romboot.c -c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools
-DCONFIG_SYS_TEXT_BASE=0x8F800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/m3_romboot.o
m3_romboot.c -c
m3_romboot.c: In function ‘m3_write’:
m3_romboot.c:48:9: warning: variable ‘num’ set but not used
[-Wunused-but-set-variable]
     int num;
         ^
m3_romboot.c: In function ‘m3_write_ex’:
m3_romboot.c:69:9: warning: variable ‘num’ set but not used
[-Wunused-but-set-variable]
     int num;
         ^
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools
-DCONFIG_SYS_TEXT_BASE=0x8F800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/m6_romboot.o
m6_romboot.c -c
m6_romboot.c: In function ‘m6_write’:
m6_romboot.c:29:9: warning: variable ‘num’ set but not used
[-Wunused-but-set-variable]
     int num;
         ^
m6_romboot.c: In function ‘m6_write_ex’:
m6_romboot.c:68:9: warning: variable ‘num’ set but not used
[-Wunused-but-set-variable]
     int num;
         ^
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools
-DCONFIG_SYS_TEXT_BASE=0x8F800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/m8_romboot.o
m8_romboot.c -c
m8_romboot.c: In function ‘m8_write’:
m8_romboot.c:31:9: warning: variable ‘num’ set but not used
[-Wunused-but-set-variable]
     int num;
         ^
m8_romboot.c: In function ‘m8_write_crypto’:
m8_romboot.c:153:9: warning: variable ‘num’ set but not used
[-Wunused-but-set-variable]
     int num;
         ^
m8_romboot.c: In function ‘m8_write_ex’:
m8_romboot.c:275:9: warning: variable ‘num’ set but not used
[-Wunused-but-set-variable]
     int num;
         ^
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools
-DCONFIG_SYS_TEXT_BASE=0x8F800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/m6tvd_romboot.o
m6tvd_romboot.c -c
m6tvd_romboot.c: In function ‘m6tvd_write’:
m6tvd_romboot.c:31:9: warning: variable ‘num’ set but not used
[-Wunused-but-set-variable]
     int num;
         ^
m6tvd_romboot.c: In function ‘m6tvd_write_crypto’:
m6tvd_romboot.c:153:9: warning: variable ‘num’ set but not used
[-Wunused-but-set-variable]
     int num;
         ^
m6tvd_romboot.c: In function ‘m6tvd_write_ex’:
m6tvd_romboot.c:274:9: warning: variable ‘num’ set but not used
[-Wunused-but-set-variable]
     int num;
         ^
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools
-DCONFIG_SYS_TEXT_BASE=0x8F800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES  -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/convert
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/convert.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/m1_romboot.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/a3_romboot.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/m3_romboot.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/m6_romboot.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/m8_romboot.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/m6tvd_romboot.o
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools
-DCONFIG_SYS_TEXT_BASE=0x8F800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/gen_eth_addr.o
gen_eth_addr.c -c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools
-DCONFIG_SYS_TEXT_BASE=0x8F800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES  -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/gen_eth_addr
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/gen_eth_addr.o
strip
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/gen_eth_addr
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools
-DCONFIG_SYS_TEXT_BASE=0x8F800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/img2srec.o
img2srec.c -c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools
-DCONFIG_SYS_TEXT_BASE=0x8F800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES  -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/img2srec
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/img2srec.o
strip /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/img2srec
gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools
-DCONFIG_SYS_TEXT_BASE=0x8F800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c
-o /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/crc32.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/crc32.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools
-DCONFIG_SYS_TEXT_BASE=0x8F800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/default_image.o
default_image.c -c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools
-DCONFIG_SYS_TEXT_BASE=0x8F800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/fit_image.o
fit_image.c -c
gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools
-DCONFIG_SYS_TEXT_BASE=0x8F800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c
-o /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/image.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/common/image.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools
-DCONFIG_SYS_TEXT_BASE=0x8F800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/imximage.o
imximage.c -c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools
-DCONFIG_SYS_TEXT_BASE=0x8F800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/kwbimage.o
kwbimage.c -c
kwbimage.c: In function ‘kwbimage_verify_header’:
kwbimage.c:350:10: warning: variable ‘calc_exthdrcsum’ set but not used
[-Wunused-but-set-variable]
  uint8_t calc_exthdrcsum;
          ^
gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools
-DCONFIG_SYS_TEXT_BASE=0x8F800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c
-o /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/md5.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/md5.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools
-DCONFIG_SYS_TEXT_BASE=0x8F800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/mkimage.o
mkimage.c -c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools
-DCONFIG_SYS_TEXT_BASE=0x8F800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/os_support.o
os_support.c -c
gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools
-DCONFIG_SYS_TEXT_BASE=0x8F800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c
-o /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/sha1.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/sha1.c
gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools
-DCONFIG_SYS_TEXT_BASE=0x8F800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c
-o /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/fdt.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt/fdt.c
gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools
-DCONFIG_SYS_TEXT_BASE=0x8F800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c
-o /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/fdt_ro.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt/fdt_ro.c
gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools
-DCONFIG_SYS_TEXT_BASE=0x8F800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c
-o /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/fdt_rw.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt/fdt_rw.c
gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools
-DCONFIG_SYS_TEXT_BASE=0x8F800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c
-o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/fdt_strerror.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt/fdt_strerror.c
gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools
-DCONFIG_SYS_TEXT_BASE=0x8F800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c
-o /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/fdt_wip.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt/fdt_wip.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools
-DCONFIG_SYS_TEXT_BASE=0x8F800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES  -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/mkimage
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/crc32.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/default_image.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/fit_image.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/image.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/imximage.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/kwbimage.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/md5.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/mkimage.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/os_support.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/sha1.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/fdt.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/fdt_ro.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/fdt_rw.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/fdt_strerror.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/fdt_wip.o
strip /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/mkimage
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools
-DCONFIG_SYS_TEXT_BASE=0x8F800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/uclpack.o
uclpack.c -c
make -C ucl
make[2]: Entering directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools/ucl'
gcc -c -g -O2 -Wall -Iinclude -I. src/n2e_d.c -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/n2e_d.o
gcc -c -g -O2 -Wall -Iinclude -I. src/ucl_str.c -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/ucl_str.o
gcc -c -g -O2 -Wall -Iinclude -I. src/n2b_ds.c -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/n2b_ds.o
gcc -c -g -O2 -Wall -Iinclude -I. src/n2d_99.c -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/n2d_99.o
gcc -c -g -O2 -Wall -Iinclude -I. src/n2e_ds.c -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/n2e_ds.o
gcc -c -g -O2 -Wall -Iinclude -I. src/n2b_99.c -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/n2b_99.o
gcc -c -g -O2 -Wall -Iinclude -I. src/n2d_d.c -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/n2d_d.o
gcc -c -g -O2 -Wall -Iinclude -I. src/n2e_99.c -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/n2e_99.o
gcc -c -g -O2 -Wall -Iinclude -I. src/n2b_to.c -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/n2b_to.o
gcc -c -g -O2 -Wall -Iinclude -I. src/n2b_d.c -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/n2b_d.o
gcc -c -g -O2 -Wall -Iinclude -I. src/n2e_to.c -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/n2e_to.o
gcc -c -g -O2 -Wall -Iinclude -I. src/n2d_ds.c -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/n2d_ds.o
gcc -c -g -O2 -Wall -Iinclude -I. src/ucl_util.c -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/ucl_util.o
gcc -c -g -O2 -Wall -Iinclude -I. src/ucl_ptr.c -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/ucl_ptr.o
gcc -c -g -O2 -Wall -Iinclude -I. src/alloc.c -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/alloc.o
gcc -c -g -O2 -Wall -Iinclude -I. src/n2d_to.c -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/n2d_to.o
gcc -c -g -O2 -Wall -Iinclude -I. src/ucl_crc.c -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/ucl_crc.o
gcc -c -g -O2 -Wall -Iinclude -I. src/ucl_init.c -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/ucl_init.o
src/ucl_init.c: In function ‘ptr_check’:
src/ucl_init.c:165:13: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
             v0 = * (ucl_uint32p) (ucl_voidp) &x[k];
             ^
src/ucl_init.c:166:13: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
             v1 = * (ucl_uint32p) (ucl_voidp) &x[k+n];
             ^
ar r
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/libucl_linux.a
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/n2e_d.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/ucl_str.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/n2b_ds.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/n2d_99.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/n2e_ds.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/n2b_99.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/n2d_d.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/n2e_99.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/n2b_to.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/n2b_d.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/n2e_to.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/n2d_ds.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/ucl_util.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/ucl_ptr.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/alloc.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/n2d_to.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/ucl_crc.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/src/ucl_init.o
ar: creating
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/libucl_linux.a
make[2]: Leaving directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools/ucl'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-idirafter /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/libfdt -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools
-DCONFIG_SYS_TEXT_BASE=0x8F800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES  -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/uclpack
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/uclpack.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/libucl_linux.a
make[1]: Leaving directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/tools'
make -C examples/standalone all
make[1]: Entering directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/examples/standalone'
mkdir -p
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/examples/standalone
arm-none-eabi-gcc  -g  -Os   -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x8F800000
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include -fno-builtin
-ffreestanding -nostdinc -isystem
/opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.4.1/include
-pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork
-mcpu=cortex-a9  -ffixed-r8 -mno-long-calls  -Wall -fPIC  -Wall
-Wstrict-prototypes -fno-stack-protector -fno-toplevel-reorder   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/examples/standalone/hello_world.o
hello_world.c -c
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/common.h:37,
                 from hello_world.c:24:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
mkdir -p
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/examples/standalone
arm-none-eabi-gcc  -g  -Os   -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x8F800000
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include -fno-builtin
-ffreestanding -nostdinc -isystem
/opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.4.1/include
-pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork
-mcpu=cortex-a9  -ffixed-r8 -mno-long-calls  -Wall -fPIC  -Wall
-Wstrict-prototypes -fno-stack-protector -fno-toplevel-reorder   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/examples/standalone/stubs.o
stubs.c -c
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/common.h:37,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/exports.h:6,
                 from stubs.c:1:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
arm-none-eabi-ld  -r -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/examples/standalone/libstubs.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/examples/standalone/stubs.o
arm-none-eabi-ld -g -Ttext 0x83000000 \
                -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/examples/standalone/hello_world
-e hello_world
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/examples/standalone/hello_world.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/examples/standalone/libstubs.o
\

-L/opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.4.1
-lgcc
arm-none-eabi-objcopy -O srec
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/examples/standalone/hello_world
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/examples/standalone/hello_world.srec
2>/dev/null
arm-none-eabi-objcopy -O binary
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/examples/standalone/hello_world
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/examples/standalone/hello_world.bin
2>/dev/null
make[1]: Leaving directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/examples/standalone'
make -C examples/api all
make[1]: Entering directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/examples/api'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/examples/api'
make -C arch/arm/cpu/aml_meson
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/start.o
make[1]: Entering directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson'
mkdir -p
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson
arm-none-eabi-gcc   -D__ASSEMBLY__ -g  -Os   -D__KERNEL__
-DCONFIG_SYS_TEXT_BASE=0x8F800000
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include -fno-builtin
-ffreestanding -nostdinc -isystem
/opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.4.1/include
-pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork
-mcpu=cortex-a9  -ffixed-r8 -mno-long-calls  -Wall -fPIC    -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/start.o
start.S -c
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from start.S:33:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
make[1]: Leaving directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson'
make -C lib/ucl
make[1]: Entering directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/ucl'
make[1]: Leaving directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/ucl'
make[1]: Entering directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/ucl'
mkdir -p /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/lib/ucl
arm-none-eabi-gcc  -g -Os -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x8F800000
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include -fno-builtin
-ffreestanding -nostdinc -isystem
/opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.4.1/include
-pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork
-mcpu=cortex-a9 -ffixed-r8 -mno-long-calls -Wall -fPIC -Wall
-Wstrict-prototypes -fno-stack-protector   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/lib/ucl/n2b_d.o
n2b_d.c -c
mkdir -p /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/lib/ucl
arm-none-eabi-gcc  -g -Os -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x8F800000
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include -fno-builtin
-ffreestanding -nostdinc -isystem
/opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.4.1/include
-pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork
-mcpu=cortex-a9 -ffixed-r8 -mno-long-calls -Wall -fPIC -Wall
-Wstrict-prototypes -fno-stack-protector   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/lib/ucl/ucl_decompress.o
ucl_decompress.c -c
mkdir -p /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/lib/ucl
arm-none-eabi-gcc  -g -Os -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x8F800000
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include -fno-builtin
-ffreestanding -nostdinc -isystem
/opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.4.1/include
-pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork
-mcpu=cortex-a9 -ffixed-r8 -mno-long-calls -Wall -fPIC -Wall
-Wstrict-prototypes -fno-stack-protector   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/lib/ucl/n2e_d.o
n2e_d.c -c
mkdir -p /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/lib/ucl
arm-none-eabi-gcc  -g -Os -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x8F800000
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include -fno-builtin
-ffreestanding -nostdinc -isystem
/opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.4.1/include
-pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork
-mcpu=cortex-a9 -ffixed-r8 -mno-long-calls -Wall -fPIC -Wall
-Wstrict-prototypes -fno-stack-protector   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/lib/ucl/n2d_d.o
n2d_d.c -c
arm-none-eabi-ld  -r -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/lib/ucl/libucl.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/lib/ucl/n2b_d.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/lib/ucl/ucl_decompress.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/lib/ucl/n2e_d.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/lib/ucl/n2d_d.o
make[1]: Leaving directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/ucl'
make -C
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/common/firmware
all
FIRMWARE=/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/firmware.bin
make[1]: Entering directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/common/firmware'
make -f Makefile.gcc
make[2]: Entering directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/common/firmware'
mkdir -p
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware
arm-none-eabi-gcc   -D__ASSEMBLY__ -g  -Os   -D__KERNEL__
-DCONFIG_SYS_TEXT_BASE=0x8F800000
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include -fno-builtin
-ffreestanding -nostdinc -isystem
/opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.4.1/include
-pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork
-mcpu=cortex-a9  -ffixed-r8 -mno-long-calls  -Wall -fPIC
-DCONFIG_AMLROM_SPL -DTEXT_BASE=0x8F800000 -MD   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware/rom_spl.o
rom_spl.S -c
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from rom_spl.S:7:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
mkdir -p
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware
arm-none-eabi-gcc   -D__ASSEMBLY__ -g  -Os   -D__KERNEL__
-DCONFIG_SYS_TEXT_BASE=0x8F800000
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include -fno-builtin
-ffreestanding -nostdinc -isystem
/opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.4.1/include
-pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork
-mcpu=cortex-a9  -ffixed-r8 -mno-long-calls  -Wall -fPIC
-DCONFIG_AMLROM_SPL -DTEXT_BASE=0x8F800000 -MD   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware/magic.o
magic.S -c
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from magic.S:7:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
mkdir -p
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware
arm-none-eabi-gcc   -D__ASSEMBLY__ -g  -Os   -D__KERNEL__
-DCONFIG_SYS_TEXT_BASE=0x8F800000
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include -fno-builtin
-ffreestanding -nostdinc -isystem
/opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.4.1/include
-pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork
-mcpu=cortex-a9  -ffixed-r8 -mno-long-calls  -Wall -fPIC
-DCONFIG_AMLROM_SPL -DTEXT_BASE=0x8F800000 -MD   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware/acs_entry.o
acs_entry.S -c
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from acs_entry.S:7:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
mkdir -p
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware
arm-none-eabi-gcc  -g -Os -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x8F800000
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include -fno-builtin
-ffreestanding -nostdinc -isystem
/opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.4.1/include
-pipe -DCONFIG_ARM -D__ARM__ -mthumb -mabi=aapcs-linux -mno-thumb-interwork
-mcpu=cortex-a9  -mno-long-calls -Wall -Wall -Wstrict-prototypes
-fno-stack-protector -DCONFIG_AML_ROMBOOT_SPL  -MD -Wno-unused-function
-mno-long-calls
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/common/firmware
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/firmware
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/common/firmware   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware/spl.o
spl.c -c
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/common/firmware/timer.c:1,
                 from spl.c:2:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
In file included from spl.c:3:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/timming.c:135:
warning: braces around scalar initializer
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/timming.c:135:
warning: (near initialization for '__ddr_setting.mcfg')
In file included from spl.c:11:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/common/firmware/power.c:33:
warning: #warning no PMU device is selected
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/common/firmware/power.c:
In function 'format_dec_value':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/common/firmware/power.c:41:
warning: implicit declaration of function 'memset'
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/mtddevices.c:16,
                 from spl.c:13:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/nand.h:
At top level:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/nand.h:345:
warning: "NAND_DEFAULT_OPTIONS" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/nand.h:287:
note: this is the location of the previous definition
In file included from spl.c:13:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/mtddevices.c:
In function 'nf_pinmux_init':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/mtddevices.c:19:
warning: implicit declaration of function 'NAND_IO_ENABLE'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/mtddevices.c:
In function 'nf_read_dma':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/mtddevices.c:96:
warning: implicit declaration of function 'NAND_ECC_FAIL'
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/sdio.c:7,
                 from spl.c:14:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nfio_page_read_hwctrl':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:98:
warning: unused variable 'i'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_init':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:365:
warning: passing argument 3 of 'nfio_page_read' makes pointer from integer
without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:248:
note: expected 'unsigned char *' but argument is of type 'unsigned int'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'send_plane0_cmd':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:446:
warning: unused variable 'chip_num'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'send_plane1_cmd':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:591:
warning: unused variable 'chip_num'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'send_read_cmd':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:660:
warning: unused variable 'chip_num'
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/sdio.c:7,
                 from spl.c:14:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_read_check':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:749:
warning: unused variable 'j'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_normal_read_page_hwctrl':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:807:
warning: unused variable 'short_size'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:807:
warning: unused variable 'short_mode'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:807:
warning: unused variable 'ecc_mode'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_normal_read_page':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:869:
warning: unused variable 'retry_cnt'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:869:
warning: unused variable 'i'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:868:
warning: unused variable 'ram_mode'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:868:
warning: unused variable 'plane_mode'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:868:
warning: unused variable 'chip_num'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_read':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:892:
warning: initialization makes pointer from integer without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:891:
warning: unused variable 'tmp_page'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:891:
warning: unused variable 'read_page'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:891:
warning: unused variable 'retry_cnt'
spl.c: In function 'retry_micron_handle':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:75:
warning: control reaches end of non-void function
spl.c: At top level:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/debug_rom.c:14:
warning: 'cmd_buf' defined but not used
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/sdio.c:7,
                 from spl.c:14:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'select_chip':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:415:
warning: 'ce' may be used uninitialized in this function
arm-none-eabi-gcc -E -g  -Os   -D__KERNEL__
-DCONFIG_SYS_TEXT_BASE=0x8F800000
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include -fno-builtin
-ffreestanding -nostdinc -isystem
/opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.4.1/include
-pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork
-mcpu=cortex-a9  -ffixed-r8 -mno-long-calls  -Wall -fPIC     -std=c99
-D__ASSEMBLY__ -P -
</opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/common/firmware/firmware.lds
>/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware/firmware.lds
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
arm-none-eabi-ld -Bstatic -T
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware/firmware.lds
 /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware/rom_spl.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware/magic.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware/acs_entry.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware/spl.o
-L /opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.4.1
-lgcc \
        -Map
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/firmware.out.map
--cref \
        -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/firmware.out
arm-none-eabi-objcopy --gap-fill=0xff -O binary
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/firmware.out
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/firmware.bin
mkdir -p
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware
arm-none-eabi-gcc  -g -Os -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x8F800000
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include -fno-builtin
-ffreestanding -nostdinc -isystem
/opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.4.1/include
-pipe -DCONFIG_ARM -D__ARM__ -mthumb -mabi=aapcs-linux -mno-thumb-interwork
-mcpu=cortex-a9  -mno-long-calls -Wall -Wall -Wstrict-prototypes
-fno-stack-protector -DCONFIG_AML_ROMBOOT_SPL  -MD -Wno-unused-function
-mno-long-calls
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/common/firmware
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/firmware
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/common/firmware   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware/debugrom.o
debugrom.c -c
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/uartpin.c:1,
                 from debugrom.c:3:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
In file included from debugrom.c:8:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/timming.c:135:
warning: braces around scalar initializer
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/timming.c:135:
warning: (near initialization for '__ddr_setting.mcfg')
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:7,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/sdio.c:7,
                 from debugrom.c:12:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/nand.h:345:
warning: "NAND_DEFAULT_OPTIONS" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/nand.h:287:
note: this is the location of the previous definition
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/sdio.c:7,
                 from debugrom.c:12:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nfio_page_read_hwctrl':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:111:
warning: implicit declaration of function 'memset'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:98:
warning: unused variable 'i'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_init':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:365:
warning: passing argument 3 of 'nfio_page_read' makes pointer from integer
without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:248:
note: expected 'unsigned char *' but argument is of type 'unsigned int'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'send_plane0_cmd':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:446:
warning: unused variable 'chip_num'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'send_plane1_cmd':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:591:
warning: unused variable 'chip_num'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'send_read_cmd':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:660:
warning: unused variable 'chip_num'
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/sdio.c:7,
                 from debugrom.c:12:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_read_check':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:749:
warning: unused variable 'j'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_normal_read_page_hwctrl':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:807:
warning: unused variable 'short_size'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:807:
warning: unused variable 'short_mode'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:807:
warning: unused variable 'ecc_mode'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_normal_read_page':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:869:
warning: unused variable 'retry_cnt'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:869:
warning: unused variable 'i'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:868:
warning: unused variable 'ram_mode'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:868:
warning: unused variable 'plane_mode'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:868:
warning: unused variable 'chip_num'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_read':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:892:
warning: initialization makes pointer from integer without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:891:
warning: unused variable 'tmp_page'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:891:
warning: unused variable 'read_page'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:891:
warning: unused variable 'retry_cnt'
debugrom.c: In function 'retry_micron_handle':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:75:
warning: control reaches end of non-void function
debugrom.c: At top level:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/debug_rom.c:14:
warning: 'cmd_buf' defined but not used
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/sdio.c:7,
                 from debugrom.c:12:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'select_chip':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:415:
warning: 'ce' may be used uninitialized in this function
arm-none-eabi-ld -Bstatic -T
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware/firmware.lds
 /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware/rom_spl.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware/magic.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware/acs_entry.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware/debugrom.o
-L /opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.4.1
-lgcc \
        -Map
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/aml-debug-rom.out.map
--cref \
        -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/aml-debug-rom.out
arm-none-eabi-objcopy --gap-fill=0xff -O binary
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/aml-debug-rom.out
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/aml-debug-rom.bin
mkdir -p
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware
arm-none-eabi-gcc  -g -Os -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x8F800000
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include -fno-builtin
-ffreestanding -nostdinc -isystem
/opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.4.1/include
-pipe -DCONFIG_ARM -D__ARM__ -mthumb -mabi=aapcs-linux -mno-thumb-interwork
-mcpu=cortex-a9  -mno-long-calls -Wall -Wall -Wstrict-prototypes
-fno-stack-protector -DCONFIG_AML_ROMBOOT_SPL  -MD -Wno-unused-function
-mno-long-calls
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/common/firmware
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/firmware
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/common/firmware   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware/usb_spl.o
usb_spl.c -c
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/common/firmware/timer.c:1,
                 from usb_spl.c:2:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
In file included from usb_spl.c:3:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/timming.c:135:
warning: braces around scalar initializer
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/timming.c:135:
warning: (near initialization for '__ddr_setting.mcfg')
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/mtddevices.c:16,
                 from usb_spl.c:17:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/nand.h:345:
warning: "NAND_DEFAULT_OPTIONS" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/nand.h:287:
note: this is the location of the previous definition
In file included from usb_spl.c:17:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/mtddevices.c:
In function 'nf_pinmux_init':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/mtddevices.c:19:
warning: implicit declaration of function 'NAND_IO_ENABLE'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/mtddevices.c:
In function 'nf_read_dma':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/mtddevices.c:96:
warning: implicit declaration of function 'NAND_ECC_FAIL'
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/sdio.c:7,
                 from usb_spl.c:18:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nfio_page_read_hwctrl':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:111:
warning: implicit declaration of function 'memset'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:98:
warning: unused variable 'i'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_init':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:365:
warning: passing argument 3 of 'nfio_page_read' makes pointer from integer
without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:248:
note: expected 'unsigned char *' but argument is of type 'unsigned int'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'send_plane0_cmd':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:446:
warning: unused variable 'chip_num'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'send_plane1_cmd':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:591:
warning: unused variable 'chip_num'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'send_read_cmd':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:660:
warning: unused variable 'chip_num'
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/sdio.c:7,
                 from usb_spl.c:18:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_read_check':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:749:
warning: unused variable 'j'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_normal_read_page_hwctrl':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:807:
warning: unused variable 'short_size'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:807:
warning: unused variable 'short_mode'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:807:
warning: unused variable 'ecc_mode'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_normal_read_page':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:869:
warning: unused variable 'retry_cnt'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:869:
warning: unused variable 'i'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:868:
warning: unused variable 'ram_mode'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:868:
warning: unused variable 'plane_mode'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:868:
warning: unused variable 'chip_num'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_read':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:892:
warning: initialization makes pointer from integer without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:891:
warning: unused variable 'tmp_page'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:891:
warning: unused variable 'read_page'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:891:
warning: unused variable 'retry_cnt'
usb_spl.c: In function 'retry_micron_handle':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:75:
warning: control reaches end of non-void function
usb_spl.c: At top level:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/debug_rom.c:14:
warning: 'cmd_buf' defined but not used
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/sdio.c:7,
                 from usb_spl.c:18:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'select_chip':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:415:
warning: 'ce' may be used uninitialized in this function
arm-none-eabi-ld -Bstatic -T
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware/firmware.lds
 /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware/rom_spl.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware/magic.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware/acs_entry.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware/usb_spl.o
-L /opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.4.1
-lgcc -Map
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/usb_spl.out.map
--cref -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/usb_spl.out
arm-none-eabi-objcopy --gap-fill=0xff -O binary
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/usb_spl.out
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/usb_spl.bin
make[2]: Leaving directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/common/firmware'
make -f Makefile.ddr_init
make[2]: Entering directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/common/firmware'
mkdir -p
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware
arm-none-eabi-gcc   -D__ASSEMBLY__ -g  -Os   -D__KERNEL__
-DCONFIG_SYS_TEXT_BASE=0x8F800000
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include -fno-builtin
-ffreestanding -nostdinc -isystem
/opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.4.1/include
-pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork
-mcpu=cortex-a9  -ffixed-r8 -mno-long-calls  -Wall -fPIC
-DCONFIG_AMLROM_SPL -DTEXT_BASE=0x8F800000 -MD   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware/ddr_init_start.o
ddr_init_start.S -c
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from ddr_init_start.S:7:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
mkdir -p
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware
arm-none-eabi-gcc  -g -Os -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x8F800000
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include -fno-builtin
-ffreestanding -nostdinc -isystem
/opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.4.1/include
-pipe -DCONFIG_ARM -D__ARM__ -mthumb -mabi=aapcs-linux -mno-thumb-interwork
-mcpu=cortex-a9  -mno-long-calls -Wall -Wall -Wstrict-prototypes
-fno-stack-protector -DCONFIG_AML_ROMBOOT_SPL  -MD -Wno-unused-function
-mno-long-calls
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/common/firmware
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/firmware
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/common/firmware   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware/ddr_init_main.o
ddr_init_main.c -c
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/common/firmware/timer.c:1,
                 from ddr_init_main.c:2:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
In file included from ddr_init_main.c:3:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/timming.c:135:
warning: braces around scalar initializer
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/timming.c:135:
warning: (near initialization for '__ddr_setting.mcfg')
In file included from ddr_init_main.c:11:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/common/firmware/power.c:33:
warning: #warning no PMU device is selected
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/common/firmware/power.c:
In function 'format_dec_value':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/common/firmware/power.c:41:
warning: implicit declaration of function 'memset'
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/mtddevices.c:16,
                 from ddr_init_main.c:13:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/nand.h:
At top level:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/nand.h:345:
warning: "NAND_DEFAULT_OPTIONS" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/nand.h:287:
note: this is the location of the previous definition
In file included from ddr_init_main.c:13:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/mtddevices.c:
In function 'nf_pinmux_init':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/mtddevices.c:19:
warning: implicit declaration of function 'NAND_IO_ENABLE'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/mtddevices.c:
In function 'nf_read_dma':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/mtddevices.c:96:
warning: implicit declaration of function 'NAND_ECC_FAIL'
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/sdio.c:7,
                 from ddr_init_main.c:14:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nfio_page_read_hwctrl':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:98:
warning: unused variable 'i'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_init':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:365:
warning: passing argument 3 of 'nfio_page_read' makes pointer from integer
without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:248:
note: expected 'unsigned char *' but argument is of type 'unsigned int'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'send_plane0_cmd':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:446:
warning: unused variable 'chip_num'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'send_plane1_cmd':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:591:
warning: unused variable 'chip_num'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'send_read_cmd':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:660:
warning: unused variable 'chip_num'
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/sdio.c:7,
                 from ddr_init_main.c:14:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_read_check':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:749:
warning: unused variable 'j'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_normal_read_page_hwctrl':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:807:
warning: unused variable 'short_size'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:807:
warning: unused variable 'short_mode'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:807:
warning: unused variable 'ecc_mode'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_normal_read_page':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:869:
warning: unused variable 'retry_cnt'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:869:
warning: unused variable 'i'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:868:
warning: unused variable 'ram_mode'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:868:
warning: unused variable 'plane_mode'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:868:
warning: unused variable 'chip_num'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_read':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:892:
warning: initialization makes pointer from integer without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:891:
warning: unused variable 'tmp_page'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:891:
warning: unused variable 'read_page'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:891:
warning: unused variable 'retry_cnt'
ddr_init_main.c: In function 'main':
ddr_init_main.c:294: warning: unused variable 'ubootBinAddr'
ddr_init_main.c:293: warning: unused variable 'secureosOffset'
ddr_init_main.c: In function 'retry_micron_handle':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:75:
warning: control reaches end of non-void function
ddr_init_main.c: At top level:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/debug_rom.c:14:
warning: 'cmd_buf' defined but not used
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/sdio.c:7,
                 from ddr_init_main.c:14:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'select_chip':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:415:
warning: 'ce' may be used uninitialized in this function
arm-none-eabi-gcc -E -g  -Os   -D__KERNEL__
-DCONFIG_SYS_TEXT_BASE=0x8F800000
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include -fno-builtin
-ffreestanding -nostdinc -isystem
/opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.4.1/include
-pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork
-mcpu=cortex-a9  -ffixed-r8 -mno-long-calls  -Wall -fPIC     -std=c99
-D__ASSEMBLY__ -P -
</opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/common/firmware/ddr_init.lds
>/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware/ddr_init.lds
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
arm-none-eabi-ld -Bstatic -T
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware/ddr_init.lds
 /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware/ddr_init_start.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware/magic.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware/acs_entry.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware/ddr_init_main.o
-L /opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.4.1
-lgcc\
        -Map
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/ddr_init.out.map
--cref \
        -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/ddr_init.out
arm-none-eabi-objcopy --gap-fill=0xff -O binary
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/ddr_init.out
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/ddr_init.bin
make[2]: Leaving directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/common/firmware'
make -f Makefile.krbt
make[2]: Entering directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/common/firmware'
rm -f
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/aml-kreboot.out
rm -f
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/aml-kreboot.bin
rm -f
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/aml-kreboot.out.map
mkdir -p
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware
arm-none-eabi-gcc   -D__ASSEMBLY__ -g  -Os   -D__KERNEL__
-DCONFIG_SYS_TEXT_BASE=0x8F800000
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include -fno-builtin
-ffreestanding -nostdinc -isystem
/opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.4.1/include
-pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork
-mcpu=cortex-a9  -ffixed-r8 -mno-long-calls  -Wall -fPIC
-DCONFIG_AMLROM_SPL -DTEXT_BASE=0x8F800000 -MD    -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware/kreboot.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/kreboot.S
-c
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/kreboot.S:6:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
arm-none-eabi-gcc -E -g  -Os   -D__KERNEL__
-DCONFIG_SYS_TEXT_BASE=0x8F800000
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include -fno-builtin
-ffreestanding -nostdinc -isystem
/opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.4.1/include
-pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork
-mcpu=cortex-a9  -ffixed-r8 -mno-long-calls  -Wall -fPIC     -std=c99
-D__ASSEMBLY__ -P -
</opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/common/firmware/kreboot.lds
>/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware/kreboot.lds
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
arm-none-eabi-ld -Bstatic -T
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware/kreboot.lds
 /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware/kreboot.o
-L /opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.4.1
-lgcc\
        -Map
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/aml-kreboot.out.map
--cref \
        -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/aml-kreboot.out
arm-none-eabi-objcopy --gap-fill=0xff -O binary
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/aml-kreboot.out
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/aml-kreboot.bin
./bin2code arm_reboot
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/aml-kreboot.bin
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware//boot_code.dat
convert ok!
cp -f
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/common/firmware//boot_code.dat
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/
make[2]: Leaving directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/common/firmware'
make[1]: Leaving directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/common/firmware'
make -C api/
make[1]: Entering directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/api'
make[1]: Leaving directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/api'
make[1]: Entering directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/api'
rm -f /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/api/libapi.o;
arm-none-eabi-ar rcs
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/api/libapi.o
make[1]: Leaving directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/api'
make -C arch/arm/cpu/aml_meson/
make[1]: Entering directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson'
mkdir -p
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson
arm-none-eabi-gcc  -g  -Os   -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x8F800000
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include -fno-builtin
-ffreestanding -nostdinc -isystem
/opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.4.1/include
-pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork
-mcpu=cortex-a9  -ffixed-r8 -mno-long-calls  -Wall -fPIC  -Wall
-Wstrict-prototypes -fno-stack-protector   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/cpu.o
cpu.c -c
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/common.h:37,
                 from cpu.c:34:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
mkdir -p
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson
arm-none-eabi-gcc  -g  -Os   -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x8F800000
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include -fno-builtin
-ffreestanding -nostdinc -isystem
/opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.4.1/include
-pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork
-mcpu=cortex-a9  -ffixed-r8 -mno-long-calls  -Wall -fPIC  -Wall
-Wstrict-prototypes -fno-stack-protector   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/timer.o
timer.c -c
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/common.h:37,
                 from timer.c:1:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
mkdir -p
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson
arm-none-eabi-gcc  -g  -Os   -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x8F800000
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include -fno-builtin
-ffreestanding -nostdinc -isystem
/opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.4.1/include
-pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork
-mcpu=cortex-a9  -ffixed-r8 -mno-long-calls  -Wall -fPIC  -Wall
-Wstrict-prototypes -fno-stack-protector   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/reset.o
reset.c -c
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from reset.c:1:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
mkdir -p
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson
arm-none-eabi-gcc  -g  -Os   -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x8F800000
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include -fno-builtin
-ffreestanding -nostdinc -isystem
/opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.4.1/include
-pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork
-mcpu=cortex-a9  -ffixed-r8 -mno-long-calls  -Wall -fPIC  -Wall
-Wstrict-prototypes -fno-stack-protector   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/board.o
board.c -c
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/common.h:37,
                 from board.c:1:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
mkdir -p
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson
arm-none-eabi-gcc  -g  -Os   -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x8F800000
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include -fno-builtin
-ffreestanding -nostdinc -isystem
/opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.4.1/include
-pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork
-mcpu=cortex-a9  -ffixed-r8 -mno-long-calls  -Wall -fPIC  -Wall
-Wstrict-prototypes -fno-stack-protector   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/serial.o
serial.c -c
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from serial.c:12:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
mkdir -p
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson
arm-none-eabi-gcc  -g  -Os   -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x8F800000
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include -fno-builtin
-ffreestanding -nostdinc -isystem
/opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.4.1/include
-pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork
-mcpu=cortex-a9  -ffixed-r8 -mno-long-calls  -Wall -fPIC  -Wall
-Wstrict-prototypes -fno-stack-protector   -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/syslib.o
syslib.c -c
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/common.h:37,
                 from syslib.c:24:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
arm-none-eabi-ld  -r -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/libaml_meson.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/cpu.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/timer.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/reset.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/board.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/serial.o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/syslib.o
make[1]: Leaving directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson'
make -C arch/arm/cpu/aml_meson/m6/
make[1]: Entering directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6'
firmwareld.c:5: fatal error: power_firmware.dat: No such file or directory
compilation terminated.
make[1]: Leaving directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6'
make[1]: Entering directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6'
make -C
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power
make[2]: Entering directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power'
make -f Makefile.gcc
make[3]: Entering directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power'
rm -r -f /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arc_power/
rm -f
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/arc_code.dat
arc-elf32-cpp   -std=c99 -D__ASSEMBLY__ -P - <romboot.lds
>/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arc_power/romboot.lds
arc-elf32-gcc  -mA7 -mno-volatile-cache -O2 -D__ARC__ -DCONFIG_ARC
-Iinclude -Wall -g -MD -mno-sdata -fno-builtin -ffreestanding -nostdinc
-isystem -pipe -fomit-frame-pointer -include
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/ -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/include/
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/firmware/arc_power/
-I. -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arc_power/clk_util.o
clk_util.c -c
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/include/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from <command-line>:0:
include/asm/arch/cpu.h:67:1: warning: "CONFIG_SYS_MALLOC_LEN" redefined
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:8,
                 from <command-line>:0:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:1:
warning: this is the location of the previous definition
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/include/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from <command-line>:0:
include/asm/arch/cpu.h:69:1: warning: "CONFIG_ENV_SIZE" redefined
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:8,
                 from <command-line>:0:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:294:1:
warning: this is the location of the previous definition
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/include/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from <command-line>:0:
include/asm/arch/cpu.h:85:1: warning: "CONFIG_L2_OFF" redefined
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:8,
                 from <command-line>:0:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:65:1:
warning: this is the location of the previous definition
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/include/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from <command-line>:0:
include/asm/arch/cpu.h:115:2: warning: #warning todo implement nand driver
later
arc-elf32-gcc  -mA7 -mno-volatile-cache -O2 -D__ARC__ -DCONFIG_ARC
-Iinclude -Wall -g -MD -mno-sdata -fno-builtin -ffreestanding -nostdinc
-isystem -pipe -fomit-frame-pointer -include
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/ -I
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/include/
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/
-I/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/firmware/arc_power/
-I. -o
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arc_power/suspend.o
suspend.c -c
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/include/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from <command-line>:0:
include/asm/arch/cpu.h:67:1: warning: "CONFIG_SYS_MALLOC_LEN" redefined
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:8,
                 from <command-line>:0:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:1:
warning: this is the location of the previous definition
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/include/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from <command-line>:0:
include/asm/arch/cpu.h:69:1: warning: "CONFIG_ENV_SIZE" redefined
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:8,
                 from <command-line>:0:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:294:1:
warning: this is the location of the previous definition
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/include/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from <command-line>:0:
include/asm/arch/cpu.h:85:1: warning: "CONFIG_L2_OFF" redefined
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:8,
                 from <command-line>:0:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:65:1:
warning: this is the location of the previous definition
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/include/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from <command-line>:0:
include/asm/arch/cpu.h:115:2: warning: #warning todo implement nand driver
later
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:12,
                 from suspend.c:2:
include/asm/arch/cec_tx_reg.h:4:1: warning: multi-line comment
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:19,
                 from suspend.c:2:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/irremote2arc.c:
In function ‘ir_remote_init_32k_mode’:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/irremote2arc.c:57:
warning: unused variable ‘i’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/irremote2arc.c:
In function ‘remote_cec_ll_rx’:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/irremote2arc.c:232:
warning: unused variable ‘data’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/irremote2arc.c:
In function ‘remote_cec_ll_tx’:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/irremote2arc.c:287:
warning: unused variable ‘i’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/irremote2arc.c:
In function ‘cec_set_stream_path’:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/irremote2arc.c:375:
warning: unused variable ‘msg’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/irremote2arc.c:
In function ‘cec_handler’:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/irremote2arc.c:594:
warning: unused variable ‘rx_len’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/irremote2arc.c:594:
warning: unused variable ‘rx_msg’
In file included from suspend.c:2:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:
In function ‘enter_power_down’:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:325:
warning: implicit declaration of function ‘wait_uart_empty’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:368:
warning: implicit declaration of function ‘power_down_ddr_phy’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:618:
warning: implicit declaration of function ‘uart_reset’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:631:
warning: implicit declaration of function ‘init_ddr_pll’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:276:
warning: unused variable ‘gate’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:275:
warning: unused variable ‘addr’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:274:
warning: unused variable ‘i’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:273:
warning: unused variable ‘v’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:
In function ‘main’:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:829:
warning: unused variable ‘j’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:829:
warning: unused variable ‘i’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:
In function ‘store_restore_plls’:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:982:
warning: implicit declaration of function ‘__udelay’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:941:
warning: unused variable ‘i’
In file included from suspend.c:3:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/mmc.c:
At top level:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/mmc.c:22:
warning: conflicting types for ‘__udelay’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:982:
warning: previous implicit declaration of ‘__udelay’ was here
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/mmc.c:
In function ‘init_pctl’:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/mmc.c:532:
warning: passing argument 1 of ‘f_serial_puts’ makes pointer from integer
without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/mmc.c:570:
warning: passing argument 1 of ‘f_serial_puts’ makes pointer from integer
without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/mmc.c:575:
warning: passing argument 1 of ‘f_serial_puts’ makes pointer from integer
without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/mmc.c:580:
warning: passing argument 1 of ‘f_serial_puts’ makes pointer from integer
without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/mmc.c:584:
warning: passing argument 1 of ‘f_serial_puts’ makes pointer from integer
without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/mmc.c:680:
warning: passing argument 1 of ‘f_serial_puts’ makes pointer from integer
without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/mmc.c:696:
warning: passing argument 1 of ‘f_serial_puts’ makes pointer from integer
without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/mmc.c:716:
warning: passing argument 1 of ‘f_serial_puts’ makes pointer from integer
without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/mmc.c:728:
warning: passing argument 1 of ‘f_serial_puts’ makes pointer from integer
without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/mmc.c:763:
warning: passing argument 1 of ‘f_serial_puts’ makes pointer from integer
without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/mmc.c:
At top level:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/mmc.c:821:
warning: conflicting types for ‘power_down_ddr_phy’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:368:
warning: previous implicit declaration of ‘power_down_ddr_phy’ was here
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/mmc.c:847:
warning: conflicting types for ‘init_ddr_pll’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:631:
warning: previous implicit declaration of ‘init_ddr_pll’ was here
suspend.c: In function ‘delay_tick’:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:80:
warning: control reaches end of non-void function
suspend.c: At top level:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:201:
warning: ‘enable_iso_ee’ defined but not used
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:205:
warning: ‘disable_iso_ee’ defined but not used
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:224:
warning: ‘enable_iso_ao’ defined but not used
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:228:
warning: ‘disable_iso_ao’ defined but not used
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:232:
warning: ‘ee_off’ defined but not used
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:236:
warning: ‘ee_on’ defined but not used
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:
In function ‘enter_power_down’:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:673:
warning: ‘test_status_1’ is used uninitialized in this function
make[3]: *** No rule to make target
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arc_power/lib/*.o',
needed by
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arc_power/code_elf.out'.
Stop.
make[3]: Leaving directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power'
make[1]: *** [power_firmware] Error 2
make[1]: Leaving directory
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6'
make: ***
[/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/m6/libm6.o]
Error 2
root at ubuntu:/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot#
arc_power/code_elf.out'.  Stop.
> ^C
root at ubuntu:/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot# make
distclean
rm -rf /opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/*
root at ubuntu:/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot# make
m6_mbx_v1_config
awk '(NF && $1 !~ /^#/) { print $1 ": " $1 "_config; $(MAKE)" }' boards.cfg
board/amlogic/boards.cfg customer/board/boards.cfg >
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/.boards.depend
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/mkconfig -A m6_mbx_v1
m6_mbx_v1 arm aml_meson m6_mbx_v1 amlogic m6 amlogic/m6_mbx_v1:
Configuring for m6_mbx_v1 board...
root at ubuntu:/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot#
root at ubuntu:/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot#
make m6_mbx_v1_config
bash: root at ubuntu:/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot#: No
such file or directory
root at ubuntu:/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot# awk '(NF &&
$1 !~ /^#/) { print $1 ": " $1 "_config; $(MAKE)" }' boards.cfg
board/amlogic/boards.cfg customer/board/boards.cfg >
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/.boards.depend
root at ubuntu:/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot#
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/mkconfig -A m6_mbx_v1
m6_mbx_v1 arm aml_meson m6_mbx_v1 amlogic m6 amlogic/m6_mbx_v1:
Configuring for m6_mbx_v1 board...
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/mkconfig: 107: cd: can't
cd to /include/configs
root at ubuntu:/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot# m6_mbx_v1
arm aml_meson m6_mbx_v1 amlogic m6 amlogic/m6_mbx_v1:
m6_mbx_v1: command not found
root at ubuntu:/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot# Configuring
for m6_mbx_v1 board...
Configuring: command not found
root at ubuntu:/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot# make >
out.txt
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/common.h:37,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/lib/asm-offsets.c:18:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
m3_romboot.c: In function ‘m3_write’:
m3_romboot.c:48:9: warning: variable ‘num’ set but not used
[-Wunused-but-set-variable]
     int num;
         ^
m3_romboot.c: In function ‘m3_write_ex’:
m3_romboot.c:69:9: warning: variable ‘num’ set but not used
[-Wunused-but-set-variable]
     int num;
         ^
m6_romboot.c: In function ‘m6_write’:
m6_romboot.c:29:9: warning: variable ‘num’ set but not used
[-Wunused-but-set-variable]
     int num;
         ^
m6_romboot.c: In function ‘m6_write_ex’:
m6_romboot.c:68:9: warning: variable ‘num’ set but not used
[-Wunused-but-set-variable]
     int num;
         ^
m8_romboot.c: In function ‘m8_write’:
m8_romboot.c:31:9: warning: variable ‘num’ set but not used
[-Wunused-but-set-variable]
     int num;
         ^
m8_romboot.c: In function ‘m8_write_crypto’:
m8_romboot.c:153:9: warning: variable ‘num’ set but not used
[-Wunused-but-set-variable]
     int num;
         ^
m8_romboot.c: In function ‘m8_write_ex’:
m8_romboot.c:275:9: warning: variable ‘num’ set but not used
[-Wunused-but-set-variable]
     int num;
         ^
m6tvd_romboot.c: In function ‘m6tvd_write’:
m6tvd_romboot.c:31:9: warning: variable ‘num’ set but not used
[-Wunused-but-set-variable]
     int num;
         ^
m6tvd_romboot.c: In function ‘m6tvd_write_crypto’:
m6tvd_romboot.c:153:9: warning: variable ‘num’ set but not used
[-Wunused-but-set-variable]
     int num;
         ^
m6tvd_romboot.c: In function ‘m6tvd_write_ex’:
m6tvd_romboot.c:274:9: warning: variable ‘num’ set but not used
[-Wunused-but-set-variable]
     int num;
         ^
kwbimage.c: In function ‘kwbimage_verify_header’:
kwbimage.c:350:10: warning: variable ‘calc_exthdrcsum’ set but not used
[-Wunused-but-set-variable]
  uint8_t calc_exthdrcsum;
          ^
src/ucl_init.c: In function ‘ptr_check’:
src/ucl_init.c:165:13: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
             v0 = * (ucl_uint32p) (ucl_voidp) &x[k];
             ^
src/ucl_init.c:166:13: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
             v1 = * (ucl_uint32p) (ucl_voidp) &x[k+n];
             ^
ar: creating
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/tools/ucl_linux/libucl_linux.a
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/common.h:37,
                 from hello_world.c:24:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/common.h:37,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/exports.h:6,
                 from stubs.c:1:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from start.S:33:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from rom_spl.S:7:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from magic.S:7:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from acs_entry.S:7:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/common/firmware/timer.c:1,
                 from spl.c:2:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
In file included from spl.c:3:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/timming.c:135:
warning: braces around scalar initializer
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/timming.c:135:
warning: (near initialization for '__ddr_setting.mcfg')
In file included from spl.c:11:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/common/firmware/power.c:33:
warning: #warning no PMU device is selected
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/common/firmware/power.c:
In function 'format_dec_value':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/common/firmware/power.c:41:
warning: implicit declaration of function 'memset'
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/mtddevices.c:16,
                 from spl.c:13:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/nand.h:
At top level:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/nand.h:345:
warning: "NAND_DEFAULT_OPTIONS" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/nand.h:287:
note: this is the location of the previous definition
In file included from spl.c:13:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/mtddevices.c:
In function 'nf_pinmux_init':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/mtddevices.c:19:
warning: implicit declaration of function 'NAND_IO_ENABLE'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/mtddevices.c:
In function 'nf_read_dma':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/mtddevices.c:96:
warning: implicit declaration of function 'NAND_ECC_FAIL'
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/sdio.c:7,
                 from spl.c:14:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nfio_page_read_hwctrl':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:98:
warning: unused variable 'i'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_init':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:365:
warning: passing argument 3 of 'nfio_page_read' makes pointer from integer
without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:248:
note: expected 'unsigned char *' but argument is of type 'unsigned int'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'send_plane0_cmd':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:446:
warning: unused variable 'chip_num'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'send_plane1_cmd':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:591:
warning: unused variable 'chip_num'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'send_read_cmd':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:660:
warning: unused variable 'chip_num'
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/sdio.c:7,
                 from spl.c:14:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_read_check':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:749:
warning: unused variable 'j'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_normal_read_page_hwctrl':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:807:
warning: unused variable 'short_size'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:807:
warning: unused variable 'short_mode'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:807:
warning: unused variable 'ecc_mode'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_normal_read_page':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:869:
warning: unused variable 'retry_cnt'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:869:
warning: unused variable 'i'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:868:
warning: unused variable 'ram_mode'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:868:
warning: unused variable 'plane_mode'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:868:
warning: unused variable 'chip_num'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_read':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:892:
warning: initialization makes pointer from integer without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:891:
warning: unused variable 'tmp_page'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:891:
warning: unused variable 'read_page'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:891:
warning: unused variable 'retry_cnt'
spl.c: In function 'retry_micron_handle':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:75:
warning: control reaches end of non-void function
spl.c: At top level:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/debug_rom.c:14:
warning: 'cmd_buf' defined but not used
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/sdio.c:7,
                 from spl.c:14:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'select_chip':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:415:
warning: 'ce' may be used uninitialized in this function
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/uartpin.c:1,
                 from debugrom.c:3:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
In file included from debugrom.c:8:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/timming.c:135:
warning: braces around scalar initializer
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/timming.c:135:
warning: (near initialization for '__ddr_setting.mcfg')
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:7,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/sdio.c:7,
                 from debugrom.c:12:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/nand.h:345:
warning: "NAND_DEFAULT_OPTIONS" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/nand.h:287:
note: this is the location of the previous definition
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/sdio.c:7,
                 from debugrom.c:12:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nfio_page_read_hwctrl':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:111:
warning: implicit declaration of function 'memset'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:98:
warning: unused variable 'i'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_init':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:365:
warning: passing argument 3 of 'nfio_page_read' makes pointer from integer
without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:248:
note: expected 'unsigned char *' but argument is of type 'unsigned int'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'send_plane0_cmd':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:446:
warning: unused variable 'chip_num'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'send_plane1_cmd':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:591:
warning: unused variable 'chip_num'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'send_read_cmd':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:660:
warning: unused variable 'chip_num'
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/sdio.c:7,
                 from debugrom.c:12:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_read_check':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:749:
warning: unused variable 'j'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_normal_read_page_hwctrl':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:807:
warning: unused variable 'short_size'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:807:
warning: unused variable 'short_mode'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:807:
warning: unused variable 'ecc_mode'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_normal_read_page':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:869:
warning: unused variable 'retry_cnt'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:869:
warning: unused variable 'i'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:868:
warning: unused variable 'ram_mode'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:868:
warning: unused variable 'plane_mode'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:868:
warning: unused variable 'chip_num'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_read':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:892:
warning: initialization makes pointer from integer without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:891:
warning: unused variable 'tmp_page'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:891:
warning: unused variable 'read_page'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:891:
warning: unused variable 'retry_cnt'
debugrom.c: In function 'retry_micron_handle':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:75:
warning: control reaches end of non-void function
debugrom.c: At top level:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/debug_rom.c:14:
warning: 'cmd_buf' defined but not used
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/sdio.c:7,
                 from debugrom.c:12:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'select_chip':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:415:
warning: 'ce' may be used uninitialized in this function
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/common/firmware/timer.c:1,
                 from usb_spl.c:2:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
In file included from usb_spl.c:3:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/timming.c:135:
warning: braces around scalar initializer
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/timming.c:135:
warning: (near initialization for '__ddr_setting.mcfg')
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/mtddevices.c:16,
                 from usb_spl.c:17:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/nand.h:345:
warning: "NAND_DEFAULT_OPTIONS" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/nand.h:287:
note: this is the location of the previous definition
In file included from usb_spl.c:17:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/mtddevices.c:
In function 'nf_pinmux_init':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/mtddevices.c:19:
warning: implicit declaration of function 'NAND_IO_ENABLE'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/mtddevices.c:
In function 'nf_read_dma':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/mtddevices.c:96:
warning: implicit declaration of function 'NAND_ECC_FAIL'
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/sdio.c:7,
                 from usb_spl.c:18:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nfio_page_read_hwctrl':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:111:
warning: implicit declaration of function 'memset'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:98:
warning: unused variable 'i'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_init':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:365:
warning: passing argument 3 of 'nfio_page_read' makes pointer from integer
without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:248:
note: expected 'unsigned char *' but argument is of type 'unsigned int'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'send_plane0_cmd':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:446:
warning: unused variable 'chip_num'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'send_plane1_cmd':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:591:
warning: unused variable 'chip_num'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'send_read_cmd':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:660:
warning: unused variable 'chip_num'
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/sdio.c:7,
                 from usb_spl.c:18:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_read_check':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:749:
warning: unused variable 'j'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_normal_read_page_hwctrl':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:807:
warning: unused variable 'short_size'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:807:
warning: unused variable 'short_mode'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:807:
warning: unused variable 'ecc_mode'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_normal_read_page':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:869:
warning: unused variable 'retry_cnt'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:869:
warning: unused variable 'i'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:868:
warning: unused variable 'ram_mode'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:868:
warning: unused variable 'plane_mode'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:868:
warning: unused variable 'chip_num'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_read':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:892:
warning: initialization makes pointer from integer without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:891:
warning: unused variable 'tmp_page'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:891:
warning: unused variable 'read_page'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:891:
warning: unused variable 'retry_cnt'
usb_spl.c: In function 'retry_micron_handle':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:75:
warning: control reaches end of non-void function
usb_spl.c: At top level:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/debug_rom.c:14:
warning: 'cmd_buf' defined but not used
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/sdio.c:7,
                 from usb_spl.c:18:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'select_chip':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:415:
warning: 'ce' may be used uninitialized in this function
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from ddr_init_start.S:7:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/common/firmware/timer.c:1,
                 from ddr_init_main.c:2:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
In file included from ddr_init_main.c:3:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/timming.c:135:
warning: braces around scalar initializer
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/timming.c:135:
warning: (near initialization for '__ddr_setting.mcfg')
In file included from ddr_init_main.c:11:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/common/firmware/power.c:33:
warning: #warning no PMU device is selected
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/common/firmware/power.c:
In function 'format_dec_value':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/common/firmware/power.c:41:
warning: implicit declaration of function 'memset'
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/mtddevices.c:16,
                 from ddr_init_main.c:13:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/nand.h:
At top level:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/nand.h:345:
warning: "NAND_DEFAULT_OPTIONS" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/nand.h:287:
note: this is the location of the previous definition
In file included from ddr_init_main.c:13:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/mtddevices.c:
In function 'nf_pinmux_init':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/mtddevices.c:19:
warning: implicit declaration of function 'NAND_IO_ENABLE'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/mtddevices.c:
In function 'nf_read_dma':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/mtddevices.c:96:
warning: implicit declaration of function 'NAND_ECC_FAIL'
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/sdio.c:7,
                 from ddr_init_main.c:14:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nfio_page_read_hwctrl':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:98:
warning: unused variable 'i'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_init':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:365:
warning: passing argument 3 of 'nfio_page_read' makes pointer from integer
without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:248:
note: expected 'unsigned char *' but argument is of type 'unsigned int'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'send_plane0_cmd':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:446:
warning: unused variable 'chip_num'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'send_plane1_cmd':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:591:
warning: unused variable 'chip_num'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'send_read_cmd':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:660:
warning: unused variable 'chip_num'
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/sdio.c:7,
                 from ddr_init_main.c:14:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_read_check':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:749:
warning: unused variable 'j'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_normal_read_page_hwctrl':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:807:
warning: unused variable 'short_size'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:807:
warning: unused variable 'short_mode'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:807:
warning: unused variable 'ecc_mode'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_normal_read_page':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:869:
warning: unused variable 'retry_cnt'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:869:
warning: unused variable 'i'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:868:
warning: unused variable 'ram_mode'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:868:
warning: unused variable 'plane_mode'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:868:
warning: unused variable 'chip_num'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'nf_read':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:892:
warning: initialization makes pointer from integer without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:891:
warning: unused variable 'tmp_page'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:891:
warning: unused variable 'read_page'
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:891:
warning: unused variable 'retry_cnt'
ddr_init_main.c: In function 'main':
ddr_init_main.c:294: warning: unused variable 'ubootBinAddr'
ddr_init_main.c:293: warning: unused variable 'secureosOffset'
ddr_init_main.c: In function 'retry_micron_handle':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:75:
warning: control reaches end of non-void function
ddr_init_main.c: At top level:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/debug_rom.c:14:
warning: 'cmd_buf' defined but not used
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/sdio.c:7,
                 from ddr_init_main.c:14:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:
In function 'select_chip':
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/nfio.c:415:
warning: 'ce' may be used uninitialized in this function
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/kreboot.S:6:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/common.h:37,
                 from cpu.c:34:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/common.h:37,
                 from timer.c:1:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from reset.c:1:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/common.h:37,
                 from board.c:1:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from serial.c:12:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include2/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/common.h:37,
                 from syslib.c:24:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/asm/arch/cpu.h:38:
warning: "CONFIG_SYS_MALLOC_LEN" redefined
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:
note: this is the location of the previous definition
firmwareld.c:5: fatal error: power_firmware.dat: No such file or directory
compilation terminated.
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/include/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from <command-line>:0:
include/asm/arch/cpu.h:67:1: warning: "CONFIG_SYS_MALLOC_LEN" redefined
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:8,
                 from <command-line>:0:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:1:
warning: this is the location of the previous definition
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/include/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from <command-line>:0:
include/asm/arch/cpu.h:69:1: warning: "CONFIG_ENV_SIZE" redefined
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:8,
                 from <command-line>:0:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:294:1:
warning: this is the location of the previous definition
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/include/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from <command-line>:0:
include/asm/arch/cpu.h:85:1: warning: "CONFIG_L2_OFF" redefined
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:8,
                 from <command-line>:0:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:65:1:
warning: this is the location of the previous definition
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/include/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from <command-line>:0:
include/asm/arch/cpu.h:115:2: warning: #warning todo implement nand driver
later
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/include/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from <command-line>:0:
include/asm/arch/cpu.h:67:1: warning: "CONFIG_SYS_MALLOC_LEN" redefined
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:8,
                 from <command-line>:0:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:357:1:
warning: this is the location of the previous definition
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/include/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from <command-line>:0:
include/asm/arch/cpu.h:69:1: warning: "CONFIG_ENV_SIZE" redefined
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:8,
                 from <command-line>:0:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:294:1:
warning: this is the location of the previous definition
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/include/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from <command-line>:0:
include/asm/arch/cpu.h:85:1: warning: "CONFIG_L2_OFF" redefined
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:8,
                 from <command-line>:0:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/include/configs/amlogic/m6_mbx_v1.h:65:1:
warning: this is the location of the previous definition
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/include/asm/config.h:27,
                 from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/include/config.h:9,
                 from <command-line>:0:
include/asm/arch/cpu.h:115:2: warning: #warning todo implement nand driver
later
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:12,
                 from suspend.c:2:
include/asm/arch/cec_tx_reg.h:4:1: warning: multi-line comment
In file included from
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:19,
                 from suspend.c:2:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/irremote2arc.c:
In function ‘ir_remote_init_32k_mode’:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/irremote2arc.c:57:
warning: unused variable ‘i’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/irremote2arc.c:
In function ‘remote_cec_ll_rx’:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/irremote2arc.c:232:
warning: unused variable ‘data’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/irremote2arc.c:
In function ‘remote_cec_ll_tx’:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/irremote2arc.c:287:
warning: unused variable ‘i’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/irremote2arc.c:
In function ‘cec_set_stream_path’:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/irremote2arc.c:375:
warning: unused variable ‘msg’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/irremote2arc.c:
In function ‘cec_handler’:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/irremote2arc.c:594:
warning: unused variable ‘rx_len’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/irremote2arc.c:594:
warning: unused variable ‘rx_msg’
In file included from suspend.c:2:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:
In function ‘enter_power_down’:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:325:
warning: implicit declaration of function ‘wait_uart_empty’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:368:
warning: implicit declaration of function ‘power_down_ddr_phy’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:618:
warning: implicit declaration of function ‘uart_reset’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:631:
warning: implicit declaration of function ‘init_ddr_pll’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:276:
warning: unused variable ‘gate’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:275:
warning: unused variable ‘addr’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:274:
warning: unused variable ‘i’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:273:
warning: unused variable ‘v’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:
In function ‘main’:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:829:
warning: unused variable ‘j’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:829:
warning: unused variable ‘i’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:
In function ‘store_restore_plls’:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:982:
warning: implicit declaration of function ‘__udelay’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:941:
warning: unused variable ‘i’
In file included from suspend.c:3:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/mmc.c:
At top level:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/mmc.c:22:
warning: conflicting types for ‘__udelay’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:982:
warning: previous implicit declaration of ‘__udelay’ was here
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/mmc.c:
In function ‘init_pctl’:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/mmc.c:532:
warning: passing argument 1 of ‘f_serial_puts’ makes pointer from integer
without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/mmc.c:570:
warning: passing argument 1 of ‘f_serial_puts’ makes pointer from integer
without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/mmc.c:575:
warning: passing argument 1 of ‘f_serial_puts’ makes pointer from integer
without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/mmc.c:580:
warning: passing argument 1 of ‘f_serial_puts’ makes pointer from integer
without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/mmc.c:584:
warning: passing argument 1 of ‘f_serial_puts’ makes pointer from integer
without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/mmc.c:680:
warning: passing argument 1 of ‘f_serial_puts’ makes pointer from integer
without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/mmc.c:696:
warning: passing argument 1 of ‘f_serial_puts’ makes pointer from integer
without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/mmc.c:716:
warning: passing argument 1 of ‘f_serial_puts’ makes pointer from integer
without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/mmc.c:728:
warning: passing argument 1 of ‘f_serial_puts’ makes pointer from integer
without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/mmc.c:763:
warning: passing argument 1 of ‘f_serial_puts’ makes pointer from integer
without a cast
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/mmc.c:
At top level:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/mmc.c:821:
warning: conflicting types for ‘power_down_ddr_phy’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:368:
warning: previous implicit declaration of ‘power_down_ddr_phy’ was here
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/arch/arm/cpu/aml_meson/m6/firmware/arc_power/mmc.c:847:
warning: conflicting types for ‘init_ddr_pll’
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:631:
warning: previous implicit declaration of ‘init_ddr_pll’ was here
suspend.c: In function ‘delay_tick’:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:80:
warning: control reaches end of non-void function
suspend.c: At top level:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:201:
warning: ‘enable_iso_ee’ defined but not used
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:205:
warning: ‘disable_iso_ee’ defined but not used
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:224:
warning: ‘enable_iso_ao’ defined but not used
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:228:
warning: ‘disable_iso_ao’ defined but not used
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:232:
warning: ‘ee_off’ defined but not used
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:236:
warning: ‘ee_on’ defined but not used
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:
In function ‘enter_power_down’:
/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/board/amlogic/m6_mbx_v1/firmware/arc_power/arc_pwr.c:673:
warning: ‘test_status_1’ is used uninitialized in this function
make[3]: *** No rule to make target
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arc_power/lib/*.o',
needed by
`/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arc_power/code_elf.out'.
Stop.
make[2]: *** [all] Error 2
make[1]: *** [power_firmware] Error 2
make: ***
[/opt/openlinux_mbox_jb-mr1-amlogic_20140428/uboot/build/arch/arm/cpu/aml_meson/m6/libm6.o]
Error 2

make return this error. please help me that how to success build uboot.

Best Regards
Ehsan Farahani Asil


More information about the U-Boot mailing list