[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.16 [ 0s] Using BUILD_ARCH=armv7l:armv7el:armv6l:armv5tejl:armv5tel:armv5l:armv4tl:armv4l:armv3l:noarch [ 0s] [ 0s] [ 0s] ip-192-168-56-234 started "build u-boot-tm1.spec" at Thu Mar 6 03:54:53 UTC 2025. [ 0s] [ 0s] [ 0s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_4.0_unified_standard/u-boot-sprd-2010.12-0/u-boot-tm1.spec ... [ 0s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache --define jobs 8 --define _smp_mflags -j8 --define _costomized_smp_mflags -j20 --repository /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_4.0_unified_standard/armv7l/RPMS --repository http://download.tizen.org/snapshots/TIZEN/Tizen-4.0/Tizen-4.0-Base/tizen-4.0-base_20250305.234407/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen-4.0/Tizen-4.0-Base/tizen-4.0-base_20250305.234407/repos/standard/debug/ /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_4.0_unified_standard/u-boot-sprd-2010.12-0/u-boot-tm1.spec build ... [ 1s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.16/.srcfiles.cache ... [ 1s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.16/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_4.0_unified_standard/armv7l/RPMS [ 1s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen-4.0/Tizen-4.0-Base/tizen-4.0-base_20250305.234407/repos/standard/packages/ [ 2s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen-4.0/Tizen-4.0-Base/tizen-4.0-base_20250305.234407/repos/standard/debug/ [ 3s] expanding package dependencies... [ 3s] copying qemu [ 3s] [ 3s] registering binfmt handlers for cross build [ 3s] calculating packages to download... [ 9s] reordering...cycle: libsoftokn3 -> nss [ 9s] breaking dependency nss -> libsoftokn3 [ 9s] reordering done [ 11s] deleting gettext-runtime [ 11s] deleting gettext-tools [ 11s] deleting libnl2 [ 11s] deleting libnl2-devel [ 11s] deleting ncurses-devel [ 11s] deleting zlib-devel [ 12s] [1/91] keeping libmagic-data-5.37-1.10 [ 12s] [2/91] keeping setup-0.9-1.2 [ 12s] [3/91] keeping filesystem-3.1-1.1 [ 12s] [4/91] keeping glibc-2.24-1.12 [ 12s] [5/91] keeping libatomic-6.2.1-1.7 [ 12s] [6/91] keeping libgcc-6.2.1-1.7 [ 12s] [7/91] keeping bash-3.2.57-1.1 [ 12s] [8/91] keeping binutils-2.27-1.11 [ 12s] [9/91] keeping cpio-2.11-3.1 [ 12s] [10/91] keeping diffutils-3.3-1.1 [ 12s] [11/91] keeping findutils-4.3.8-1.10 [ 12s] [12/91] keeping hostname-3.12-1.1 [ 12s] [13/91] keeping libattr-2.4.47-1.11 [ 12s] [14/91] keeping libbz2-1.0.6-1.11 [ 12s] [15/91] keeping libcap-2.24-1.10 [ 12s] [16/91] keeping libelf-0.153-1.10 [ 12s] [17/91] keeping libfreebl3-3.34.1-1.11 [ 12s] [18/91] keeping libgfortran-6.2.1-1.7 [ 12s] [19/91] keeping libgomp-6.2.1-1.7 [ 12s] [20/91] keeping libitm-6.2.1-1.7 [ 12s] [21/91] keeping libltdl-2.4.2-1.11 [ 12s] [22/91] keeping liblua-5.1.5-1.10 [ 12s] [23/91] keeping liblzma-5.2.2-1.11 [ 12s] [24/91] keeping libpcre-8.41-1.1 [ 12s] [25/91] keeping libpopt-1.16-1.10 [ 12s] [26/91] keeping libsmack-1.3.1-1.10 [ 12s] [27/91] keeping libsmartcols-2.30-1.1 [ 12s] [28/91] keeping libsqlite-3.21.0-1.11 [ 12s] [29/91] keeping libstdc++-6.2.1-1.7 [ 12s] [30/91] keeping libuuid-2.30-1.1 [ 12s] [31/91] keeping m4-1.4.17-1.1 [ 12s] [32/91] keeping net-tools-2.0_20121208git-1.1 [ 12s] [33/91] keeping nspr-4.12-1.10 [ 12s] [34/91] keeping patch-2.7-1.10 [ 12s] [35/91] keeping pkg-config-0.28-1.11 [ 12s] [36/91] keeping sed-4.1c-1.1 [ 12s] [37/91] keeping update-alternatives-1.18.15-1.1 [ 12s] [38/91] keeping which-2.20-4.1 [ 12s] [39/91] keeping zlib-1.2.11-1.11 [ 12s] [40/91] keeping build-compare-2015.04.28-1.4 [ 12s] [41/91] keeping libstdc++-devel-6.2.1-1.7 [ 12s] [42/91] keeping qemu-linux-user-x86_64-cross-5.2.0-20.4 [ 12s] [43/91] keeping terminfo-base-full-5.9-1.11 [ 12s] [44/91] keeping cpp-6.2.1-1.7 [ 12s] [45/91] keeping gcc-c++-6.2.1-1.7 [ 12s] [46/91] keeping coreutils-6.9-14.1 [ 12s] [47/91] keeping db4-4.8.30.NC-1.11 [ 12s] [48/91] keeping gawk-3.1.5-1.1 [ 12s] [49/91] keeping grep-2.5.2-1.1 [ 12s] [50/91] keeping libacl-2.2.52-1.10 [ 12s] [51/91] keeping libasm-0.153-1.10 [ 12s] [52/91] keeping libblkid-2.30-1.1 [ 12s] [53/91] keeping libcc1-6.2.1-1.7 [ 12s] [54/91] keeping libubsan-6.2.1-1.7 [ 12s] [55/91] keeping make-4.0-1.10 [ 12s] [56/91] keeping nss-certs-3.34.1-1.11 [ 12s] [57/91] keeping smack-1.3.1-1.10 [ 12s] [58/91] keeping bzip2-1.0.6-1.11 [ 12s] [59/91] keeping libmagic-5.37-1.10 [ 12s] [60/91] keeping libxml2-2.9.7-1.11 [ 12s] [61/91] keeping xz-5.2.2-1.11 [ 12s] [62/91] keeping libdw-0.153-1.10 [ 12s] [63/91] keeping linux-glibc-devel-3.10-1.11 [ 12s] [64/91] keeping file-5.37-1.10 [ 12s] [65/91] keeping glibc-locale-2.24-1.12 [ 12s] [66/91] keeping libmount-2.30-1.1 [ 12s] [67/91] keeping libncurses-5.9-1.11 [ 12s] [68/91] keeping libncurses6-5.9-1.11 [ 12s] [69/91] keeping tar-1.17-1.1 [ 12s] [70/91] keeping gzip-1.3.12-1.10 [ 12s] [71/91] keeping libfdisk-2.30-1.1 [ 12s] [72/91] keeping pam-1.1.6-1.1 [ 12s] [73/91] keeping perl-5.20.0-1.10 [ 12s] [74/91] keeping tzdata-2017c-1.3 [ 12s] [75/91] keeping elfutils-0.153-1.10 [ 12s] [76/91] keeping gcc-6.2.1-1.7 [ 12s] [77/91] keeping build-mkbaselibs-20120927-1.1 [ 12s] [78/91] keeping glibc-devel-2.24-1.12 [ 12s] [79/91] keeping qemu-accel-x86_64-armv7l-0.4-1.2 [ 12s] [80/91] keeping autoconf-2.69-1.11 [ 12s] [81/91] keeping less-466-1.1 [ 12s] [82/91] keeping libreadline-5.2-1.11 [ 12s] [83/91] keeping automake-1.14.1-1.11 [ 12s] [84/91] keeping build-20120927-1.1 [ 12s] [85/91] keeping util-linux-2.30-1.1 [ 12s] [86/91] keeping libtool-2.4.2-1.11 [ 12s] [87/91] keeping util-linux-su-2.30-1.1 [ 12s] [88/91] keeping nss-3.34.1-1.11 [ 12s] [89/91] keeping libsoftokn3-3.34.1-1.11 [ 12s] [90/91] keeping rpm-4.11.0.1-1.10 [ 12s] [91/91] keeping rpm-build-4.11.0.1-1.10 [ 12s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.16/etc/nsswitch.conf... [ 12s] now finalizing build dir... [ 13s] ----------------------------------------------------------------- [ 13s] ----- building u-boot-tm1.spec (user abuild) [ 13s] ----------------------------------------------------------------- [ 13s] ----------------------------------------------------------------- [ 14s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_costomized_smp_mflags -j20' --define '_srcdefattr (-,root,root)' --nosignature --target=armv7l-tizen-linux --define '_build_create_debug 1' -ba /home/abuild/rpmbuild/SOURCES/u-boot-tm1.spec [ 14s] Building target platforms: armv7l-tizen-linux [ 14s] Building for target armv7l-tizen-linux [ 14s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.415OoU [ 14s] + umask 022 [ 14s] + cd /home/abuild/rpmbuild/BUILD [ 14s] + cd /home/abuild/rpmbuild/BUILD [ 14s] + rm -rf u-boot-sprd-2010.12 [ 14s] + /bin/tar -xf - [ 14s] + /bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/u-boot-sprd-2010.12.tar.bz2 [ 17s] + STATUS=0 [ 17s] + '[' 0 -ne 0 ']' [ 17s] + cd u-boot-sprd-2010.12 [ 17s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 17s] + exit 0 [ 17s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.BYdgfG [ 17s] + umask 022 [ 17s] + cd /home/abuild/rpmbuild/BUILD [ 17s] + cd u-boot-sprd-2010.12 [ 17s] ++ uname -m [ 17s] + [[ armv7l == \a\a\r\c\h\6\4 ]] [ 17s] + LANG=C [ 17s] + export LANG [ 17s] + unset DISPLAY [ 17s] + CFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g' [ 17s] + export CFLAGS [ 17s] + CXXFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -std=gnu++11' [ 17s] + export CXXFLAGS [ 17s] + FFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -I%_fmoddir' [ 17s] + export FFLAGS [ 17s] + LDFLAGS= [ 17s] + export LDFLAGS [ 17s] + cp /home/abuild/rpmbuild/SOURCES/u-boot-tm1.manifest . [ 17s] + make distclean [ 18s] + make tizen_tm1_config [ 18s] Configuring for tizen_tm1 board... [ 18s] + make -j8 'HOSTCC=gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g' HOSTSTRIP=/bin/true tools [ 19s] Generating include/autoconf.mk [ 19s] Generating include/autoconf.mk.dep [ 20s] gcc -DDO_DEPS_ONLY \ [ 20s] -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 20s] -o lib/asm-offsets.s lib/asm-offsets.c -c -S [ 20s] Generating include/generated/generic-asm-offsets.h [ 20s] tools/scripts/make-asm-offsets lib/asm-offsets.s include/generated/generic-asm-offsets.h [ 20s] for dir in tools examples/standalone examples/api arch/arm/cpu/armv7 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7/ ; do \ [ 20s] make -C $dir _depend ; done [ 20s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 22s] make[1]: Nothing to be done for '_depend'. [ 22s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 22s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 23s] make[1]: Nothing to be done for '_depend'. [ 23s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 23s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 23s] make[1]: Nothing to be done for '_depend'. [ 23s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 23s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 24s] make[1]: Nothing to be done for '_depend'. [ 24s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 24s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 24s] make[1]: Nothing to be done for '_depend'. [ 24s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 24s] make -C tools all [ 24s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 24s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -pedantic -o bmp_logo.o bmp_logo.c -c [ 25s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -pedantic -c -o crc32.o /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/crc32.c [ 25s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -o default_image.o default_image.c -c [ 25s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -o fit_image.o fit_image.c -c [ 25s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c -o image.o /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/common/image.c [ 25s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -o imximage.o imximage.c -c [ 25s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -o kwbimage.o kwbimage.c -c [ 25s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -pedantic -c -o md5.o /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/md5.c [ 25s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -o mkimage.o mkimage.c -c [ 25s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -o os_support.o os_support.c -c [ 25s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -pedantic -c -o sha1.o /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/sha1.c [ 26s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c -o fdt.o /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt/fdt.c [ 26s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c -o fdt_ro.o /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt/fdt_ro.c [ 26s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c -o fdt_rw.o /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt/fdt_rw.c [ 26s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c -o fdt_strerror.o /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt/fdt_strerror.c [ 26s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c -o fdt_wip.o /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt/fdt_wip.c [ 26s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -pedantic -o bmp_logo bmp_logo.o [ 26s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -pedantic -o mkimage crc32.o default_image.o fit_image.o image.o imximage.o kwbimage.o md5.o mkimage.o os_support.o sha1.o fdt.o fdt_ro.o fdt_rw.o fdt_strerror.o fdt_wip.o [ 26s] /bin/true bmp_logo [ 26s] ./bmp_logo logos/denx.bmp >/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/bmp_logo.h [ 26s] /bin/true mkimage [ 27s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 27s] + make -j8 'HOSTCC=gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g' CONFIG_ENV_IS_IN_MMC=y env [ 27s] make -C tools/env all MTD_VERSION= [ 27s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools/env' [ 27s] ln -s ../../lib/crc32.c crc32.c [ 28s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -DUSE_HOSTCC -o fw_printenv crc32.c fw_env.c fw_env_main.c [ 28s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools/env' [ 28s] + export PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:tools [ 28s] + PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:tools [ 28s] ++ echo profile/mobile/platform/kernel/u-boot-tm1#ae235d55f524c1798961f0b17550d1a6715f080c [ 28s] ++ sed 's/.*u-boot.*#\(.\{9\}\).*/-g\1-TIZEN.org/' [ 28s] + make -j8 EXTRAVERSION=-gae235d55f-TIZEN.org [ 29s] for dir in tools examples/standalone examples/api arch/arm/cpu/armv7 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7/ ; do \ [ 29s] make -C $dir _depend ; done [ 29s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 29s] make[1]: Nothing to be done for '_depend'. [ 29s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 29s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 29s] make[1]: Nothing to be done for '_depend'. [ 29s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 29s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 30s] make[1]: Nothing to be done for '_depend'. [ 30s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 30s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 30s] make[1]: Nothing to be done for '_depend'. [ 30s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 30s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 30s] make[1]: Nothing to be done for '_depend'. [ 30s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 30s] make -C tools all [ 30s] make -C examples/standalone all [ 30s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 30s] make -C examples/api all [ 30s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 31s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 31s] make -C arch/arm/cpu/armv7 start.o [ 31s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 31s] make -C /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7/ u-boot.lds [ 31s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 31s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -fno-toplevel-reorder \ [ 31s] -o hello_world.o hello_world.c -c [ 31s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -fno-toplevel-reorder \ [ 31s] -o stubs.o stubs.c -c [ 31s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 31s] make[1]: Nothing to be done for 'all'. [ 31s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 31s] gcc -D__ASSEMBLY__ -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a \ [ 31s] -o start.o start.S -c [ 31s] ld -r -o libstubs.o stubs.o [ 31s] ld -g -Ttext 0xc100000 \ [ 31s] -o hello_world -e hello_world hello_world.o libstubs.o \ [ 31s] -L/usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1 -lgcc [ 31s] make[1]: Nothing to be done for 'u-boot.lds'. [ 31s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 32s] gcc -E -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -include /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/u-boot/u-boot.lds.h -ansi -D__ASSEMBLY__ -P - u-boot.lds [ 32s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 32s] objcopy -O srec hello_world hello_world.srec 2>/dev/null [ 32s] objcopy -O binary hello_world hello_world.bin 2>/dev/null [ 32s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 32s] make -C api/ [ 32s] make -C arch/arm/cpu/armv7/ [ 32s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/api' [ 33s] make -C arch/arm/cpu/armv7/sc8830/ [ 33s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 33s] make -C arch/arm/lib/ [ 33s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7/sc8830' [ 33s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 33s] -o cpu.o cpu.c -c [ 33s] make -C common/ [ 33s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/lib' [ 34s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 34s] -o syslib.o syslib.c -c [ 34s] make -C disk/ [ 34s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/common' [ 34s] rm -f libapi.o; ar rcs libapi.o [ 34s] make -C drivers/bios_emulator/ [ 34s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/api' [ 34s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/disk' [ 34s] ld -r -o libarmv7.o cpu.o syslib.o [ 34s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 34s] make -C drivers/block/ [ 34s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/bios_emulator' [ 34s] make -C drivers/clk/ [ 34s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/block' [ 35s] make -C drivers/dma/ [ 35s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/clk' [ 35s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/dma' [ 35s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 35s] -o part.o part.c -c [ 36s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 36s] -o board.o board.c -c [ 36s] rm -f libatibiosemu.o; ar rcs libatibiosemu.o [ 36s] part.c: In function 'get_all_partition_info': [ 36s] part.c:414:7: warning: implicit declaration of function 'get_all_partition_info_efi' [-Wimplicit-function-declaration] [ 36s] if (get_all_partition_info_efi(dev_desc,info,total_partition_num) == 0) { [ 36s] ^~~~~~~~~~~~~~~~~~~~~~~~~~ [ 36s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 36s] -o part_dos.o part_dos.c -c [ 36s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/bios_emulator' [ 36s] make -C drivers/fpga/ [ 36s] rm -f libblock.o; ar rcs libblock.o [ 36s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 36s] -o bootm.o bootm.c -c [ 36s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/fpga' [ 36s] rm -f libclk.o; ar rcs libclk.o [ 36s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/block' [ 36s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 36s] -o part_efi.o part_efi.c -c [ 36s] make -C drivers/gpio/ [ 36s] rm -f libdma.o; ar rcs libdma.o [ 36s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 36s] -o cache.o cache.c -c [ 36s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/dma' [ 36s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/clk' [ 36s] make -C drivers/hwmon/ [ 36s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/gpio' [ 36s] gcc -D__ASSEMBLY__ -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a \ [ 36s] -o mmu_asm.o mmu_asm.S -c [ 36s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 36s] -o cache-cp15.o cache-cp15.c -c [ 36s] ld -r -o libdisk.o part.o part_dos.o part_efi.o [ 37s] make -C drivers/i2c/ [ 37s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/hwmon' [ 37s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/disk' [ 37s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 37s] -o generic.o generic.c -c [ 37s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 37s] -o interrupts.o interrupts.c -c [ 37s] make -C drivers/input/ [ 37s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/i2c' [ 37s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 37s] -o timer.o timer.c -c [ 37s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 37s] -o reset.o reset.c -c [ 37s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/input' [ 37s] rm -f libfpga.o; ar rcs libfpga.o [ 37s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 37s] -o reset.o reset.c -c [ 37s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 37s] -o eabi_compat.o eabi_compat.c -c [ 37s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/fpga' [ 37s] make -C drivers/misc/ [ 37s] rm -f libgpio.o; ar rcs libgpio.o [ 37s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 37s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 37s] from reset.c:40: [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 37s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 37s] [ 37s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 37s] from reset.c:38: [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 37s] #define ADC_BASE 0x40038300 //Aux ADC [ 37s] [ 38s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 38s] -o cmd_bdinfo.o cmd_bdinfo.c -c [ 38s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 38s] -o ldo.o ldo.c -c [ 38s] ld -r -o libarm.o board.o bootm.o cache.o cache-cp15.o interrupts.o reset.o [ 38s] rm -f libhwmon.o; ar rcs libhwmon.o [ 38s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/misc' [ 38s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/gpio' [ 38s] make -C drivers/mmc/ [ 38s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/lib' [ 38s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 38s] -o mfp_sprd.o mfp_sprd.c -c [ 38s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 38s] -o cmd_boot.o cmd_boot.c -c [ 38s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/hwmon' [ 38s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 38s] -o mmu.o mmu.c -c [ 38s] make -C drivers/mtd/ [ 38s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mmc' [ 38s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 38s] -o cmd_bootm.o cmd_bootm.c -c [ 38s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 38s] -o sprd_i2c.o sprd_i2c.c -c [ 38s] rm -f libinput.o; ar rcs libinput.o [ 38s] make -C drivers/mtd/nand/ [ 38s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd' [ 38s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 38s] -o adc.o adc.c -c [ 38s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/input' [ 38s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 38s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 38s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_reg_v3.h:18, [ 38s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:25, [ 38s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 38s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 38s] from sprd_i2c.c:30: [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 38s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 38s] [ 38s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 38s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 38s] from sprd_i2c.c:30: [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 38s] #define ADC_BASE 0x40038300 //Aux ADC [ 38s] [ 38s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 38s] -o cmd_console.o cmd_console.c -c [ 38s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:26:0, [ 38s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 38s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 38s] from sprd_i2c.c:30: [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:112:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 38s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x11C) [ 38s] [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:111:0: note: this is the location of the previous definition [ 38s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x118) [ 38s] [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:113:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 38s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x120) [ 38s] [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:112:0: note: this is the location of the previous definition [ 38s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x11C) [ 38s] [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:114:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 38s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x124) [ 38s] [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:113:0: note: this is the location of the previous definition [ 38s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x120) [ 38s] [ 38s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:32:0, [ 38s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 38s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 38s] from sprd_i2c.c:30: [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/rtc_reg_v3.h:34:0: warning: "RTC_BASE" redefined [ 38s] #define RTC_BASE SPRD_ANA_RTC_PHYS [ 38s] [ 38s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 38s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 38s] from sprd_i2c.c:30: [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:220:0: note: this is the location of the previous definition [ 38s] #define RTC_BASE 0x40038080 [ 38s] [ 38s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:36:0, [ 38s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 38s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 38s] from sprd_i2c.c:30: [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sys_timer_reg_v0.h:33:0: warning: "SYSTIMER_BASE" redefined [ 38s] #define SYSTIMER_BASE (SPRD_SYSCNT_PHYS) [ 38s] [ 38s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 38s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 38s] from sprd_i2c.c:30: [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:298:0: note: this is the location of the previous definition [ 38s] #define SYSTIMER_BASE CTL_BASE_AP_SYS_TMR [ 38s] [ 38s] sprd_i2c.c:283:15: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 38s] PUBLIC uint32 I2C_GetSCLclk() [ 38s] ^~~~~~~~~~~~~ [ 38s] sprd_i2c.c: In function 'I2C_WriteCmdArr': [ 38s] sprd_i2c.c:470:21: warning: unused variable 'curtime' [-Wunused-variable] [ 38s] volatile uint32 curtime = 0; [ 38s] ^~~~~~~ [ 38s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/nand' [ 38s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 38s] -o i2c_hal.o i2c_hal.c -c [ 38s] make -C drivers/mtd/onenand/ [ 39s] rm -f libmisc.o; ar rcs libmisc.o [ 39s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 39s] -o rtc-sprd.o rtc-sprd.c -c [ 39s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 39s] -o cmd_echo.o cmd_echo.c -c [ 39s] i2c_hal.c: In function 'I2C_Bus_Exit': [ 39s] i2c_hal.c:142:12: warning: unused variable 'status_val' [-Wunused-variable] [ 39s] uint32 status_val = 0; [ 39s] ^~~~~~~~~~ [ 39s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/onenand' [ 39s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 39s] -o sc8830_i2c_cfg.o sc8830_i2c_cfg.c -c [ 39s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/misc' [ 39s] make -C drivers/mtd/spi/ [ 39s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 39s] -o sec_boot.o sec_boot.c -c [ 39s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 39s] -o cmd_ext4.o cmd_ext4.c -c [ 39s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 39s] -o v0/i2c_phy_v0.o v0/i2c_phy_v0.c -c [ 39s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/spi' [ 39s] rm -f libmtd.o; ar rcs libmtd.o [ 39s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 39s] -o cmd_fat.o cmd_fat.c -c [ 39s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/include/asm/arch-sc8810 -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch \ [ 39s] -o mmc.o mmc.c -c [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 39s] from sec_boot.c:4: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 39s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 39s] [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 39s] from sec_boot.c:3: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 39s] #define ADC_BASE 0x40038300 //Aux ADC [ 39s] [ 39s] In file included from sec_boot.c:5:0: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 39s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:7:0: note: this is the location of the previous definition [ 39s] #define VLR_INFO_OFF (512) [ 39s] [ 39s] ld -r -o libi2c.o sprd_i2c.o i2c_hal.o sc8830_i2c_cfg.o v0/i2c_phy_v0.o [ 39s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd' [ 39s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 39s] -o glb.o glb.c -c [ 39s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/i2c' [ 39s] make -C drivers/mtd/ubi/ [ 39s] rm -f libnand.o; ar rcs libnand.o [ 39s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 39s] -o adi.o adi.c -c [ 39s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 39s] -o cmd_fdt.o cmd_fdt.c -c [ 39s] mmc.c: In function 'mmc_bwrite': [ 39s] mmc.c:160:6: warning: implicit declaration of function 'Emmc_Write' [-Wimplicit-function-declaration] [ 39s] if(Emmc_Write(0, start, blkcnt, (uint8*)src)) [ 39s] ^~~~~~~~~~ [ 39s] mmc.c: In function 'mmc_bread': [ 39s] mmc.c:240:6: warning: implicit declaration of function 'Emmc_Read' [-Wimplicit-function-declaration] [ 39s] if(Emmc_Read(0, start, blkcnt, (uint8*)dst)) [ 39s] ^~~~~~~~~ [ 39s] mmc.c: In function 'mmc_register': [ 39s] mmc.c:915:24: warning: implicit declaration of function 'Emmc_GetCapacity' [-Wimplicit-function-declaration] [ 39s] mmc->block_dev.lba = Emmc_GetCapacity(0);; [ 39s] ^~~~~~~~~~~~~~~~ [ 39s] mmc.c: In function 'mmc_legacy_init': [ 39s] mmc.c:1027:13: warning: implicit declaration of function 'Emmc_Init' [-Wimplicit-function-declaration] [ 39s] if(TRUE == Emmc_Init()) [ 39s] ^~~~~~~~~ [ 39s] mmc.c:1025:11: warning: unused variable 'rca' [-Wunused-variable] [ 39s] uint16_t rca = 0; [ 39s] ^~~ [ 39s] mmc.c:1024:12: warning: unused variable 'resp' [-Wunused-variable] [ 39s] uint32_t *resp; [ 39s] ^~~~ [ 39s] mmc.c:1023:11: warning: unused variable 'cid_resp' [-Wunused-variable] [ 39s] uint32_t cid_resp[4]; [ 39s] ^~~~~~~~ [ 39s] mmc.c:1022:6: warning: unused variable 'retries' [-Wunused-variable] [ 39s] int retries, rc = -ENODEV; [ 39s] ^~~~~~~ [ 39s] mmc.c: At top level: [ 39s] mmc.c:1053:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 39s] int mmc_sdcard_init() [ 39s] ^~~~~~~~~~~~~~~ [ 39s] mmc.c: In function 'mmc_sdcard_init': [ 39s] mmc.c:1056:14: warning: implicit declaration of function 'SDCARD_PowerOn' [-Wimplicit-function-declaration] [ 39s] if (TRUE == SDCARD_PowerOn()) { [ 39s] ^~~~~~~~~~~~~~ [ 39s] rm -f libonenand.o; ar rcs libonenand.o [ 39s] glb.c: In function 'sci_glb_write': [ 39s] glb.c:40:23: warning: unused variable 'hw_flags' [-Wunused-variable] [ 39s] unsigned long flags, hw_flags; [ 39s] ^~~~~~~~ [ 39s] glb.c:40:16: warning: unused variable 'flags' [-Wunused-variable] [ 39s] unsigned long flags, hw_flags; [ 39s] ^~~~~ [ 39s] make -C drivers/net/ [ 39s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/ubi' [ 39s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/nand' [ 39s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/include/asm/arch-sc8810 -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch \ [ 39s] -o mv_sdhci.o mv_sdhci.c -c [ 39s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/onenand' [ 39s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 39s] -o gpio.o gpio.c -c [ 39s] adi.c: In function '__adi_read': [ 39s] adi.c:172:63: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 39s] printf("[0x%s]: ADI READ timeout!!! reg = 0x%x, value = 0x%x\n", __func__, regPddr, val); [ 39s] ^ [ 39s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net' [ 39s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 39s] -o cmd_help.o cmd_help.c -c [ 39s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/include/asm/arch-sc8810 -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch \ [ 39s] -o sdhci.o sdhci.c -c [ 39s] rm -f libspi_flash.o; ar rcs libspi_flash.o [ 39s] mv_sdhci.c: In function 'sdhci_dumpregs': [ 39s] mv_sdhci.c:9:20: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'void *' [-Wformat=] [ 39s] #define KERN_DEBUG " " [ 39s] ^ [ 39s] mv_sdhci.c:18:10: note: in expansion of macro 'KERN_DEBUG' [ 39s] printf(KERN_DEBUG DRIVER_NAME ": address 0x%08x | value 0x%08x\n", host->ioaddr + i*4, sdhci_readl(host, i*4)); [ 39s] ^~~~~~~~~~ [ 39s] mv_sdhci.c: In function 'sdhci_sprd_set_base_clock': [ 39s] mv_sdhci.c:65:16: warning: unused variable 'flags' [-Wunused-variable] [ 39s] unsigned long flags; [ 39s] ^~~~~ [ 39s] At top level: [ 39s] mv_sdhci.c:63:13: warning: 'sdhci_sprd_set_base_clock' defined but not used [-Wunused-function] [ 39s] static void sdhci_sprd_set_base_clock(unsigned int clock) [ 39s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 39s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 39s] -o gpio_phy.o gpio_phy.c -c [ 39s] make -C drivers/net/phy/ [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45:0, [ 39s] from gpio.c:15: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:103:28: warning: 'struct seq_file' declared inside parameter list will not be visible outside of this definition or declaration [ 39s] void (*dbg_show)(struct seq_file *s, [ 39s] ^~~~~~~~ [ 39s] In file included from gpio.c:16:0: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h: In function 'gpio_reg_and': [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:87:3: warning: implicit declaration of function '__raw_bits_and' [-Wimplicit-function-declaration] [ 39s] __raw_bits_and(value, reg_addr); [ 39s] ^~~~~~~~~~~~~~ [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h: In function 'gpio_reg_or': [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:95:3: warning: implicit declaration of function '__raw_bits_or' [-Wimplicit-function-declaration] [ 39s] __raw_bits_or(value, reg_addr); [ 39s] ^~~~~~~~~~~~~ [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 39s] from gpio.c:17: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h: At top level: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 39s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 39s] [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:44:0, [ 39s] from gpio.c:15: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 39s] #define ADC_BASE 0x40038300 //Aux ADC [ 39s] [ 39s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/spi' [ 39s] In file included from gpio.c:18:0: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_reg_v0.h:32:0: warning: "ANA_GPIO_BASE" redefined [ 39s] #define ANA_GPIO_BASE SPRD_ANA_GPIO_PHYS [ 39s] [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:44:0, [ 39s] from gpio.c:15: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:282:0: note: this is the location of the previous definition [ 39s] #define ANA_GPIO_BASE 0x40038480 [ 39s] [ 39s] In file included from gpio.c:18:0: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_reg_v0.h:33:0: warning: "GPIO_BASE" redefined [ 39s] #define GPIO_BASE SPRD_GPIO_PHYS [ 39s] [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:44:0, [ 39s] from gpio.c:15: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:301:0: note: this is the location of the previous definition [ 39s] #define GPIO_BASE CTL_BASE_GPIO [ 39s] [ 39s] gpio.c: In function '__gpio_set_dir': [ 39s] gpio.c:83:16: warning: unused variable 'flags' [-Wunused-variable] [ 39s] unsigned long flags; [ 39s] ^~~~~ [ 39s] gpio.c: In function '__gpio_set_pin_data': [ 39s] gpio.c:247:16: warning: unused variable 'flags' [-Wunused-variable] [ 39s] unsigned long flags; [ 39s] ^~~~~ [ 39s] gpio.c: In function '__gpio_set_data_mask': [ 39s] gpio.c:276:16: warning: unused variable 'flags' [-Wunused-variable] [ 39s] unsigned long flags; [ 39s] ^~~~~ [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45:0, [ 39s] from gpio.c:15: [ 39s] At top level: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:31:13: warning: 'gpio_is_valid' defined but not used [-Wunused-function] [ 39s] static bool gpio_is_valid(int number) [ 39s] ^~~~~~~~~~~~~ [ 39s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/include/asm/arch-sc8810 -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch \ [ 39s] -o sdio_card_pal.o sdio_card_pal.c -c [ 40s] sdhci.c: In function 'sdhci_send_command': [ 40s] sdhci.c:198:3: warning: implicit declaration of function 'Dcache_CleanRegion' [-Wimplicit-function-declaration] [ 40s] Dcache_CleanRegion(start_addr, trans_bytes); [ 40s] ^~~~~~~~~~~~~~~~~~ [ 40s] sdhci.c:199:3: warning: implicit declaration of function 'Dcache_InvalRegion' [-Wimplicit-function-declaration] [ 40s] Dcache_InvalRegion(start_addr, trans_bytes); [ 40s] ^~~~~~~~~~~~~~~~~~ [ 40s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 40s] -o cmd_itest.o cmd_itest.c -c [ 40s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 40s] -o clock.o clock.c -c [ 40s] In file included from gpio_phy.c:5:0: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h: In function '__get_gpio_die': [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:44:3: warning: implicit declaration of function 'WARN' [-Wimplicit-function-declaration] [ 40s] WARN(1, "wrong gpio %d\r\n", gpio); [ 40s] ^~~~ [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h: In function 'gpio_reg_and': [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:87:3: warning: implicit declaration of function '__raw_bits_and' [-Wimplicit-function-declaration] [ 40s] __raw_bits_and(value, reg_addr); [ 40s] ^~~~~~~~~~~~~~ [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h: In function 'gpio_reg_or': [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:95:3: warning: implicit declaration of function '__raw_bits_or' [-Wimplicit-function-declaration] [ 40s] __raw_bits_or(value, reg_addr); [ 40s] ^~~~~~~~~~~~~ [ 40s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/include/asm/arch-sc8810 -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch \ [ 40s] -o sdhost_phy.o sdhost_phy.c -c [ 40s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net/phy' [ 40s] sdio_card_pal.c: In function 'SDIO_Card_Pal_Pwr': [ 40s] sdio_card_pal.c:524:3: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] [ 40s] udelay(5000); [ 40s] ^~~~~~ [ 40s] sdio_card_pal.c: In function 'SDIO_Card_Pal_SendCmd': [ 40s] sdio_card_pal.c:809:16: warning: implicit declaration of function 'Dcache_CleanRegion' [-Wimplicit-function-declaration] [ 40s] Dcache_CleanRegion((unsigned int)(dataParam->databuf), bufferSize); [ 40s] ^~~~~~~~~~~~~~~~~~ [ 40s] sdio_card_pal.c:810:16: warning: implicit declaration of function 'Dcache_InvalRegion' [-Wimplicit-function-declaration] [ 40s] Dcache_InvalRegion((unsigned int)(dataParam->databuf), bufferSize); [ 40s] ^~~~~~~~~~~~~~~~~~ [ 40s] sdio_card_pal.c:826:3: warning: implicit declaration of function '_SDHOST_IrqHandle' [-Wimplicit-function-declaration] [ 40s] _SDHOST_IrqHandle(handle->sdio_No); [ 40s] ^~~~~~~~~~~~~~~~~ [ 40s] sdio_card_pal.c:754:13: warning: unused variable 'isr_status' [-Wunused-variable] [ 40s] uint32 isr_status; [ 40s] ^~~~~~~~~~ [ 40s] make -C drivers/pci/ [ 40s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 40s] -o cmd_load.o cmd_load.c -c [ 40s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 40s] -o check_reboot.o check_reboot.c -c [ 40s] rm -f libubi.o; ar rcs libubi.o [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_reg_v3.h:18, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:25, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 40s] from sdhost_phy.c:21: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 40s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 40s] from sdhost_phy.c:21: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 40s] #define ADC_BASE 0x40038300 //Aux ADC [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:26:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 40s] from sdhost_phy.c:21: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:112:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 40s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x11C) [ 40s] [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:111:0: note: this is the location of the previous definition [ 40s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x118) [ 40s] [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:113:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 40s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x120) [ 40s] [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:112:0: note: this is the location of the previous definition [ 40s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x11C) [ 40s] [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:114:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 40s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x124) [ 40s] [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:113:0: note: this is the location of the previous definition [ 40s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x120) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:32:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 40s] from sdhost_phy.c:21: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/rtc_reg_v3.h:34:0: warning: "RTC_BASE" redefined [ 40s] #define RTC_BASE SPRD_ANA_RTC_PHYS [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 40s] from sdhost_phy.c:21: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:220:0: note: this is the location of the previous definition [ 40s] #define RTC_BASE 0x40038080 [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:36:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 40s] from sdhost_phy.c:21: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sys_timer_reg_v0.h:33:0: warning: "SYSTIMER_BASE" redefined [ 40s] #define SYSTIMER_BASE (SPRD_SYSCNT_PHYS) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 40s] from sdhost_phy.c:21: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:298:0: note: this is the location of the previous definition [ 40s] #define SYSTIMER_BASE CTL_BASE_AP_SYS_TMR [ 40s] [ 40s] In file included from sdhost_phy.c:34:0: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:26:0: warning: "AHB_SOFT_RST" redefined [ 40s] #define AHB_SOFT_RST (AHB_REG_BASE + 0x04) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:20:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 40s] from sdhost_phy.c:21: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_ahb.h:33:0: note: this is the location of the previous definition [ 40s] #define AHB_SOFT_RST (AHB_REG_BASE + 0x0004) [ 40s] [ 40s] In file included from sdhost_phy.c:34:0: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:38:0: warning: "USB_PHY_CTRL" redefined [ 40s] #define USB_PHY_CTRL (AHB_REG_BASE + 0xA0) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:21:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 40s] from sdhost_phy.c:21: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_global.h:24:0: note: this is the location of the previous definition [ 40s] #define USB_PHY_CTRL (CTL_BASE_APB+0x10) [ 40s] [ 40s] In file included from sdhost_phy.c:34:0: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:41:0: warning: "CHIP_ID" redefined [ 40s] #define CHIP_ID (AHB_REG_BASE + 0x1FC) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:20:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 40s] from sdhost_phy.c:21: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_ahb.h:37:0: note: this is the location of the previous definition [ 40s] #define CHIP_ID (AHB_REG_BASE + 0x00fc) [ 40s] [ 40s] clock.c: In function 'clk_set_rate': [ 40s] clock.c:138:16: warning: unused variable 'flags' [-Wunused-variable] [ 40s] unsigned long flags; [ 40s] ^~~~~ [ 40s] clock.c: In function 'clk_set_parent': [ 40s] clock.c:171:16: warning: unused variable 'flags' [-Wunused-variable] [ 40s] unsigned long flags; [ 40s] ^~~~~ [ 40s] clock.c: In function 'sci_clk_enable': [ 40s] clock.c:222:4: warning: implicit declaration of function 'sci_glb_set' [-Wimplicit-function-declaration] [ 40s] sci_glb_set(c->regs->enb.reg & ~1, c->regs->enb.mask); [ 40s] ^~~~~~~~~~~ [ 40s] clock.c:224:4: warning: implicit declaration of function 'sci_glb_clr' [-Wimplicit-function-declaration] [ 40s] sci_glb_clr(c->regs->enb.reg & ~1, c->regs->enb.mask); [ 40s] ^~~~~~~~~~~ [ 40s] In file included from sdhost_phy.c:39:0: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:21:0: warning: "REG_SETCLRBIT" redefined [ 40s] #define REG_SETCLRBIT(_reg_addr, _set_bit, _clr_bit) \ [ 40s] [ 40s] clock.c: In function 'sci_clk_is_enable': [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:30:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 40s] from sdhost_phy.c:21: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo_reg_v3.h:33:0: note: this is the location of the previous definition [ 40s] #define REG_SETCLRBIT(_reg_addr, _set_bit, _clr_bit) \ [ 40s] [ 40s] clock.c:240:10: warning: implicit declaration of function 'sci_glb_read' [-Wimplicit-function-declaration] [ 40s] ! !sci_glb_read(c->regs->enb.reg & ~1, c->regs->enb.mask); [ 40s] ^~~~~~~~~~~~ [ 40s] In file included from sdhost_phy.c:39:0: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:34:0: warning: "GET_LEVELBIT" redefined [ 40s] #define GET_LEVELBIT(_reg_addr, _bit_mask, _bit_set, _level_var) \ [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:30:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 40s] from sdhost_phy.c:21: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo_reg_v3.h:44:0: note: this is the location of the previous definition [ 40s] #define GET_LEVELBIT(_reg_addr, _bit_mask, _bit_set, _level_var) \ [ 40s] [ 40s] In file included from sdhost_phy.c:39:0: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:41:0: warning: "GET_LEVEL" redefined [ 40s] #define GET_LEVEL(_reg_addr, _bit0_mask, _bit1_mask, _level_var) \ [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:30:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 40s] from sdhost_phy.c:21: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo_reg_v3.h:50:0: note: this is the location of the previous definition [ 40s] #define GET_LEVEL(_reg_addr, _bit0_mask, _bit1_mask, _level_var) \ [ 40s] [ 40s] clock.c: In function 'sci_clk_set_rate': [ 40s] clock.c:258:2: warning: implicit declaration of function 'sci_glb_write' [-Wimplicit-function-declaration] [ 40s] sci_glb_write(c->regs->div.reg, div << div_shift, c->regs->div.mask); [ 40s] ^~~~~~~~~~~~~ [ 40s] clock.c: In function 'sci_clk_register': [ 40s] clock.c:444:2: warning: implicit declaration of function 'clkdev_add' [-Wimplicit-function-declaration] [ 40s] clkdev_add(cl); [ 40s] ^~~~~~~~~~ [ 40s] clock.c: At top level: [ 40s] clock.c:480:19: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] [ 40s] .notifier_call = __clk_cpufreq_notifier [ 40s] ^~~~~~~~~~~~~~~~~~~~~~ [ 40s] clock.c:480:19: note: (near initialization for '__clk_cpufreq_notifier_block.notifier_call') [ 40s] clock.c:518:1: warning: data definition has no type or storage class [ 40s] arch_initcall(sci_clock_init); [ 40s] ^~~~~~~~~~~~~ [ 40s] clock.c:518:1: warning: type defaults to 'int' in declaration of 'arch_initcall' [-Wimplicit-int] [ 40s] clock.c:518:1: warning: parameter names (without types) in function declaration [ 40s] clock.c:519:1: warning: data definition has no type or storage class [ 40s] late_initcall_sync(sci_clock_dump); [ 40s] ^~~~~~~~~~~~~~~~~~ [ 40s] clock.c:519:1: warning: type defaults to 'int' in declaration of 'late_initcall_sync' [-Wimplicit-int] [ 40s] clock.c:519:1: warning: parameter names (without types) in function declaration [ 40s] clock.c:479:30: warning: '__clk_cpufreq_notifier_block' defined but not used [-Wunused-variable] [ 40s] static struct notifier_block __clk_cpufreq_notifier_block = { [ 40s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 40s] clock.c:452:19: warning: 'sci_clock_dump' defined but not used [-Wunused-function] [ 40s] static int __init sci_clock_dump(void) [ 40s] ^~~~~~~~~~~~~~ [ 40s] sdhost_phy.c: In function '_GetIntSDHOSTSlotNum': [ 40s] sdhost_phy.c:2341:12: warning: unused variable 'tmpReg' [-Wunused-variable] [ 40s] uint32 tmpReg; [ 40s] ^~~~~~ [ 40s] sdhost_phy.c: In function 'SdhostHisrFunc': [ 40s] sdhost_phy.c:2484:13: warning: implicit declaration of function 'threadReadBuffer' [-Wimplicit-function-declaration] [ 40s] while (!threadReadBuffer (&buffer)) [ 40s] ^~~~~~~~~~~~~~~~ [ 40s] sdhost_phy.c: In function 'SDHOST_Register': [ 40s] sdhost_phy.c:2515:24: warning: unused variable 'i' [-Wunused-variable] [ 40s] uint32 status = 0, i = 0; [ 40s] ^ [ 40s] sdhost_phy.c:2515:12: warning: unused variable 'status' [-Wunused-variable] [ 40s] uint32 status = 0, i = 0; [ 40s] ^~~~~~ [ 40s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pci' [ 40s] At top level: [ 40s] sdhost_phy.c:2490:12: warning: '_SDHOST_Pin_select' defined but not used [-Wunused-function] [ 40s] LOCAL void _SDHOST_Pin_select(SDHOST_SLOT_NO slot_NO) [ 40s] ^~~~~~~~~~~~~~~~~~ [ 40s] sdhost_phy.c:2480:13: warning: 'SdhostHisrFunc' defined but not used [-Wunused-function] [ 40s] LOCAL void SdhostHisrFunc (uint32 cnt, void *pData) [ 40s] ^~~~~~~~~~~~~~ [ 40s] sdhost_phy.c:2339:22: warning: '_GetIntSDHOSTSlotNum' defined but not used [-Wunused-function] [ 40s] LOCAL SDHOST_SLOT_NO _GetIntSDHOSTSlotNum (uint32 port) [ 40s] ^~~~~~~~~~~~~~~~~~~~ [ 40s] sdhost_phy.c:1621:12: warning: '_GetSDHOSTCapbility' defined but not used [-Wunused-function] [ 40s] LOCAL void _GetSDHOSTCapbility (SDHOST_HANDLE sdhost_handler,SDHOST_CAPBILIT_T *capbility) [ 40s] ^~~~~~~~~~~~~~~~~~~ [ 40s] sdhost_phy.c:115:15: warning: '_RegisterVerifyHOST' defined but not used [-Wunused-function] [ 40s] LOCAL BOOLEAN _RegisterVerifyHOST (SDHOST_HANDLE sdhost_handler) [ 40s] ^~~~~~~~~~~~~~~~~~~ [ 40s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/ubi' [ 40s] make -C drivers/pcmcia/ [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 40s] from check_reboot.c:4: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 40s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 40s] from check_reboot.c:2: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 40s] #define ADC_BASE 0x40038300 //Aux ADC [ 40s] [ 40s] In file included from check_reboot.c:6:0: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/rtc_reg_v3.h:34:0: warning: "RTC_BASE" redefined [ 40s] #define RTC_BASE SPRD_ANA_RTC_PHYS [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 40s] from check_reboot.c:2: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:220:0: note: this is the location of the previous definition [ 40s] #define RTC_BASE 0x40038080 [ 40s] [ 40s] In file included from check_reboot.c:7:0: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:20:0: warning: "SPRD_ADI_BASE" redefined [ 40s] #define SPRD_ADI_BASE SPRD_MISC_PHYS [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 40s] from check_reboot.c:4: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:176:0: note: this is the location of the previous definition [ 40s] #define SPRD_ADI_BASE SCI_IOMAP(0x1f0000) [ 40s] [ 40s] check_reboot.c: In function 'check_reboot_mode': [ 40s] check_reboot.c:47:11: warning: unused variable 'val' [-Wunused-variable] [ 40s] unsigned val, rst_mode= 0; [ 40s] ^~~ [ 40s] check_reboot.c: At top level: [ 40s] check_reboot.c:123:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 40s] int get_mode_from_gpio() [ 40s] ^~~~~~~~~~~~~~~~~~ [ 40s] check_reboot.c: In function 'get_mode_from_gpio': [ 40s] check_reboot.c:129:45: warning: implicit declaration of function 'charger_connected' [-Wimplicit-function-declaration] [ 40s] ret = (hw_rst_mode & HW_PBINT2_STATUS) && !charger_connected(); [ 40s] ^~~~~~~~~~~~~~~~~ [ 40s] check_reboot.c: In function 'reboot_devices': [ 40s] check_reboot.c:150:2: warning: implicit declaration of function 'reset_cpu' [-Wimplicit-function-declaration] [ 40s] reset_cpu(0); [ 40s] ^~~~~~~~~ [ 40s] check_reboot.c: In function 'power_down_devices': [ 40s] check_reboot.c:154:2: warning: implicit declaration of function 'power_down_cpu' [-Wimplicit-function-declaration] [ 40s] power_down_cpu(0); [ 40s] ^~~~~~~~~~~~~~ [ 40s] check_reboot.c: In function 'power_button_pressed': [ 40s] check_reboot.c:167:2: warning: implicit declaration of function 'sci_glb_set' [-Wimplicit-function-declaration] [ 40s] sci_glb_set(REG_AON_APB_APB_EB0,BIT_AON_GPIO_EB | BIT_EIC_EB); [ 40s] ^~~~~~~~~~~ [ 40s] check_reboot.c:179:2: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] [ 40s] udelay(3000); [ 40s] ^~~~~~ [ 40s] check_reboot.c: In function 'charger_connected': [ 40s] check_reboot.c:192:2: warning: implicit declaration of function 'sprd_eic_request' [-Wimplicit-function-declaration] [ 40s] sprd_eic_request(EIC_CHG_INT); [ 40s] ^~~~~~~~~~~~~~~~ [ 40s] check_reboot.c:201:11: warning: implicit declaration of function 'sprd_eic_get' [-Wimplicit-function-declaration] [ 40s] return !!sprd_eic_get(EIC_CHG_INT); [ 40s] ^~~~~~~~~~~~ [ 40s] check_reboot.c: At top level: [ 40s] check_reboot.c:43:19: warning: inline function 'is_hw_smpl_enable' declared but never defined [ 40s] extern inline int is_hw_smpl_enable(void); [ 40s] ^~~~~~~~~~~~~~~~~ [ 40s] check_reboot.c:41:19: warning: inline function 'is_7s_reset' declared but never defined [ 40s] extern inline int is_7s_reset(void); [ 40s] ^~~~~~~~~~~ [ 40s] rm -f libnet.o; ar rcs libnet.o [ 40s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 40s] -o eic.o eic.c -c [ 40s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 40s] -o cmd_mem.o cmd_mem.c -c [ 40s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/include/asm/arch-sc8810 -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch \ [ 40s] -o card_sdio.o card_sdio.c -c [ 40s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net' [ 40s] make -C drivers/power/ [ 40s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pcmcia' [ 40s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 40s] -o cmd_misc.o cmd_misc.c -c [ 40s] In file included from eic.c:20:0: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:20:0: warning: "SPRD_ADI_BASE" redefined [ 40s] #define SPRD_ADI_BASE SPRD_MISC_PHYS [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:34:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 40s] from eic.c:15: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x35/__hardware-sc8830.h:176:0: note: this is the location of the previous definition [ 40s] #define SPRD_ADI_BASE SCI_IOMAP(0x1f0000) [ 40s] [ 40s] eic.c: In function '__get_eic_base_info': [ 40s] eic.c:81:24: warning: unused variable 'section_table' [-Wunused-variable] [ 40s] struct gpio_section *section_table; [ 40s] ^~~~~~~~~~~~~ [ 40s] eic.c:80:6: warning: unused variable 'table_size' [-Wunused-variable] [ 40s] u32 table_size = 0; [ 40s] ^~~~~~~~~~ [ 40s] eic.c:79:6: warning: unused variable 'i' [-Wunused-variable] [ 40s] int i = 0; [ 40s] ^ [ 40s] eic.c: In function '__eic_get_pin_data': [ 40s] eic.c:108:6: warning: unused variable 'offset_addr' [-Wunused-variable] [ 40s] u32 offset_addr = 0; [ 40s] ^~~~~~~~~~~ [ 40s] eic.c: In function '__eic_get_data_mask': [ 40s] eic.c:129:6: warning: unused variable 'offset_addr' [-Wunused-variable] [ 40s] u32 offset_addr = 0; [ 40s] ^~~~~~~~~~~ [ 40s] eic.c: In function '__eic_set_data_mask': [ 40s] eic.c:153:6: warning: unused variable 'offset_addr' [-Wunused-variable] [ 40s] u32 offset_addr = 0; [ 40s] ^~~~~~~~~~~ [ 40s] eic.c: In function 'sprd_eic_get': [ 40s] eic.c:23:27: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 40s] #define WARN(nmu, fmt...) printf(fmt) [ 40s] ^ [ 40s] eic.c:200:3: note: in expansion of macro 'WARN' [ 40s] WARN(1, "GPIO_%d data mask hasn't been opened!\n", eic_id); [ 40s] ^~~~ [ 40s] eic.c: At top level: [ 40s] eic.c:244:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 40s] int get_volumn_down_status2() [ 40s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 40s] eic.c: In function 'get_volumn_down_status2': [ 40s] eic.c:250:2: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] [ 40s] udelay(3000); [ 40s] ^~~~~~ [ 40s] At top level: [ 40s] eic.c:226:13: warning: 'sprd_eic_free' defined but not used [-Wunused-function] [ 40s] static void sprd_eic_free(unsigned offset) [ 40s] ^~~~~~~~~~~~~ [ 40s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 40s] -o vibrator_sc2723.o vibrator_sc2723.c -c [ 40s] In file included from card_sdio.c:22:0: [ 40s] card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 40s] PUBLIC void Emmc_DisSdClk(); [ 40s] ^~~~~~ [ 40s] card_sdio.c: In function 'CARD_SDIO_Select_CurPartition': [ 40s] card_sdio.c:1394:9: warning: unused variable 'RCA' [-Wunused-variable] [ 40s] uint16 RCA = cardHandle->RCA; [ 40s] ^~~ [ 40s] card_sdio.c: In function '_SetBusWidth': [ 40s] card_sdio.c:1442:9: warning: unused variable 'RCA' [-Wunused-variable] [ 40s] uint16 RCA = cardHandle->RCA; [ 40s] ^~~ [ 40s] card_sdio.c: In function 'CARD_SDIO_InitCard': [ 40s] card_sdio.c:1648:8: warning: variable 'extcsd_Part_Config' set but not used [-Wunused-but-set-variable] [ 40s] uint8 extcsd_Part_Config; [ 40s] ^~~~~~~~~~~~~~~~~~ [ 40s] card_sdio.c:1646:24: warning: unused variable 'errCode' [-Wunused-variable] [ 40s] SDIO_CARD_PAL_ERROR_E errCode; [ 40s] ^~~~~~~ [ 40s] card_sdio.c:1645:10: warning: unused variable 'vertion_flag' [-Wunused-variable] [ 40s] BOOLEAN vertion_flag; //TRUE: SD2.0 FALSE: SD1.x [ 40s] ^~~~~~~~~~~~ [ 40s] card_sdio.c: In function 'CARD_SDIO_getCID': [ 40s] card_sdio.c:1930:55: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 40s] uid[0] = g_CID.MMC_CID.MID << 24 | g_CID.MMC_CID.OID & 0xff << 16 | (g_CID.MMC_CID.OID >> 8) & 0xff << 8 | g_CID.MMC_CID.PNM[0]; [ 40s] ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ [ 40s] card_sdio.c:1930:95: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 40s] uid[0] = g_CID.MMC_CID.MID << 24 | g_CID.MMC_CID.OID & 0xff << 16 | (g_CID.MMC_CID.OID >> 8) & 0xff << 8 | g_CID.MMC_CID.PNM[0]; [ 40s] ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ [ 40s] card_sdio.c:1932:55: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 40s] uid[2] = g_CID.MMC_CID.PRV << 24 | g_CID.MMC_CID.PSN & 0xff << 16 | (g_CID.MMC_CID.PSN >> 8) & 0xff << 8 | (g_CID.MMC_CID.PSN >> 16) & 0xff; [ 40s] ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ [ 40s] card_sdio.c:1932:95: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 40s] uid[2] = g_CID.MMC_CID.PRV << 24 | g_CID.MMC_CID.PSN & 0xff << 16 | (g_CID.MMC_CID.PSN >> 8) & 0xff << 8 | (g_CID.MMC_CID.PSN >> 16) & 0xff; [ 40s] ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ [ 40s] card_sdio.c:1932:135: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 40s] uid[2] = g_CID.MMC_CID.PRV << 24 | g_CID.MMC_CID.PSN & 0xff << 16 | (g_CID.MMC_CID.PSN >> 8) & 0xff << 8 | (g_CID.MMC_CID.PSN >> 16) & 0xff; [ 40s] ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ [ 40s] card_sdio.c:1933:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 40s] uid[3] = (g_CID.MMC_CID.PSN >> 24) & 0xff << 24 | g_CID.MMC_CID.MDT & 0xff << 16 | (g_CID.MMC_CID.MDT >> 8) & 0xff << 8 | 1; [ 40s] ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ [ 40s] card_sdio.c:1933:110: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 40s] uid[3] = (g_CID.MMC_CID.PSN >> 24) & 0xff << 24 | g_CID.MMC_CID.MDT & 0xff << 16 | (g_CID.MMC_CID.MDT >> 8) & 0xff << 8 | 1; [ 40s] ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ [ 40s] card_sdio.c: In function 'SDCARD_SDIO_InitCard': [ 40s] card_sdio.c:1968:2: warning: implicit declaration of function 'sprd_gpio_request' [-Wimplicit-function-declaration] [ 40s] sprd_gpio_request(NULL, 100); [ 40s] ^~~~~~~~~~~~~~~~~ [ 40s] card_sdio.c:1969:2: warning: implicit declaration of function 'sprd_gpio_direction_output' [-Wimplicit-function-declaration] [ 40s] sprd_gpio_direction_output(NULL, 100, 1); [ 40s] ^~~~~~~~~~~~~~~~~~~~~~~~~~ [ 40s] card_sdio.c:1976:2: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] [ 40s] udelay(5000); [ 40s] ^~~~~~ [ 40s] card_sdio.c:2165:4: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 40s] printf("SDCARD_SDIO_ReadRCA failed!\r\n"); [ 40s] ^~~~~~ [ 40s] card_sdio.c:1953:19: warning: unused variable 'busWidth' [-Wunused-variable] [ 40s] CARD_BUS_WIDTH_E busWidth = CARD_WIDTH_1_BIT; [ 40s] ^~~~~~~~ [ 40s] In file included from card_sdio.c:1964:0: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:25:3: warning: typedef 'pinmap_t' locally defined but not used [-Wunused-local-typedefs] [ 40s] } pinmap_t; [ 40s] ^~~~~~~~ [ 40s] card_sdio.c: At top level: [ 40s] card_sdio.c:2783:16: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 40s] PUBLIC BOOLEAN SDCARD_Init() [ 40s] ^~~~~~~~~~~ [ 40s] card_sdio.c: In function 'SDCARD_Init': [ 40s] card_sdio.c:2785:9: warning: unused variable 'ret' [-Wunused-variable] [ 40s] uint32 ret = 0; [ 40s] ^~~ [ 40s] card_sdio.c: At top level: [ 40s] card_sdio.c:2797:16: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 40s] PUBLIC BOOLEAN SDCARD_PowerOn() [ 40s] ^~~~~~~~~~~~~~ [ 40s] card_sdio.c:2907:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 40s] PUBLIC void Emmc_DisSdClk() [ 40s] ^~~~~~~~~~~~~ [ 40s] card_sdio.c:1580:12: warning: '_CMD6_Response_Analyze' defined but not used [-Wunused-function] [ 40s] LOCAL void _CMD6_Response_Analyze(uint8* resBuf,CARD_CMD6_STATUS_T* cmdStatus) [ 40s] ^~~~~~~~~~~~~~~~~~~~~~ [ 40s] card_sdio.c:457:12: warning: '_SD_CID_Analyze' defined but not used [-Wunused-function] [ 40s] LOCAL void _SD_CID_Analyze(uint8* CIDbuf,CARD_SD_CID_T *CID) [ 40s] ^~~~~~~~~~~~~~~ [ 40s] card_sdio.c:370:15: warning: '_IsCardHandleValid' defined but not used [-Wunused-function] [ 40s] LOCAL BOOLEAN _IsCardHandleValid(CARD_SDIO_HANDLE cardHandle) [ 40s] ^~~~~~~~~~~~~~~~~~ [ 40s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/power' [ 40s] rm -f libphy.o; ar rcs libphy.o [ 40s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 40s] -o cmd_mmc.o cmd_mmc.c -c [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 40s] from vibrator_sc2723.c:6: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 40s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 40s] from vibrator_sc2723.c:3: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 40s] #define ADC_BASE 0x40038300 //Aux ADC [ 40s] [ 40s] In file included from vibrator_sc2723.c:6:0: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:20:0: warning: "SPRD_ADI_BASE" redefined [ 40s] #define SPRD_ADI_BASE SPRD_MISC_PHYS [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 40s] from vibrator_sc2723.c:6: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:176:0: note: this is the location of the previous definition [ 40s] #define SPRD_ADI_BASE SCI_IOMAP(0x1f0000) [ 40s] [ 40s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 40s] -o otp-helper.o otp-helper.c -c [ 40s] make -C drivers/rtc/ [ 40s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net/phy' [ 40s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 40s] -o efuse.o efuse.c -c [ 40s] rm -f libpci.o; ar rcs libpci.o [ 40s] otp-helper.c: In function 'efuse_prog': [ 40s] otp-helper.c:44:9: warning: implicit declaration of function '__ddie_efuse_prog' [-Wimplicit-function-declaration] [ 40s] return __ddie_efuse_prog(blk_index,val); [ 40s] ^~~~~~~~~~~~~~~~~ [ 40s] otp-helper.c: In function 'sci_efuse_calibration_get': [ 40s] otp-helper.c:56:21: warning: implicit declaration of function '__adie_efuse_read' [-Wimplicit-function-declaration] [ 40s] adc_temp = (__adie_efuse_read(0) & (1 << 7)); [ 40s] ^~~~~~~~~~~~~~~~~ [ 40s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 40s] -o cmd_nvedit.o cmd_nvedit.c -c [ 40s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/rtc' [ 40s] make -C drivers/serial/ [ 40s] ld -r -o libmmc.o mmc.o mv_sdhci.o sdhci.o sdio_card_pal.o sdhost_phy.o card_sdio.o [ 40s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pci' [ 40s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 40s] -o ana_efuse.o ana_efuse.c -c [ 40s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 40s] -o cmd_pcmcia.o cmd_pcmcia.c -c [ 40s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/serial' [ 41s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mmc' [ 41s] make -C drivers/sound/codec/ [ 41s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o cmd_source.o cmd_source.c -c [ 41s] ana_efuse.c:85:13: warning: 'adie_efuse_reset' defined but not used [-Wunused-function] [ 41s] static void adie_efuse_reset(void) [ 41s] ^~~~~~~~~~~~~~~~ [ 41s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o watchdog.o watchdog.c -c [ 41s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o rpx_pcmcia.o rpx_pcmcia.c -c [ 41s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o cmd_version.o cmd_version.c -c [ 41s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/codec' [ 41s] watchdog.c: In function 'start_watchdog': [ 41s] watchdog.c:9:2: warning: implicit declaration of function 'WDG_ClockOn' [-Wimplicit-function-declaration] [ 41s] WDG_ClockOn(); [ 41s] ^~~~~~~~~~~ [ 41s] watchdog.c:10:5: warning: implicit declaration of function 'WDG_ResetMCU' [-Wimplicit-function-declaration] [ 41s] WDG_ResetMCU(); [ 41s] ^~~~~~~~~~~~ [ 41s] watchdog.c: In function 'stop_watchdog': [ 41s] watchdog.c:15:5: warning: implicit declaration of function 'WDG_TimerStop' [-Wimplicit-function-declaration] [ 41s] WDG_TimerStop(); [ 41s] ^~~~~~~~~~~~~ [ 41s] watchdog.c: In function 'init_watchdog': [ 41s] watchdog.c:21:5: warning: implicit declaration of function 'WDG_TimerInit' [-Wimplicit-function-declaration] [ 41s] WDG_TimerInit(); [ 41s] ^~~~~~~~~~~~~ [ 41s] watchdog.c: In function 'load_watchdog': [ 41s] watchdog.c:30:5: warning: implicit declaration of function 'WDG_TimerLoad' [-Wimplicit-function-declaration] [ 41s] WDG_TimerLoad(time_ms); [ 41s] ^~~~~~~~~~~~~ [ 41s] watchdog.c: In function 'hw_watchdog_rst_pending': [ 41s] watchdog.c:41:9: warning: implicit declaration of function 'WDG_PHY_RST_INT_ON' [-Wimplicit-function-declaration] [ 41s] return WDG_PHY_RST_INT_ON(); [ 41s] ^~~~~~~~~~~~~~~~~~ [ 41s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o watchdog_phy_v3.o watchdog_phy_v3.c -c [ 41s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o sprd_battery.o sprd_battery.c -c [ 41s] make -C drivers/sound/dai/ [ 41s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o tqm8xx_pcmcia.o tqm8xx_pcmcia.c -c [ 41s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o cmd_ximg.o cmd_ximg.c -c [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:31, [ 41s] from watchdog_phy_v3.c:23: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 41s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 41s] [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 41s] from watchdog_phy_v3.c:20: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 41s] #define ADC_BASE 0x40038300 //Aux ADC [ 41s] [ 41s] In file included from watchdog_phy_v3.c:23:0: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:33:0: warning: "WDG_BASE" redefined [ 41s] #define WDG_BASE (SPRD_ANA_WDG_PHYS) [ 41s] [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 41s] from watchdog_phy_v3.c:20: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:219:0: note: this is the location of the previous definition [ 41s] #define WDG_BASE 0x40038040 //CHGR_WDG:0x820003C0 WDG:0x82000040 [ 41s] [ 41s] watchdog_phy_v3.c:40:67: warning: backslash and newline separated by space [ 41s] ANA_REG_SET( WDG_LOAD_LOW , (uint16)((value) & 0xffff) );\ [ 41s] [ 41s] watchdog_phy_v3.c: In function 'WDG_PHY_CONFIG': [ 41s] watchdog_phy_v3.c:54:20: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 41s] #define WDG_TRACE printf [ 41s] ^ [ 41s] watchdog_phy_v3.c:103:5: note: in expansion of macro 'WDG_TRACE' [ 41s] WDG_TRACE ("Watch Dog Trace: Watch Dog Control 0x%8.8x", ANA_REG_GET (WDG_CTRL)); [ 41s] ^~~~~~~~~ [ 41s] watchdog_phy_v3.c:65:12: warning: unused variable 'val' [-Wunused-variable] [ 41s] uint32 val = 0; [ 41s] ^~~ [ 41s] watchdog_phy_v3.c:64:12: warning: unused variable 'ctrl' [-Wunused-variable] [ 41s] uint32 ctrl = 0; [ 41s] ^~~~ [ 41s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o watchdog_hal.o watchdog_hal.c -c [ 41s] In file included from sprd_battery.c:4:0: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:20:0: warning: "SPRD_ADI_BASE" redefined [ 41s] #define SPRD_ADI_BASE SPRD_MISC_PHYS [ 41s] [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 41s] from sprd_battery.c:4: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:176:0: note: this is the location of the previous definition [ 41s] #define SPRD_ADI_BASE SCI_IOMAP(0x1f0000) [ 41s] [ 41s] sprd_battery.c:232:14: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 41s] unsigned int get_fgu_vol() { [ 41s] ^~~~~~~~~~~ [ 41s] sprd_battery.c:236:14: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 41s] unsigned int get_fgu_cur() { [ 41s] ^~~~~~~~~~~ [ 41s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/dai' [ 41s] ld -r -o libpower.o sprd_battery.o [ 41s] ld -r -o libpcmcia.o rpx_pcmcia.o tqm8xx_pcmcia.o [ 41s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o command.o command.c -c [ 41s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o date.o date.c -c [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:31, [ 41s] from watchdog_hal.c:28: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 41s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 41s] [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 41s] from watchdog_hal.c:23: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 41s] #define ADC_BASE 0x40038300 //Aux ADC [ 41s] [ 41s] In file included from watchdog_hal.c:28:0: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:33:0: warning: "WDG_BASE" redefined [ 41s] #define WDG_BASE (SPRD_ANA_WDG_PHYS) [ 41s] [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 41s] from watchdog_hal.c:23: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:219:0: note: this is the location of the previous definition [ 41s] #define WDG_BASE 0x40038040 //CHGR_WDG:0x820003C0 WDG:0x82000040 [ 41s] [ 41s] watchdog_hal.c: In function 'WDG_TimerStop': [ 41s] watchdog_hal.c:30:21: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 41s] #define WDG_TRACE printf [ 41s] ^ [ 41s] watchdog_hal.c:49:5: note: in expansion of macro 'WDG_TRACE' [ 41s] WDG_TRACE ("Watch Dog Trace: WDG_TimerStop"); [ 41s] ^~~~~~~~~ [ 41s] watchdog_hal.c:47:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 41s] int32 ret; [ 41s] ^~~ [ 41s] watchdog_hal.c: In function 'WDG_TimerStart': [ 41s] watchdog_hal.c:73:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 41s] int32 ret; [ 41s] ^~~ [ 41s] watchdog_hal.c: In function 'WDG_TimerInit': [ 41s] watchdog_hal.c:104:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 41s] int32 ret; [ 41s] ^~~ [ 41s] watchdog_hal.c:103:18: warning: unused variable 'status' [-Wunused-variable] [ 41s] uint32 status; [ 41s] ^~~~~~ [ 41s] watchdog_hal.c: In function 'WDG_ResetMCU': [ 41s] watchdog_hal.c:123:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 41s] int32 ret; [ 41s] ^~~ [ 41s] watchdog_hal.c: In function 'WDG_TimerLoad': [ 41s] watchdog_hal.c:141:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 41s] int32 ret; [ 41s] ^~~ [ 41s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o chip_cfg.o chip_cfg.c -c [ 41s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/power' [ 41s] make -C drivers/sound/ [ 41s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o serial_sc8800x.o serial_sc8800x.c -c [ 41s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pcmcia' [ 41s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o console.o console.c -c [ 41s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o chip_x30g/chip_phy_x30g.o chip_x30g/chip_phy_x30g.c -c [ 41s] ld -r -o librtc.o date.o [ 41s] make -C drivers/spi/ [ 42s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound' [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:4:0, [ 42s] from serial_sc8800x.c:7: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/fdl_channel.h:18:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] struct FDL_ChannelHandler *FDL_ChannelGet(); [ 42s] ^~~~~~~~~~~~~~~~~~ [ 42s] console.c: In function 'ram_puts': [ 42s] console.c:210:4: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 42s] p = (unsigned char*)CONFIG_RAM_CONSOLE_START + used_size; [ 42s] ^ [ 42s] rm -f libcodec.o; ar rcs libcodec.o [ 42s] ld -r -o libserial.o serial_sc8800x.o [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 42s] from chip_x30g/chip_phy_x30g.c:25: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 42s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 42s] [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 42s] from chip_x30g/chip_phy_x30g.c:22: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 42s] #define ADC_BASE 0x40038300 //Aux ADC [ 42s] [ 42s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/rtc' [ 42s] In file included from chip_x30g/chip_phy_x30g.c:26:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/boot_drvapi.h:79:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] PUBLIC void BOOT_ResetHWFlag (); [ 42s] ^~~~~~ [ 42s] In file included from chip_x30g/chip_phy_x30g.c:27:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:20:0: warning: "SPRD_ADI_BASE" redefined [ 42s] #define SPRD_ADI_BASE SPRD_MISC_PHYS [ 42s] [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 42s] from chip_x30g/chip_phy_x30g.c:25: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:176:0: note: this is the location of the previous definition [ 42s] #define SPRD_ADI_BASE SCI_IOMAP(0x1f0000) [ 42s] [ 42s] chip_x30g/chip_phy_x30g.c:203:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] PUBLIC void CHIP_PHY_BootIramEn () [ 42s] ^~~~~~~~~~~~~~~~~~~ [ 42s] chip_x30g/chip_phy_x30g.c:236:16: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] PUBLIC BOOLEAN CHIP_PHY_IsResetByPowerUp() [ 42s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 42s] chip_x30g/chip_phy_x30g.c:255:16: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] PUBLIC BOOLEAN CHIP_PHY_IsResetByWatchDog() [ 42s] ^~~~~~~~~~~~~~~~~~~~~~~~~~ [ 42s] chip_x30g/chip_phy_x30g.c: In function 'TDPllRefConfig': [ 42s] chip_x30g/chip_phy_x30g.c:297:5: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] [ 42s] udelay(1); [ 42s] ^~~~~~ [ 42s] chip_x30g/chip_phy_x30g.c: In function 'dcdc_core_ds_config': [ 42s] chip_x30g/chip_phy_x30g.c:721:16: warning: unused variable 'reg_val' [-Wunused-variable] [ 42s] uint32 reg_val = 0; [ 42s] ^~~~~~~ [ 42s] chip_x30g/chip_phy_x30g.c:720:16: warning: unused variable 'dcdc_core_ctl_adi' [-Wunused-variable] [ 42s] uint32 dcdc_core_ctl_adi = 0; [ 42s] ^~~~~~~~~~~~~~~~~ [ 42s] chip_x30g/chip_phy_x30g.c: At top level: [ 42s] chip_x30g/chip_phy_x30g.c:838:1: warning: missing braces around initializer [-Wmissing-braces] [ 42s] { [ 42s] ^ [ 42s] chip_x30g/chip_phy_x30g.c:838:1: note: (near initialization for 'lp_cfg') [ 42s] chip_x30g/chip_phy_x30g.c: In function 'setup_ap_cp_sync_sleep_code': [ 42s] chip_x30g/chip_phy_x30g.c:868:16: warning: unused variable 'sa' [-Wunused-variable] [ 42s] unsigned int *sa = (unsigned int*)start_addr; [ 42s] ^~ [ 42s] chip_x30g/chip_phy_x30g.c: In function 'CSP_Init': [ 42s] chip_x30g/chip_phy_x30g.c:888:2: warning: implicit declaration of function 'calibrate_register_callback' [-Wimplicit-function-declaration] [ 42s] calibrate_register_callback((void*)dcdc_core_ds_config); [ 42s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 42s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 42s] -o dlmalloc.o dlmalloc.c -c [ 42s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 42s] -o Tshark_boot_cp.o Tshark_boot_cp.c -c [ 42s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/serial' [ 42s] make -C drivers/twserial/ [ 42s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/codec' [ 42s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 42s] -o env_common.o env_common.c -c [ 42s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/spi' [ 42s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 42s] -o misc.o misc.c -c [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 42s] from Tshark_boot_cp.c:1: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 42s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 42s] [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:7:0: note: this is the location of the previous definition [ 42s] #define VLR_INFO_OFF (512) [ 42s] [ 42s] In file included from Tshark_boot_cp.c:1:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 42s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 42s] ^~~~~~ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 42s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 42s] ^~~~~~ [ 42s] In file included from Tshark_boot_cp.c:1:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:213:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] int read_spldata(); [ 42s] ^~~ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:216:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] void vlx_entry(); [ 42s] ^~~~ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:4, [ 42s] from Tshark_boot_cp.c:1: [ 42s] Tshark_boot_cp.c: In function 'boot_cp0': [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:92:27: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] [ 42s] #define CP0_CODE_COPY_ADR 0x50000000 [ 42s] ^ [ 42s] Tshark_boot_cp.c:9:9: note: in expansion of macro 'CP0_CODE_COPY_ADR' [ 42s] memcpy(CP0_CODE_COPY_ADR, m_data, sizeof(m_data)); /* copy cp0 source code */ [ 42s] ^~~~~~~~~~~~~~~~~ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 42s] from Tshark_boot_cp.c:1: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'int' [ 42s] void* memcpy(void*, const void*, size_t); [ 42s] ^~~~~~ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:4, [ 42s] from Tshark_boot_cp.c:1: [ 42s] Tshark_boot_cp.c: In function 'boot_cp2': [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:93:27: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] [ 42s] #define CP2_CODE_COPY_ADR 0x50003000 [ 42s] ^ [ 42s] Tshark_boot_cp.c:35:9: note: in expansion of macro 'CP2_CODE_COPY_ADR' [ 42s] memcpy(CP2_CODE_COPY_ADR, wcndata, sizeof(wcndata)); /* copy cp2 source code */ [ 42s] ^~~~~~~~~~~~~~~~~ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 42s] from Tshark_boot_cp.c:1: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'int' [ 42s] void* memcpy(void*, const void*, size_t); [ 42s] ^~~~~~ [ 42s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/twserial' [ 42s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 42s] -o env_nowhere.o env_nowhere.c -c [ 42s] make -C drivers/usb/gadget/dwc_otg/ [ 42s] rm -f libdai.o; ar rcs libdai.o [ 42s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 42s] -o dcdc_cal_sc2723.o dcdc_cal_sc2723.c -c [ 42s] misc.c:23:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] int sprd_jtag_enable() [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] misc.c:38:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] int sprd_jtag_disable() [ 42s] ^~~~~~~~~~~~~~~~~ [ 42s] misc.c:54:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] static void ap_slp_cp_dbg_cfg() [ 42s] ^~~~~~~~~~~~~~~~~ [ 42s] misc.c:59:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] static void ap_cpll_rel_cfg() [ 42s] ^~~~~~~~~~~~~~~ [ 42s] misc.c:64:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] static void bb_bg_auto_en() [ 42s] ^~~~~~~~~~~~~ [ 42s] misc.c:70:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] static void ap_close_wpll_en() [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] misc.c:75:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] static void ap_close_cpll_en() [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] misc.c:80:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] static void ap_close_wifipll_en() [ 42s] ^~~~~~~~~~~~~~~~~~~ [ 42s] misc.c:86:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] static void bb_ldo_auto_en() [ 42s] ^~~~~~~~~~~~~~ [ 42s] misc.c: In function 'pmic_init': [ 42s] misc.c:410:6: warning: unused variable 'val' [-Wunused-variable] [ 42s] u32 val; [ 42s] ^~~ [ 42s] misc.c: At top level: [ 42s] misc.c:461:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] void gpu_clk_auto_gate_disable() [ 42s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 42s] misc.c:466:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] void misc_init() [ 42s] ^~~~~~~~~ [ 42s] misc.c: In function 'misc_init': [ 42s] misc.c:492:2: warning: implicit declaration of function '__raw_bits_or' [-Wimplicit-function-declaration] [ 42s] __raw_bits_or((BIT_CSI1_PHY_PD | BIT_CSI0_PHY_PD), REG_AON_APB_PWR_CTRL); [ 42s] ^~~~~~~~~~~~~ [ 42s] misc.c: In function 'get_dram_cs_number': [ 42s] misc.c:508:31: warning: initialization makes pointer from integer without a cast [-Wint-conversion] [ 42s] mem_cs_info_t *cs_info_ptr = 0x1C00; [ 42s] ^~~~~~ [ 42s] misc.c: In function 'get_dram_cs0_size': [ 42s] misc.c:513:31: warning: initialization makes pointer from integer without a cast [-Wint-conversion] [ 42s] mem_cs_info_t *cs_info_ptr = 0x1C00; [ 42s] ^~~~~~ [ 42s] At top level: [ 42s] misc.c:86:13: warning: 'bb_ldo_auto_en' defined but not used [-Wunused-function] [ 42s] static void bb_ldo_auto_en() [ 42s] ^~~~~~~~~~~~~~ [ 42s] misc.c:80:13: warning: 'ap_close_wifipll_en' defined but not used [-Wunused-function] [ 42s] static void ap_close_wifipll_en() [ 42s] ^~~~~~~~~~~~~~~~~~~ [ 42s] misc.c:75:13: warning: 'ap_close_cpll_en' defined but not used [-Wunused-function] [ 42s] static void ap_close_cpll_en() [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] misc.c:70:13: warning: 'ap_close_wpll_en' defined but not used [-Wunused-function] [ 42s] static void ap_close_wpll_en() [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] misc.c:64:13: warning: 'bb_bg_auto_en' defined but not used [-Wunused-function] [ 42s] static void bb_bg_auto_en() [ 42s] ^~~~~~~~~~~~~ [ 42s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 42s] -o exports.o exports.c -c [ 42s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget/dwc_otg' [ 42s] make -C drivers/usb/gadget/ [ 42s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/dai' [ 42s] dcdc_cal_sc2723.c:789:27: warning: initialization makes pointer from integer without a cast [-Wint-conversion] [ 42s] vol_para_t **ppvol_para = 0x50003C20; [ 42s] ^~~~~~~~~~ [ 42s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 42s] -o fdt_support.o fdt_support.c -c [ 42s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget' [ 42s] rm -f libsound.o; ar rcs libsound.o [ 42s] make -C drivers/usb/host/ [ 42s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound' [ 42s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 42s] -o flash.o flash.c -c [ 42s] {standard input}: Assembler messages: [ 42s] {standard input}:3115: Warning: setting incorrect section attributes for .rodata.regu.init1 [ 42s] ar crv libsc8830.o mmu_asm.o generic.o timer.o reset.o ldo.o mfp_sprd.o mmu.o adc.o rtc-sprd.o sec_boot.o glb.o adi.o gpio.o gpio_phy.o clock.o check_reboot.o eic.o vibrator_sc2723.o otp-helper.o efuse.o ana_efuse.o watchdog.o watchdog_phy_v3.o watchdog_hal.o chip_cfg.o chip_x30g/chip_phy_x30g.o Tshark_boot_cp.o misc.o dcdc_cal_sc2723.o [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 42s] from fdt_support.c:35: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 42s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 42s] [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:7:0: note: this is the location of the previous definition [ 42s] #define VLR_INFO_OFF (512) [ 42s] [ 42s] In file included from fdt_support.c:35:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 42s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 42s] ^~~~~~ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 42s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 42s] ^~~~~~ [ 42s] In file included from fdt_support.c:35:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:213:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] int read_spldata(); [ 42s] ^~~ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:216:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] void vlx_entry(); [ 42s] ^~~~ [ 42s] fdt_support.c: In function 'fdt_initrd_norsvmem': [ 42s] fdt_support.c:222:17: warning: unused variable 'size' [-Wunused-variable] [ 42s] uint64_t addr, size; [ 42s] ^~~~ [ 42s] fdt_support.c:222:11: warning: unused variable 'addr' [-Wunused-variable] [ 42s] uint64_t addr, size; [ 42s] ^~~~ [ 42s] fdt_support.c: In function 'fdt_chosen_bootargs_replace': [ 42s] fdt_support.c:376:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 42s] src = path; [ 42s] ^ [ 42s] fdt_support.c: In function 'fdt_fixup_lcdid': [ 42s] fdt_support.c:471:2: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] extern uint32_t load_lcd_id_to_kernel(); [ 42s] ^~~~~~ [ 42s] fdt_support.c: In function 'fdt_fixup_lcdbase': [ 42s] fdt_support.c:501:27: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'void *' [-Wformat=] [ 42s] sprintf(&buf[str_len], "%x",lcd_base); [ 42s] ^ [ 42s] fdt_support.c: In function 'fdt_fixup_adc_calibration_data': [ 42s] fdt_support.c:628:41: warning: passing argument 1 of 'read_adc_calibration_data' from incompatible pointer type [-Wincompatible-pointer-types] [ 42s] int ret = read_adc_calibration_data(adc_data,48); [ 42s] ^~~~~~~~ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18:0, [ 42s] from fdt_support.c:35: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:77:5: note: expected 'char *' but argument is of type 'unsigned int *' [ 42s] int read_adc_calibration_data(char *buffer,int size); [ 42s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 42s] fdt_support.c:634:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 42s] int ret; [ 42s] ^~~ [ 42s] fdt_support.c: In function 'fdt_fixup_chosen_bootargs_board_private': [ 42s] fdt_support.c:732:50: warning: implicit declaration of function 'poweron_by_calibration' [-Wimplicit-function-declaration] [ 42s] fdt_fixup_chosen_bootargs_board(buf, boot_mode, poweron_by_calibration()); [ 42s] ^~~~~~~~~~~~~~~~~~~~~~ [ 42s] fdt_support.c: In function 'fdt_debug_print_prop': [ 42s] fdt_support.c:1687:23: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'void *' [-Wformat=] [ 42s] printf("fdt addr: 0x%x\n", fdt); [ 42s] ^ [ 42s] fdt_support.c:1683:8: warning: unused variable 'strargs' [-Wunused-variable] [ 42s] char *strargs; [ 42s] ^~~~~~~ [ 42s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/host' [ 43s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 43s] -o sprd_spi.o sprd_spi.c -c [ 43s] rm -f libtws.o; ar rcs libtws.o [ 43s] a - mmu_asm.o [ 43s] a - generic.o [ 43s] a - timer.o [ 43s] a - reset.o [ 43s] a - ldo.o [ 43s] a - mfp_sprd.o [ 43s] a - mmu.o [ 43s] a - adc.o [ 43s] a - rtc-sprd.o [ 43s] a - sec_boot.o [ 43s] a - glb.o [ 43s] a - adi.o [ 43s] a - gpio.o [ 43s] a - gpio_phy.o [ 43s] a - clock.o [ 43s] a - check_reboot.o [ 43s] a - eic.o [ 43s] a - vibrator_sc2723.o [ 43s] a - otp-helper.o [ 43s] a - efuse.o [ 43s] a - ana_efuse.o [ 43s] a - watchdog.o [ 43s] a - watchdog_phy_v3.o [ 43s] a - watchdog_hal.o [ 43s] a - chip_cfg.o [ 43s] a - chip_x30g/chip_phy_x30g.o [ 43s] a - Tshark_boot_cp.o [ 43s] a - misc.o [ 43s] a - dcdc_cal_sc2723.o [ 43s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7/sc8830' [ 43s] make -C drivers/usb/musb/ [ 43s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 43s] -o idh_layout.o idh_layout.c -c [ 43s] In file included from sprd_spi.c:7:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_spi.h:217:2: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 43s] PUBLIC void SPI_WaitTxFinish(); [ 43s] ^~~~~~ [ 43s] sprd_spi.c: In function 'SPI_Reset': [ 43s] sprd_spi.c:94:9: warning: unused variable 'i' [-Wunused-variable] [ 43s] uint32 i = 0; [ 43s] ^ [ 43s] sprd_spi.c: In function 'SPI_SetCsLow': [ 43s] sprd_spi.c:153:9: warning: unused variable 'temp' [-Wunused-variable] [ 43s] uint32 temp; [ 43s] ^~~~ [ 43s] sprd_spi.c: In function 'SPI_Init': [ 43s] sprd_spi.c:335:27: warning: unused variable 'ctl3' [-Wunused-variable] [ 43s] uint32 ctl0, ctl1, ctl2, ctl3; [ 43s] ^~~~ [ 43s] sprd_spi.c:335:21: warning: unused variable 'ctl2' [-Wunused-variable] [ 43s] uint32 ctl0, ctl1, ctl2, ctl3; [ 43s] ^~~~ [ 43s] sprd_spi.c:335:15: warning: unused variable 'ctl1' [-Wunused-variable] [ 43s] uint32 ctl0, ctl1, ctl2, ctl3; [ 43s] ^~~~ [ 43s] sprd_spi.c:335:9: warning: unused variable 'ctl0' [-Wunused-variable] [ 43s] uint32 ctl0, ctl1, ctl2, ctl3; [ 43s] ^~~~ [ 43s] sprd_spi.c: At top level: [ 43s] sprd_spi.c:366:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 43s] PUBLIC void SPI_WaitTxFinish() [ 43s] ^~~~~~~~~~~~~~~~ [ 43s] sprd_spi.c: In function 'SPI_WaitTxFinish': [ 43s] sprd_spi.c:370:9: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] [ 43s] while( !(spi_ctr_ptr->iraw)&BIT_8 ) // IS tx finish [ 43s] ^~~~~~~~~~~~~~~~~~~~ [ 43s] sprd_spi.c: In function 'SPI_WriteData': [ 43s] sprd_spi.c:387:9: warning: unused variable 'command' [-Wunused-variable] [ 43s] uint32 command; [ 43s] ^~~~~~~ [ 43s] At top level: [ 43s] sprd_spi.c:120:12: warning: 'SPI_PinConfig' defined but not used [-Wunused-function] [ 43s] LOCAL void SPI_PinConfig(void) [ 43s] ^~~~~~~~~~~~~ [ 43s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/twserial' [ 43s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 43s] -o image.o image.c -c [ 43s] ld -r -o libspi.o sprd_spi.o [ 43s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/musb' [ 43s] idh_layout.c: In function 'create_mtdpart_buffer': [ 43s] idh_layout.c:54:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] [ 43s] while (strcmp(mtd_partition_cfg[i].name, "cache") != 0) [ 43s] ^~~~~~~~~~~~~~~~~ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 43s] from idh_layout.c:1: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/string.h:36:12: note: expected 'const char *' but argument is of type 'unsigned char *' [ 43s] extern int strcmp(const char *,const char *); [ 43s] ^~~~~~ [ 43s] idh_layout.c:64:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] [ 43s] while (strcmp(mtd_partition_cfg[i].name, "userdata") != 0) [ 43s] ^~~~~~~~~~~~~~~~~ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 43s] from idh_layout.c:1: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/string.h:36:12: note: expected 'const char *' but argument is of type 'unsigned char *' [ 43s] extern int strcmp(const char *,const char *); [ 43s] ^~~~~~ [ 43s] idh_layout.c:79:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] [ 43s] sprintf(mtdpartbuffer, "mtdparts=sprd-nand:"); [ 43s] ^~~~~~~~~~~~~ [ 43s] In file included from idh_layout.c:1:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:655:5: note: expected 'char *' but argument is of type 'unsigned char *' [ 43s] int sprintf(char * buf, const char *fmt, ...) [ 43s] ^~~~~~~ [ 43s] idh_layout.c:80:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 43s] str_len = strlen(mtdpartbuffer); [ 43s] ^~~~~~~~~~~~~ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 43s] from idh_layout.c:1: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/string.h:54:24: note: expected 'const char *' but argument is of type 'unsigned char *' [ 43s] extern __kernel_size_t strlen(const char *); [ 43s] ^~~~~~ [ 43s] idh_layout.c:83:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] [ 43s] sprintf(&mtdpartbuffer[str_len], "%dk(%s),", mtd_partition_cfg[i].size, mtd_partition_cfg[i].name); [ 43s] ^ [ 43s] In file included from idh_layout.c:1:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:655:5: note: expected 'char *' but argument is of type 'unsigned char *' [ 43s] int sprintf(char * buf, const char *fmt, ...) [ 43s] ^~~~~~~ [ 43s] idh_layout.c:83:38: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 43s] sprintf(&mtdpartbuffer[str_len], "%dk(%s),", mtd_partition_cfg[i].size, mtd_partition_cfg[i].name); [ 43s] ^ [ 43s] idh_layout.c:84:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 43s] str_len = strlen(mtdpartbuffer); [ 43s] ^~~~~~~~~~~~~ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 43s] from idh_layout.c:1: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/string.h:54:24: note: expected 'const char *' but argument is of type 'unsigned char *' [ 43s] extern __kernel_size_t strlen(const char *); [ 43s] ^~~~~~ [ 43s] idh_layout.c:87:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 43s] str_len = strlen(mtdpartbuffer); [ 43s] ^~~~~~~~~~~~~ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 43s] from idh_layout.c:1: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/string.h:54:24: note: expected 'const char *' but argument is of type 'unsigned char *' [ 43s] extern __kernel_size_t strlen(const char *); [ 43s] ^~~~~~ [ 43s] At top level: [ 43s] idh_layout.c:22:22: warning: 'nandsize' defined but not used [-Wunused-variable] [ 43s] static unsigned long nandsize = 0; [ 43s] ^~~~~~~~ [ 43s] make -C drivers/usb/phy/ [ 43s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/spi' [ 43s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 43s] -o lcd.o lcd.c -c [ 43s] make -C drivers/video/ [ 43s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/phy' [ 43s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 43s] -o main.o main.c -c [ 43s] In file included from lcd.c:65:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/sp_bmp_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned short __attribute__((packed, aligned(4))) sp_palette[] = { [ 43s] ^~~~~~~~ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/sp_bmp_logo.h:26:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned short __attribute__((packed, aligned(4))) sp_bitmap[] = { [ 43s] ^~~~~~~~ [ 43s] rm -f libusb_host.o; ar rcs libusb_host.o [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/sp_bmp_logo.h:791:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned int __attribute__((packed, aligned(4))) sp_num_bitmap[] = { [ 43s] ^~~~~~~~ [ 43s] In file included from lcd.c:66:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/thor_bmp_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned short __attribute__((packed, aligned(4))) thor_palette[] = { [ 43s] ^~~~~~~~ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/thor_bmp_logo.h:44:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned short __attribute__((packed, aligned(4))) thor_bitmap[] = { [ 43s] ^~~~~~~~ [ 43s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video' [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/thor_bmp_logo.h:2908:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned int __attribute__((packed, aligned(4))) thor_num_bitmap[] = { [ 43s] ^~~~~~~~ [ 43s] In file included from lcd.c:67:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/charge_bmp_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned short __attribute__((packed, aligned(4))) charge_palette[] = { [ 43s] ^~~~~~~~ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/charge_bmp_logo.h:5:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned short __attribute__((packed, aligned(4))) charge_bitmap[] = { [ 43s] ^~~~~~~~ [ 43s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/host' [ 43s] make -C drivers/video/sprdfb/dsi_1_21a/ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/charge_bmp_logo.h:381:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned int __attribute__((packed, aligned(4))) charge_num_bitmap[] = { [ 43s] ^~~~~~~~ [ 43s] In file included from lcd.c:68:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_start_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned short __attribute__((packed, aligned(4))) prog_start_palette[] = { [ 43s] ^~~~~~~~ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_start_logo.h:13:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned short __attribute__((packed, aligned(4))) prog_start_bitmap[] = { [ 43s] ^~~~~~~~ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_start_logo.h:37:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned int __attribute__((packed, aligned(4))) prog_start_num_bitmap[] = { [ 43s] ^~~~~~~~ [ 43s] In file included from lcd.c:69:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_mid_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned short __attribute__((packed, aligned(4))) prog_mid_palette[] = { [ 43s] ^~~~~~~~ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_mid_logo.h:5:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned short __attribute__((packed, aligned(4))) prog_mid_bitmap[] = { [ 43s] ^~~~~~~~ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_mid_logo.h:10:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned int __attribute__((packed, aligned(4))) prog_mid_num_bitmap[] = { [ 43s] ^~~~~~~~ [ 43s] In file included from lcd.c:70:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_end_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned short __attribute__((packed, aligned(4))) prog_end_palette[] = { [ 43s] ^~~~~~~~ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_end_logo.h:12:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned short __attribute__((packed, aligned(4))) prog_end_bitmap[] = { [ 43s] ^~~~~~~~ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_end_logo.h:37:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned int __attribute__((packed, aligned(4))) prog_end_num_bitmap[] = { [ 43s] ^~~~~~~~ [ 43s] lcd.c: In function '_draw_image': [ 43s] lcd.c:513:15: warning: unused variable 'tmp' [-Wunused-variable] [ 43s] unsigned int tmp; [ 43s] ^~~ [ 43s] lcd.c: In function 'bitmap_plot': [ 43s] lcd.c:680:3: warning: implicit declaration of function 'lcd_display' [-Wimplicit-function-declaration] [ 43s] lcd_display(); [ 43s] ^~~~~~~~~~~ [ 43s] lcd.c:611:10: warning: unused variable 'fb16' [-Wunused-variable] [ 43s] ushort *fb16; [ 43s] ^~~~ [ 43s] lcd.c:608:12: warning: unused variable 'j' [-Wunused-variable] [ 43s] ushort i, j; [ 43s] ^ [ 43s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 43s] -o epautoconf.o epautoconf.c -c [ 43s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -DDWC_LINUX -DDWC_DEVICE_ONLY -Dlinux -DDWC_HS_ELECT_TST -c -o dwc_otg_driver.o dwc_otg_driver.c [ 43s] rm -f libusb_musb.o; ar rcs libusb_musb.o [ 43s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb/dsi_1_21a' [ 43s] dwc_otg_driver.c: In function 'dwc_otg_driver_remove': [ 43s] dwc_otg_driver.c:548:3: warning: implicit declaration of function 'pcd_remove' [-Wimplicit-function-declaration] [ 43s] pcd_remove(dwc_otg_device); [ 43s] ^~~~~~~~~~ [ 43s] dwc_otg_driver.c: In function 'dwc_otg_driver_probe': [ 43s] dwc_otg_driver.c:626:23: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ 43s] dwc_otg_device->base = USB_PHYS; [ 43s] ^ [ 43s] dwc_otg_driver.c:606:6: warning: unused variable 'irq' [-Wunused-variable] [ 43s] int irq; [ 43s] ^~~ [ 43s] dwc_otg_driver.c: In function 'dwc_otg_driver_init': [ 43s] dwc_otg_driver.c:793:6: warning: unused variable 'error' [-Wunused-variable] [ 43s] int error; [ 43s] ^~~~~ [ 43s] At top level: [ 43s] dwc_otg_driver.c:69:19: warning: 'dwc_driver_name' defined but not used [-Wunused-const-variable=] [ 43s] static const char dwc_driver_name[] = "dwc_otg"; [ 43s] ^~~~~~~~~~~~~~~ [ 43s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 43s] -o memsize.o memsize.c -c [ 43s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 43s] -o config.o config.c -c [ 43s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/musb' [ 43s] make -C drivers/video/sprdfb/lcd/ [ 43s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -DDWC_LINUX -DDWC_DEVICE_ONLY -Dlinux -DDWC_HS_ELECT_TST -c -o dwc_otg_cil.o dwc_otg_cil.c [ 43s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 43s] -o s_record.o s_record.c -c [ 43s] rm -f libusb_phy.o; ar rcs libusb_phy.o [ 43s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 43s] -o usbstring.o usbstring.c -c [ 43s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb/lcd' [ 43s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -DDWC_LINUX -DDWC_DEVICE_ONLY -Dlinux -DDWC_HS_ELECT_TST -c -o dwc_otg_cil_intr.o dwc_otg_cil_intr.c [ 43s] dwc_otg_cil.c: In function 'calc_num_in_eps': [ 43s] dwc_otg_cil.c:436:11: warning: unused variable 'num_tx_fifos' [-Wunused-variable] [ 43s] uint32_t num_tx_fifos = core_if->hwcfg4.b.num_in_eps; [ 43s] ^~~~~~~~~~~~ [ 43s] dwc_otg_cil.c: In function 'dwc_otg_ep0_continue_transfer': [ 43s] dwc_otg_cil.c:2886:19: warning: variable 'tx_status' set but not used [-Wunused-but-set-variable] [ 43s] gnptxsts_data_t tx_status = {.d32 = 0 }; [ 43s] ^~~~~~~~~ [ 43s] dwc_otg_cil.c: In function 'dwc_otg_dump_dev_registers': [ 43s] dwc_otg_cil.c:3257:21: warning: variable 'addr' set but not used [-Wunused-but-set-variable] [ 43s] volatile uint32_t *addr; [ 43s] ^~~~ [ 43s] dwc_otg_cil.c: In function 'dwc_otg_dump_host_registers': [ 43s] dwc_otg_cil.c:3414:21: warning: variable 'addr' set but not used [-Wunused-but-set-variable] [ 43s] volatile uint32_t *addr; [ 43s] ^~~~ [ 43s] dwc_otg_cil.c: In function 'dwc_otg_dump_global_registers': [ 43s] dwc_otg_cil.c:3471:21: warning: variable 'addr' set but not used [-Wunused-but-set-variable] [ 43s] volatile uint32_t *addr; [ 43s] ^~~~ [ 43s] dwc_otg_cil.c: In function 'dwc_otg_set_prtpower': [ 43s] dwc_otg_cil.c:5089:15: warning: variable 'hprt0' set but not used [-Wunused-but-set-variable] [ 43s] hprt0_data_t hprt0; [ 43s] ^~~~~ [ 43s] dwc_otg_cil.c: In function 'dwc_otg_set_prtsuspend': [ 43s] dwc_otg_cil.c:5105:15: warning: variable 'hprt0' set but not used [-Wunused-but-set-variable] [ 43s] hprt0_data_t hprt0; [ 43s] ^~~~~ [ 43s] dwc_otg_cil.c: In function 'dwc_otg_set_prtresume': [ 43s] dwc_otg_cil.c:5113:15: warning: variable 'hprt0' set but not used [-Wunused-but-set-variable] [ 43s] hprt0_data_t hprt0; [ 43s] ^~~~~ [ 43s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/phy' [ 43s] make -C drivers/video/sprdfb/ [ 43s] rm -f libvideo.o; ar rcs libvideo.o [ 43s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 43s] -o stdio.o stdio.c -c [ 43s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 43s] -o serial.o serial.c -c [ 43s] dwc_otg_cil_intr.c: In function 'dwc_otg_handle_usb_suspend_intr': [ 43s] dwc_otg_cil_intr.c:651:14: warning: variable 'dsts' set but not used [-Wunused-but-set-variable] [ 43s] dsts_data_t dsts; [ 43s] ^~~~ [ 43s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video' [ 43s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -DDWC_LINUX -DDWC_DEVICE_ONLY -Dlinux -DDWC_HS_ELECT_TST -c -o dwc_otg_pcd_linux.o dwc_otg_pcd_linux.c [ 43s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb' [ 44s] make -C drivers/watchdog/ [ 44s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 44s] -o xyzModem.o xyzModem.c -c [ 44s] In file included from u_serial.h:15:0, [ 44s] from serial.c:25: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/usb/composite.h:379:0: warning: "pr_warning" redefined [ 44s] #define pr_warning(args...) [ 44s] [ 44s] In file included from serial.c:13:0: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:243:0: note: this is the location of the previous definition [ 44s] #define pr_warning(fmt, ...) \ [ 44s] [ 44s] In file included from u_serial.h:15:0, [ 44s] from serial.c:25: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/usb/composite.h:380:0: warning: "pr_debug" redefined [ 44s] #define pr_debug(args...) [ 44s] [ 44s] In file included from serial.c:13:0: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:256:0: note: this is the location of the previous definition [ 44s] #define pr_debug(fmt, ...) [ 44s] [ 44s] In file included from serial.c:52:0: [ 44s] f_acm.c: In function 'acm_complete_set_line_coding': [ 44s] f_acm.c:270:28: warning: unused variable 'cdev' [-Wunused-variable] [ 44s] struct usb_composite_dev *cdev = acm->port.func.config->cdev; [ 44s] ^~~~ [ 44s] f_acm.c: In function 'acm_disable': [ 44s] f_acm.c:421:28: warning: unused variable 'cdev' [-Wunused-variable] [ 44s] struct usb_composite_dev *cdev = f->config->cdev; [ 44s] ^~~~ [ 44s] f_acm.c: In function 'acm_notify_serial_state': [ 44s] f_acm.c:488:28: warning: unused variable 'cdev' [-Wunused-variable] [ 44s] struct usb_composite_dev *cdev = acm->port.func.config->cdev; [ 44s] ^~~~ [ 44s] In file included from serial.c:53:0: [ 44s] f_obex.c: In function 'obex_disable': [ 44s] f_obex.c:266:28: warning: unused variable 'cdev' [-Wunused-variable] [ 44s] struct usb_composite_dev *cdev = f->config->cdev; [ 44s] ^~~~ [ 44s] f_obex.c: In function 'obex_connect': [ 44s] f_obex.c:277:28: warning: unused variable 'cdev' [-Wunused-variable] [ 44s] struct usb_composite_dev *cdev = g->func.config->cdev; [ 44s] ^~~~ [ 44s] f_obex.c: In function 'obex_disconnect': [ 44s] f_obex.c:292:28: warning: unused variable 'cdev' [-Wunused-variable] [ 44s] struct usb_composite_dev *cdev = g->func.config->cdev; [ 44s] ^~~~ [ 44s] In file included from serial.c:54:0: [ 44s] f_serial.c: In function 'gser_disable': [ 44s] f_serial.c:199:28: warning: unused variable 'cdev' [-Wunused-variable] [ 44s] struct usb_composite_dev *cdev = f->config->cdev; [ 44s] ^~~~ [ 44s] In file included from serial.c:55:0: [ 44s] u_serial.c: In function 'gs_start_tx': [ 44s] u_serial.c:369:9: warning: variable 'do_tty_wake' set but not used [-Wunused-but-set-variable] [ 44s] bool do_tty_wake = false; [ 44s] ^~~~~~~~~~~ [ 44s] u_serial.c: In function 'gs_read': [ 44s] u_serial.c:779:12: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 44s] memcpy(buf, packet, size); [ 44s] ^~~ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:19:0, [ 44s] from serial.c:13: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'const unsigned char *' [ 44s] void* memcpy(void*, const void*, size_t); [ 44s] ^~~~~~ [ 44s] In file included from serial.c:55:0: [ 44s] u_serial.c:782:12: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 44s] memcpy(buf, packet, *count); [ 44s] ^~~ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:19:0, [ 44s] from serial.c:13: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'const unsigned char *' [ 44s] void* memcpy(void*, const void*, size_t); [ 44s] ^~~~~~ [ 44s] In file included from serial.c:55:0: [ 44s] u_serial.c:788:1: warning: label 'recycle' defined but not used [-Wunused-label] [ 44s] recycle: [ 44s] ^~~~~~~ [ 44s] u_serial.c: In function 'gs_write': [ 44s] u_serial.c:808:45: warning: pointer targets in passing argument 2 of 'gs_buf_put' differ in signedness [-Wpointer-sign] [ 44s] count = gs_buf_put(&port->port_write_buf, buf, count); [ 44s] ^~~ [ 44s] u_serial.c:224:1: note: expected 'const char *' but argument is of type 'const unsigned char *' [ 44s] gs_buf_put(struct gs_buf *gb, const char *buf, unsigned count) [ 44s] ^~~~~~~~~~ [ 44s] u_serial.c: In function 'gserial_connect': [ 44s] u_serial.c:1540:16: warning: unused variable 'flags' [-Wunused-variable] [ 44s] unsigned long flags; [ 44s] ^~~~~ [ 44s] u_serial.c: In function 'gserial_disconnect': [ 44s] u_serial.c:1614:16: warning: unused variable 'flags' [-Wunused-variable] [ 44s] unsigned long flags; [ 44s] ^~~~~ [ 44s] serial.c: At top level: [ 44s] serial.c:57:0: warning: "pr_warning" redefined [ 44s] #define pr_warning(args...) printf(##args) [ 44s] [ 44s] In file included from u_serial.h:15:0, [ 44s] from serial.c:25: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/usb/composite.h:379:0: note: this is the location of the previous definition [ 44s] #define pr_warning(args...) [ 44s] [ 44s] In file included from serial.c:55:0: [ 44s] u_serial.c:1456:12: warning: 'gs_closed' defined but not used [-Wunused-function] [ 44s] static int gs_closed(struct gs_port *port) [ 44s] ^~~~~~~~~ [ 44s] In file included from dwc_otg_pcd_linux.c:527:0: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_global.h:21:0: warning: "GREG_BASE" redefined [ 44s] #define GREG_BASE 0x4B000000 [ 44s] [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:20:0, [ 44s] from dwc_otg_pcd_linux.c:525: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:217:0: note: this is the location of the previous definition [ 44s] #define GREG_BASE CTL_BASE_GLB_REG [ 44s] [ 44s] dwc_otg_pcd_linux.c: In function 'alloc_wrapper': [ 44s] dwc_otg_pcd_linux.c:1015:6: warning: unused variable 'retval' [-Wunused-variable] [ 44s] int retval; [ 44s] ^~~~~~ [ 44s] dwc_otg_pcd_linux.c: In function 'pcd_init': [ 44s] dwc_otg_pcd_linux.c:1076:6: warning: unused variable 'irq' [-Wunused-variable] [ 44s] int irq; [ 44s] ^~~ [ 44s] dwc_otg_pcd_linux.c: In function 'pcd_remove': [ 44s] dwc_otg_pcd_linux.c:1128:17: warning: unused variable 'pcd' [-Wunused-variable] [ 44s] dwc_otg_pcd_t *pcd = otg_dev->pcd; [ 44s] ^~~ [ 44s] At top level: [ 44s] dwc_otg_pcd_linux.c:1002:13: warning: 'dwc_otg_pcd_gadget_release' defined but not used [-Wunused-function] [ 44s] static void dwc_otg_pcd_gadget_release(struct device *dev) [ 44s] ^~~~~~~~~~~~~~~~~~~~~~~~~~ [ 44s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/watchdog' [ 44s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 44s] -o mipi_dsih_api.o mipi_dsih_api.c -c [ 44s] make -C fs/cramfs/ [ 44s] ld -r -o libcommon.o cmd_bdinfo.o cmd_boot.o cmd_bootm.o cmd_console.o cmd_echo.o cmd_ext4.o cmd_fat.o cmd_fdt.o cmd_help.o cmd_itest.o cmd_load.o cmd_mem.o cmd_misc.o cmd_mmc.o cmd_nvedit.o cmd_pcmcia.o cmd_source.o cmd_version.o cmd_ximg.o command.o console.o dlmalloc.o env_common.o env_nowhere.o exports.o fdt_support.o flash.o idh_layout.o image.o lcd.o main.o memsize.o s_record.o stdio.o xyzModem.o [ 44s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 44s] -o lcd_s6e8aa5x01_mipi.o lcd_s6e8aa5x01_mipi.c -c [ 44s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/cramfs' [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 44s] from ../sprdfb_chip_8830.h:18, [ 44s] from ../sprdfb_chip_common.h:30, [ 44s] from mipi_dsih_local.h:45, [ 44s] from mipi_dsih_api.h:40, [ 44s] from mipi_dsih_api.c:9: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 44s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 44s] [ 44s] In file included from ../sprdfb_chip_common.h:19:0, [ 44s] from mipi_dsih_local.h:45, [ 44s] from mipi_dsih_api.h:40, [ 44s] from mipi_dsih_api.c:9: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:53:0: note: this is the location of the previous definition [ 44s] #define SPRD_PWM_BASE 0x88000000 [ 44s] [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 44s] from ../sprdfb_chip_8830.h:18, [ 44s] from ../sprdfb_chip_common.h:30, [ 44s] from mipi_dsih_local.h:45, [ 44s] from mipi_dsih_api.h:40, [ 44s] from mipi_dsih_api.c:9: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 44s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 44s] [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 44s] from ../sprdfb_chip_common.h:18, [ 44s] from mipi_dsih_local.h:45, [ 44s] from mipi_dsih_api.h:40, [ 44s] from mipi_dsih_api.c:9: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 44s] #define ADC_BASE 0x40038300 //Aux ADC [ 44s] [ 44s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/common' [ 44s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -DDWC_LINUX -DDWC_DEVICE_ONLY -Dlinux -DDWC_HS_ELECT_TST -c -o dwc_otg_pcd.o dwc_otg_pcd.c [ 44s] lcd_s6e8aa5x01_mipi.c: In function 's6e8aa5x01_readid': [ 44s] lcd_s6e8aa5x01_mipi.c:134:10: warning: variable 'read_rtn' set but not used [-Wunused-but-set-variable] [ 44s] int32_t read_rtn = 0; [ 44s] ^~~~~~~~ [ 44s] lcd_s6e8aa5x01_mipi.c: In function 's6e8aa5x01_check_mtp': [ 44s] lcd_s6e8aa5x01_mipi.c:296:2: warning: implicit declaration of function 'save_mtp_offset_to_kernel' [-Wimplicit-function-declaration] [ 44s] save_mtp_offset_to_kernel(mtp_offset); [ 44s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 44s] lcd_s6e8aa5x01_mipi.c:261:19: warning: unused variable 'mipi_dcs_write' [-Wunused-variable] [ 44s] mipi_dcs_write_t mipi_dcs_write = [ 44s] ^~~~~~~~~~~~~~ [ 44s] lcd_s6e8aa5x01_mipi.c:256:10: warning: unused variable 'size' [-Wunused-variable] [ 44s] int32_t size = 0; [ 44s] ^~~~ [ 44s] lcd_s6e8aa5x01_mipi.c:254:10: warning: variable 'read_rtn' set but not used [-Wunused-but-set-variable] [ 44s] int32_t read_rtn = 0; [ 44s] ^~~~~~~~ [ 44s] lcd_s6e8aa5x01_mipi.c:251:17: warning: unused variable 'g_para' [-Wunused-variable] [ 44s] LCM_Init_Code *g_para = NULL; [ 44s] ^~~~~~ [ 44s] lcd_s6e8aa5x01_mipi.c: In function 's6e8aa5x01_check_elvss': [ 44s] lcd_s6e8aa5x01_mipi.c:347:2: warning: implicit declaration of function 'save_elvss_offset_to_kernel' [-Wimplicit-function-declaration] [ 44s] save_elvss_offset_to_kernel(elvss_offset); [ 44s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 44s] lcd_s6e8aa5x01_mipi.c:309:10: warning: variable 'size' set but not used [-Wunused-but-set-variable] [ 44s] int32_t size = 0; [ 44s] ^~~~ [ 44s] lcd_s6e8aa5x01_mipi.c:304:17: warning: unused variable 'hbm' [-Wunused-variable] [ 44s] LCM_Init_Code *hbm = NULL; [ 44s] ^~~ [ 44s] lcd_s6e8aa5x01_mipi.c: In function 's6e8aa5x01_check_hbm': [ 44s] lcd_s6e8aa5x01_mipi.c:398:2: warning: implicit declaration of function 'save_hbm_offset_to_kernel' [-Wimplicit-function-declaration] [ 44s] save_hbm_offset_to_kernel(hbm_g); [ 44s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 44s] lcd_s6e8aa5x01_mipi.c:360:10: warning: variable 'size' set but not used [-Wunused-but-set-variable] [ 44s] int32_t size = 0; [ 44s] ^~~~ [ 44s] lcd_s6e8aa5x01_mipi.c:355:17: warning: unused variable 'hbm' [-Wunused-variable] [ 44s] LCM_Init_Code *hbm = NULL; [ 44s] ^~~ [ 44s] At top level: [ 44s] lcd_s6e8aa5x01_mipi.c:72:22: warning: 'disp_on' defined but not used [-Wunused-variable] [ 44s] static LCM_Init_Code disp_on = {LCM_SEND(1), {0x29}}; [ 44s] ^~~~~~~ [ 44s] dwc_otg_pcd.c: In function 'start_xfer_tasklet_func': [ 44s] dwc_otg_pcd.c:1064:17: warning: variable 'diepctl' set but not used [-Wunused-but-set-variable] [ 44s] depctl_data_t diepctl; [ 44s] ^~~~~~~ [ 44s] dwc_otg_pcd.c:1051:16: warning: variable 'diepctl' set but not used [-Wunused-but-set-variable] [ 44s] depctl_data_t diepctl; [ 44s] ^~~~~~~ [ 44s] dwc_otg_pcd.c: In function 'dwc_otg_pcd_ep_queue': [ 44s] dwc_otg_pcd.c:1534:6: warning: unused variable 'prevented' [-Wunused-variable] [ 44s] int prevented = 0; [ 44s] ^~~~~~~~~ [ 44s] ld -r -o liblcd.o lcd_s6e8aa5x01_mipi.o [ 44s] At top level: [ 44s] dwc_otg_pcd.c:1045:13: warning: 'start_xfer_tasklet_func' defined but not used [-Wunused-function] [ 44s] static void start_xfer_tasklet_func(void *data) [ 44s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 44s] dwc_otg_pcd.c:996:13: warning: 'srp_timeout' defined but not used [-Wunused-function] [ 44s] static void srp_timeout(void *ptr) [ 44s] ^~~~~~~~~~~ [ 44s] dwc_otg_pcd.c:77:13: warning: 'dump_log' defined but not used [-Wunused-function] [ 44s] static void dump_log(unsigned char * buf, int len, int direction) [ 44s] ^~~~~~~~ [ 44s] ld -r -o libusb_gadget.o epautoconf.o config.o usbstring.o serial.o [ 44s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 44s] -o mipi_dsih_hal.o mipi_dsih_hal.c -c [ 44s] make -C fs/ext2/ [ 44s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb/lcd' [ 44s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -DDWC_LINUX -DDWC_DEVICE_ONLY -Dlinux -DDWC_HS_ELECT_TST -c -o dwc_otg_pcd_intr.o dwc_otg_pcd_intr.c [ 44s] rm -f libwatchdog.o; ar rcs libwatchdog.o [ 44s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget' [ 44s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 44s] -o mipi_dsih_dphy.o mipi_dsih_dphy.c -c [ 44s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext2' [ 44s] make -C fs/ext4/ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 44s] from ../sprdfb_chip_8830.h:18, [ 44s] from ../sprdfb_chip_common.h:30, [ 44s] from mipi_dsih_local.h:45, [ 44s] from mipi_dsih_hal.h:41, [ 44s] from mipi_dsih_hal.c:8: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 44s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 44s] [ 44s] In file included from ../sprdfb_chip_common.h:19:0, [ 44s] from mipi_dsih_local.h:45, [ 44s] from mipi_dsih_hal.h:41, [ 44s] from mipi_dsih_hal.c:8: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:53:0: note: this is the location of the previous definition [ 44s] #define SPRD_PWM_BASE 0x88000000 [ 44s] [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 44s] from ../sprdfb_chip_8830.h:18, [ 44s] from ../sprdfb_chip_common.h:30, [ 44s] from mipi_dsih_local.h:45, [ 44s] from mipi_dsih_hal.h:41, [ 44s] from mipi_dsih_hal.c:8: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 44s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 44s] [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 44s] from ../sprdfb_chip_common.h:18, [ 44s] from mipi_dsih_local.h:45, [ 44s] from mipi_dsih_hal.h:41, [ 44s] from mipi_dsih_hal.c:8: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 44s] #define ADC_BASE 0x40038300 //Aux ADC [ 44s] [ 44s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/watchdog' [ 44s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -DDWC_LINUX -DDWC_DEVICE_ONLY -Dlinux -DDWC_HS_ELECT_TST -c -o dwc_common_linux.o dwc_common_linux.c [ 44s] dwc_otg_pcd_intr.c: In function 'dwc_otg_pcd_handle_np_tx_fifo_empty_intr': [ 44s] dwc_otg_pcd_intr.c:456:28: warning: variable 'ep_regs' set but not used [-Wunused-but-set-variable] [ 44s] dwc_otg_dev_in_ep_regs_t *ep_regs; [ 44s] ^~~~~~~ [ 44s] dwc_otg_pcd_intr.c: In function 'write_empty_tx_fifo': [ 44s] dwc_otg_pcd_intr.c:520:28: warning: variable 'ep_regs' set but not used [-Wunused-but-set-variable] [ 44s] dwc_otg_dev_in_ep_regs_t *ep_regs; [ 44s] ^~~~~~~ [ 44s] dwc_otg_pcd_intr.c: In function 'dwc_otg_pcd_handle_in_ep_intr': [ 44s] dwc_otg_pcd_intr.c:3290:13: warning: variable 'empty_msk' set but not used [-Wunused-but-set-variable] [ 44s] uint32_t empty_msk; [ 44s] ^~~~~~~~~ [ 44s] rm -f libcramfs.o; ar rcs libcramfs.o [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 44s] from ../sprdfb_chip_8830.h:18, [ 44s] from ../sprdfb_chip_common.h:30, [ 44s] from mipi_dsih_local.h:45, [ 44s] from mipi_dsih_dphy.h:11, [ 44s] from mipi_dsih_dphy.c:8: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 44s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 44s] [ 44s] In file included from ../sprdfb_chip_common.h:19:0, [ 44s] from mipi_dsih_local.h:45, [ 44s] from mipi_dsih_dphy.h:11, [ 44s] from mipi_dsih_dphy.c:8: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:53:0: note: this is the location of the previous definition [ 44s] #define SPRD_PWM_BASE 0x88000000 [ 44s] [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 44s] from ../sprdfb_chip_8830.h:18, [ 44s] from ../sprdfb_chip_common.h:30, [ 44s] from mipi_dsih_local.h:45, [ 44s] from mipi_dsih_dphy.h:11, [ 44s] from mipi_dsih_dphy.c:8: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 44s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 44s] [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 44s] from ../sprdfb_chip_common.h:18, [ 44s] from mipi_dsih_local.h:45, [ 44s] from mipi_dsih_dphy.h:11, [ 44s] from mipi_dsih_dphy.c:8: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 44s] #define ADC_BASE 0x40038300 //Aux ADC [ 44s] [ 44s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext4' [ 44s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/cramfs' [ 44s] make -C fs/fat/ [ 44s] In file included from dwc_common_linux.c:15:0: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/usb.h:190:13: warning: inline function 'wait_ms' declared but never defined [ 44s] inline void wait_ms(unsigned long ms); [ 44s] ^~~~~~~ [ 44s] mipi_dsih_dphy.c: In function 'mipi_dsih_dphy_calibration': [ 44s] mipi_dsih_dphy.c:98:35: warning: 'sv_data[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 44s] sv_data[1] =(sv_data[1]&0x1c) >>2; [ 44s] ~~~~~~~~~~~~~~~~~~^~~ [ 44s] mipi_dsih_dphy.c:97:35: warning: 'sv_data[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 44s] sv_data[0] =(sv_data[0]&0x1c) >>2; [ 44s] ~~~~~~~~~~~~~~~~~~^~~ [ 44s] ld -r -o libsprdfb_dsi.o mipi_dsih_api.o mipi_dsih_hal.o mipi_dsih_dphy.o [ 45s] make -C fs/fdos/ [ 45s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fat' [ 45s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 45s] -o sprdfb_main.o sprdfb_main.c -c [ 45s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb/dsi_1_21a' [ 45s] make -C fs/jffs2/ [ 45s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fdos' [ 45s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 45s] -o sprdfb_panel.o sprdfb_panel.c -c [ 45s] rm -f libext2fs.o; ar rcs libext2fs.o [ 45s] ld -r -o libdwc_otg.o dwc_otg_driver.o dwc_otg_cil.o dwc_otg_cil_intr.o dwc_otg_pcd_linux.o dwc_otg_pcd.o dwc_otg_pcd_intr.o dwc_common_linux.o [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_cpc.h:18, [ 45s] from sprdfb_main.c:28: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:217:0: warning: "GREG_BASE" redefined [ 45s] #define GREG_BASE CTL_BASE_GLB_REG [ 45s] [ 45s] In file included from sprdfb_main.c:27:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_global.h:21:0: note: this is the location of the previous definition [ 45s] #define GREG_BASE 0x4B000000 [ 45s] [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 45s] from sprdfb_main.c:29: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 45s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 45s] [ 45s] In file included from sprdfb_main.c:19:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:53:0: note: this is the location of the previous definition [ 45s] #define SPRD_PWM_BASE 0x88000000 [ 45s] [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 45s] from sprdfb_main.c:29: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 45s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 45s] [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_cpc.h:18, [ 45s] from sprdfb_main.c:28: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 45s] #define ADC_BASE 0x40038300 //Aux ADC [ 45s] [ 45s] sprdfb_main.c: In function 'set_backlight': [ 45s] sprdfb_main.c:268:3: warning: implicit declaration of function 'sprd_gpio_request' [-Wimplicit-function-declaration] [ 45s] sprd_gpio_request(NULL, BACKLIGHT_GPIO); [ 45s] ^~~~~~~~~~~~~~~~~ [ 45s] sprdfb_main.c:269:3: warning: implicit declaration of function 'sprd_gpio_direction_output' [-Wimplicit-function-declaration] [ 45s] sprd_gpio_direction_output(NULL, BACKLIGHT_GPIO, 0); [ 45s] ^~~~~~~~~~~~~~~~~~~~~~~~~~ [ 45s] sprdfb_main.c:282:3: warning: implicit declaration of function 'sprd_gpio_set' [-Wimplicit-function-declaration] [ 45s] sprd_gpio_set(NULL, BACKLIGHT_GPIO, 0); [ 45s] ^~~~~~~~~~~~~ [ 45s] sprdfb_main.c: In function 'save_mtp_offset_to_kernel': [ 45s] sprdfb_main.c:411:36: warning: pointer targets in passing argument 2 of 'hex_encoder' differ in signedness [-Wpointer-sign] [ 45s] hex_encoder((unsigned char *)mtp, mtp_offset, (MTP_LEN + 6)); [ 45s] ^~~~~~~~~~ [ 45s] sprdfb_main.c:397:13: note: expected 'char *' but argument is of type 'unsigned char *' [ 45s] static void hex_encoder(unsigned char *in, char *out, int sz) [ 45s] ^~~~~~~~~~~ [ 45s] sprdfb_main.c: In function 'save_hbm_offset_to_kernel': [ 45s] sprdfb_main.c:432:36: warning: pointer targets in passing argument 2 of 'hex_encoder' differ in signedness [-Wpointer-sign] [ 45s] hex_encoder((unsigned char *)hbm, hbm_g, 15); [ 45s] ^~~~~ [ 45s] sprdfb_main.c:397:13: note: expected 'char *' but argument is of type 'unsigned char *' [ 45s] static void hex_encoder(unsigned char *in, char *out, int sz) [ 45s] ^~~~~~~~~~~ [ 45s] sprdfb_main.c: In function 'byte2hex': [ 45s] sprdfb_main.c:395:1: warning: control reaches end of non-void function [-Wreturn-type] [ 45s] } [ 45s] ^ [ 45s] At top level: [ 45s] sprdfb_main.c:108:15: warning: 'get_adie_chipid' defined but not used [-Wunused-function] [ 45s] static uint32 get_adie_chipid(void) [ 45s] ^~~~~~~~~~~~~~~ [ 45s] sprdfb_main.c:67:13: warning: '__raw_bits_and' defined but not used [-Wunused-function] [ 45s] static void __raw_bits_and(unsigned int v, unsigned int a) [ 45s] ^~~~~~~~~~~~~~ [ 45s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/jffs2' [ 45s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 45s] -o sprdfb_dispc.o sprdfb_dispc.c -c [ 45s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext2' [ 45s] make -C fs/reiserfs/ [ 45s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget/dwc_otg' [ 45s] sprdfb_panel.c: In function 'panel_reset_dispc': [ 45s] sprdfb_panel.c:438:2: warning: implicit declaration of function 'sprd_gpio_request' [-Wimplicit-function-declaration] [ 45s] sprd_gpio_request(NULL, 103); [ 45s] ^~~~~~~~~~~~~~~~~ [ 45s] sprdfb_panel.c:439:2: warning: implicit declaration of function 'sprd_gpio_direction_output' [-Wimplicit-function-declaration] [ 45s] sprd_gpio_direction_output(NULL, 103, 0); [ 45s] ^~~~~~~~~~~~~~~~~~~~~~~~~~ [ 45s] sprdfb_panel.c:440:2: warning: implicit declaration of function 'sprd_gpio_set' [-Wimplicit-function-declaration] [ 45s] sprd_gpio_set(NULL, 103, 1); [ 45s] ^~~~~~~~~~~~~ [ 45s] sprdfb_panel.c: In function 'adapt_panel_from_readid': [ 45s] sprdfb_panel.c:573:4: warning: implicit declaration of function 'save_lcd_id_to_kernel' [-Wimplicit-function-declaration] [ 45s] save_lcd_id_to_kernel(id); [ 45s] ^~~~~~~~~~~~~~~~~~~~~ [ 45s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 45s] -o sprdfb_mcu.o sprdfb_mcu.c -c [ 45s] make -C fs/ubifs/ [ 45s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/reiserfs' [ 45s] In file included from sprdfb_dispc.c:17:0: [ 45s] sprdfb.h:45:35: warning: 'struct panel_spec' declared inside parameter list will not be visible outside of this definition or declaration [ 45s] int32_t (*panel_if_check)(struct panel_spec *self); [ 45s] ^~~~~~~~~~ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 45s] from sprdfb_chip_8830.h:18, [ 45s] from sprdfb_chip_common.h:30, [ 45s] from sprdfb_dispc.c:18: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 45s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 45s] [ 45s] In file included from sprdfb_chip_common.h:19:0, [ 45s] from sprdfb_dispc.c:18: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:53:0: note: this is the location of the previous definition [ 45s] #define SPRD_PWM_BASE 0x88000000 [ 45s] [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 45s] from sprdfb_chip_8830.h:18, [ 45s] from sprdfb_chip_common.h:30, [ 45s] from sprdfb_dispc.c:18: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 45s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 45s] [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 45s] from sprdfb_chip_common.h:18, [ 45s] from sprdfb_dispc.c:18: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 45s] #define ADC_BASE 0x40038300 //Aux ADC [ 45s] [ 45s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 45s] -o sprdfb_rgb.o sprdfb_rgb.c -c [ 45s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ubifs' [ 45s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 45s] -o fat_write.o fat_write.c -c [ 45s] make -C fs/yaffs2/ [ 45s] rm -f libfdos.o; ar rcs libfdos.o [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 45s] from sprdfb_chip_8830.h:18, [ 45s] from sprdfb_chip_common.h:30, [ 45s] from sprdfb_rgb.c:9: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 45s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 45s] [ 45s] In file included from sprdfb_rgb.c:6:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:53:0: note: this is the location of the previous definition [ 45s] #define SPRD_PWM_BASE 0x88000000 [ 45s] [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 45s] from sprdfb_chip_8830.h:18, [ 45s] from sprdfb_chip_common.h:30, [ 45s] from sprdfb_rgb.c:9: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 45s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 45s] [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 45s] from sprdfb_rgb.c:7: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 45s] #define ADC_BASE 0x40038300 //Aux ADC [ 45s] [ 45s] sprdfb_rgb.c: In function 'rgb_readid': [ 45s] sprdfb_rgb.c:28:85: warning: passing argument 4 of 'rgb->bus_info.i2c->ops->i2c_read_16bits' from incompatible pointer type [-Wincompatible-pointer-types] [ 45s] rgb->bus_info.i2c->ops->i2c_read_16bits(rgb->bus_info.i2c->i2c_addr , 0x0, FALSE, &id, FALSE); [ 45s] ^ [ 45s] sprdfb_rgb.c:28:85: note: expected 'uint16_t * {aka short unsigned int *}' but argument is of type 'uint32_t * {aka unsigned int *}' [ 45s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 45s] -o sprdfb_mipi.o sprdfb_mipi.c -c [ 45s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/yaffs2' [ 45s] fat_write.c: In function 'delete_long_file_name': [ 45s] fat_write.c:482:15: warning: unused variable 'cur_position' [-Wunused-variable] [ 45s] int idx = 0, cur_position = 0; [ 45s] ^~~~~~~~~~~~ [ 45s] fat_write.c:482:6: warning: unused variable 'idx' [-Wunused-variable] [ 45s] int idx = 0, cur_position = 0; [ 45s] ^~~ [ 45s] fat_write.c: In function 'delete_directory_entry': [ 45s] fat_write.c:1207:7: warning: unused variable 'mark_cnt' [-Wunused-variable] [ 45s] int mark_cnt; [ 45s] ^~~~~~~~ [ 45s] fat_write.c: In function 'do_fat_rm': [ 45s] fat_write.c:1386:6: warning: unused variable 'i' [-Wunused-variable] [ 45s] int i; [ 45s] ^ [ 45s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fdos' [ 45s] make -C lib/libfdt/ [ 45s] rm -f libjffs2.o; ar rcs libjffs2.o [ 45s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 45s] -o ext4fs.o ext4fs.c -c [ 45s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt' [ 45s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 45s] -o sprdfb_i2c.o sprdfb_i2c.c -c [ 45s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/jffs2' [ 45s] make -C lib/ [ 45s] rm -f libreiserfs.o; ar rcs libreiserfs.o [ 45s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/reiserfs' [ 45s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 45s] -o ext4_common.o ext4_common.c -c [ 45s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 45s] -o sprdfb_spi.o sprdfb_spi.c -c [ 45s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib' [ 45s] sprdfb_i2c.c: In function 'sprdfb_i2c_read_8bits': [ 45s] sprdfb_i2c.c:79:27: warning: passing argument 2 of 'I2C_ReadCmd' makes pointer from integer without a cast [-Wint-conversion] [ 45s] ret = I2C_ReadCmd(addr, *val, TRUE); [ 45s] ^ [ 45s] In file included from sprdfb_i2c.c:8:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_i2c.h:100:18: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'uint8_t {aka unsigned char}' [ 45s] PUBLIC ERR_I2C_E I2C_ReadCmd(uint8 addr,uint8 *pCmd,BOOLEAN ack_en); [ 45s] ^~~~~~~~~~~ [ 45s] rm -f libubifs.o; ar rcs libubifs.o [ 46s] make -C lib/lzma/ [ 46s] In file included from sprdfb_spi.c:8:0: [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_spi.h:217:2: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 46s] PUBLIC void SPI_WaitTxFinish(); [ 46s] ^~~~~~ [ 46s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ubifs' [ 46s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 46s] -o sprdfb_dsi.o sprdfb_dsi.c -c [ 46s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 46s] -o dev.o dev.c -c [ 46s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzma' [ 46s] rm -f libyaffs2.o; ar rcs libyaffs2.o [ 46s] ld -r -o libfat.o fat_write.o [ 46s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/yaffs2' [ 46s] make -C lib/lzo/ [ 46s] In file included from sprdfb_dsi.c:10:0: [ 46s] sprdfb.h:45:35: warning: 'struct panel_spec' declared inside parameter list will not be visible outside of this definition or declaration [ 46s] int32_t (*panel_if_check)(struct panel_spec *self); [ 46s] ^~~~~~~~~~ [ 46s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 46s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 46s] from sprdfb_chip_8830.h:18, [ 46s] from sprdfb_chip_common.h:30, [ 46s] from sprdfb_dsi.c:11: [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 46s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 46s] [ 46s] In file included from sprdfb_chip_common.h:19:0, [ 46s] from sprdfb_dsi.c:11: [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:53:0: note: this is the location of the previous definition [ 46s] #define SPRD_PWM_BASE 0x88000000 [ 46s] [ 46s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 46s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 46s] from sprdfb_chip_8830.h:18, [ 46s] from sprdfb_chip_common.h:30, [ 46s] from sprdfb_dsi.c:11: [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 46s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 46s] [ 46s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 46s] from sprdfb_chip_common.h:18, [ 46s] from sprdfb_dsi.c:11: [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 46s] #define ADC_BASE 0x40038300 //Aux ADC [ 46s] [ 46s] sprdfb_dsi.c: In function 'sprdfb_dsi_set_lp_mode': [ 46s] sprdfb_dsi.c:374:11: warning: unused variable 'reg_val' [-Wunused-variable] [ 46s] uint32_t reg_val; [ 46s] ^~~~~~~ [ 46s] sprdfb_dsi.c: At top level: [ 46s] sprdfb_dsi.c:448:1: warning: data definition has no type or storage class [ 46s] EXPORT_SYMBOL(backlight_control); [ 46s] ^~~~~~~~~~~~~ [ 46s] sprdfb_dsi.c:448:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' [-Wimplicit-int] [ 46s] sprdfb_dsi.c:448:1: warning: parameter names (without types) in function declaration [ 46s] sprdfb_dsi.c:38:13: warning: '__raw_bits_and' defined but not used [-Wunused-function] [ 46s] static void __raw_bits_and(unsigned int v, unsigned int a) [ 46s] ^~~~~~~~~~~~~~ [ 46s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fat' [ 46s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 46s] -o ext4_write.o ext4_write.c -c [ 46s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 46s] -o sprdfb_chip_common.o sprdfb_chip_common.c -c [ 46s] make -C nand_fdl/common/src/ [ 46s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzo' [ 46s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 46s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 46s] from sprdfb_chip_8830.h:18, [ 46s] from sprdfb_chip_common.h:30, [ 46s] from sprdfb_chip_common.c:17: [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 46s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 46s] [ 46s] In file included from sprdfb_chip_common.h:19:0, [ 46s] from sprdfb_chip_common.c:17: [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:53:0: note: this is the location of the previous definition [ 46s] #define SPRD_PWM_BASE 0x88000000 [ 46s] [ 46s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 46s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 46s] from sprdfb_chip_8830.h:18, [ 46s] from sprdfb_chip_common.h:30, [ 46s] from sprdfb_chip_common.c:17: [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 46s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 46s] [ 46s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 46s] from sprdfb_chip_common.h:18, [ 46s] from sprdfb_chip_common.c:17: [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 46s] #define ADC_BASE 0x40038300 //Aux ADC [ 46s] [ 46s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/nand_fdl/common/src' [ 46s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 46s] -o sprdfb_chip_8830.o sprdfb_chip_8830.c -c [ 46s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 46s] -o fdt.o fdt.c -c [ 46s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 46s] -o ext4_journal.o ext4_journal.c -c [ 46s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 46s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 46s] from sprdfb_chip_8830.h:18, [ 46s] from sprdfb_chip_common.h:30, [ 46s] from sprdfb_chip_8830.c:15: [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 46s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 46s] [ 46s] In file included from sprdfb_chip_common.h:19:0, [ 46s] from sprdfb_chip_8830.c:15: [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:53:0: note: this is the location of the previous definition [ 46s] #define SPRD_PWM_BASE 0x88000000 [ 46s] [ 46s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 46s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 46s] from sprdfb_chip_8830.h:18, [ 46s] from sprdfb_chip_common.h:30, [ 46s] from sprdfb_chip_8830.c:15: [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 46s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 46s] [ 46s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 46s] from sprdfb_chip_common.h:18, [ 46s] from sprdfb_chip_8830.c:15: [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 46s] #define ADC_BASE 0x40038300 //Aux ADC [ 46s] [ 46s] sprdfb_chip_8830.c: In function 'dsi_enable': [ 46s] sprdfb_chip_8830.c:25:2: warning: implicit declaration of function '__raw_bits_and' [-Wimplicit-function-declaration] [ 46s] __raw_bits_and(~BIT_DSI_PHY_PD, REG_AON_APB_PWR_CTRL); [ 46s] ^~~~~~~~~~~~~~ [ 46s] rm -f liblzma.o; ar rcs liblzma.o [ 46s] ld -r -o libsprdfb.o sprdfb_main.o sprdfb_panel.o sprdfb_dispc.o sprdfb_mcu.o sprdfb_rgb.o sprdfb_mipi.o sprdfb_i2c.o sprdfb_spi.o sprdfb_dsi.o sprdfb_chip_common.o sprdfb_chip_8830.o [ 46s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 46s] -o crc16.o crc16.c -c [ 46s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 46s] -o fdt_ro.o fdt_ro.c -c [ 46s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb' [ 46s] make -C net/ [ 46s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzma' [ 46s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 46s] -o ext4_rw.o ext4_rw.c -c [ 46s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 46s] -o fdt_rw.o fdt_rw.c -c [ 46s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/net' [ 46s] rm -f liblzo.o; ar rcs liblzo.o [ 46s] make -C post/ [ 46s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 46s] -o fdt_strerror.o fdt_strerror.c -c [ 46s] ld -r -o libext4fs.o ext4fs.o ext4_common.o dev.o ext4_write.o ext4_journal.o crc16.o ext4_rw.o [ 46s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzo' [ 46s] make -C property/ [ 46s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/post' [ 46s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext4' [ 46s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 46s] -o fdt_sw.o fdt_sw.c -c [ 47s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/property' [ 47s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 47s] -o fdt_wip.o fdt_wip.c -c [ 47s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 47s] -o dl_engine.o dl_engine.c -c [ 47s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 47s] -o crc16.o crc16.c -c [ 47s] ld -r -o libfdt.o fdt.o fdt_ro.o fdt_rw.o fdt_strerror.o fdt_sw.o fdt_wip.o [ 47s] rm -f libnet.o; ar rcs libnet.o [ 47s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 47s] -o fdl_crc.o fdl_crc.c -c [ 47s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 47s] -o crc32.o crc32.c -c [ 47s] dl_engine.c:19:62: warning: missing braces around initializer [-Wmissing-braces] [ 47s] CMDPROC_TAB g_proctab[BSL_CMD_TYPE_MAX - BSL_CMD_TYPE_MIN] = {0, 0}; [ 47s] ^ [ 47s] dl_engine.c:19:62: note: (near initialization for 'g_proctab') [ 47s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt' [ 47s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 47s] -o packet.o packet.c -c [ 47s] fdl_crc.c:15:21: warning: 'crc16_table' defined but not used [-Wunused-const-variable=] [ 47s] static uint16 const crc16_table[256] = [ 47s] ^~~~~~~~~~~ [ 47s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/net' [ 47s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 47s] -o crc32b.o crc32b.c -c [ 47s] rm -f libpost.o; ar rcs libpost.o [ 47s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 47s] -o fdl_channel.o fdl_channel.c -c [ 47s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:4:0, [ 47s] from packet.c:7: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/fdl_channel.h:18:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 47s] struct FDL_ChannelHandler *FDL_ChannelGet(); [ 47s] ^~~~~~~~~~~~~~~~~~ [ 47s] packet.c: In function 'FDL_PacketDoIdle': [ 47s] packet.c:97:24: warning: implicit declaration of function 'FDL_GetBootMode' [-Wimplicit-function-declaration] [ 47s] uint32 boot_mode = FDL_GetBootMode(); [ 47s] ^~~~~~~~~~~~~~~ [ 47s] In file included from packet.c:7:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:146:19: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 47s] #define sio_trace printf [ 47s] ^ [ 47s] packet.c:143:13: note: in expansion of macro 'sio_trace' [ 47s] sio_trace ("data_size error : datasize = %d MAX_PKT_SIZE = %d\n", packet_ptr->data_size, MAX_PKT_SIZE); [ 47s] ^~~~~~~~~ [ 47s] packet.c:183:41: warning: passing argument 1 of 'crc_16_l_calc' from incompatible pointer type [-Wincompatible-pointer-types] [ 47s] crc = crc_16_l_calc((unsigned short *)&packet_ptr->packet_body, packet_ptr->data_size); [ 47s] ^ [ 47s] In file included from packet.c:6:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/fdl_crc.h:23:14: note: expected 'char *' but argument is of type 'short unsigned int *' [ 47s] unsigned int crc_16_l_calc (char *buf_ptr,unsigned int len); [ 47s] ^~~~~~~~~~~~~ [ 47s] packet.c: In function 'FDL_DataProcess': [ 47s] packet.c:277:27: warning: passing argument 1 of 'crc_16_l_calc' from incompatible pointer type [-Wincompatible-pointer-types] [ 47s] crc = crc_16_l_calc ( (const unsigned short *) (& (packet_ptr_src->packet_body)), size + PACKET_HEADER_SIZE); [ 47s] ^ [ 47s] In file included from packet.c:6:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/fdl_crc.h:23:14: note: expected 'char *' but argument is of type 'const short unsigned int *' [ 47s] unsigned int crc_16_l_calc (char *buf_ptr,unsigned int len); [ 47s] ^~~~~~~~~~~~~ [ 47s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 47s] -o ctype.o ctype.c -c [ 47s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/post' [ 47s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 47s] -o fdl_stdio.o fdl_stdio.c -c [ 47s] In file included from fdl_channel.c:1:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/fdl_channel.h:18:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 47s] struct FDL_ChannelHandler *FDL_ChannelGet(); [ 47s] ^~~~~~~~~~~~~~~~~~ [ 47s] fdl_channel.c:19:35: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 47s] PUBLIC struct FDL_ChannelHandler *FDL_ChannelGet() [ 47s] ^~~~~~~~~~~~~~ [ 47s] fdl_channel.c: In function 'FDL_ChannelGet': [ 47s] fdl_channel.c:22:10: warning: unused variable 'ch' [-Wunused-variable] [ 47s] char ch; [ 47s] ^~ [ 47s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 47s] -o display_options.o display_options.c -c [ 47s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 47s] -o usb_boot.o usb_boot.c -c [ 47s] fdl_stdio.c: In function 'FDL_memcpy': [ 47s] fdl_stdio.c:8:18: warning: unused variable 'value' [-Wunused-variable] [ 47s] unsigned int value; [ 47s] ^~~~~ [ 47s] fdl_stdio.c:7:28: warning: unused variable 'i' [-Wunused-variable] [ 47s] unsigned int word_num, i; [ 47s] ^ [ 47s] fdl_stdio.c:7:18: warning: unused variable 'word_num' [-Wunused-variable] [ 47s] unsigned int word_num, i; [ 47s] ^~~~~~~~ [ 47s] fdl_stdio.c:6:19: warning: unused variable 'tmp_dst' [-Wunused-variable] [ 47s] unsigned int *tmp_dst = (unsigned int *) dst; [ 47s] ^~~~~~~ [ 47s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 47s] -o div64.o div64.c -c [ 47s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 47s] -o drv_usb.o drv_usb.c -c [ 47s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 47s] -o errno.o errno.c -c [ 47s] In file included from usb_boot.c:21:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/fdl_channel.h:18:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 47s] struct FDL_ChannelHandler *FDL_ChannelGet(); [ 47s] ^~~~~~~~~~~~~~~~~~ [ 47s] usb_boot.c: In function 'usb_init': [ 47s] usb_boot.c:97:5: warning: implicit declaration of function 'usb_core_init' [-Wimplicit-function-declaration] [ 47s] usb_core_init(); [ 47s] ^~~~~~~~~~~~~ [ 47s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 47s] -o virtual_com.o virtual_com.c -c [ 47s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 47s] -o gunzip.o gunzip.c -c [ 47s] drv_usb.c: In function 'usb_get_descriptor': [ 47s] drv_usb.c:211:35: warning: implicit declaration of function 'UCOM_Get_DevDesc' [-Wimplicit-function-declaration] [ 47s] send_data = (uint8 *) UCOM_Get_DevDesc();//lint !e718 [ 47s] ^~~~~~~~~~~~~~~~ [ 47s] drv_usb.c:218:35: warning: implicit declaration of function 'UCOM_Get_CfgDesc' [-Wimplicit-function-declaration] [ 47s] send_data = (uint8 *) UCOM_Get_CfgDesc();//lint !e718 [ 47s] ^~~~~~~~~~~~~~~~ [ 47s] drv_usb.c: In function 'VCOM_Read': [ 47s] drv_usb.c:703:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 47s] unsigned char *src, *dest = buf; [ 47s] ^~~ [ 47s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 47s] -o hashtable.o hashtable.c -c [ 47s] virtual_com.c:55:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 47s] uint8 *UCOM_Get_DevDesc() [ 47s] ^~~~~~~~~~~~~~~~ [ 47s] virtual_com.c:66:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 47s] uint8 *UCOM_Get_CfgDesc() [ 47s] ^~~~~~~~~~~~~~~~ [ 47s] ld -r -o libfdlcommon.o dl_engine.o fdl_crc.o packet.o fdl_channel.o fdl_stdio.o usb_boot.o drv_usb.o virtual_com.o [ 47s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 47s] -o lmb.o lmb.c -c [ 47s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/nand_fdl/common/src' [ 47s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 47s] -o ldiv.o ldiv.c -c [ 48s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 48s] -o net_utils.o net_utils.c -c [ 48s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 48s] -o qsort.o qsort.c -c [ 48s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 48s] -o string.o string.c -c [ 48s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 48s] -o strmhz.o strmhz.c -c [ 48s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 48s] -o time.o time.c -c [ 48s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 48s] -o vsprintf.o vsprintf.c -c [ 48s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 48s] -o alarm_mode.o alarm_mode.c -c [ 48s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 48s] -o zlib.o zlib.c -c [ 48s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 48s] -o android_boot.o android_boot.c -c [ 48s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 48s] -o rbtree.o rbtree.c -c [ 48s] alarm_mode.c: In function 'alarm_file_check': [ 48s] alarm_mode.c:27:6: warning: implicit declaration of function 'do_fs_file_read' [-Wimplicit-function-declaration] [ 48s] if(!do_fs_file_read(PROD_PART, "/alarm_flag", time_buf,200)){ [ 48s] ^~~~~~~~~~~~~~~ [ 48s] alarm_mode.c: In function 'alarm_flag_check': [ 48s] alarm_mode.c:114:14: warning: implicit declaration of function 'get_alarm_lead_set' [-Wimplicit-function-declaration] [ 48s] time_lead = get_alarm_lead_set(); [ 48s] ^~~~~~~~~~~~~~~~~~ [ 48s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 48s] -o autodloader_mode.o autodloader_mode.c -c [ 48s] android_boot.c: In function 'creat_atags': [ 48s] android_boot.c:8:11: warning: unused variable 'pcount' [-Wunused-variable] [ 48s] unsigned pcount; [ 48s] ^~~~~~ [ 48s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 48s] -o backupnvitem.o backupnvitem.c -c [ 48s] In file included from autodloader_mode.c:10:0: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/fdl_channel.h:18:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 48s] struct FDL_ChannelHandler *FDL_ChannelGet(); [ 48s] ^~~~~~~~~~~~~~~~~~ [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 48s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 48s] from autodloader_mode.c:15: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 48s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:20:0, [ 48s] from autodloader_mode.c:12: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 48s] #define ADC_BASE 0x40038300 //Aux ADC [ 48s] [ 48s] autodloader_mode.c: In function 'autodloader_mode': [ 48s] autodloader_mode.c:208:6: warning: unused variable 'i' [-Wunused-variable] [ 48s] int i = 0; [ 48s] ^ [ 48s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 48s] -o boot_mode_regist.o boot_mode_regist.c -c [ 48s] backupnvitem.c: In function 'XCheckNVStructEx': [ 48s] backupnvitem.c:416:3: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 48s] printf("%s %d\n", __FUNCTION__, __LINE__); [ 48s] ^~~~~~ [ 48s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 48s] -o calibration_detect.o calibration_detect.c -c [ 48s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 48s] -o charge_mode.o charge_mode.c -c [ 48s] calibration_detect.c:47:8: warning: type defaults to 'int' in declaration of 'caliberate_device' [-Wimplicit-int] [ 48s] static caliberate_device = CALIBERATE_DEVICE_NULL; [ 48s] ^~~~~~~~~~~~~~~~~ [ 48s] calibration_detect.c: In function 'pctool_mode_detect_uart': [ 48s] calibration_detect.c:141:58: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=] [ 48s] printf("uart calibrate configuration start_time=%d\n", start_time); [ 48s] ^ [ 48s] calibration_detect.c:164:29: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] [ 48s] calibration_cmd_buf=malloc(1024); [ 48s] ^~~~~~ [ 48s] calibration_detect.c:164:28: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ 48s] calibration_cmd_buf=malloc(1024); [ 48s] ^ [ 48s] calibration_detect.c:133:9: warning: unused variable 'off' [-Wunused-variable] [ 48s] loff_t off = 0; [ 48s] ^~~ [ 48s] calibration_detect.c:126:6: warning: unused variable 'ret' [-Wunused-variable] [ 48s] int ret; [ 48s] ^~~ [ 48s] calibration_detect.c: In function 'cali_usb_debug': [ 48s] calibration_detect.c:286:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 48s] { int ret; [ 48s] ^~~ [ 48s] calibration_detect.c: At top level: [ 48s] calibration_detect.c:320:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 48s] int cali_usb_prepare() [ 48s] ^~~~~~~~~~~~~~~~ [ 48s] calibration_detect.c: In function 'cali_usb_prepare': [ 48s] calibration_detect.c:322:6: warning: unused variable 'ret' [-Wunused-variable] [ 48s] int ret = 0; [ 48s] ^~~ [ 48s] calibration_detect.c: At top level: [ 48s] calibration_detect.c:336:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 48s] int cali_usb_enum() [ 48s] ^~~~~~~~~~~~~ [ 48s] calibration_detect.c: In function 'prepare_reply_buf': [ 48s] calibration_detect.c:477:34: warning: pointer targets in passing argument 1 of 'translate_packet' differ in signedness [-Wpointer-sign] [ 48s] total_len = translate_packet((unsigned char*)pctool_cnf_buf,(unsigned char*)rsp_ptr,((MSG_HEAD_T*)rsp_ptr)->len); [ 48s] ^ [ 48s] calibration_detect.c:429:5: note: expected 'char *' but argument is of type 'unsigned char *' [ 48s] int translate_packet(char *dest,char *src,int size) [ 48s] ^~~~~~~~~~~~~~~~ [ 48s] calibration_detect.c:477:65: warning: pointer targets in passing argument 2 of 'translate_packet' differ in signedness [-Wpointer-sign] [ 48s] total_len = translate_packet((unsigned char*)pctool_cnf_buf,(unsigned char*)rsp_ptr,((MSG_HEAD_T*)rsp_ptr)->len); [ 48s] ^ [ 48s] calibration_detect.c:429:5: note: expected 'char *' but argument is of type 'unsigned char *' [ 48s] int translate_packet(char *dest,char *src,int size) [ 48s] ^~~~~~~~~~~~~~~~ [ 48s] calibration_detect.c:478:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] [ 48s] free(rsp_ptr); [ 48s] ^~~~ [ 48s] calibration_detect.c:452:9: warning: unused variable 'ret' [-Wunused-variable] [ 48s] int ret = 0; [ 48s] ^~~ [ 48s] calibration_detect.c: In function 'pctool_mode_detect': [ 48s] calibration_detect.c:489:12: warning: implicit declaration of function 'get_mode_from_gpio' [-Wimplicit-function-declaration] [ 48s] if(get_mode_from_gpio()) [ 48s] ^~~~~~~~~~~~~~~~~~ [ 48s] calibration_detect.c:567:21: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ 48s] calibration_cmd_buf=malloc(1024); [ 48s] ^ [ 48s] calibration_detect.c:487:9: warning: unused variable 'off' [-Wunused-variable] [ 48s] loff_t off = 0; [ 48s] ^~~ [ 48s] calibration_detect.c:486:15: warning: unused variable 'caliberate_mode' [-Wunused-variable] [ 48s] unsigned int caliberate_mode; [ 48s] ^~~~~~~~~~~~~~~ [ 48s] calibration_detect.c: In function 'cali_file_check': [ 48s] calibration_detect.c:602:5: warning: implicit declaration of function 'do_fs_file_read' [-Wimplicit-function-declaration] [ 48s] if(do_fs_file_read("prodnv", "/adc.bin", (char *)nv_buffer,sizeof(nv_buffer))) [ 48s] ^~~~~~~~~~~~~~~ [ 48s] At top level: [ 48s] calibration_detect.c:255:12: warning: 'recheck_power_button' defined but not used [-Wunused-function] [ 48s] static int recheck_power_button(void) [ 48s] ^~~~~~~~~~~~~~~~~~~~ [ 48s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 48s] -o cmd_cboot.o cmd_cboot.c -c [ 49s] ld -r -o libgeneric.o crc16.o crc32.o crc32b.o ctype.o display_options.o div64.o errno.o gunzip.o hashtable.o lmb.o ldiv.o net_utils.o qsort.o string.o strmhz.o time.o vsprintf.o zlib.o rbtree.o [ 49s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 49s] -o dev_tree.o dev_tree.c -c [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45:0, [ 49s] from cmd_cboot.c:9: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:103:28: warning: 'struct seq_file' declared inside parameter list will not be visible outside of this definition or declaration [ 49s] void (*dbg_show)(struct seq_file *s, [ 49s] ^~~~~~~~ [ 49s] cmd_cboot.c:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 49s] extern int get_mode_from_gpio(); [ 49s] ^~~~~~ [ 49s] cmd_cboot.c: In function 'get_mode_from_pctool': [ 49s] cmd_cboot.c:60:9: warning: implicit declaration of function 'pctool_mode_detect' [-Wimplicit-function-declaration] [ 49s] ret = pctool_mode_detect(); [ 49s] ^~~~~~~~~~~~~~~~~~ [ 49s] cmd_cboot.c: In function 'get_mode_from_keypad': [ 49s] cmd_cboot.c:184:28: warning: implicit declaration of function 'get_pwr_key_cnt' [-Wimplicit-function-declaration] [ 49s] if(boot_pwr_check() >= get_pwr_key_cnt()){ [ 49s] ^~~~~~~~~~~~~~~ [ 49s] cmd_cboot.c:189:15: warning: implicit declaration of function 'tizen_check_keypad' [-Wimplicit-function-declaration] [ 49s] key_code = tizen_check_keypad(); [ 49s] ^~~~~~~~~~~~~~~~~~ [ 49s] cmd_cboot.c: In function 'do_cboot': [ 49s] cmd_cboot.c:309:3: warning: implicit declaration of function 'draw_image' [-Wimplicit-function-declaration] [ 49s] draw_image(1); [ 49s] ^~~~~~~~~~ [ 49s] cmd_cboot.c:324:2: warning: implicit declaration of function 'lcd_display' [-Wimplicit-function-declaration] [ 49s] lcd_display(); [ 49s] ^~~~~~~~~~~ [ 49s] cmd_cboot.c:325:2: warning: implicit declaration of function 'MMU_DisableIDCM' [-Wimplicit-function-declaration] [ 49s] MMU_DisableIDCM(); [ 49s] ^~~~~~~~~~~~~~~ [ 49s] cmd_cboot.c:328:5: warning: implicit declaration of function 'cmd_mode_regist' [-Wimplicit-function-declaration] [ 49s] cmd_mode_regist(boot_mode_array); [ 49s] ^~~~~~~~~~~~~~~ [ 49s] cmd_cboot.c:337:9: warning: implicit declaration of function 'power_down_devices' [-Wimplicit-function-declaration] [ 49s] power_down_devices(); [ 49s] ^~~~~~~~~~~~~~~~~~ [ 49s] cmd_cboot.c: In function 'get_mode_from_alarm_register': [ 49s] cmd_cboot.c:166:1: warning: control reaches end of non-void function [-Wreturn-type] [ 49s] } [ 49s] ^ [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45:0, [ 49s] from cmd_cboot.c:9: [ 49s] At top level: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:31:13: warning: 'gpio_is_valid' defined but not used [-Wunused-function] [ 49s] static bool gpio_is_valid(int number) [ 49s] ^~~~~~~~~~~~~ [ 49s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib' [ 49s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 49s] -o engtest_mode.o engtest_mode.c -c [ 49s] dev_tree.c: In function 'dev_tree_get_entry_ptr': [ 49s] dev_tree.c:43:35: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 49s] #define debugf(fmt, args...) do { printf("%s(): ", __func__); printf(fmt, ##args); } while (0) [ 49s] ^ [ 49s] dev_tree.c:126:2: note: in expansion of macro 'debugf' [ 49s] debugf("magic=%x,ver=%d,num=%d\n",table->magic,table->version,table->num_entries); [ 49s] ^~~~~~ [ 49s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 49s] -o factorytest_mode.o factorytest_mode.c -c [ 49s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 49s] -o fs_common_rw.o fs_common_rw.c -c [ 49s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 49s] -o modem_entry.o modem_entry.c -c [ 49s] In file included from fs_common_rw.c:11:0: [ 49s] ../drivers/mmc/card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 49s] PUBLIC void Emmc_DisSdClk(); [ 49s] ^~~~~~ [ 49s] fs_common_rw.c: In function 'do_fs_file_read': [ 49s] fs_common_rw.c:21:9: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] [ 49s] part = malloc(sizeof(wchar_t)*(strlen(mpart)+1)); [ 49s] ^~~~~~ [ 49s] fs_common_rw.c:21:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ 49s] part = malloc(sizeof(wchar_t)*(strlen(mpart)+1)); [ 49s] ^ [ 49s] fs_common_rw.c:27:8: warning: implicit declaration of function 'ext4_read_content' [-Wimplicit-function-declaration] [ 49s] ret = ext4_read_content(mmc_dev, [ 49s] ^~~~~~~~~~~~~~~~~ [ 49s] fs_common_rw.c:33:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] [ 49s] free(part); [ 49s] ^~~~ [ 49s] fs_common_rw.c: In function 'do_raw_data_read': [ 49s] fs_common_rw.c:81:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ 49s] partition = malloc(sizeof(wchar_t)*(strlen(part)+1)); [ 49s] ^ [ 49s] fs_common_rw.c:97:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ 49s] sctbuf = malloc(EMMC_SECTOR_SIZE); [ 49s] ^ [ 49s] fs_common_rw.c:110:44: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 49s] if(!Emmc_Read(PARTITION_USER, cursct, 1, sctbuf)) [ 49s] ^~~~~~ [ 49s] In file included from fs_common_rw.c:11:0: [ 49s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 49s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 49s] ^~~~~~~~~ [ 49s] fs_common_rw.c:118:47: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 49s] if(!Emmc_Read(PARTITION_USER, cursct, nsct, bufwp)) [ 49s] ^~~~~ [ 49s] In file included from fs_common_rw.c:11:0: [ 49s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 49s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 49s] ^~~~~~~~~ [ 49s] fs_common_rw.c:125:44: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 49s] if(!Emmc_Read(PARTITION_USER, cursct, 1, sctbuf)) [ 49s] ^~~~~~ [ 49s] In file included from fs_common_rw.c:11:0: [ 49s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 49s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 49s] ^~~~~~~~~ [ 49s] fs_common_rw.c: In function 'do_raw_data_write': [ 49s] fs_common_rw.c:253:1: warning: label 'end' defined but not used [-Wunused-label] [ 49s] end: [ 49s] ^~~ [ 49s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 49s] -o normal_emc_mode.o normal_emc_mode.c -c [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 49s] from modem_entry.c:1: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 49s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 49s] [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:7:0: note: this is the location of the previous definition [ 49s] #define VLR_INFO_OFF (512) [ 49s] [ 49s] In file included from modem_entry.c:1:0: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 49s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 49s] ^~~~~~ [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 49s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 49s] ^~~~~~ [ 49s] In file included from modem_entry.c:1:0: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:213:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 49s] int read_spldata(); [ 49s] ^~~ [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:216:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 49s] void vlx_entry(); [ 49s] ^~~~ [ 49s] modem_entry.c:38:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 49s] void modem_entry() [ 49s] ^~~~~~~~~~~ [ 49s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 49s] -o normal_mode.o normal_mode.c -c [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 49s] from normal_emc_mode.c:2: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 49s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 49s] [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:7:0: note: this is the location of the previous definition [ 49s] #define VLR_INFO_OFF (512) [ 49s] [ 49s] In file included from normal_emc_mode.c:2:0: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 49s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 49s] ^~~~~~ [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 49s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 49s] ^~~~~~ [ 49s] In file included from normal_emc_mode.c:2:0: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:213:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 49s] int read_spldata(); [ 49s] ^~~ [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:216:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 49s] void vlx_entry(); [ 49s] ^~~~ [ 49s] In file included from normal_emc_mode.c:5:0: [ 49s] ../drivers/mmc/card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 49s] PUBLIC void Emmc_DisSdClk(); [ 49s] ^~~~~~ [ 49s] normal_emc_mode.c:144:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 49s] s_boot_image_COMMON_table, [ 49s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 49s] normal_emc_mode.c: In function 'read_logoimg': [ 49s] normal_emc_mode.c:163:78: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 49s] if (TRUE != Emmc_Read(PARTITION_USER, info.start, size / EMMC_SECTOR_SIZE, bmp_img)) { [ 49s] ^~~~~~~ [ 49s] In file included from normal_emc_mode.c:5:0: [ 49s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 49s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 49s] ^~~~~~~~~ [ 49s] normal_emc_mode.c: At top level: [ 49s] normal_emc_mode.c:171:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 49s] int read_spldata() [ 49s] ^~~~~~~~~~~~ [ 49s] normal_emc_mode.c: In function 'w2c': [ 49s] normal_emc_mode.c:227:15: warning: comparison between pointer and integer [ 49s] while ((NULL != wchar[i]) && (i < 72)) { [ 49s] ^~ [ 49s] normal_emc_mode.c: In function '_boot_partition_read': [ 49s] normal_emc_mode.c:300:79: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 49s] if (TRUE == Emmc_Read(PARTITION_USER, info.start + offsetsector + nsct, 1, sctbuf)) { [ 49s] ^~~~~~ [ 49s] In file included from normal_emc_mode.c:5:0: [ 49s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 49s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 49s] ^~~~~~~~~ [ 49s] normal_emc_mode.c: In function 'blk_data_read': [ 49s] normal_emc_mode.c:338:56: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 49s] if (!Emmc_Read(PARTITION_USER, start_sec + nsct, 1, sctbuf)) { [ 49s] ^~~~~~ [ 49s] In file included from normal_emc_mode.c:5:0: [ 49s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 49s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 49s] ^~~~~~~~~ [ 49s] normal_emc_mode.c: In function '_boot_read_partition_with_backup': [ 49s] normal_emc_mode.c:421:11: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 49s] header_p = header; [ 49s] ^ [ 49s] In file included from normal_emc_mode.c:2:0: [ 49s] normal_emc_mode.c:437:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'uint32 {aka long unsigned int}' [-Wformat=] [ 49s] debugf("_boot_read_partition_with_backup origin checksum 0x%x\n", checksum); [ 49s] ^ [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:34:70: note: in definition of macro 'debugf' [ 49s] #define debugf(fmt, args...) do { printf("%s(): ", __func__); printf(fmt, ##args); } while (0) [ 49s] ^~~ [ 49s] normal_emc_mode.c:438:7: warning: implicit declaration of function '_chkNVEcc' [-Wimplicit-function-declaration] [ 49s] if (_chkNVEcc(oribuf + EMMC_SECTOR_SIZE, info.size, checksum)) { [ 49s] ^~~~~~~~~ [ 49s] normal_emc_mode.c:439:11: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] [ 49s] memcpy(info.mem_addr, oribuf + EMMC_SECTOR_SIZE, info.size); [ 49s] ^~~~ [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 49s] from normal_emc_mode.c:2: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'long unsigned int' [ 49s] void* memcpy(void*, const void*, size_t); [ 49s] ^~~~~~ [ 49s] In file included from normal_emc_mode.c:2:0: [ 49s] normal_emc_mode.c:447:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'uint32 {aka long unsigned int}' [-Wformat=] [ 49s] debugf("_boot_read_partition_with_backup backup checksum 0x%x\n", checksum); [ 49s] ^ [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:34:70: note: in definition of macro 'debugf' [ 49s] #define debugf(fmt, args...) do { printf("%s(): ", __func__); printf(fmt, ##args); } while (0) [ 49s] ^~~ [ 49s] normal_emc_mode.c:455:13: warning: passing argument 1 of 'memset' makes pointer from integer without a cast [-Wint-conversion] [ 49s] memset(info.mem_addr, 0, info.size); [ 49s] ^~~~ [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 49s] from normal_emc_mode.c:2: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:372:7: note: expected 'void *' but argument is of type 'long unsigned int' [ 49s] void* memset(void*, int, size_t); [ 49s] ^~~~~~ [ 49s] normal_emc_mode.c:465:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] [ 49s] memcpy(info.mem_addr, bakbuf + EMMC_SECTOR_SIZE, info.size); [ 49s] ^~~~ [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 49s] from normal_emc_mode.c:2: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'long unsigned int' [ 49s] void* memcpy(void*, const void*, size_t); [ 49s] ^~~~~~ [ 49s] In file included from normal_emc_mode.c:2:0: [ 49s] normal_emc_mode.c: In function '_boot_load_required_image': [ 49s] normal_emc_mode.c:490:9: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 49s] debugf("%s: load %s to addr 0x%08x\n", __FUNCTION__, w2c(img_info.partition), img_info.mem_addr); [ 49s] ^ [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:34:70: note: in definition of macro 'debugf' [ 49s] #define debugf(fmt, args...) do { printf("%s(): ", __func__); printf(fmt, ##args); } while (0) [ 49s] ^~~ [ 49s] normal_emc_mode.c:488:9: warning: unused variable 'secure_boot_offset' [-Wunused-variable] [ 49s] uint32 secure_boot_offset = 0; [ 49s] ^~~~~~~~~~~~~~~~~~ [ 49s] normal_emc_mode.c: In function '_boot_load_kernel_ramdisk_image': [ 49s] normal_emc_mode.c:540:43: warning: passing argument 3 of 'blk_data_read' from incompatible pointer type [-Wincompatible-pointer-types] [ 49s] if (!blk_data_read(offset, sizeof(*hdr), hdr)) { [ 49s] ^~~ [ 49s] normal_emc_mode.c:315:12: note: expected 'u8 * {aka unsigned char *}' but argument is of type 'boot_img_hdr * {aka struct boot_img_hdr *}' [ 49s] PUBLIC int blk_data_read(u32 offset, u32 size, u8 *buf) [ 49s] ^~~~~~~~~~~~~ [ 49s] In file included from normal_emc_mode.c:2:0: [ 49s] normal_emc_mode.c:557:9: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'uint32 {aka long unsigned int}' [-Wformat=] [ 49s] debugf("bzImage size: %x\n", size); [ 49s] ^ [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:34:70: note: in definition of macro 'debugf' [ 49s] #define debugf(fmt, args...) do { printf("%s(): ", __func__); printf(fmt, ##args); } while (0) [ 49s] ^~~ [ 49s] In file included from normal_emc_mode.c:2:0: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:52:25: warning: passing argument 3 of 'blk_data_read' makes pointer from integer without a cast [-Wint-conversion] [ 49s] #define KERNEL_ADR 0x80008000 [ 49s] ^ [ 49s] normal_emc_mode.c:559:35: note: in expansion of macro 'KERNEL_ADR' [ 49s] if (!blk_data_read(offset, size, KERNEL_ADR - roundup(sizeof(*hdr), ALIGN_SIZE))) { [ 49s] ^~~~~~~~~~ [ 49s] normal_emc_mode.c:315:12: note: expected 'u8 * {aka unsigned char *}' but argument is of type 'unsigned int' [ 49s] PUBLIC int blk_data_read(u32 offset, u32 size, u8 *buf) [ 49s] ^~~~~~~~~~~~~ [ 49s] In file included from normal_emc_mode.c:2:0: [ 49s] normal_emc_mode.c:566:9: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'uint32 {aka long unsigned int}' [-Wformat=] [ 49s] debugf("dt_img_adr: %u\n", dt_img_adr); [ 49s] ^ [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:34:70: note: in definition of macro 'debugf' [ 49s] #define debugf(fmt, args...) do { printf("%s(): ", __func__); printf(fmt, ##args); } while (0) [ 49s] ^~~ [ 49s] normal_emc_mode.c:567:9: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'uint32 {aka long unsigned int}' [-Wformat=] [ 49s] debugf("dt_img_adr: %x\n", dt_img_adr); [ 49s] ^ [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:34:70: note: in definition of macro 'debugf' [ 49s] #define debugf(fmt, args...) do { printf("%s(): ", __func__); printf(fmt, ##args); } while (0) [ 49s] ^~~ [ 49s] normal_emc_mode.c:582:3: warning: implicit declaration of function 'load_ramdisk' [-Wimplicit-function-declaration] [ 49s] load_ramdisk(ramdisk_part, RAMDISK_ADR, RAMDISK_SIZE_MB * 1024 * 1024); [ 49s] ^~~~~~~~~~~~ [ 49s] normal_emc_mode.c:521:9: warning: unused variable 'secure_boot_offset' [-Wunused-variable] [ 49s] uint32 secure_boot_offset = 0; [ 49s] ^~~~~~~~~~~~~~~~~~ [ 49s] normal_emc_mode.c: In function 'vlx_nand_boot': [ 49s] normal_emc_mode.c:685:2: warning: implicit declaration of function 'sipc_addr_reset' [-Wimplicit-function-declaration] [ 49s] sipc_addr_reset(); [ 49s] ^~~~~~~~~~~~~~~ [ 49s] normal_emc_mode.c:628:11: warning: unused variable 'partition' [-Wunused-variable] [ 49s] wchar_t *partition = NULL; [ 49s] ^~~~~~~~~ [ 49s] At top level: [ 49s] normal_emc_mode.c:236:12: warning: '_boot_secure_check' defined but not used [-Wunused-function] [ 49s] LOCAL void _boot_secure_check(void) [ 49s] ^~~~~~~~~~~~~~~~~~ [ 49s] normal_emc_mode.c:90:36: warning: 's_boot_image_WIFI_table' defined but not used [-Wunused-const-variable=] [ 49s] static boot_image_required_t const s_boot_image_WIFI_table[] = { [ 49s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 49s] normal_emc_mode.c:80:36: warning: 's_boot_image_W_table' defined but not used [-Wunused-const-variable=] [ 49s] static boot_image_required_t const s_boot_image_W_table[] = { [ 49s] ^~~~~~~~~~~~~~~~~~~~ [ 49s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 49s] -o reboot_mode.o reboot_mode.c -c [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 49s] from normal_mode.c:1: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 49s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 49s] [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:7:0: note: this is the location of the previous definition [ 49s] #define VLR_INFO_OFF (512) [ 49s] [ 49s] In file included from normal_mode.c:1:0: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 49s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 49s] ^~~~~~ [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 49s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 49s] ^~~~~~ [ 49s] In file included from normal_mode.c:1:0: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:213:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 49s] int read_spldata(); [ 49s] ^~~ [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:216:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 49s] void vlx_entry(); [ 49s] ^~~~ [ 49s] normal_mode.c:25:1: warning: 'align' attribute directive ignored [-Wattributes] [ 49s] unsigned spl_data_buf[0x2000] __attribute__ ((align(4))) = { [ 49s] ^~~~~~~~ [ 49s] normal_mode.c:28:1: warning: 'align' attribute directive ignored [-Wattributes] [ 49s] unsigned harsh_data_buf[8] __attribute__ ((align(4))) = { [ 49s] ^~~~~~~~ [ 49s] In file included from normal_mode.c:1:0: [ 49s] normal_mode.c: In function '_chkNVEcc': [ 49s] normal_mode.c:111:9: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 49s] debugf("_chkNVEcc calcout 0x%lx, org 0x%llx\n", crc, checksum); [ 49s] ^ [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:34:70: note: in definition of macro 'debugf' [ 49s] #define debugf(fmt, args...) do { printf("%s(): ", __func__); printf(fmt, ##args); } while (0) [ 49s] ^~~ [ 49s] normal_mode.c:111:9: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] [ 49s] debugf("_chkNVEcc calcout 0x%lx, org 0x%llx\n", crc, checksum); [ 49s] ^ [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:34:70: note: in definition of macro 'debugf' [ 49s] #define debugf(fmt, args...) do { printf("%s(): ", __func__); printf(fmt, ##args); } while (0) [ 49s] ^~~ [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 49s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:4, [ 49s] from normal_mode.c:1: [ 49s] normal_mode.c: In function 'fdt_fixup_for_tizen': [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:380:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] [ 49s] #define CMDLINE_DEFAULT_TIZEN "" [ 49s] ^ [ 49s] normal_mode.c:174:22: note: in expansion of macro 'CMDLINE_DEFAULT_TIZEN' [ 49s] ptr += sprintf(ptr, CMDLINE_DEFAULT_TIZEN); [ 49s] ^~~~~~~~~~~~~~~~~~~~~ [ 49s] normal_mode.c:188:40: warning: implicit declaration of function 'load_lcd_id_to_kernel' [-Wimplicit-function-declaration] [ 49s] ptr += sprintf(ptr, " lcd_id=ID%06x", load_lcd_id_to_kernel()); [ 49s] ^~~~~~~~~~~~~~~~~~~~~ [ 49s] normal_mode.c:191:40: warning: implicit declaration of function 'load_mtp_offset_to_kernel' [-Wimplicit-function-declaration] [ 49s] ptr += sprintf(ptr, " mtp_offset=%s", load_mtp_offset_to_kernel()); [ 49s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 49s] normal_mode.c:191:36: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] [ 49s] ptr += sprintf(ptr, " mtp_offset=%s", load_mtp_offset_to_kernel()); [ 49s] ^ [ 49s] normal_mode.c:192:44: warning: implicit declaration of function 'load_elvss_offset_to_kernel' [-Wimplicit-function-declaration] [ 49s] ptr += sprintf(ptr, " elvss_offset=0x%x", load_elvss_offset_to_kernel()); [ 49s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 49s] normal_mode.c:193:40: warning: implicit declaration of function 'load_hbm_offset_to_kernel' [-Wimplicit-function-declaration] [ 49s] ptr += sprintf(ptr, " hbm_offset=%s", load_hbm_offset_to_kernel()); [ 49s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 49s] normal_mode.c:193:36: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] [ 49s] ptr += sprintf(ptr, " hbm_offset=%s", load_hbm_offset_to_kernel()); [ 49s] ^ [ 49s] normal_mode.c:203:3: warning: implicit declaration of function 'sprdchg_start_charge' [-Wimplicit-function-declaration] [ 49s] sprdchg_start_charge(); [ 49s] ^~~~~~~~~~~~~~~~~~~~ [ 49s] normal_mode.c:215:2: warning: implicit declaration of function 'thor_save_env' [-Wimplicit-function-declaration] [ 49s] thor_save_env("normal"); [ 49s] ^~~~~~~~~~~~~ [ 49s] normal_mode.c:258:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] [ 49s] if (s = getenv("sec_log_addr")) { [ 49s] ^~ [ 49s] normal_mode.c:274:52: warning: implicit declaration of function 'get_dram_cs_number' [-Wimplicit-function-declaration] [ 49s] ptr += sprintf(ptr, " mem_cs=%d, mem_cs0_sz=%08x",get_dram_cs_number(), get_dram_cs0_size()); [ 49s] ^~~~~~~~~~~~~~~~~~ [ 49s] normal_mode.c:274:74: warning: implicit declaration of function 'get_dram_cs0_size' [-Wimplicit-function-declaration] [ 49s] ptr += sprintf(ptr, " mem_cs=%d, mem_cs0_sz=%08x",get_dram_cs_number(), get_dram_cs0_size()); [ 49s] ^~~~~~~~~~~~~~~~~ [ 49s] normal_mode.c:283:2: warning: implicit declaration of function 'tizen_get_emmc_serial_number' [-Wimplicit-function-declaration] [ 49s] tizen_get_emmc_serial_number((unsigned int *)uid); [ 49s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 49s] normal_mode.c:288:6: warning: implicit declaration of function 'is_calibration_by_uart' [-Wimplicit-function-declaration] [ 49s] if (is_calibration_by_uart()) [ 49s] ^~~~~~~~~~~~~~~~~~~~~~ [ 49s] normal_mode.c:294:41: warning: implicit declaration of function 'get_fgu_vol' [-Wimplicit-function-declaration] [ 49s] ptr += sprintf(ptr, " fgu_init=%d,%d", get_fgu_vol(), get_fgu_cur()); [ 49s] ^~~~~~~~~~~ [ 49s] normal_mode.c:294:56: warning: implicit declaration of function 'get_fgu_cur' [-Wimplicit-function-declaration] [ 49s] ptr += sprintf(ptr, " fgu_init=%d,%d", get_fgu_vol(), get_fgu_cur()); [ 49s] ^~~~~~~~~~~ [ 49s] normal_mode.c:171:14: warning: unused variable 'mmc' [-Wunused-variable] [ 49s] struct mmc *mmc; [ 49s] ^~~ [ 49s] normal_mode.c: At top level: [ 49s] normal_mode.c:308:12: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 49s] static int start_linux() [ 49s] ^~~~~~~~~~~ [ 49s] normal_mode.c: In function 'start_linux': [ 49s] normal_mode.c:316:22: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] [ 49s] boot_img_hdr *hdr = raw_header; [ 49s] ^~~~~~~~~~ [ 49s] normal_mode.c:341:2: warning: implicit declaration of function 'load_nvitem' [-Wimplicit-function-declaration] [ 49s] load_nvitem(); [ 49s] ^~~~~~~~~~~ [ 49s] normal_mode.c:342:2: warning: implicit declaration of function 'load_modem_data' [-Wimplicit-function-declaration] [ 49s] load_modem_data(); [ 49s] ^~~~~~~~~~~~~~~ [ 49s] normal_mode.c:343:2: warning: implicit declaration of function 'load_dsp_data' [-Wimplicit-function-declaration] [ 49s] load_dsp_data(); [ 49s] ^~~~~~~~~~~~~ [ 49s] normal_mode.c:345:2: warning: implicit declaration of function 'sipc_addr_reset' [-Wimplicit-function-declaration] [ 49s] sipc_addr_reset(); [ 49s] ^~~~~~~~~~~~~~~ [ 49s] normal_mode.c:346:2: warning: implicit declaration of function 'modem_entry' [-Wimplicit-function-declaration] [ 49s] modem_entry(); [ 49s] ^~~~~~~~~~~ [ 49s] normal_mode.c:350:2: warning: implicit declaration of function 'Emmc_DisSdClk' [-Wimplicit-function-declaration] [ 49s] Emmc_DisSdClk(); [ 49s] ^~~~~~~~~~~~~ [ 49s] normal_mode.c:363:2: warning: implicit declaration of function 'fdt_fixup_adc_calibration_data' [-Wimplicit-function-declaration] [ 49s] fdt_fixup_adc_calibration_data(fdt_blob); [ 49s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 49s] normal_mode.c:374:2: warning: implicit declaration of function 'fdt_fixup_boot_ram_log' [-Wimplicit-function-declaration] [ 49s] fdt_fixup_boot_ram_log(fdt_blob); [ 49s] ^~~~~~~~~~~~~~~~~~~~~~ [ 49s] normal_mode.c:375:2: warning: implicit declaration of function 'fdt_fixup_chosen_bootargs_board_private' [-Wimplicit-function-declaration] [ 49s] fdt_fixup_chosen_bootargs_board_private(fdt_blob, boot_cmd); [ 49s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 49s] normal_mode.c:316:16: warning: unused variable 'hdr' [-Wunused-variable] [ 49s] boot_img_hdr *hdr = raw_header; [ 49s] ^~~ [ 49s] normal_mode.c:312:6: warning: unused variable 'parm_at' [-Wunused-variable] [ 49s] u32 parm_at = (u32) - 1; [ 49s] ^~~~~~~ [ 49s] normal_mode.c:311:6: warning: unused variable 'exec_at' [-Wunused-variable] [ 49s] u32 exec_at = (u32) - 1; [ 49s] ^~~~~~~ [ 49s] normal_mode.c: In function 'lcd_display_logo': [ 49s] normal_mode.c:405:0: warning: "mdelay" redefined [ 49s] #define mdelay(t) ({unsigned long msec=(t); while (msec--) { udelay(1000);}}) //LiWei add [ 49s] [ 49s] In file included from normal_mode.c:2:0: [ 49s] calibration_detect.h:51:0: note: this is the location of the previous definition [ 49s] #define mdelay(_ms) udelay(_ms*1000) [ 49s] [ 49s] normal_mode.c:424:10: warning: passing argument 1 of 'memset' makes pointer from integer without a cast [-Wint-conversion] [ 49s] memset((unsigned int)lcd_base, 0, size); [ 49s] ^ [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 49s] from normal_mode.c:1: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:372:7: note: expected 'void *' but argument is of type 'unsigned int' [ 49s] void* memset(void*, int, size_t); [ 49s] ^~~~~~ [ 49s] normal_mode.c: At top level: [ 49s] normal_mode.c:433:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 49s] int is_factorymode() [ 49s] ^~~~~~~~~~~~~~ [ 49s] normal_mode.c: In function 'is_factorymode': [ 49s] normal_mode.c:438:6: warning: implicit declaration of function 'do_fs_file_read' [-Wimplicit-function-declaration] [ 49s] if (do_fs_file_read(FACTORY_PART, "/factorymode.file", factorymode_falg, 8)) [ 49s] ^~~~~~~~~~~~~~~ [ 49s] normal_mode.c: In function 'get_product_sn': [ 49s] normal_mode.c:456:6: warning: implicit declaration of function 'do_raw_data_read' [-Wimplicit-function-declaration] [ 49s] if (do_raw_data_read(PRODUCTINFO_FILE_PATITION, sizeof(phase_check), 0, (char *)&phase_check)) { [ 49s] ^~~~~~~~~~~~~~~~ [ 49s] In file included from normal_mode.c:1:0: [ 49s] normal_mode.c: In function 'cmdline_set_cp_cmdline': [ 49s] normal_mode.c:656:9: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'char *' [-Wformat=] [ 49s] debugf("nv_info:[%08x]%s \n", nv_info, nv_info); [ 49s] ^ [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:34:70: note: in definition of macro 'debugf' [ 49s] #define debugf(fmt, args...) do { printf("%s(): ", __func__); printf(fmt, ##args); } while (0) [ 49s] ^~~ [ 49s] normal_mode.c: In function 'creat_cmdline': [ 49s] normal_mode.c:676:6: warning: unused variable 'ret' [-Wunused-variable] [ 49s] int ret = 0; [ 49s] ^~~ [ 49s] normal_mode.c: At top level: [ 49s] normal_mode.c:758:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 49s] void vlx_entry() [ 49s] ^~~~~~~~~ [ 49s] normal_mode.c: In function 'vlx_entry': [ 49s] normal_mode.c:763:3: warning: implicit declaration of function 'power_down_devices' [-Wimplicit-function-declaration] [ 49s] power_down_devices(); [ 49s] ^~~~~~~~~~~~~~~~~~ [ 49s] normal_mode.c:771:2: warning: implicit declaration of function 'MMU_DisableIDCM' [-Wimplicit-function-declaration] [ 49s] MMU_DisableIDCM(); [ 49s] ^~~~~~~~~~~~~~~ [ 49s] normal_mode.c: At top level: [ 49s] normal_mode.c:886:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 49s] void sipc_addr_reset() [ 49s] ^~~~~~~~~~~~~~~ [ 49s] normal_mode.c:886:6: warning: conflicting types for 'sipc_addr_reset' [ 49s] normal_mode.c:345:2: note: previous implicit declaration of 'sipc_addr_reset' was here [ 49s] sipc_addr_reset(); [ 49s] ^~~~~~~~~~~~~~~ [ 49s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 49s] -o recv_emc_mode.o recv_emc_mode.c -c [ 49s] In file included from reboot_mode.c:9:0: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/boot_drvapi.h:79:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 49s] PUBLIC void BOOT_ResetHWFlag (); [ 49s] ^~~~~~ [ 49s] reboot_mode.c: In function 'ResetMCU': [ 49s] reboot_mode.c:15:5: warning: implicit declaration of function 'CHIP_PHY_ResetHWFlag' [-Wimplicit-function-declaration] [ 49s] CHIP_PHY_ResetHWFlag(0x1FFF); [ 49s] ^~~~~~~~~~~~~~~~~~~~ [ 49s] reboot_mode.c:16:5: warning: implicit declaration of function 'CHIP_PHY_SetWDGHWFlag' [-Wimplicit-function-declaration] [ 49s] CHIP_PHY_SetWDGHWFlag(TYPE_RESET, AUTO_TEST_MODE); [ 49s] ^~~~~~~~~~~~~~~~~~~~~ [ 49s] reboot_mode.c:18:5: warning: implicit declaration of function 'CHIP_ResetMCU' [-Wimplicit-function-declaration] [ 49s] CHIP_ResetMCU(); [ 49s] ^~~~~~~~~~~~~ [ 49s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 49s] -o recv_mode.o recv_mode.c -c [ 49s] In file included from recv_emc_mode.c:3:0: [ 49s] ../drivers/mmc/card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 49s] PUBLIC void Emmc_DisSdClk(); [ 49s] ^~~~~~ [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 49s] from recv_emc_mode.c:5: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 49s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 49s] [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:7:0: note: this is the location of the previous definition [ 49s] #define VLR_INFO_OFF (512) [ 49s] [ 49s] In file included from recv_emc_mode.c:5:0: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 49s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 49s] ^~~~~~ [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 49s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 49s] ^~~~~~ [ 49s] In file included from recv_emc_mode.c:5:0: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:213:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 49s] int read_spldata(); [ 49s] ^~~ [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:216:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 49s] void vlx_entry(); [ 49s] ^~~~ [ 49s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 49s] -o thor_mode.o thor_mode.c -c [ 49s] recv_mode.c: In function 'get_mode_from_file': [ 49s] recv_mode.c:123:2: warning: implicit declaration of function 'reboot_devices' [-Wimplicit-function-declaration] [ 49s] reboot_devices(0); [ 49s] ^~~~~~~~~~~~~~ [ 49s] recv_mode.c: In function 'do_recovery': [ 49s] recv_mode.c:145:1: warning: control reaches end of non-void function [-Wreturn-type] [ 49s] } [ 49s] ^ [ 49s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 49s] -o tizen_misc.o tizen_misc.c -c [ 50s] In file included from thor_mode.c:9:0: [ 50s] ../drivers/mmc/card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 50s] PUBLIC void Emmc_DisSdClk(); [ 50s] ^~~~~~ [ 50s] thor_mode.c: In function 'send_rsp': [ 50s] thor_mode.c:48:2: warning: implicit declaration of function 'USB_WriteEx' [-Wimplicit-function-declaration] [ 50s] USB_WriteEx(thor_tx_data_buf, sizeof(struct rsp_box)); [ 50s] ^~~~~~~~~~~ [ 50s] thor_mode.c: In function 'download_file_start': [ 50s] thor_mode.c:84:9: warning: implicit declaration of function 'USB_ReadEx' [-Wimplicit-function-declaration] [ 50s] ret = USB_ReadEx((char *) dn_addr, THOR_PACKET_SIZE); [ 50s] ^~~~~~~~~~ [ 50s] thor_mode.c:99:3: warning: implicit declaration of function 'draw_progress' [-Wimplicit-function-declaration] [ 50s] draw_progress(per); [ 50s] ^~~~~~~~~~~~~ [ 50s] thor_mode.c:121:74: warning: passing argument 4 of 'Emmc_Write' makes pointer from integer without a cast [-Wint-conversion] [ 50s] ret = Emmc_Write(PARTITION_USER, part_info.offset + write_ofs, count, download_addr); [ 50s] ^~~~~~~~~~~~~ [ 50s] In file included from thor_mode.c:9:0: [ 50s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'u32 {aka unsigned int}' [ 50s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 50s] ^~~~~~~~~~ [ 50s] thor_mode.c:75:6: warning: unused variable 'count' [-Wunused-variable] [ 50s] int count = 0; [ 50s] ^~~~~ [ 50s] thor_mode.c: In function 'process_rqt_download': [ 50s] thor_mode.c:174:9: warning: implicit declaration of function 'thor_get_part_info' [-Wimplicit-function-declaration] [ 50s] ret = thor_get_part_info(&part_info, f_name); [ 50s] ^~~~~~~~~~~~~~~~~~ [ 50s] thor_mode.c:139:29: warning: unused variable 'ret_head' [-Wunused-variable] [ 50s] static long long int left, ret_head; [ 50s] ^~~~~~~~ [ 50s] thor_mode.c:139:23: warning: unused variable 'left' [-Wunused-variable] [ 50s] static long long int left, ret_head; [ 50s] ^~~~ [ 50s] thor_mode.c: In function 'process_rqt_cmd': [ 50s] thor_mode.c:255:3: warning: implicit declaration of function 'udc_power_off' [-Wimplicit-function-declaration] [ 50s] udc_power_off(); [ 50s] ^~~~~~~~~~~~~ [ 50s] thor_mode.c:256:3: warning: implicit declaration of function 'thor_save_env' [-Wimplicit-function-declaration] [ 50s] thor_save_env("thor"); [ 50s] ^~~~~~~~~~~~~ [ 50s] thor_mode.c: In function 'thor_handle': [ 50s] thor_mode.c:306:7: warning: implicit declaration of function 'thor_usb_is_connected' [-Wimplicit-function-declaration] [ 50s] if (thor_usb_is_connected()) { [ 50s] ^~~~~~~~~~~~~~~~~~~~~ [ 50s] thor_mode.c:308:17: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] [ 50s] if (!strncmp(thor_rx_data_buf, "THOR", strlen("THOR"))) [ 50s] ^~~~~~~~~~~~~~~~ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 50s] from thor_mode.c:3: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/string.h:39:12: note: expected 'const char *' but argument is of type 'unsigned char *' [ 50s] extern int strncmp(const char *,const char *,__kernel_size_t); [ 50s] ^~~~~~~ [ 50s] thor_mode.c: In function 'thor_mode': [ 50s] thor_mode.c:339:2: warning: implicit declaration of function 'MMU_DisableIDCM' [-Wimplicit-function-declaration] [ 50s] MMU_DisableIDCM(); [ 50s] ^~~~~~~~~~~~~~~ [ 50s] thor_mode.c:340:2: warning: implicit declaration of function 'thor_USB_Init' [-Wimplicit-function-declaration] [ 50s] thor_USB_Init(); [ 50s] ^~~~~~~~~~~~~ [ 50s] thor_mode.c: In function 'do_thor_down': [ 50s] thor_mode.c:350:1: warning: control reaches end of non-void function [-Wreturn-type] [ 50s] } [ 50s] ^ [ 50s] At top level: [ 50s] thor_mode.c:139:23: warning: 'left' defined but not used [-Wunused-variable] [ 50s] static long long int left, ret_head; [ 50s] ^~~~ [ 50s] thor_mode.c:139:29: warning: 'ret_head' defined but not used [-Wunused-variable] [ 50s] static long long int left, ret_head; [ 50s] ^~~~~~~~ [ 50s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 50s] -o usb/cdc_descriptor.o usb/cdc_descriptor.c -c [ 50s] In file included from tizen_misc.c:9:0: [ 50s] ../drivers/mmc/card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 50s] PUBLIC void Emmc_DisSdClk(); [ 50s] ^~~~~~ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 50s] from tizen_misc.c:12: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 50s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 50s] [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:7:0: note: this is the location of the previous definition [ 50s] #define VLR_INFO_OFF (512) [ 50s] [ 50s] In file included from tizen_misc.c:12:0: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 50s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 50s] ^~~~~~ [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 50s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 50s] ^~~~~~ [ 50s] In file included from tizen_misc.c:12:0: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:213:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 50s] int read_spldata(); [ 50s] ^~~ [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:216:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 50s] void vlx_entry(); [ 50s] ^~~~ [ 50s] tizen_misc.c: In function 'convert_to_string': [ 50s] tizen_misc.c:18:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] [ 50s] while (*buf++ = (char)*crap++); [ 50s] ^~~~~ [ 50s] tizen_misc.c: In function 'thor_save_env': [ 50s] tizen_misc.c:62:55: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 50s] ret = Emmc_Write(PARTITION_USER, part_info.start, 1, str); [ 50s] ^~~ [ 50s] In file included from tizen_misc.c:9:0: [ 50s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 50s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 50s] ^~~~~~~~~~ [ 50s] tizen_misc.c: In function 'thor_get_env': [ 50s] tizen_misc.c:82:54: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 50s] ret = Emmc_Read(PARTITION_USER, part_info.start, 1, str); [ 50s] ^~~ [ 50s] In file included from tizen_misc.c:9:0: [ 50s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 50s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 50s] ^~~~~~~~~ [ 50s] tizen_misc.c:86:9: warning: function returns address of local variable [-Wreturn-local-addr] [ 50s] return str; [ 50s] ^~~ [ 50s] tizen_misc.c: In function 'check_pm_status': [ 50s] tizen_misc.c:103:6: warning: implicit declaration of function 'charger_connected' [-Wimplicit-function-declaration] [ 50s] if (charger_connected()) { [ 50s] ^~~~~~~~~~~~~~~~~ [ 50s] tizen_misc.c: In function 'thor_get_part_info': [ 50s] tizen_misc.c:178:33: warning: passing argument 1 of 'strtok' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 50s] const char *file_name = strtok(name, "."); [ 50s] ^~~~ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 50s] from tizen_misc.c:1: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/string.h:13:15: note: expected 'char *' but argument is of type 'const char *' [ 50s] extern char * strtok(char *,const char *); [ 50s] ^~~~~~ [ 50s] tizen_misc.c: In function 'tizen_get_emmc_serial_number': [ 50s] tizen_misc.c:189:26: warning: implicit declaration of function 'get_global_cid' [-Wimplicit-function-declaration] [ 50s] unsigned char *regCID = get_global_cid(); [ 50s] ^~~~~~~~~~~~~~ [ 50s] tizen_misc.c:189:26: warning: initialization makes pointer from integer without a cast [-Wint-conversion] [ 50s] tizen_misc.c: In function 'tizen_board_key_scan': [ 50s] tizen_misc.c:212:5: warning: implicit declaration of function 'get_volumn_down_status2' [-Wimplicit-function-declaration] [ 50s] if(get_volumn_down_status2()) [ 50s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 50s] tizen_misc.c:206:15: warning: unused variable 'key_code' [-Wunused-variable] [ 50s] unsigned int key_code = 0; [ 50s] ^~~~~~~~ [ 50s] tizen_misc.c: At top level: [ 50s] tizen_misc.c:257:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 50s] void (*update)(); [ 50s] ^~~~ [ 50s] tizen_misc.c: In function 'runtimenv_read_with_backup': [ 50s] tizen_misc.c:337:81: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 50s] ret = Emmc_Read(PARTITION_USER, part_info.start, RUNTIMENV_SIZE / SECTOR_SIZE, oribuf); [ 50s] ^~~~~~ [ 50s] In file included from tizen_misc.c:9:0: [ 50s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 50s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 50s] ^~~~~~~~~ [ 50s] tizen_misc.c:346:6: warning: implicit declaration of function '_chkNVEcc' [-Wimplicit-function-declaration] [ 50s] if (_chkNVEcc(oribuf + SECTOR_SIZE, RUNTIMENV_SIZE, checksum)) { [ 50s] ^~~~~~~~~ [ 50s] tizen_misc.c:347:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] [ 50s] memcpy(runtimenv_adr,oribuf+SECTOR_SIZE,RUNTIMENV_SIZE); [ 50s] ^~~~~~~~~~~~~ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 50s] from tizen_misc.c:12: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 50s] void* memcpy(void*, const void*, size_t); [ 50s] ^~~~~~ [ 50s] tizen_misc.c:356:81: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 50s] ret = Emmc_Read(PARTITION_USER, part_info.start, RUNTIMENV_SIZE / SECTOR_SIZE, bakbuf); [ 50s] ^~~~~~ [ 50s] In file included from tizen_misc.c:9:0: [ 50s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 50s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 50s] ^~~~~~~~~ [ 50s] tizen_misc.c:367:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] [ 50s] memcpy(runtimenv_adr,bakbuf+SECTOR_SIZE,RUNTIMENV_SIZE); [ 50s] ^~~~~~~~~~~~~ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 50s] from tizen_misc.c:12: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 50s] void* memcpy(void*, const void*, size_t); [ 50s] ^~~~~~ [ 50s] tizen_misc.c:380:93: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 50s] Emmc_Write(PARTITION_USER, part_info.start, (RUNTIMENV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, oribuf); [ 50s] ^~~~~~ [ 50s] In file included from tizen_misc.c:9:0: [ 50s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 50s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 50s] ^~~~~~~~~~ [ 50s] tizen_misc.c:384:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] [ 50s] memcpy(runtimenv_adr, bakbuf + SECTOR_SIZE, RUNTIMENV_SIZE); [ 50s] ^~~~~~~~~~~~~ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 50s] from tizen_misc.c:12: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 50s] void* memcpy(void*, const void*, size_t); [ 50s] ^~~~~~ [ 50s] tizen_misc.c:390:93: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 50s] Emmc_Write(PARTITION_USER, part_info.start, (RUNTIMENV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, bakbuf); [ 50s] ^~~~~~ [ 50s] In file included from tizen_misc.c:9:0: [ 50s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 50s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 50s] ^~~~~~~~~~ [ 50s] tizen_misc.c: In function 'fixnv_read_with_backup': [ 50s] tizen_misc.c:435:93: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 50s] ret = Emmc_Read(PARTITION_USER, part_info.start, (FIXNV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, tmpbuf); [ 50s] ^~~~~~ [ 50s] In file included from tizen_misc.c:9:0: [ 50s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 50s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 50s] ^~~~~~~~~ [ 50s] tizen_misc.c:444:43: warning: implicit declaration of function 'calc_checksum' [-Wimplicit-function-declaration] [ 50s] tmp_header_p->checksum = (unsigned long)calc_checksum(tmpbuf, FIXNV_SIZE); [ 50s] ^~~~~~~~~~~~~ [ 50s] tizen_misc.c:452:50: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 50s] Emmc_Write(PARTITION_USER, part_info.start, 1, tmp_header); [ 50s] ^~~~~~~~~~ [ 50s] In file included from tizen_misc.c:9:0: [ 50s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 50s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 50s] ^~~~~~~~~~ [ 50s] tizen_misc.c:453:77: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 50s] Emmc_Write(PARTITION_USER, part_info.start + 1, FIXNV_SIZE / SECTOR_SIZE, tmpbuf); [ 50s] ^~~~~~ [ 50s] In file included from tizen_misc.c:9:0: [ 50s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 50s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 50s] ^~~~~~~~~~ [ 50s] tizen_misc.c:478:31: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'ulong {aka long unsigned int}' [-Wformat=] [ 50s] printf("loading fixnv1 from %x(%x) to %x\n", part_info.start, FIXNV_SIZE, fixnv_adr); [ 50s] ^ [ 50s] tizen_misc.c:481:77: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 50s] ret = Emmc_Read(PARTITION_USER, part_info.start, FIXNV_SIZE / SECTOR_SIZE, oribuf); [ 50s] ^~~~~~ [ 50s] In file included from tizen_misc.c:9:0: [ 50s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 50s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 50s] ^~~~~~~~~ [ 50s] tizen_misc.c:491:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] [ 50s] memcpy(fixnv_adr, oribuf + SECTOR_SIZE, FIXNV_SIZE); [ 50s] ^~~~~~~~~ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 50s] from tizen_misc.c:12: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 50s] void* memcpy(void*, const void*, size_t); [ 50s] ^~~~~~ [ 50s] tizen_misc.c:504:31: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'ulong {aka long unsigned int}' [-Wformat=] [ 50s] printf("loading fixnv2 from %x(%x) to %x\n", part_info.start, FIXNV_SIZE, fixnv_adr); [ 50s] ^ [ 50s] tizen_misc.c:506:77: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 50s] ret = Emmc_Read(PARTITION_USER, part_info.start, FIXNV_SIZE / SECTOR_SIZE, bakbuf); [ 50s] ^~~~~~ [ 50s] In file included from tizen_misc.c:9:0: [ 50s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 50s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 50s] ^~~~~~~~~ [ 50s] tizen_misc.c:572:51: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 50s] Emmc_Write(PARTITION_USER, part_info.start, 1, header); [ 50s] ^~~~~~ [ 50s] In file included from tizen_misc.c:9:0: [ 50s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 50s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 50s] ^~~~~~~~~~ [ 50s] tizen_misc.c:573:78: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 50s] Emmc_Write(PARTITION_USER, part_info.start + 1, FIXNV_SIZE / SECTOR_SIZE, oribuf_update); [ 50s] ^~~~~~~~~~~~~ [ 50s] In file included from tizen_misc.c:9:0: [ 50s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 50s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 50s] ^~~~~~~~~~ [ 50s] tizen_misc.c:581:51: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 50s] Emmc_Write(PARTITION_USER, part_info.start, 1, header); [ 50s] ^~~~~~ [ 50s] In file included from tizen_misc.c:9:0: [ 50s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 50s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 50s] ^~~~~~~~~~ [ 50s] tizen_misc.c:582:78: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 50s] Emmc_Write(PARTITION_USER, part_info.start + 1, FIXNV_SIZE / SECTOR_SIZE, oribuf_update); [ 50s] ^~~~~~~~~~~~~ [ 50s] In file included from tizen_misc.c:9:0: [ 50s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 50s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 50s] ^~~~~~~~~~ [ 50s] tizen_misc.c:584:11: warning: passing argument 1 of 'memset' makes pointer from integer without a cast [-Wint-conversion] [ 50s] memset(fixnv_adr, 0xff, FIXNV_SIZE); [ 50s] ^~~~~~~~~ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 50s] from tizen_misc.c:12: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:372:7: note: expected 'void *' but argument is of type 'unsigned int' [ 50s] void* memset(void*, int, size_t); [ 50s] ^~~~~~ [ 50s] tizen_misc.c:585:11: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] [ 50s] memcpy(fixnv_adr, oribuf_update, FIXNV_SIZE); [ 50s] ^~~~~~~~~ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 50s] from tizen_misc.c:12: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 50s] void* memcpy(void*, const void*, size_t); [ 50s] ^~~~~~ [ 50s] tizen_misc.c:596:51: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 50s] Emmc_Write(PARTITION_USER, part_info.start, 1, header); [ 50s] ^~~~~~ [ 50s] In file included from tizen_misc.c:9:0: [ 50s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 50s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 50s] ^~~~~~~~~~ [ 50s] tizen_misc.c:597:11: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] [ 50s] memcpy(fixnv_adr, oribuf_update, FIXNV_SIZE); [ 50s] ^~~~~~~~~ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 50s] from tizen_misc.c:12: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 50s] void* memcpy(void*, const void*, size_t); [ 50s] ^~~~~~ [ 50s] tizen_misc.c:606:12: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] [ 50s] memcpy(fixnv_adr, bakbuf + SECTOR_SIZE,FIXNV_SIZE); [ 50s] ^~~~~~~~~ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 50s] from tizen_misc.c:12: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 50s] void* memcpy(void*, const void*, size_t); [ 50s] ^~~~~~ [ 50s] tizen_misc.c:619:90: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 50s] Emmc_Write(PARTITION_USER, part_info.start, (FIXNV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, oribuf); [ 50s] ^~~~~~ [ 50s] In file included from tizen_misc.c:9:0: [ 50s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 50s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 50s] ^~~~~~~~~~ [ 50s] tizen_misc.c:624:11: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] [ 50s] memcpy(fixnv_adr, bakbuf+SECTOR_SIZE, FIXNV_SIZE); [ 50s] ^~~~~~~~~ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 50s] from tizen_misc.c:12: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 50s] void* memcpy(void*, const void*, size_t); [ 50s] ^~~~~~ [ 50s] tizen_misc.c:630:90: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 50s] Emmc_Write(PARTITION_USER, part_info.start, (FIXNV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, bakbuf); [ 50s] ^~~~~~ [ 50s] In file included from tizen_misc.c:9:0: [ 50s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 50s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 50s] ^~~~~~~~~~ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 50s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 50s] from tizen_misc.c:1: [ 50s] tizen_misc.c: In function 'load_modem_data': [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:83:24: warning: initialization makes pointer from integer without a cast [-Wint-conversion] [ 50s] #define WMODEM_ADR 0x88300000 [ 50s] ^ [ 50s] tizen_misc.c:666:23: note: in expansion of macro 'WMODEM_ADR' [ 50s] unsigned char *buf = WMODEM_ADR; [ 50s] ^~~~~~~~~~ [ 50s] tizen_misc.c:671:34: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'unsigned char *' [-Wformat=] [ 50s] printf("load modem to addr 0x%08x\n", buf); [ 50s] ^ [ 50s] tizen_misc.c:693:62: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 50s] ret = Emmc_Read(PARTITION_USER, part_info.start + nsct, 1, sctbuf); [ 50s] ^~~~~~ [ 50s] In file included from tizen_misc.c:9:0: [ 50s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 50s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 50s] ^~~~~~~~~ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 50s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 50s] from tizen_misc.c:1: [ 50s] tizen_misc.c: In function 'load_dsp_data': [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:80:24: warning: initialization makes pointer from integer without a cast [-Wint-conversion] [ 50s] #define WDSP_ADR 0x88020000 [ 50s] ^ [ 50s] tizen_misc.c:712:23: note: in expansion of macro 'WDSP_ADR' [ 50s] unsigned char *buf = WDSP_ADR; [ 50s] ^~~~~~~~ [ 50s] tizen_misc.c:717:32: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'unsigned char *' [-Wformat=] [ 50s] printf("load dsp to addr 0x%08x\n", buf); [ 50s] ^ [ 50s] tizen_misc.c:739:62: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 50s] ret = Emmc_Read(PARTITION_USER, part_info.start + nsct, 1, sctbuf); [ 50s] ^~~~~~ [ 50s] In file included from tizen_misc.c:9:0: [ 50s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 50s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 50s] ^~~~~~~~~ [ 50s] tizen_misc.c: In function 'load_binary_to_addr': [ 50s] tizen_misc.c:771:66: warning: passing argument 4 of 'Emmc_Read' makes pointer from integer without a cast [-Wint-conversion] [ 50s] ret = Emmc_Read(PARTITION_USER, info.offset, size / info.blksz, addr); [ 50s] ^~~~ [ 50s] In file included from tizen_misc.c:9:0: [ 50s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'unsigned int' [ 50s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 50s] ^~~~~~~~~ [ 50s] tizen_misc.c: In function 'check_board_signature': [ 50s] tizen_misc.c:795:40: warning: passing argument 2 of 'load_binary_to_addr' makes integer from pointer without a cast [-Wint-conversion] [ 50s] ret = load_binary_to_addr(PARTS_BOOT, bl_buf, CONFIG_SIG_IMAGE_SIZE); [ 50s] ^~~~~~ [ 50s] tizen_misc.c:762:12: note: expected 'unsigned int' but argument is of type 'char *' [ 50s] static int load_binary_to_addr(char *name, unsigned int addr, unsigned int size) [ 50s] ^~~~~~~~~~~~~~~~~~~ [ 50s] tizen_misc.c:799:40: warning: passing argument 2 of 'get_image_signature' makes integer from pointer without a cast [-Wint-conversion] [ 50s] ret = get_image_signature(&bh_target, bl_buf, CONFIG_SIG_IMAGE_SIZE); [ 50s] ^~~~~~ [ 50s] tizen_misc.c:750:5: note: expected 'unsigned int' but argument is of type 'char *' [ 50s] int get_image_signature(struct sig_header *hdr, unsigned int base_addr, [ 50s] ^~~~~~~~~~~~~~~~~~~ [ 50s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 50s] -o usb/drv_cdc.o usb/drv_cdc.c -c [ 50s] usb/cdc_descriptor.c: In function 'thor_get_config_desc': [ 50s] usb/cdc_descriptor.c:265:2: warning: implicit declaration of function 'usb_gadget_config_buf' [-Wimplicit-function-declaration] [ 50s] usb_gadget_config_buf(&thor_config_desc, &function_desc_buf, 256, thor_function_high); [ 50s] ^~~~~~~~~~~~~~~~~~~~~ [ 50s] usb/cdc_descriptor.c: In function 'str2wide': [ 50s] usb/cdc_descriptor.c:278:18: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] [ 50s] for (i = 0; i < strlen (str) && str[i]; i++){ [ 50s] ^~~~~~ [ 50s] At top level: [ 50s] usb/cdc_descriptor.c:236:13: warning: 'thor_device_qualifer_desc_buf' defined but not used [-Wunused-variable] [ 50s] static char thor_device_qualifer_desc_buf[sizeof(struct usb_qualifier_descriptor)] __align(32); [ 50s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 50s] tizen_misc.c: In function 'fixnv_read_with_backup': [ 50s] tizen_misc.c:550:3: warning: 'nv_backup_status' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 50s] printf("nv_backup_status = %d \n", nv_backup_status); [ 50s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 50s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 50s] -o usb/usb_hw.o usb/usb_hw.c -c [ 50s] usb/drv_cdc.c: In function 'usb_get_descriptor': [ 50s] usb/drv_cdc.c:255:26: warning: implicit declaration of function 'thor_get_device_desc' [-Wimplicit-function-declaration] [ 50s] send_data = (uint8 *) thor_get_device_desc(enum_speed); [ 50s] ^~~~~~~~~~~~~~~~~~~~ [ 50s] usb/drv_cdc.c:267:26: warning: implicit declaration of function 'thor_get_config_desc' [-Wimplicit-function-declaration] [ 50s] send_data = (uint8 *) thor_get_config_desc(enum_speed); [ 50s] ^~~~~~~~~~~~~~~~~~~~ [ 50s] usb/drv_cdc.c:285:16: warning: implicit declaration of function 'thor_get_string_desc' [-Wimplicit-function-declaration] [ 50s] send_data = thor_get_string_desc(str_index); [ 50s] ^~~~~~~~~~~~~~~~~~~~ [ 50s] usb/drv_cdc.c:285:14: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ 50s] send_data = thor_get_string_desc(str_index); [ 50s] ^ [ 50s] usb/drv_cdc.c:299:26: warning: implicit declaration of function 'thor_get_qualifer_desc' [-Wimplicit-function-declaration] [ 50s] send_data = (uint8 *) thor_get_qualifer_desc(); [ 50s] ^~~~~~~~~~~~~~~~~~~~~~ [ 50s] usb/drv_cdc.c:312:26: warning: implicit declaration of function 'thor_get_other_speed_config_desc' [-Wimplicit-function-declaration] [ 50s] send_data = (uint8 *) thor_get_other_speed_config_desc(); [ 50s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 50s] usb/drv_cdc.c: In function 'usb_set_feature': [ 50s] usb/drv_cdc.c:396:21: warning: variable 'request1' set but not used [-Wunused-but-set-variable] [ 50s] USB_REQUEST_1_U *request1; [ 50s] ^~~~~~~~ [ 50s] usb/drv_cdc.c:394:23: warning: unused variable 'dcfg_ptr' [-Wunused-variable] [ 50s] volatile USB_DCFG_U *dcfg_ptr = (volatile USB_DCFG_U *) USB_DCFG; [ 50s] ^~~~~~~~ [ 50s] usb/drv_cdc.c: In function 'usb_handler': [ 50s] usb/drv_cdc.c:797:15: warning: unused variable 'string' [-Wunused-variable] [ 50s] char string[64] ={0,}; [ 50s] ^~~~~~ [ 50s] usb/drv_cdc.c:796:9: warning: unused variable 'i' [-Wunused-variable] [ 50s] uint32 i=0; [ 50s] ^ [ 50s] usb/drv_cdc.c: In function 'USB_ReadEx_Internal': [ 50s] usb/drv_cdc.c:844:9: warning: unused variable 'i' [-Wunused-variable] [ 50s] int i; [ 50s] ^ [ 50s] usb/drv_cdc.c: In function 'thor_USB_Init': [ 50s] usb/drv_cdc.c:1041:2: warning: implicit declaration of function 'sprd_usb_thor_start' [-Wimplicit-function-declaration] [ 50s] sprd_usb_thor_start(); [ 50s] ^~~~~~~~~~~~~~~~~~~ [ 50s] usb/drv_cdc.c:1031:15: warning: unused variable 'len' [-Wunused-variable] [ 50s] unsigned int len = 0; [ 50s] ^~~ [ 50s] usb/drv_cdc.c: In function 'USB_DeInit': [ 50s] usb/drv_cdc.c:1052:2: warning: implicit declaration of function 'usb_power_off' [-Wimplicit-function-declaration] [ 50s] usb_power_off(); [ 50s] ^~~~~~~~~~~~~ [ 50s] usb/drv_cdc.c: At top level: [ 50s] usb/drv_cdc.c:1076:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 50s] void sprd_usb_thor_start() [ 50s] ^~~~~~~~~~~~~~~~~~~ [ 50s] usb/drv_cdc.c:1076:6: warning: conflicting types for 'sprd_usb_thor_start' [ 50s] usb/drv_cdc.c:1041:2: note: previous implicit declaration of 'sprd_usb_thor_start' was here [ 50s] sprd_usb_thor_start(); [ 50s] ^~~~~~~~~~~~~~~~~~~ [ 50s] usb/drv_cdc.c: In function 'sprd_usb_thor_start': [ 50s] usb/drv_cdc.c:1085:12: warning: 'return' with a value, in function returning void [ 50s] return -1; [ 50s] ^ [ 50s] usb/drv_cdc.c:1076:6: note: declared here [ 50s] void sprd_usb_thor_start() [ 50s] ^~~~~~~~~~~~~~~~~~~ [ 50s] usb/drv_cdc.c:1087:17: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] [ 50s] if (!strncmp(sprd_thor_setup_buf, "THOR", strlen("THOR"))) [ 50s] ^~~~~~~~~~~~~~~~~~~ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 50s] from usb/drv_cdc.c:12: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/string.h:39:12: note: expected 'const char *' but argument is of type 'unsigned char *' [ 50s] extern int strncmp(const char *,const char *,__kernel_size_t); [ 50s] ^~~~~~~ [ 50s] usb/drv_cdc.c:1090:17: warning: pointer targets in passing argument 1 of 'USB_WriteEx' differ in signedness [-Wpointer-sign] [ 50s] USB_WriteEx("ROHT", strlen("ROHT")); [ 50s] ^~~~~~ [ 50s] usb/drv_cdc.c:913:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 50s] PUBLIC int32 USB_WriteEx(uint8 *pBuf,uint32 len) [ 50s] ^~~~~~~~~~~ [ 50s] usb/drv_cdc.c:1104:9: warning: 'return' with a value, in function returning void [ 50s] return 0; [ 50s] ^ [ 50s] usb/drv_cdc.c:1076:6: note: declared here [ 50s] void sprd_usb_thor_start() [ 50s] ^~~~~~~~~~~~~~~~~~~ [ 50s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 50s] -o vbat_check.o vbat_check.c -c [ 50s] usb/usb_hw.c: In function 'usb_power_on': [ 50s] usb/usb_hw.c:132:6: warning: unused variable 'ret' [-Wunused-variable] [ 50s] int ret =0; [ 50s] ^~~ [ 50s] At top level: [ 50s] usb/usb_hw.c:84:21: warning: 'ADIAnalogdieRegWrite' defined but not used [-Wunused-function] [ 50s] static unsigned int ADIAnalogdieRegWrite(unsigned long addr,uint16 data) [ 50s] ^~~~~~~~~~~~~~~~~~~~ [ 50s] usb/usb_hw.c:67:21: warning: 'ADIAnalogdieRegRead' defined but not used [-Wunused-function] [ 50s] static unsigned int ADIAnalogdieRegRead(unsigned long addr) [ 50s] ^~~~~~~~~~~~~~~~~~~ [ 50s] usb/usb_hw.c:54:13: warning: 'ADIConfig' defined but not used [-Wunused-function] [ 50s] static void ADIConfig(void) [ 50s] ^~~~~~~~~ [ 50s] vbat_check.c: In function 'is_bat_low': [ 50s] vbat_check.c:65:8: warning: implicit declaration of function 'sprdbat_auxadc2vbatvol' [-Wimplicit-function-declaration] [ 50s] if(sprdbat_auxadc2vbatvol (adc_value) < comp_vbat) [ 50s] ^~~~~~~~~~~~~~~~~~~~~~ [ 50s] ld -r -o libproperty.o alarm_mode.o android_boot.o autodloader_mode.o backupnvitem.o boot_mode_regist.o calibration_detect.o charge_mode.o cmd_cboot.o dev_tree.o engtest_mode.o factorytest_mode.o fs_common_rw.o modem_entry.o normal_emc_mode.o normal_mode.o reboot_mode.o recv_emc_mode.o recv_mode.o thor_mode.o tizen_misc.o usb/cdc_descriptor.o usb/drv_cdc.o usb/usb_hw.o vbat_check.o [ 50s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/property' [ 50s] make -C board/spreadtrum/tizen_tm1/ [ 50s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/board/spreadtrum/tizen_tm1' [ 51s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 51s] -o openphone.o openphone.c -c [ 51s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 51s] -o sprd_kp.o sprd_kp.c -c [ 51s] In file included from openphone.c:5:0: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:26:0: warning: "AHB_SOFT_RST" redefined [ 51s] #define AHB_SOFT_RST (AHB_REG_BASE + 0x04) [ 51s] [ 51s] In file included from openphone.c:4:0: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_ahb.h:33:0: note: this is the location of the previous definition [ 51s] #define AHB_SOFT_RST (AHB_REG_BASE + 0x0004) [ 51s] [ 51s] In file included from openphone.c:5:0: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:41:0: warning: "CHIP_ID" redefined [ 51s] #define CHIP_ID (AHB_REG_BASE + 0x1FC) [ 51s] [ 51s] In file included from openphone.c:4:0: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_ahb.h:37:0: note: this is the location of the previous definition [ 51s] #define CHIP_ID (AHB_REG_BASE + 0x00fc) [ 51s] [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/gpio.h:35:0, [ 51s] from openphone.c:12: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:103:28: warning: 'struct seq_file' declared inside parameter list will not be visible outside of this definition or declaration [ 51s] void (*dbg_show)(struct seq_file *s, [ 51s] ^~~~~~~~ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:20, [ 51s] from openphone.c:14: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 51s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 51s] [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:20:0, [ 51s] from openphone.c:5: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 51s] #define ADC_BASE 0x40038300 //Aux ADC [ 51s] [ 51s] openphone.c:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 51s] int mmc_sdcard_init(); [ 51s] ^~~ [ 51s] openphone.c:42:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 51s] void aon_26M_timer2_enable() [ 51s] ^~~~~~~~~~~~~~~~~~~~~ [ 51s] openphone.c: In function 'get_hw_rev': [ 51s] openphone.c:58:3: warning: implicit declaration of function 'sprd_gpio_request' [-Wimplicit-function-declaration] [ 51s] sprd_gpio_request(NULL, hw_rev_gpio[i]); [ 51s] ^~~~~~~~~~~~~~~~~ [ 51s] openphone.c:59:3: warning: implicit declaration of function 'sprd_gpio_direction_input' [-Wimplicit-function-declaration] [ 51s] sprd_gpio_direction_input(NULL, hw_rev_gpio[i]); [ 51s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 51s] openphone.c:60:38: warning: implicit declaration of function 'sprd_gpio_get' [-Wimplicit-function-declaration] [ 51s] hw_revision = (hw_revision << 1) | sprd_gpio_get(NULL, hw_rev_gpio[i]); [ 51s] ^~~~~~~~~~~~~ [ 51s] openphone.c:61:3: warning: implicit declaration of function 'sprd_gpio_free' [-Wimplicit-function-declaration] [ 51s] sprd_gpio_free(NULL, hw_rev_gpio[i]); [ 51s] ^~~~~~~~~~~~~~ [ 51s] openphone.c: In function 'board_init': [ 51s] openphone.c:73:2: warning: implicit declaration of function 'misc_init' [-Wimplicit-function-declaration] [ 51s] misc_init(); [ 51s] ^~~~~~~~~ [ 51s] openphone.c:76:2: warning: implicit declaration of function 'sprd_eic_init' [-Wimplicit-function-declaration] [ 51s] sprd_eic_init(); [ 51s] ^~~~~~~~~~~~~ [ 51s] openphone.c:78:2: warning: implicit declaration of function 'init_ldo_sleep_gr' [-Wimplicit-function-declaration] [ 51s] init_ldo_sleep_gr(); [ 51s] ^~~~~~~~~~~~~~~~~ [ 51s] openphone.c:85:2: warning: implicit declaration of function 'check_smpl' [-Wimplicit-function-declaration] [ 51s] check_smpl(); [ 51s] ^~~~~~~~~~ [ 51s] openphone.c: At top level: [ 51s] openphone.c:91:6: warning: conflicting types for 'check_smpl' [ 51s] void check_smpl(void) [ 51s] ^~~~~~~~~~ [ 51s] openphone.c:85:2: note: previous implicit declaration of 'check_smpl' was here [ 51s] check_smpl(); [ 51s] ^~~~~~~~~~ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/gpio.h:35:0, [ 51s] from openphone.c:12: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:31:13: warning: 'gpio_is_valid' defined but not used [-Wunused-function] [ 51s] static bool gpio_is_valid(int number) [ 51s] ^~~~~~~~~~~~~ [ 51s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 51s] -o pinmap-sp7730.o pinmap-sp7730.c -c [ 51s] sprd_kp.c: In function 'board_keypad_init': [ 51s] sprd_kp.c:14:18: warning: unused variable 'key_type' [-Wunused-variable] [ 51s] unsigned int key_type; [ 51s] ^~~~~~~~ [ 51s] sprd_kp.c: In function 'board_key_scan': [ 51s] sprd_kp.c:104:2: warning: implicit declaration of function 'sprd_eic_request' [-Wimplicit-function-declaration] [ 51s] sprd_eic_request(EIC_KEY2_7S_RST_EXT_RSTN_ACTIVE); [ 51s] ^~~~~~~~~~~~~~~~ [ 51s] sprd_kp.c:106:13: warning: implicit declaration of function 'sprd_eic_get' [-Wimplicit-function-declaration] [ 51s] volumeup = sprd_eic_get(EIC_KEY2_7S_RST_EXT_RSTN_ACTIVE); [ 51s] ^~~~~~~~~~~~ [ 51s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 51s] -o ldo_sleep.o ldo_sleep.c -c [ 51s] ldo_sleep.c: In function 'init_ldo_sleep_gr': [ 51s] ldo_sleep.c:774:2: warning: implicit declaration of function 'CSP_Init' [-Wimplicit-function-declaration] [ 51s] CSP_Init(0); [ 51s] ^~~~~~~~ [ 51s] ar crv libtizen_tm1.o openphone.o sprd_kp.o pinmap-sp7730.o ldo_sleep.o [ 51s] a - openphone.o [ 51s] a - sprd_kp.o [ 51s] a - pinmap-sp7730.o [ 51s] a - ldo_sleep.o [ 51s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/board/spreadtrum/tizen_tm1' [ 51s] UNDEF_SYM=`objdump -x board/spreadtrum/tizen_tm1/libtizen_tm1.o api/libapi.o arch/arm/cpu/armv7/libarmv7.o arch/arm/cpu/armv7/sc8830/libsc8830.o arch/arm/lib/libarm.o common/libcommon.o disk/libdisk.o drivers/bios_emulator/libatibiosemu.o drivers/block/libblock.o drivers/clk/libclk.o drivers/dma/libdma.o drivers/fpga/libfpga.o drivers/gpio/libgpio.o drivers/hwmon/libhwmon.o drivers/i2c/libi2c.o drivers/input/libinput.o drivers/misc/libmisc.o drivers/mmc/libmmc.o drivers/mtd/libmtd.o drivers/mtd/nand/libnand.o drivers/mtd/onenand/libonenand.o drivers/mtd/spi/libspi_flash.o drivers/mtd/ubi/libubi.o drivers/net/libnet.o drivers/net/phy/libphy.o drivers/pci/libpci.o drivers/pcmcia/libpcmcia.o drivers/power/libpower.o drivers/rtc/librtc.o drivers/serial/libserial.o drivers/sound/codec/libcodec.o drivers/sound/dai/libdai.o drivers/sound/libsound.o drivers/spi/libspi.o drivers/twserial/libtws.o drivers/usb/gadget/dwc_otg/libdwc_otg.o drivers/usb/gadget/libusb_gadget.o drivers/usb/host/libusb_host.o drivers/usb/musb/libusb_musb.o drivers/usb/phy/libusb_phy.o drivers/video/libvideo.o drivers/video/sprdfb/dsi_1_21a/libsprdfb_dsi.o drivers/video/sprdfb/lcd/liblcd.o drivers/video/sprdfb/libsprdfb.o drivers/watchdog/libwatchdog.o fs/cramfs/libcramfs.o fs/ext2/libext2fs.o fs/ext4/libext4fs.o fs/fat/libfat.o fs/fdos/libfdos.o fs/jffs2/libjffs2.o fs/reiserfs/libreiserfs.o fs/ubifs/libubifs.o fs/yaffs2/libyaffs2.o lib/libfdt/libfdt.o lib/libgeneric.o lib/lzma/liblzma.o lib/lzo/liblzo.o nand_fdl/common/src/libfdlcommon.o net/libnet.o post/libpost.o property/libproperty.o | sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`; cd /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12 && ld -Bstatic -T u-boot.lds -Ttext 0x9f600000 $UNDEF_SYM arch/arm/cpu/armv7/start.o --start-group api/libapi.o arch/arm/cpu/armv7/libarmv7.o arch/arm/cpu/armv7/sc8830/libsc8830.o arch/arm/lib/libarm.o common/libcommon.o disk/libdisk.o drivers/bios_emulator/libatibiosemu.o drivers/block/libblock.o drivers/clk/libclk.o drivers/dma/libdma.o drivers/fpga/libfpga.o drivers/gpio/libgpio.o drivers/hwmon/libhwmon.o drivers/i2c/libi2c.o drivers/input/libinput.o drivers/misc/libmisc.o drivers/mmc/libmmc.o drivers/mtd/libmtd.o drivers/mtd/nand/libnand.o drivers/mtd/onenand/libonenand.o drivers/mtd/spi/libspi_flash.o drivers/mtd/ubi/libubi.o drivers/net/libnet.o drivers/net/phy/libphy.o drivers/pci/libpci.o drivers/pcmcia/libpcmcia.o drivers/power/libpower.o drivers/rtc/librtc.o drivers/serial/libserial.o drivers/sound/codec/libcodec.o drivers/sound/dai/libdai.o drivers/sound/libsound.o drivers/spi/libspi.o drivers/twserial/libtws.o drivers/usb/gadget/dwc_otg/libdwc_otg.o drivers/usb/gadget/libusb_gadget.o drivers/usb/host/libusb_host.o drivers/usb/musb/libusb_musb.o drivers/usb/phy/libusb_phy.o drivers/video/libvideo.o drivers/video/sprdfb/dsi_1_21a/libsprdfb_dsi.o drivers/video/sprdfb/lcd/liblcd.o drivers/video/sprdfb/libsprdfb.o drivers/watchdog/libwatchdog.o fs/cramfs/libcramfs.o fs/ext2/libext2fs.o fs/ext4/libext4fs.o fs/fat/libfat.o fs/fdos/libfdos.o fs/jffs2/libjffs2.o fs/reiserfs/libreiserfs.o fs/ubifs/libubifs.o fs/yaffs2/libyaffs2.o lib/libfdt/libfdt.o lib/libgeneric.o lib/lzma/liblzma.o lib/lzo/liblzo.o nand_fdl/common/src/libfdlcommon.o net/libnet.o post/libpost.o property/libproperty.o board/spreadtrum/tizen_tm1/libtizen_tm1.o --end-group /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/lib/eabi_compat.o -L /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1 -lgcc -Map u-boot.map -o u-boot [ 52s] objcopy -O srec u-boot u-boot.srec [ 52s] objcopy --gap-fill 0xff -O binary u-boot u-boot.bin [ 52s] + chmod 755 tools/mkimage_signed.sh [ 52s] + mkimage_signed.sh u-boot.bin tizen_tm1 [ 52s] ##################################### [ 52s] Running script: tools/mkimage_signed.sh [ 52s] Config: tizen_tm1 [ 52s] Input binary: u-boot.bin [ 52s] Input bytes: 614780 (Max size: 1048064 B) [ 52s] [ 52s] Header info: [ 52s] HDR length: 512 Bytes [ 52s] SIG magic: "BoOt" [ 52s] SIG size: 0 [ 52s] SIG valid: 0 [ 52s] SIG date: "2025030603" (YYMMDDHH) [ 52s] SIG version: "none" [ 52s] SIG board: "tizen_tm1" [ 52s] [ 52s] Output signed binary: u-boot-mmc.bin [ 52s] ##################################### [ 52s] + exit 0 [ 52s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.olXM7e [ 52s] + umask 022 [ 52s] + cd /home/abuild/rpmbuild/BUILD [ 52s] + cd u-boot-sprd-2010.12 [ 52s] + LANG=C [ 52s] + export LANG [ 52s] + unset DISPLAY [ 52s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-0.arm [ 52s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-0.arm [ 52s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-0.arm [ 52s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-0.arm/boot/u-boot [ 52s] + install -d /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-0.arm/boot/u-boot [ 52s] + install -m 755 u-boot.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-0.arm/boot/u-boot [ 52s] + install -m 755 u-boot-mmc.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-0.arm/boot/u-boot [ 52s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12 [ 52s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/u-boot-sprd-debuginfo.manifest [ 52s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/u-boot-sprd-debugsource.manifest [ 52s] + /usr/lib/rpm/check-buildroot [ 52s] + /usr/lib/rpm//brp-compress [ 52s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 52s] + /usr/lib/rpm/brp-python-hardlink [ 52s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-0.arm [ 53s] Processing files: u-boot-sprd-debugsource-2010.12-0.armv7l [ 53s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 53s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 53s] [ 53s] Provides: u-boot-sprd-debugsource = 2010.12-0 u-boot-sprd-debugsource(armv7l-32) = 2010.12-0 [ 53s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 53s] Processing files: u-boot-tm1-2010.12-0.armv7l [ 53s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 53s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 53s] [ 53s] Provides: u-boot-tm1 = 2010.12-0 u-boot-tm1(armv7l-32) = 2010.12-0 [ 53s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 53s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-0.arm [ 53s] warning: Could not canonicalize hostname: ip-192-168-56-234 [ 53s] Wrote: /home/abuild/rpmbuild/SRPMS/u-boot-sprd-2010.12-0.src.rpm [ 53s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/u-boot-sprd-debugsource-2010.12-0.armv7l.rpm [ 53s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/u-boot-tm1-2010.12-0.armv7l.rpm [ 53s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.cYlGqG [ 53s] + umask 022 [ 53s] + cd /home/abuild/rpmbuild/BUILD [ 53s] + cd u-boot-sprd-2010.12 [ 53s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-0.arm [ 53s] + exit 0 [ 54s] ... checking for files with abuild user/group [ 54s] ... creating baselibs [ 54s] [ 54s] ip-192-168-56-234 finished "build u-boot-tm1.spec" at Thu Mar 6 03:55:47 UTC 2025. [ 54s]