[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.1 [ 0s] Using BUILD_ARCH=armv7l:armv7el:armv6l:armv5tejl:armv5tel:armv5l:armv4tl:armv4l:armv3l:noarch [ 0s] [ 0s] [ 0s] ip-192-168-72-169 started "build u-boot-tm1.spec" at Thu Jul 13 09:57:28 UTC 2023. [ 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 -j26 --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_20230713.091128/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen-4.0/Tizen-4.0-Base/tizen-4.0-base_20230713.091128/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 ... [ 0s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.1/.srcfiles.cache ... [ 1s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.1/.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_20230713.091128/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_20230713.091128/repos/standard/debug/ [ 2s] expanding package dependencies... [ 3s] copying qemu [ 3s] [ 3s] registering binfmt handlers for cross build [ 3s] calculating packages to download... [ 8s] reordering...cycle: libsoftokn3 -> nss [ 8s] breaking dependency nss -> libsoftokn3 [ 8s] reordering done [ 9s] deleting gettext-runtime [ 9s] deleting gettext-tools [ 9s] deleting libnl2 [ 9s] deleting libnl2-devel [ 9s] deleting ncurses-devel [ 9s] deleting zlib-devel [ 10s] [1/91] keeping libmagic-data-5.37-1.8 [ 10s] [2/91] keeping setup-0.9-1.1 [ 10s] [3/91] keeping filesystem-3.1-1.1 [ 10s] [4/91] keeping glibc-2.24-1.9 [ 10s] [5/91] keeping libatomic-6.2.1-1.6 [ 10s] [6/91] keeping libgcc-6.2.1-1.6 [ 10s] [7/91] keeping bash-3.2.57-1.1 [ 10s] [8/91] keeping binutils-2.27-1.8 [ 10s] [9/91] keeping cpio-2.11-3.1 [ 10s] [10/91] keeping diffutils-3.3-1.1 [ 10s] [11/91] keeping findutils-4.3.8-1.8 [ 10s] [12/91] keeping hostname-3.12-1.1 [ 10s] [13/91] keeping libattr-2.4.47-1.8 [ 10s] [14/91] keeping libbz2-1.0.6-1.8 [ 10s] [15/91] keeping libcap-2.24-1.8 [ 10s] [16/91] keeping libelf-0.153-1.8 [ 10s] [17/91] keeping libfreebl3-3.34.1-1.8 [ 10s] [18/91] keeping libgfortran-6.2.1-1.6 [ 10s] [19/91] keeping libgomp-6.2.1-1.6 [ 10s] [20/91] keeping libitm-6.2.1-1.6 [ 10s] [21/91] keeping libltdl-2.4.2-1.8 [ 10s] [22/91] keeping liblua-5.1.5-1.8 [ 10s] [23/91] keeping liblzma-5.2.2-1.8 [ 10s] [24/91] keeping libpcre-8.41-1.1 [ 10s] [25/91] keeping libpopt-1.16-1.8 [ 10s] [26/91] keeping libsmack-1.3.1-1.8 [ 10s] [27/91] keeping libsmartcols-2.30-1.1 [ 10s] [28/91] keeping libsqlite-3.21.0-1.8 [ 10s] [29/91] keeping libstdc++-6.2.1-1.6 [ 10s] [30/91] keeping libuuid-2.30-1.1 [ 10s] [31/91] keeping m4-1.4.17-1.1 [ 10s] [32/91] keeping net-tools-2.0_20121208git-1.1 [ 10s] [33/91] keeping nspr-4.12-1.8 [ 10s] [34/91] keeping patch-2.7-1.8 [ 10s] [35/91] keeping pkg-config-0.28-1.8 [ 10s] [36/91] keeping sed-4.1c-1.1 [ 10s] [37/91] keeping update-alternatives-1.18.15-1.1 [ 10s] [38/91] keeping which-2.20-4.1 [ 10s] [39/91] keeping zlib-1.2.11-1.8 [ 10s] [40/91] keeping build-compare-2015.04.28-1.3 [ 10s] [41/91] keeping libstdc++-devel-6.2.1-1.6 [ 10s] [42/91] keeping qemu-linux-user-x86_64-cross-5.2.0-20.3 [ 10s] [43/91] keeping terminfo-base-full-5.9-1.8 [ 10s] [44/91] keeping cpp-6.2.1-1.6 [ 10s] [45/91] keeping gcc-c++-6.2.1-1.6 [ 10s] [46/91] keeping coreutils-6.9-14.1 [ 10s] [47/91] keeping db4-4.8.30.NC-1.8 [ 10s] [48/91] keeping gawk-3.1.5-1.1 [ 10s] [49/91] keeping grep-2.5.2-1.1 [ 10s] [50/91] keeping libacl-2.2.52-1.8 [ 10s] [51/91] keeping libasm-0.153-1.8 [ 10s] [52/91] keeping libblkid-2.30-1.1 [ 10s] [53/91] keeping libcc1-6.2.1-1.6 [ 10s] [54/91] keeping libubsan-6.2.1-1.6 [ 10s] [55/91] keeping make-4.0-1.8 [ 10s] [56/91] keeping nss-certs-3.34.1-1.8 [ 10s] [57/91] keeping smack-1.3.1-1.8 [ 10s] [58/91] keeping bzip2-1.0.6-1.8 [ 10s] [59/91] keeping libmagic-5.37-1.8 [ 10s] [60/91] keeping libxml2-2.9.7-1.8 [ 10s] [61/91] keeping xz-5.2.2-1.8 [ 10s] [62/91] keeping libdw-0.153-1.8 [ 10s] [63/91] keeping linux-glibc-devel-3.10-1.8 [ 10s] [64/91] keeping file-5.37-1.8 [ 10s] [65/91] keeping glibc-locale-2.24-1.9 [ 10s] [66/91] keeping libmount-2.30-1.1 [ 10s] [67/91] keeping libncurses-5.9-1.8 [ 10s] [68/91] keeping libncurses6-5.9-1.8 [ 10s] [69/91] keeping tar-1.17-1.1 [ 10s] [70/91] keeping gzip-1.3.12-1.8 [ 10s] [71/91] keeping libfdisk-2.30-1.1 [ 10s] [72/91] keeping pam-1.1.6-1.1 [ 10s] [73/91] keeping perl-5.20.0-1.8 [ 10s] [74/91] keeping tzdata-2017c-1.3 [ 10s] [75/91] keeping elfutils-0.153-1.8 [ 10s] [76/91] keeping gcc-6.2.1-1.6 [ 10s] [77/91] keeping build-mkbaselibs-20120927-1.1 [ 10s] [78/91] keeping glibc-devel-2.24-1.9 [ 10s] [79/91] keeping qemu-accel-x86_64-armv7l-0.4-1.1 [ 10s] [80/91] keeping autoconf-2.69-1.8 [ 10s] [81/91] keeping less-466-1.1 [ 10s] [82/91] keeping libreadline-5.2-1.8 [ 10s] [83/91] keeping automake-1.14.1-1.8 [ 10s] [84/91] keeping build-20120927-1.1 [ 10s] [85/91] keeping util-linux-2.30-1.1 [ 10s] [86/91] keeping libtool-2.4.2-1.8 [ 10s] [87/91] keeping util-linux-su-2.30-1.1 [ 10s] [88/91] keeping nss-3.34.1-1.8 [ 10s] [89/91] keeping libsoftokn3-3.34.1-1.8 [ 10s] [90/91] keeping rpm-4.11.0.1-1.7 [ 10s] [91/91] keeping rpm-build-4.11.0.1-1.7 [ 10s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.1/etc/nsswitch.conf... [ 11s] now finalizing build dir... [ 12s] ----------------------------------------------------------------- [ 12s] ----- building u-boot-tm1.spec (user abuild) [ 12s] ----------------------------------------------------------------- [ 12s] ----------------------------------------------------------------- [ 13s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_costomized_smp_mflags -j26' --define '_srcdefattr (-,root,root)' --nosignature --target=armv7l-tizen-linux --define '_build_create_debug 1' -ba /home/abuild/rpmbuild/SOURCES/u-boot-tm1.spec [ 13s] Building target platforms: armv7l-tizen-linux [ 13s] Building for target armv7l-tizen-linux [ 13s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4JbjDg [ 13s] + umask 022 [ 13s] + cd /home/abuild/rpmbuild/BUILD [ 13s] + cd /home/abuild/rpmbuild/BUILD [ 13s] + rm -rf u-boot-sprd-2010.12 [ 13s] + /bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/u-boot-sprd-2010.12.tar.bz2 [ 13s] + /bin/tar -xf - [ 16s] + STATUS=0 [ 16s] + '[' 0 -ne 0 ']' [ 16s] + cd u-boot-sprd-2010.12 [ 16s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 16s] + exit 0 [ 16s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7Eymvc [ 16s] + umask 022 [ 16s] + cd /home/abuild/rpmbuild/BUILD [ 16s] + cd u-boot-sprd-2010.12 [ 16s] ++ uname -m [ 16s] + [[ armv7l == \a\a\r\c\h\6\4 ]] [ 16s] + LANG=C [ 16s] + export LANG [ 16s] + unset DISPLAY [ 16s] + 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' [ 16s] + export CFLAGS [ 16s] + 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' [ 16s] + export CXXFLAGS [ 16s] + 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' [ 16s] + export FFLAGS [ 16s] + LDFLAGS= [ 16s] + export LDFLAGS [ 16s] + cp /home/abuild/rpmbuild/SOURCES/u-boot-tm1.manifest . [ 16s] + make distclean [ 17s] + make tizen_tm1_config [ 17s] Configuring for tizen_tm1 board... [ 17s] + 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 [ 18s] Generating include/autoconf.mk [ 18s] Generating include/autoconf.mk.dep [ 19s] gcc -DDO_DEPS_ONLY \ [ 19s] -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 \ [ 19s] -o lib/asm-offsets.s lib/asm-offsets.c -c -S [ 19s] Generating include/generated/generic-asm-offsets.h [ 19s] tools/scripts/make-asm-offsets lib/asm-offsets.s include/generated/generic-asm-offsets.h [ 19s] 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 \ [ 19s] make -C $dir _depend ; done [ 20s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 21s] make[1]: Nothing to be done for '_depend'. [ 21s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 21s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 22s] make[1]: Nothing to be done for '_depend'. [ 22s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 22s] 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' [ 25s] make[1]: Nothing to be done for '_depend'. [ 25s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 25s] make -C tools all [ 25s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 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 -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 [ 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 -o default_image.o default_image.c -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 -o fit_image.o fit_image.c -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 image.o /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/common/image.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 -o imximage.o imximage.c -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 -o kwbimage.o kwbimage.c -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 -pedantic -c -o md5.o /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/md5.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 -o mkimage.o mkimage.c -c [ 27s] 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 [ 27s] 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 [ 27s] 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 [ 27s] 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 [ 27s] 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 [ 27s] 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 [ 27s] 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 [ 27s] 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 [ 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 -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 [ 28s] /bin/true bmp_logo [ 28s] ./bmp_logo logos/denx.bmp >/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/bmp_logo.h [ 28s] /bin/true mkimage [ 28s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 28s] + 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 [ 28s] make -C tools/env all MTD_VERSION= [ 28s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools/env' [ 29s] ln -s ../../lib/crc32.c crc32.c [ 29s] 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 [ 30s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools/env' [ 30s] + export PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:tools [ 30s] + PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:tools [ 30s] ++ echo profile/mobile/platform/kernel/u-boot-tm1#ae235d55f524c1798961f0b17550d1a6715f080c [ 30s] ++ sed 's/.*u-boot.*#\(.\{9\}\).*/-g\1-TIZEN.org/' [ 30s] + make -j8 EXTRAVERSION=-gae235d55f-TIZEN.org [ 31s] 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 \ [ 31s] make -C $dir _depend ; done [ 31s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 32s] make[1]: Nothing to be done for '_depend'. [ 32s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 32s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 32s] make[1]: Nothing to be done for '_depend'. [ 32s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 32s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 32s] make[1]: Nothing to be done for '_depend'. [ 32s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 32s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 32s] make[1]: Nothing to be done for '_depend'. [ 32s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 32s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 32s] make[1]: Nothing to be done for '_depend'. [ 32s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 32s] make -C tools all [ 33s] make -C examples/standalone all [ 33s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 33s] make -C examples/api all [ 33s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 33s] make -C arch/arm/cpu/armv7 start.o [ 33s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 33s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 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 -fno-toplevel-reorder \ [ 33s] -o hello_world.o hello_world.c -c [ 33s] make -C /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7/ u-boot.lds [ 33s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 33s] make[1]: Nothing to be done for 'all'. [ 33s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 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 -fno-toplevel-reorder \ [ 33s] -o stubs.o stubs.c -c [ 33s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 33s] 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 \ [ 33s] -o start.o start.S -c [ 33s] ld -r -o libstubs.o stubs.o [ 34s] ld -g -Ttext 0xc100000 \ [ 34s] -o hello_world -e hello_world hello_world.o libstubs.o \ [ 34s] -L/usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1 -lgcc [ 34s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 34s] make[1]: Nothing to be done for 'u-boot.lds'. [ 34s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 34s] 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 [ 34s] objcopy -O srec hello_world hello_world.srec 2>/dev/null [ 34s] objcopy -O binary hello_world hello_world.bin 2>/dev/null [ 34s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 34s] make -C api/ [ 34s] make -C arch/arm/cpu/armv7/ [ 34s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/api' [ 34s] make -C arch/arm/cpu/armv7/sc8830/ [ 34s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 34s] make -C arch/arm/lib/ [ 34s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7/sc8830' [ 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 cpu.o cpu.c -c [ 35s] make -C common/ [ 35s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/lib' [ 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 syslib.o syslib.c -c [ 35s] rm -f libapi.o; ar rcs libapi.o [ 35s] make -C disk/ [ 35s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/common' [ 35s] ld -r -o libarmv7.o cpu.o syslib.o [ 35s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/api' [ 35s] make -C drivers/bios_emulator/ [ 35s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/disk' [ 35s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 35s] make -C drivers/block/ [ 35s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/bios_emulator' [ 35s] make -C drivers/clk/ [ 35s] 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' [ 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.o part.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] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/bios_emulator' [ 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] rm -f libblock.o; ar rcs libblock.o [ 36s] make -C drivers/fpga/ [ 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 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[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/clk' [ 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 bootm.o bootm.c -c [ 36s] make -C drivers/gpio/ [ 36s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/fpga' [ 36s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/dma' [ 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 -C drivers/hwmon/ [ 36s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/gpio' [ 36s] ld -r -o libdisk.o part.o part_dos.o part_efi.o [ 36s] make -C drivers/i2c/ [ 36s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/disk' [ 36s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/hwmon' [ 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] 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 interrupts.o interrupts.c -c [ 37s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/i2c' [ 37s] 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 \ [ 37s] -o mmu_asm.o mmu_asm.S -c [ 37s] make -C 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 generic.o generic.c -c [ 37s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/input' [ 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]: 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] 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 eabi_compat.o eabi_compat.c -c [ 37s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/misc' [ 37s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/gpio' [ 37s] make -C drivers/mmc/ [ 37s] rm -f libhwmon.o; ar rcs libhwmon.o [ 37s] ld -r -o libarm.o board.o bootm.o cache.o cache-cp15.o interrupts.o reset.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] make[1]: Leaving 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/arch/arm/lib' [ 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 ldo.o ldo.c -c [ 37s] make -C drivers/mtd/ [ 37s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mmc' [ 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] [ 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 sprd_i2c.o sprd_i2c.c -c [ 37s] rm -f libinput.o; ar rcs libinput.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 mfp_sprd.o mfp_sprd.c -c [ 37s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd' [ 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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_reg_v3.h:18, [ 37s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:25, [ 37s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 37s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 37s] from sprd_i2c.c:30: [ 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.h:38:0, [ 37s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 37s] from sprd_i2c.c:30: [ 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] [ 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 mmu.o mmu.c -c [ 37s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:26:0, [ 37s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 37s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 37s] from sprd_i2c.c:30: [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:112:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 37s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x11C) [ 37s] [ 37s] /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 [ 37s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x118) [ 37s] [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:113:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 37s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x120) [ 37s] [ 37s] /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 [ 37s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x11C) [ 37s] [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:114:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 37s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x124) [ 37s] [ 37s] /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 [ 37s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x120) [ 37s] [ 37s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:32:0, [ 37s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 37s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 37s] from sprd_i2c.c:30: [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/rtc_reg_v3.h:34:0: warning: "RTC_BASE" redefined [ 37s] #define RTC_BASE SPRD_ANA_RTC_PHYS [ 37s] [ 37s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 37s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 37s] from sprd_i2c.c:30: [ 37s] /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 [ 37s] #define RTC_BASE 0x40038080 [ 37s] [ 37s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:36:0, [ 37s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 37s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 37s] from sprd_i2c.c:30: [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sys_timer_reg_v0.h:33:0: warning: "SYSTIMER_BASE" redefined [ 37s] #define SYSTIMER_BASE (SPRD_SYSCNT_PHYS) [ 37s] [ 37s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 37s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 37s] from sprd_i2c.c:30: [ 37s] /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 [ 37s] #define SYSTIMER_BASE CTL_BASE_AP_SYS_TMR [ 37s] [ 37s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/input' [ 37s] make -C drivers/mtd/nand/ [ 37s] sprd_i2c.c:283:15: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 37s] PUBLIC uint32 I2C_GetSCLclk() [ 37s] ^~~~~~~~~~~~~ [ 37s] sprd_i2c.c: In function 'I2C_WriteCmdArr': [ 37s] sprd_i2c.c:470:21: warning: unused variable 'curtime' [-Wunused-variable] [ 37s] volatile uint32 curtime = 0; [ 37s] ^~~~~~~ [ 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 cmd_bdinfo.o cmd_bdinfo.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 i2c_hal.o i2c_hal.c -c [ 37s] rm -f libmisc.o; ar rcs libmisc.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 adc.o adc.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 cmd_boot.o cmd_boot.c -c [ 37s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/nand' [ 37s] make -C drivers/mtd/onenand/ [ 37s] i2c_hal.c: In function 'I2C_Bus_Exit': [ 37s] i2c_hal.c:142:12: warning: unused variable 'status_val' [-Wunused-variable] [ 37s] uint32 status_val = 0; [ 37s] ^~~~~~~~~~ [ 37s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/misc' [ 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 sc8830_i2c_cfg.o sc8830_i2c_cfg.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 rtc-sprd.o rtc-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_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 v0/i2c_phy_v0.o v0/i2c_phy_v0.c -c [ 38s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/onenand' [ 38s] make -C drivers/mtd/spi/ [ 38s] rm -f libmtd.o; ar rcs libmtd.o [ 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 sec_boot.o sec_boot.c -c [ 38s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/spi' [ 38s] make[1]: Leaving 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 cmd_console.o cmd_console.c -c [ 38s] ld -r -o libi2c.o sprd_i2c.o i2c_hal.o sc8830_i2c_cfg.o v0/i2c_phy_v0.o [ 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 sec_boot.c:4: [ 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_extern.h:38:0, [ 38s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 38s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 38s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 38s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 38s] from sec_boot.c:3: [ 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] In file included from sec_boot.c:5:0: [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 38s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 38s] [ 38s] /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 [ 38s] #define VLR_INFO_OFF (512) [ 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_echo.o cmd_echo.c -c [ 38s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/i2c' [ 38s] make -C drivers/mtd/ubi/ [ 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 glb.o glb.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 -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 \ [ 38s] -o mmc.o mmc.c -c [ 38s] rm -f libnand.o; ar rcs libnand.o [ 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_ext4.o cmd_ext4.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 adi.o adi.c -c [ 38s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/ubi' [ 38s] make[1]: Leaving 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 -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 \ [ 38s] -o mv_sdhci.o mv_sdhci.c -c [ 38s] glb.c: In function 'sci_glb_write': [ 38s] glb.c:40:23: warning: unused variable 'hw_flags' [-Wunused-variable] [ 38s] unsigned long flags, hw_flags; [ 38s] ^~~~~~~~ [ 38s] glb.c:40:16: warning: unused variable 'flags' [-Wunused-variable] [ 38s] unsigned long flags, hw_flags; [ 38s] ^~~~~ [ 38s] mmc.c: In function 'mmc_bwrite': [ 38s] mmc.c:160:6: warning: implicit declaration of function 'Emmc_Write' [-Wimplicit-function-declaration] [ 38s] if(Emmc_Write(0, start, blkcnt, (uint8*)src)) [ 38s] ^~~~~~~~~~ [ 38s] mmc.c: In function 'mmc_bread': [ 38s] mmc.c:240:6: warning: implicit declaration of function 'Emmc_Read' [-Wimplicit-function-declaration] [ 38s] if(Emmc_Read(0, start, blkcnt, (uint8*)dst)) [ 38s] ^~~~~~~~~ [ 38s] mmc.c: In function 'mmc_register': [ 38s] mmc.c:915:24: warning: implicit declaration of function 'Emmc_GetCapacity' [-Wimplicit-function-declaration] [ 38s] mmc->block_dev.lba = Emmc_GetCapacity(0);; [ 38s] ^~~~~~~~~~~~~~~~ [ 38s] mmc.c: In function 'mmc_legacy_init': [ 38s] mmc.c:1027:13: warning: implicit declaration of function 'Emmc_Init' [-Wimplicit-function-declaration] [ 38s] if(TRUE == Emmc_Init()) [ 38s] ^~~~~~~~~ [ 38s] mmc.c:1025:11: warning: unused variable 'rca' [-Wunused-variable] [ 38s] uint16_t rca = 0; [ 38s] ^~~ [ 38s] mmc.c:1024:12: warning: unused variable 'resp' [-Wunused-variable] [ 38s] uint32_t *resp; [ 38s] ^~~~ [ 38s] mmc.c:1023:11: warning: unused variable 'cid_resp' [-Wunused-variable] [ 38s] uint32_t cid_resp[4]; [ 38s] ^~~~~~~~ [ 38s] mmc.c:1022:6: warning: unused variable 'retries' [-Wunused-variable] [ 38s] int retries, rc = -ENODEV; [ 38s] ^~~~~~~ [ 38s] mmc.c: At top level: [ 38s] mmc.c:1053:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 38s] int mmc_sdcard_init() [ 38s] ^~~~~~~~~~~~~~~ [ 38s] mmc.c: In function 'mmc_sdcard_init': [ 38s] mmc.c:1056:14: warning: implicit declaration of function 'SDCARD_PowerOn' [-Wimplicit-function-declaration] [ 38s] if (TRUE == SDCARD_PowerOn()) { [ 38s] ^~~~~~~~~~~~~~ [ 38s] make -C drivers/net/ [ 38s] rm -f libonenand.o; ar rcs libonenand.o [ 38s] mv_sdhci.c: In function 'sdhci_dumpregs': [ 38s] mv_sdhci.c:9:20: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'void *' [-Wformat=] [ 38s] #define KERN_DEBUG " " [ 38s] ^ [ 38s] mv_sdhci.c:18:10: note: in expansion of macro 'KERN_DEBUG' [ 38s] printf(KERN_DEBUG DRIVER_NAME ": address 0x%08x | value 0x%08x\n", host->ioaddr + i*4, sdhci_readl(host, i*4)); [ 38s] ^~~~~~~~~~ [ 38s] mv_sdhci.c: In function 'sdhci_sprd_set_base_clock': [ 38s] mv_sdhci.c:65:16: warning: unused variable 'flags' [-Wunused-variable] [ 38s] unsigned long flags; [ 38s] ^~~~~ [ 38s] At top level: [ 38s] mv_sdhci.c:63:13: warning: 'sdhci_sprd_set_base_clock' defined but not used [-Wunused-function] [ 38s] static void sdhci_sprd_set_base_clock(unsigned int clock) [ 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_fat.o cmd_fat.c -c [ 38s] adi.c: In function '__adi_read': [ 38s] adi.c:172:63: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 38s] printf("[0x%s]: ADI READ timeout!!! reg = 0x%x, value = 0x%x\n", __func__, regPddr, val); [ 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 -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 \ [ 38s] -o sdhci.o sdhci.c -c [ 38s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/onenand' [ 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 gpio.o gpio.c -c [ 38s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net' [ 38s] make -C drivers/net/phy/ [ 38s] rm -f libspi_flash.o; ar rcs libspi_flash.o [ 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_fdt.o cmd_fdt.c -c [ 38s] sdhci.c: In function 'sdhci_send_command': [ 38s] sdhci.c:198:3: warning: implicit declaration of function 'Dcache_CleanRegion' [-Wimplicit-function-declaration] [ 38s] Dcache_CleanRegion(start_addr, trans_bytes); [ 38s] ^~~~~~~~~~~~~~~~~~ [ 38s] sdhci.c:199:3: warning: implicit declaration of function 'Dcache_InvalRegion' [-Wimplicit-function-declaration] [ 38s] Dcache_InvalRegion(start_addr, trans_bytes); [ 38s] ^~~~~~~~~~~~~~~~~~ [ 38s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net/phy' [ 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 -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 \ [ 38s] -o sdio_card_pal.o sdio_card_pal.c -c [ 38s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/spi' [ 38s] make -C drivers/pci/ [ 38s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45:0, [ 38s] from gpio.c:15: [ 38s] /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 [ 38s] void (*dbg_show)(struct seq_file *s, [ 38s] ^~~~~~~~ [ 38s] In file included from gpio.c:16:0: [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h: In function 'gpio_reg_and': [ 38s] /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] [ 38s] __raw_bits_and(value, reg_addr); [ 38s] ^~~~~~~~~~~~~~ [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h: In function 'gpio_reg_or': [ 38s] /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] [ 38s] __raw_bits_or(value, reg_addr); [ 38s] ^~~~~~~~~~~~~ [ 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 gpio.c:17: [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h: At top level: [ 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/gpio.h:44:0, [ 38s] from gpio.c:15: [ 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] In file included from gpio.c:18:0: [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_reg_v0.h:32:0: warning: "ANA_GPIO_BASE" redefined [ 38s] #define ANA_GPIO_BASE SPRD_ANA_GPIO_PHYS [ 38s] [ 38s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:44:0, [ 38s] from gpio.c:15: [ 38s] /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 [ 38s] #define ANA_GPIO_BASE 0x40038480 [ 38s] [ 38s] In file included from gpio.c:18:0: [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_reg_v0.h:33:0: warning: "GPIO_BASE" redefined [ 38s] #define GPIO_BASE SPRD_GPIO_PHYS [ 38s] [ 38s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:44:0, [ 38s] from gpio.c:15: [ 38s] /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 [ 38s] #define GPIO_BASE CTL_BASE_GPIO [ 38s] [ 38s] gpio.c: In function '__gpio_set_dir': [ 38s] gpio.c:83:16: warning: unused variable 'flags' [-Wunused-variable] [ 38s] unsigned long flags; [ 38s] ^~~~~ [ 38s] gpio.c: In function '__gpio_set_pin_data': [ 38s] gpio.c:247:16: warning: unused variable 'flags' [-Wunused-variable] [ 38s] unsigned long flags; [ 38s] ^~~~~ [ 38s] gpio.c: In function '__gpio_set_data_mask': [ 38s] gpio.c:276:16: warning: unused variable 'flags' [-Wunused-variable] [ 38s] unsigned long flags; [ 38s] ^~~~~ [ 38s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45:0, [ 38s] from gpio.c:15: [ 38s] At top level: [ 38s] /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] [ 38s] static bool gpio_is_valid(int number) [ 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 gpio_phy.o gpio_phy.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_help.o cmd_help.c -c [ 39s] sdio_card_pal.c: In function 'SDIO_Card_Pal_Pwr': [ 39s] sdio_card_pal.c:524:3: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] [ 39s] udelay(5000); [ 39s] ^~~~~~ [ 39s] sdio_card_pal.c: In function 'SDIO_Card_Pal_SendCmd': [ 39s] sdio_card_pal.c:809:16: warning: implicit declaration of function 'Dcache_CleanRegion' [-Wimplicit-function-declaration] [ 39s] Dcache_CleanRegion((unsigned int)(dataParam->databuf), bufferSize); [ 39s] ^~~~~~~~~~~~~~~~~~ [ 39s] sdio_card_pal.c:810:16: warning: implicit declaration of function 'Dcache_InvalRegion' [-Wimplicit-function-declaration] [ 39s] Dcache_InvalRegion((unsigned int)(dataParam->databuf), bufferSize); [ 39s] ^~~~~~~~~~~~~~~~~~ [ 39s] sdio_card_pal.c:826:3: warning: implicit declaration of function '_SDHOST_IrqHandle' [-Wimplicit-function-declaration] [ 39s] _SDHOST_IrqHandle(handle->sdio_No); [ 39s] ^~~~~~~~~~~~~~~~~ [ 39s] sdio_card_pal.c:754:13: warning: unused variable 'isr_status' [-Wunused-variable] [ 39s] uint32 isr_status; [ 39s] ^~~~~~~~~~ [ 39s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pci' [ 39s] rm -f libubi.o; ar rcs libubi.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 -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 sdhost_phy.o sdhost_phy.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_itest.o cmd_itest.c -c [ 39s] In file included from gpio_phy.c:5:0: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h: In function '__get_gpio_die': [ 39s] /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] [ 39s] WARN(1, "wrong gpio %d\r\n", gpio); [ 39s] ^~~~ [ 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] 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 clock.o clock.c -c [ 39s] make -C drivers/pcmcia/ [ 39s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/ubi' [ 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_load.o cmd_load.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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_reg_v3.h:18, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:25, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 39s] from sdhost_phy.c:21: [ 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.h:38:0, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 39s] from sdhost_phy.c:21: [ 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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:26:0, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 39s] from sdhost_phy.c:21: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:112:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 39s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x11C) [ 39s] [ 39s] /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 [ 39s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x118) [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:113:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 39s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x120) [ 39s] [ 39s] /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 [ 39s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x11C) [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:114:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 39s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x124) [ 39s] [ 39s] /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 [ 39s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x120) [ 39s] [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:32:0, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 39s] from sdhost_phy.c:21: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/rtc_reg_v3.h:34:0: warning: "RTC_BASE" redefined [ 39s] #define RTC_BASE SPRD_ANA_RTC_PHYS [ 39s] [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 39s] from sdhost_phy.c:21: [ 39s] /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 [ 39s] #define RTC_BASE 0x40038080 [ 39s] [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:36:0, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 39s] from sdhost_phy.c:21: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sys_timer_reg_v0.h:33:0: warning: "SYSTIMER_BASE" redefined [ 39s] #define SYSTIMER_BASE (SPRD_SYSCNT_PHYS) [ 39s] [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 39s] from sdhost_phy.c:21: [ 39s] /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 [ 39s] #define SYSTIMER_BASE CTL_BASE_AP_SYS_TMR [ 39s] [ 39s] In file included from sdhost_phy.c:34:0: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:26:0: warning: "AHB_SOFT_RST" redefined [ 39s] #define AHB_SOFT_RST (AHB_REG_BASE + 0x04) [ 39s] [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:20:0, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 39s] from sdhost_phy.c:21: [ 39s] /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 [ 39s] #define AHB_SOFT_RST (AHB_REG_BASE + 0x0004) [ 39s] [ 39s] In file included from sdhost_phy.c:34:0: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:38:0: warning: "USB_PHY_CTRL" redefined [ 39s] #define USB_PHY_CTRL (AHB_REG_BASE + 0xA0) [ 39s] [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:21:0, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 39s] from sdhost_phy.c:21: [ 39s] /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 [ 39s] #define USB_PHY_CTRL (CTL_BASE_APB+0x10) [ 39s] [ 39s] In file included from sdhost_phy.c:34:0: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:41:0: warning: "CHIP_ID" redefined [ 39s] #define CHIP_ID (AHB_REG_BASE + 0x1FC) [ 39s] [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:20:0, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 39s] from sdhost_phy.c:21: [ 39s] /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 [ 39s] #define CHIP_ID (AHB_REG_BASE + 0x00fc) [ 39s] [ 39s] In file included from sdhost_phy.c:39:0: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:21:0: warning: "REG_SETCLRBIT" redefined [ 39s] #define REG_SETCLRBIT(_reg_addr, _set_bit, _clr_bit) \ [ 39s] [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:30:0, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 39s] from sdhost_phy.c:21: [ 39s] /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 [ 39s] #define REG_SETCLRBIT(_reg_addr, _set_bit, _clr_bit) \ [ 39s] [ 39s] In file included from sdhost_phy.c:39:0: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:34:0: warning: "GET_LEVELBIT" redefined [ 39s] #define GET_LEVELBIT(_reg_addr, _bit_mask, _bit_set, _level_var) \ [ 39s] [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:30:0, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 39s] from sdhost_phy.c:21: [ 39s] /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 [ 39s] #define GET_LEVELBIT(_reg_addr, _bit_mask, _bit_set, _level_var) \ [ 39s] [ 39s] In file included from sdhost_phy.c:39:0: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:41:0: warning: "GET_LEVEL" redefined [ 39s] #define GET_LEVEL(_reg_addr, _bit0_mask, _bit1_mask, _level_var) \ [ 39s] [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:30:0, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 39s] from sdhost_phy.c:21: [ 39s] /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 [ 39s] #define GET_LEVEL(_reg_addr, _bit0_mask, _bit1_mask, _level_var) \ [ 39s] [ 39s] sdhost_phy.c: In function '_GetIntSDHOSTSlotNum': [ 39s] sdhost_phy.c:2341:12: warning: unused variable 'tmpReg' [-Wunused-variable] [ 39s] uint32 tmpReg; [ 39s] ^~~~~~ [ 39s] sdhost_phy.c: In function 'SdhostHisrFunc': [ 39s] sdhost_phy.c:2484:13: warning: implicit declaration of function 'threadReadBuffer' [-Wimplicit-function-declaration] [ 39s] while (!threadReadBuffer (&buffer)) [ 39s] ^~~~~~~~~~~~~~~~ [ 39s] sdhost_phy.c: In function 'SDHOST_Register': [ 39s] sdhost_phy.c:2515:24: warning: unused variable 'i' [-Wunused-variable] [ 39s] uint32 status = 0, i = 0; [ 39s] ^ [ 39s] sdhost_phy.c:2515:12: warning: unused variable 'status' [-Wunused-variable] [ 39s] uint32 status = 0, i = 0; [ 39s] ^~~~~~ [ 39s] At top level: [ 39s] sdhost_phy.c:2490:12: warning: '_SDHOST_Pin_select' defined but not used [-Wunused-function] [ 39s] LOCAL void _SDHOST_Pin_select(SDHOST_SLOT_NO slot_NO) [ 39s] ^~~~~~~~~~~~~~~~~~ [ 39s] sdhost_phy.c:2480:13: warning: 'SdhostHisrFunc' defined but not used [-Wunused-function] [ 39s] LOCAL void SdhostHisrFunc (uint32 cnt, void *pData) [ 39s] ^~~~~~~~~~~~~~ [ 39s] sdhost_phy.c:2339:22: warning: '_GetIntSDHOSTSlotNum' defined but not used [-Wunused-function] [ 39s] LOCAL SDHOST_SLOT_NO _GetIntSDHOSTSlotNum (uint32 port) [ 39s] ^~~~~~~~~~~~~~~~~~~~ [ 39s] sdhost_phy.c:1621:12: warning: '_GetSDHOSTCapbility' defined but not used [-Wunused-function] [ 39s] LOCAL void _GetSDHOSTCapbility (SDHOST_HANDLE sdhost_handler,SDHOST_CAPBILIT_T *capbility) [ 39s] ^~~~~~~~~~~~~~~~~~~ [ 39s] sdhost_phy.c:115:15: warning: '_RegisterVerifyHOST' defined but not used [-Wunused-function] [ 39s] LOCAL BOOLEAN _RegisterVerifyHOST (SDHOST_HANDLE sdhost_handler) [ 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 card_sdio.o card_sdio.c -c [ 39s] rm -f libnet.o; ar rcs libnet.o [ 39s] clock.c: In function 'clk_set_rate': [ 39s] clock.c:138:16: warning: unused variable 'flags' [-Wunused-variable] [ 39s] unsigned long flags; [ 39s] ^~~~~ [ 39s] clock.c: In function 'clk_set_parent': [ 39s] clock.c:171:16: warning: unused variable 'flags' [-Wunused-variable] [ 39s] unsigned long flags; [ 39s] ^~~~~ [ 39s] clock.c: In function 'sci_clk_enable': [ 39s] clock.c:222:4: warning: implicit declaration of function 'sci_glb_set' [-Wimplicit-function-declaration] [ 39s] sci_glb_set(c->regs->enb.reg & ~1, c->regs->enb.mask); [ 39s] ^~~~~~~~~~~ [ 39s] clock.c:224:4: warning: implicit declaration of function 'sci_glb_clr' [-Wimplicit-function-declaration] [ 39s] sci_glb_clr(c->regs->enb.reg & ~1, c->regs->enb.mask); [ 39s] ^~~~~~~~~~~ [ 39s] clock.c: In function 'sci_clk_is_enable': [ 39s] clock.c:240:10: warning: implicit declaration of function 'sci_glb_read' [-Wimplicit-function-declaration] [ 39s] ! !sci_glb_read(c->regs->enb.reg & ~1, c->regs->enb.mask); [ 39s] ^~~~~~~~~~~~ [ 39s] clock.c: In function 'sci_clk_set_rate': [ 39s] clock.c:258:2: warning: implicit declaration of function 'sci_glb_write' [-Wimplicit-function-declaration] [ 39s] sci_glb_write(c->regs->div.reg, div << div_shift, c->regs->div.mask); [ 39s] ^~~~~~~~~~~~~ [ 39s] clock.c: In function 'sci_clk_register': [ 39s] clock.c:444:2: warning: implicit declaration of function 'clkdev_add' [-Wimplicit-function-declaration] [ 39s] clkdev_add(cl); [ 39s] ^~~~~~~~~~ [ 39s] clock.c: At top level: [ 39s] clock.c:480:19: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] [ 39s] .notifier_call = __clk_cpufreq_notifier [ 39s] ^~~~~~~~~~~~~~~~~~~~~~ [ 39s] clock.c:480:19: note: (near initialization for '__clk_cpufreq_notifier_block.notifier_call') [ 39s] clock.c:518:1: warning: data definition has no type or storage class [ 39s] arch_initcall(sci_clock_init); [ 39s] ^~~~~~~~~~~~~ [ 39s] clock.c:518:1: warning: type defaults to 'int' in declaration of 'arch_initcall' [-Wimplicit-int] [ 39s] clock.c:518:1: warning: parameter names (without types) in function declaration [ 39s] clock.c:519:1: warning: data definition has no type or storage class [ 39s] late_initcall_sync(sci_clock_dump); [ 39s] ^~~~~~~~~~~~~~~~~~ [ 39s] clock.c:519:1: warning: type defaults to 'int' in declaration of 'late_initcall_sync' [-Wimplicit-int] [ 39s] clock.c:519:1: warning: parameter names (without types) in function declaration [ 39s] clock.c:479:30: warning: '__clk_cpufreq_notifier_block' defined but not used [-Wunused-variable] [ 39s] static struct notifier_block __clk_cpufreq_notifier_block = { [ 39s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 39s] clock.c:452:19: warning: 'sci_clock_dump' defined but not used [-Wunused-function] [ 39s] static int __init sci_clock_dump(void) [ 39s] ^~~~~~~~~~~~~~ [ 39s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pcmcia' [ 39s] make[1]: Leaving 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 check_reboot.o check_reboot.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_mem.o cmd_mem.c -c [ 39s] In file included from card_sdio.c:22:0: [ 39s] card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 39s] PUBLIC void Emmc_DisSdClk(); [ 39s] ^~~~~~ [ 39s] card_sdio.c: In function 'CARD_SDIO_Select_CurPartition': [ 39s] card_sdio.c:1394:9: warning: unused variable 'RCA' [-Wunused-variable] [ 39s] uint16 RCA = cardHandle->RCA; [ 39s] ^~~ [ 39s] card_sdio.c: In function '_SetBusWidth': [ 39s] card_sdio.c:1442:9: warning: unused variable 'RCA' [-Wunused-variable] [ 39s] uint16 RCA = cardHandle->RCA; [ 39s] ^~~ [ 39s] card_sdio.c: In function 'CARD_SDIO_InitCard': [ 39s] card_sdio.c:1648:8: warning: variable 'extcsd_Part_Config' set but not used [-Wunused-but-set-variable] [ 39s] uint8 extcsd_Part_Config; [ 39s] ^~~~~~~~~~~~~~~~~~ [ 39s] card_sdio.c:1646:24: warning: unused variable 'errCode' [-Wunused-variable] [ 39s] SDIO_CARD_PAL_ERROR_E errCode; [ 39s] ^~~~~~~ [ 39s] card_sdio.c:1645:10: warning: unused variable 'vertion_flag' [-Wunused-variable] [ 39s] BOOLEAN vertion_flag; //TRUE: SD2.0 FALSE: SD1.x [ 39s] ^~~~~~~~~~~~ [ 39s] card_sdio.c: In function 'CARD_SDIO_getCID': [ 39s] card_sdio.c:1930:55: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 39s] 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]; [ 39s] ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ [ 39s] card_sdio.c:1930:95: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 39s] 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]; [ 39s] ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ [ 39s] card_sdio.c:1932:55: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 39s] 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; [ 39s] ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ [ 39s] card_sdio.c:1932:95: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 39s] 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; [ 39s] ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ [ 39s] card_sdio.c:1932:135: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 39s] 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; [ 39s] ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ [ 39s] card_sdio.c:1933:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 39s] 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; [ 39s] ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ [ 39s] card_sdio.c:1933:110: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 39s] 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; [ 39s] ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ [ 39s] card_sdio.c: In function 'SDCARD_SDIO_InitCard': [ 39s] card_sdio.c:1968:2: warning: implicit declaration of function 'sprd_gpio_request' [-Wimplicit-function-declaration] [ 39s] sprd_gpio_request(NULL, 100); [ 39s] ^~~~~~~~~~~~~~~~~ [ 39s] card_sdio.c:1969:2: warning: implicit declaration of function 'sprd_gpio_direction_output' [-Wimplicit-function-declaration] [ 39s] sprd_gpio_direction_output(NULL, 100, 1); [ 39s] ^~~~~~~~~~~~~~~~~~~~~~~~~~ [ 39s] card_sdio.c:1976:2: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] [ 39s] udelay(5000); [ 39s] ^~~~~~ [ 39s] card_sdio.c:2165:4: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 39s] printf("SDCARD_SDIO_ReadRCA failed!\r\n"); [ 39s] ^~~~~~ [ 39s] card_sdio.c:1953:19: warning: unused variable 'busWidth' [-Wunused-variable] [ 39s] CARD_BUS_WIDTH_E busWidth = CARD_WIDTH_1_BIT; [ 39s] ^~~~~~~~ [ 39s] In file included from card_sdio.c:1964:0: [ 39s] /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] [ 39s] } pinmap_t; [ 39s] ^~~~~~~~ [ 39s] card_sdio.c: At top level: [ 39s] card_sdio.c:2783:16: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 39s] PUBLIC BOOLEAN SDCARD_Init() [ 39s] ^~~~~~~~~~~ [ 39s] card_sdio.c: In function 'SDCARD_Init': [ 39s] card_sdio.c:2785:9: warning: unused variable 'ret' [-Wunused-variable] [ 39s] uint32 ret = 0; [ 39s] ^~~ [ 39s] card_sdio.c: At top level: [ 39s] card_sdio.c:2797:16: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 39s] PUBLIC BOOLEAN SDCARD_PowerOn() [ 39s] ^~~~~~~~~~~~~~ [ 39s] card_sdio.c:2907:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 39s] PUBLIC void Emmc_DisSdClk() [ 39s] ^~~~~~~~~~~~~ [ 39s] make -C drivers/power/ [ 39s] card_sdio.c:1580:12: warning: '_CMD6_Response_Analyze' defined but not used [-Wunused-function] [ 39s] LOCAL void _CMD6_Response_Analyze(uint8* resBuf,CARD_CMD6_STATUS_T* cmdStatus) [ 39s] ^~~~~~~~~~~~~~~~~~~~~~ [ 39s] card_sdio.c:457:12: warning: '_SD_CID_Analyze' defined but not used [-Wunused-function] [ 39s] LOCAL void _SD_CID_Analyze(uint8* CIDbuf,CARD_SD_CID_T *CID) [ 39s] ^~~~~~~~~~~~~~~ [ 39s] card_sdio.c:370:15: warning: '_IsCardHandleValid' defined but not used [-Wunused-function] [ 39s] LOCAL BOOLEAN _IsCardHandleValid(CARD_SDIO_HANDLE cardHandle) [ 39s] ^~~~~~~~~~~~~~~~~~ [ 39s] rm -f libphy.o; ar rcs libphy.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_misc.o cmd_misc.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 check_reboot.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 check_reboot.c:2: [ 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 check_reboot.c:6:0: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/rtc_reg_v3.h:34:0: warning: "RTC_BASE" redefined [ 39s] #define RTC_BASE SPRD_ANA_RTC_PHYS [ 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 check_reboot.c:2: [ 39s] /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 [ 39s] #define RTC_BASE 0x40038080 [ 39s] [ 39s] In file included from check_reboot.c:7:0: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:20:0: warning: "SPRD_ADI_BASE" redefined [ 39s] #define SPRD_ADI_BASE SPRD_MISC_PHYS [ 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 check_reboot.c:4: [ 39s] /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 [ 39s] #define SPRD_ADI_BASE SCI_IOMAP(0x1f0000) [ 39s] [ 39s] check_reboot.c: In function 'check_reboot_mode': [ 39s] check_reboot.c:47:11: warning: unused variable 'val' [-Wunused-variable] [ 39s] unsigned val, rst_mode= 0; [ 39s] ^~~ [ 39s] check_reboot.c: At top level: [ 39s] check_reboot.c:123:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 39s] int get_mode_from_gpio() [ 39s] ^~~~~~~~~~~~~~~~~~ [ 39s] check_reboot.c: In function 'get_mode_from_gpio': [ 39s] check_reboot.c:129:45: warning: implicit declaration of function 'charger_connected' [-Wimplicit-function-declaration] [ 39s] ret = (hw_rst_mode & HW_PBINT2_STATUS) && !charger_connected(); [ 39s] ^~~~~~~~~~~~~~~~~ [ 39s] check_reboot.c: In function 'reboot_devices': [ 39s] check_reboot.c:150:2: warning: implicit declaration of function 'reset_cpu' [-Wimplicit-function-declaration] [ 39s] reset_cpu(0); [ 39s] ^~~~~~~~~ [ 39s] check_reboot.c: In function 'power_down_devices': [ 39s] check_reboot.c:154:2: warning: implicit declaration of function 'power_down_cpu' [-Wimplicit-function-declaration] [ 39s] power_down_cpu(0); [ 39s] ^~~~~~~~~~~~~~ [ 39s] check_reboot.c: In function 'power_button_pressed': [ 39s] check_reboot.c:167:2: warning: implicit declaration of function 'sci_glb_set' [-Wimplicit-function-declaration] [ 39s] sci_glb_set(REG_AON_APB_APB_EB0,BIT_AON_GPIO_EB | BIT_EIC_EB); [ 39s] ^~~~~~~~~~~ [ 39s] check_reboot.c:179:2: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] [ 39s] udelay(3000); [ 39s] ^~~~~~ [ 39s] check_reboot.c: In function 'charger_connected': [ 39s] check_reboot.c:192:2: warning: implicit declaration of function 'sprd_eic_request' [-Wimplicit-function-declaration] [ 39s] sprd_eic_request(EIC_CHG_INT); [ 39s] ^~~~~~~~~~~~~~~~ [ 39s] check_reboot.c:201:11: warning: implicit declaration of function 'sprd_eic_get' [-Wimplicit-function-declaration] [ 39s] return !!sprd_eic_get(EIC_CHG_INT); [ 39s] ^~~~~~~~~~~~ [ 39s] check_reboot.c: At top level: [ 39s] check_reboot.c:43:19: warning: inline function 'is_hw_smpl_enable' declared but never defined [ 39s] extern inline int is_hw_smpl_enable(void); [ 39s] ^~~~~~~~~~~~~~~~~ [ 39s] check_reboot.c:41:19: warning: inline function 'is_7s_reset' declared but never defined [ 39s] extern inline int is_7s_reset(void); [ 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 eic.o eic.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_mmc.o cmd_mmc.c -c [ 39s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net/phy' [ 39s] make -C drivers/rtc/ [ 39s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/power' [ 39s] ld -r -o libmmc.o mmc.o mv_sdhci.o sdhci.o sdio_card_pal.o sdhost_phy.o card_sdio.o [ 39s] rm -f libpci.o; ar rcs libpci.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 vibrator_sc2723.o vibrator_sc2723.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 cmd_nvedit.o cmd_nvedit.c -c [ 40s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mmc' [ 40s] make -C drivers/serial/ [ 40s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/rtc' [ 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 otp-helper.o otp-helper.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 cmd_pcmcia.o cmd_pcmcia.c -c [ 40s] make -C drivers/sound/codec/ [ 40s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/serial' [ 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 efuse.o 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_source.o cmd_source.c -c [ 40s] make -C drivers/sound/dai/ [ 40s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/codec' [ 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_version.o cmd_version.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 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 rpx_pcmcia.o rpx_pcmcia.c -c [ 40s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/dai' [ 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 sprd_battery.o sprd_battery.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_ximg.o cmd_ximg.c -c [ 40s] ana_efuse.c:85:13: warning: 'adie_efuse_reset' defined but not used [-Wunused-function] [ 40s] static void adie_efuse_reset(void) [ 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 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 watchdog.o watchdog.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] 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] 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] ld -r -o libpower.o sprd_battery.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 date.o date.c -c [ 41s] ld -r -o libpcmcia.o rpx_pcmcia.o tqm8xx_pcmcia.o [ 41s] rm -f libcodec.o; ar rcs libcodec.o [ 41s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/power' [ 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 /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 serial_sc8800x.o serial_sc8800x.c -c [ 41s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pcmcia' [ 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 console.o console.c -c [ 41s] ld -r -o librtc.o date.o [ 41s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/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 chip_cfg.o chip_cfg.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] 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 dlmalloc.o dlmalloc.c -c [ 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] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:4:0, [ 41s] from serial_sc8800x.c:7: [ 41s] /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] [ 41s] struct FDL_ChannelHandler *FDL_ChannelGet(); [ 41s] ^~~~~~~~~~~~~~~~~~ [ 41s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound' [ 41s] make -C drivers/spi/ [ 41s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/rtc' [ 41s] console.c: In function 'ram_puts': [ 41s] console.c:210:4: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 41s] p = (unsigned char*)CONFIG_RAM_CONSOLE_START + used_size; [ 41s] ^ [ 41s] rm -f libdai.o; ar rcs libdai.o [ 41s] ld -r -o libserial.o serial_sc8800x.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 chip_x30g/chip_phy_x30g.o chip_x30g/chip_phy_x30g.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 env_common.o env_common.c -c [ 41s] make -C drivers/twserial/ [ 41s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/dai' [ 41s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/spi' [ 41s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/serial' [ 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 Tshark_boot_cp.o Tshark_boot_cp.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 chip_x30g/chip_phy_x30g.c:25: [ 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 chip_x30g/chip_phy_x30g.c:22: [ 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 chip_x30g/chip_phy_x30g.c:26:0: [ 41s] /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] [ 41s] PUBLIC void BOOT_ResetHWFlag (); [ 41s] ^~~~~~ [ 41s] In file included from chip_x30g/chip_phy_x30g.c:27: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 chip_x30g/chip_phy_x30g.c:25: [ 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] chip_x30g/chip_phy_x30g.c:203:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 41s] PUBLIC void CHIP_PHY_BootIramEn () [ 41s] ^~~~~~~~~~~~~~~~~~~ [ 41s] chip_x30g/chip_phy_x30g.c:236:16: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 41s] PUBLIC BOOLEAN CHIP_PHY_IsResetByPowerUp() [ 41s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 41s] chip_x30g/chip_phy_x30g.c:255:16: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 41s] PUBLIC BOOLEAN CHIP_PHY_IsResetByWatchDog() [ 41s] ^~~~~~~~~~~~~~~~~~~~~~~~~~ [ 41s] chip_x30g/chip_phy_x30g.c: In function 'TDPllRefConfig': [ 41s] chip_x30g/chip_phy_x30g.c:297:5: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] [ 41s] udelay(1); [ 41s] ^~~~~~ [ 41s] chip_x30g/chip_phy_x30g.c: In function 'dcdc_core_ds_config': [ 41s] chip_x30g/chip_phy_x30g.c:721:16: warning: unused variable 'reg_val' [-Wunused-variable] [ 41s] uint32 reg_val = 0; [ 41s] ^~~~~~~ [ 41s] chip_x30g/chip_phy_x30g.c:720:16: warning: unused variable 'dcdc_core_ctl_adi' [-Wunused-variable] [ 41s] uint32 dcdc_core_ctl_adi = 0; [ 41s] ^~~~~~~~~~~~~~~~~ [ 41s] chip_x30g/chip_phy_x30g.c: At top level: [ 41s] chip_x30g/chip_phy_x30g.c:838:1: warning: missing braces around initializer [-Wmissing-braces] [ 41s] { [ 41s] ^ [ 41s] chip_x30g/chip_phy_x30g.c:838:1: note: (near initialization for 'lp_cfg') [ 41s] chip_x30g/chip_phy_x30g.c: In function 'setup_ap_cp_sync_sleep_code': [ 41s] chip_x30g/chip_phy_x30g.c:868:16: warning: unused variable 'sa' [-Wunused-variable] [ 41s] unsigned int *sa = (unsigned int*)start_addr; [ 41s] ^~ [ 41s] chip_x30g/chip_phy_x30g.c: In function 'CSP_Init': [ 41s] chip_x30g/chip_phy_x30g.c:888:2: warning: implicit declaration of function 'calibrate_register_callback' [-Wimplicit-function-declaration] [ 41s] calibrate_register_callback((void*)dcdc_core_ds_config); [ 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 env_nowhere.o env_nowhere.c -c [ 41s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/twserial' [ 41s] make -C drivers/usb/gadget/dwc_otg/ [ 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 misc.o misc.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 exports.o exports.c -c [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 41s] from Tshark_boot_cp.c:1: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 41s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 41s] [ 41s] /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 [ 41s] #define VLR_INFO_OFF (512) [ 41s] [ 41s] In file included from Tshark_boot_cp.c:1:0: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 41s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 41s] ^~~~~~ [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 41s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 41s] ^~~~~~ [ 41s] In file included from Tshark_boot_cp.c:1:0: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:213:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 41s] int read_spldata(); [ 41s] ^~~ [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:216:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 41s] void vlx_entry(); [ 41s] ^~~~ [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:4, [ 41s] from Tshark_boot_cp.c:1: [ 41s] Tshark_boot_cp.c: In function 'boot_cp0': [ 41s] /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] [ 41s] #define CP0_CODE_COPY_ADR 0x50000000 [ 41s] ^ [ 41s] Tshark_boot_cp.c:9:9: note: in expansion of macro 'CP0_CODE_COPY_ADR' [ 41s] memcpy(CP0_CODE_COPY_ADR, m_data, sizeof(m_data)); /* copy cp0 source code */ [ 41s] ^~~~~~~~~~~~~~~~~ [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 41s] from Tshark_boot_cp.c:1: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'int' [ 41s] void* memcpy(void*, const void*, size_t); [ 41s] ^~~~~~ [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:4, [ 41s] from Tshark_boot_cp.c:1: [ 41s] Tshark_boot_cp.c: In function 'boot_cp2': [ 41s] /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] [ 41s] #define CP2_CODE_COPY_ADR 0x50003000 [ 41s] ^ [ 41s] Tshark_boot_cp.c:35:9: note: in expansion of macro 'CP2_CODE_COPY_ADR' [ 41s] memcpy(CP2_CODE_COPY_ADR, wcndata, sizeof(wcndata)); /* copy cp2 source code */ [ 41s] ^~~~~~~~~~~~~~~~~ [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 41s] from Tshark_boot_cp.c:1: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'int' [ 41s] void* memcpy(void*, const void*, size_t); [ 41s] ^~~~~~ [ 41s] make -C drivers/usb/gadget/ [ 41s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget/dwc_otg' [ 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 fdt_support.o fdt_support.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 dcdc_cal_sc2723.o dcdc_cal_sc2723.c -c [ 41s] rm -f libsound.o; ar rcs libsound.o [ 41s] misc.c:23:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 41s] int sprd_jtag_enable() [ 41s] ^~~~~~~~~~~~~~~~ [ 41s] misc.c:38:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 41s] int sprd_jtag_disable() [ 41s] ^~~~~~~~~~~~~~~~~ [ 41s] misc.c:54:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 41s] static void ap_slp_cp_dbg_cfg() [ 41s] ^~~~~~~~~~~~~~~~~ [ 41s] misc.c:59:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 41s] static void ap_cpll_rel_cfg() [ 41s] ^~~~~~~~~~~~~~~ [ 41s] misc.c:64:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 41s] static void bb_bg_auto_en() [ 41s] ^~~~~~~~~~~~~ [ 41s] misc.c:70:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 41s] static void ap_close_wpll_en() [ 41s] ^~~~~~~~~~~~~~~~ [ 41s] misc.c:75:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 41s] static void ap_close_cpll_en() [ 41s] ^~~~~~~~~~~~~~~~ [ 41s] misc.c:80:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 41s] static void ap_close_wifipll_en() [ 41s] ^~~~~~~~~~~~~~~~~~~ [ 41s] misc.c:86:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 41s] static void bb_ldo_auto_en() [ 41s] ^~~~~~~~~~~~~~ [ 41s] misc.c: In function 'pmic_init': [ 41s] misc.c:410:6: warning: unused variable 'val' [-Wunused-variable] [ 41s] u32 val; [ 41s] ^~~ [ 41s] misc.c: At top level: [ 41s] misc.c:461:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 41s] void gpu_clk_auto_gate_disable() [ 41s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 41s] misc.c:466:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 41s] void misc_init() [ 41s] ^~~~~~~~~ [ 41s] misc.c: In function 'misc_init': [ 41s] misc.c:492:2: warning: implicit declaration of function '__raw_bits_or' [-Wimplicit-function-declaration] [ 41s] __raw_bits_or((BIT_CSI1_PHY_PD | BIT_CSI0_PHY_PD), REG_AON_APB_PWR_CTRL); [ 41s] ^~~~~~~~~~~~~ [ 41s] misc.c: In function 'get_dram_cs_number': [ 41s] misc.c:508:31: warning: initialization makes pointer from integer without a cast [-Wint-conversion] [ 41s] mem_cs_info_t *cs_info_ptr = 0x1C00; [ 41s] ^~~~~~ [ 41s] misc.c: In function 'get_dram_cs0_size': [ 41s] misc.c:513:31: warning: initialization makes pointer from integer without a cast [-Wint-conversion] [ 41s] mem_cs_info_t *cs_info_ptr = 0x1C00; [ 41s] ^~~~~~ [ 41s] At top level: [ 41s] misc.c:86:13: warning: 'bb_ldo_auto_en' defined but not used [-Wunused-function] [ 41s] static void bb_ldo_auto_en() [ 41s] ^~~~~~~~~~~~~~ [ 41s] misc.c:80:13: warning: 'ap_close_wifipll_en' defined but not used [-Wunused-function] [ 41s] static void ap_close_wifipll_en() [ 41s] ^~~~~~~~~~~~~~~~~~~ [ 41s] misc.c:75:13: warning: 'ap_close_cpll_en' defined but not used [-Wunused-function] [ 41s] static void ap_close_cpll_en() [ 41s] ^~~~~~~~~~~~~~~~ [ 41s] misc.c:70:13: warning: 'ap_close_wpll_en' defined but not used [-Wunused-function] [ 41s] static void ap_close_wpll_en() [ 41s] ^~~~~~~~~~~~~~~~ [ 41s] misc.c:64:13: warning: 'bb_bg_auto_en' defined but not used [-Wunused-function] [ 41s] static void bb_bg_auto_en() [ 41s] ^~~~~~~~~~~~~ [ 41s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget' [ 41s] make -C drivers/usb/host/ [ 41s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound' [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 41s] from fdt_support.c:35: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 41s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 41s] [ 41s] /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 [ 41s] #define VLR_INFO_OFF (512) [ 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 flash.o flash.c -c [ 41s] In file included from fdt_support.c:35:0: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 41s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 41s] ^~~~~~ [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 41s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 41s] ^~~~~~ [ 41s] In file included from fdt_support.c:35:0: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:213:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 41s] int read_spldata(); [ 41s] ^~~ [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:216:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 41s] void vlx_entry(); [ 41s] ^~~~ [ 41s] fdt_support.c: In function 'fdt_initrd_norsvmem': [ 41s] fdt_support.c:222:17: warning: unused variable 'size' [-Wunused-variable] [ 41s] uint64_t addr, size; [ 41s] ^~~~ [ 41s] fdt_support.c:222:11: warning: unused variable 'addr' [-Wunused-variable] [ 41s] uint64_t addr, size; [ 41s] ^~~~ [ 41s] fdt_support.c: In function 'fdt_chosen_bootargs_replace': [ 41s] fdt_support.c:376:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 41s] src = path; [ 41s] ^ [ 41s] fdt_support.c: In function 'fdt_fixup_lcdid': [ 41s] fdt_support.c:471:2: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 41s] extern uint32_t load_lcd_id_to_kernel(); [ 41s] ^~~~~~ [ 41s] fdt_support.c: In function 'fdt_fixup_lcdbase': [ 41s] fdt_support.c:501:27: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'void *' [-Wformat=] [ 41s] sprintf(&buf[str_len], "%x",lcd_base); [ 41s] ^ [ 41s] fdt_support.c: In function 'fdt_fixup_adc_calibration_data': [ 41s] fdt_support.c:628:41: warning: passing argument 1 of 'read_adc_calibration_data' from incompatible pointer type [-Wincompatible-pointer-types] [ 41s] int ret = read_adc_calibration_data(adc_data,48); [ 41s] ^~~~~~~~ [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18:0, [ 41s] from fdt_support.c:35: [ 41s] /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 *' [ 41s] int read_adc_calibration_data(char *buffer,int size); [ 41s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 41s] fdt_support.c:634:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 41s] int ret; [ 41s] ^~~ [ 41s] fdt_support.c: In function 'fdt_fixup_chosen_bootargs_board_private': [ 41s] fdt_support.c:732:50: warning: implicit declaration of function 'poweron_by_calibration' [-Wimplicit-function-declaration] [ 41s] fdt_fixup_chosen_bootargs_board(buf, boot_mode, poweron_by_calibration()); [ 41s] ^~~~~~~~~~~~~~~~~~~~~~ [ 41s] fdt_support.c: In function 'fdt_debug_print_prop': [ 41s] fdt_support.c:1687:23: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'void *' [-Wformat=] [ 41s] printf("fdt addr: 0x%x\n", fdt); [ 41s] ^ [ 41s] fdt_support.c:1683:8: warning: unused variable 'strargs' [-Wunused-variable] [ 41s] char *strargs; [ 41s] ^~~~~~~ [ 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 sprd_spi.o sprd_spi.c -c [ 42s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/host' [ 42s] make -C drivers/usb/musb/ [ 42s] In file included from sprd_spi.c:7:0: [ 42s] /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] [ 42s] PUBLIC void SPI_WaitTxFinish(); [ 42s] ^~~~~~ [ 42s] sprd_spi.c: In function 'SPI_Reset': [ 42s] sprd_spi.c:94:9: warning: unused variable 'i' [-Wunused-variable] [ 42s] uint32 i = 0; [ 42s] ^ [ 42s] sprd_spi.c: In function 'SPI_SetCsLow': [ 42s] sprd_spi.c:153:9: warning: unused variable 'temp' [-Wunused-variable] [ 42s] uint32 temp; [ 42s] ^~~~ [ 42s] sprd_spi.c: In function 'SPI_Init': [ 42s] sprd_spi.c:335:27: warning: unused variable 'ctl3' [-Wunused-variable] [ 42s] uint32 ctl0, ctl1, ctl2, ctl3; [ 42s] ^~~~ [ 42s] sprd_spi.c:335:21: warning: unused variable 'ctl2' [-Wunused-variable] [ 42s] uint32 ctl0, ctl1, ctl2, ctl3; [ 42s] ^~~~ [ 42s] sprd_spi.c:335:15: warning: unused variable 'ctl1' [-Wunused-variable] [ 42s] uint32 ctl0, ctl1, ctl2, ctl3; [ 42s] ^~~~ [ 42s] sprd_spi.c:335:9: warning: unused variable 'ctl0' [-Wunused-variable] [ 42s] uint32 ctl0, ctl1, ctl2, ctl3; [ 42s] ^~~~ [ 42s] sprd_spi.c: At top level: [ 42s] sprd_spi.c:366:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] PUBLIC void SPI_WaitTxFinish() [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] sprd_spi.c: In function 'SPI_WaitTxFinish': [ 42s] sprd_spi.c:370:9: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] [ 42s] while( !(spi_ctr_ptr->iraw)&BIT_8 ) // IS tx finish [ 42s] ^~~~~~~~~~~~~~~~~~~~ [ 42s] sprd_spi.c: In function 'SPI_WriteData': [ 42s] sprd_spi.c:387:9: warning: unused variable 'command' [-Wunused-variable] [ 42s] uint32 command; [ 42s] ^~~~~~~ [ 42s] At top level: [ 42s] sprd_spi.c:120:12: warning: 'SPI_PinConfig' defined but not used [-Wunused-function] [ 42s] LOCAL void SPI_PinConfig(void) [ 42s] ^~~~~~~~~~~~~ [ 42s] rm -f libtws.o; ar rcs libtws.o [ 42s] ld -r -o libspi.o sprd_spi.o [ 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] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/musb' [ 42s] make[1]: Leaving 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 idh_layout.o idh_layout.c -c [ 42s] make -C drivers/usb/phy/ [ 42s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/spi' [ 42s] a - mmu_asm.o [ 42s] a - generic.o [ 42s] a - timer.o [ 42s] a - reset.o [ 42s] a - ldo.o [ 42s] a - mfp_sprd.o [ 42s] a - mmu.o [ 42s] a - adc.o [ 42s] a - rtc-sprd.o [ 42s] a - sec_boot.o [ 42s] a - glb.o [ 42s] a - adi.o [ 42s] a - gpio.o [ 42s] a - gpio_phy.o [ 42s] a - clock.o [ 42s] a - check_reboot.o [ 42s] a - eic.o [ 42s] a - vibrator_sc2723.o [ 42s] a - otp-helper.o [ 42s] a - efuse.o [ 42s] a - ana_efuse.o [ 42s] a - watchdog.o [ 42s] a - watchdog_phy_v3.o [ 42s] a - watchdog_hal.o [ 42s] a - chip_cfg.o [ 42s] a - chip_x30g/chip_phy_x30g.o [ 42s] a - Tshark_boot_cp.o [ 42s] a - misc.o [ 42s] a - dcdc_cal_sc2723.o [ 42s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7/sc8830' [ 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 image.o image.c -c [ 42s] make -C drivers/video/ [ 42s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/phy' [ 42s] idh_layout.c: In function 'create_mtdpart_buffer': [ 42s] idh_layout.c:54:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] [ 42s] while (strcmp(mtd_partition_cfg[i].name, "cache") != 0) [ 42s] ^~~~~~~~~~~~~~~~~ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 42s] from idh_layout.c:1: [ 42s] /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 *' [ 42s] extern int strcmp(const char *,const char *); [ 42s] ^~~~~~ [ 42s] idh_layout.c:64:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] [ 42s] while (strcmp(mtd_partition_cfg[i].name, "userdata") != 0) [ 42s] ^~~~~~~~~~~~~~~~~ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 42s] from idh_layout.c:1: [ 42s] /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 *' [ 42s] extern int strcmp(const char *,const char *); [ 42s] ^~~~~~ [ 42s] idh_layout.c:79:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] [ 42s] sprintf(mtdpartbuffer, "mtdparts=sprd-nand:"); [ 42s] ^~~~~~~~~~~~~ [ 42s] In file included from idh_layout.c:1:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:655:5: note: expected 'char *' but argument is of type 'unsigned char *' [ 42s] int sprintf(char * buf, const char *fmt, ...) [ 42s] ^~~~~~~ [ 42s] idh_layout.c:80:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 42s] str_len = strlen(mtdpartbuffer); [ 42s] ^~~~~~~~~~~~~ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 42s] from idh_layout.c:1: [ 42s] /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 *' [ 42s] extern __kernel_size_t strlen(const char *); [ 42s] ^~~~~~ [ 42s] idh_layout.c:83:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] [ 42s] sprintf(&mtdpartbuffer[str_len], "%dk(%s),", mtd_partition_cfg[i].size, mtd_partition_cfg[i].name); [ 42s] ^ [ 42s] In file included from idh_layout.c:1:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:655:5: note: expected 'char *' but argument is of type 'unsigned char *' [ 42s] int sprintf(char * buf, const char *fmt, ...) [ 42s] ^~~~~~~ [ 42s] idh_layout.c:83:38: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 42s] sprintf(&mtdpartbuffer[str_len], "%dk(%s),", mtd_partition_cfg[i].size, mtd_partition_cfg[i].name); [ 42s] ^ [ 42s] idh_layout.c:84:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 42s] str_len = strlen(mtdpartbuffer); [ 42s] ^~~~~~~~~~~~~ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 42s] from idh_layout.c:1: [ 42s] /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 *' [ 42s] extern __kernel_size_t strlen(const char *); [ 42s] ^~~~~~ [ 42s] idh_layout.c:87:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 42s] str_len = strlen(mtdpartbuffer); [ 42s] ^~~~~~~~~~~~~ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 42s] from idh_layout.c:1: [ 42s] /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 *' [ 42s] extern __kernel_size_t strlen(const char *); [ 42s] ^~~~~~ [ 42s] At top level: [ 42s] idh_layout.c:22:22: warning: 'nandsize' defined but not used [-Wunused-variable] [ 42s] static unsigned long nandsize = 0; [ 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 lcd.o lcd.c -c [ 42s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video' [ 42s] rm -f libusb_host.o; ar rcs libusb_host.o [ 42s] In file included from lcd.c:65:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/sp_bmp_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 42s] unsigned short __attribute__((packed, aligned(4))) sp_palette[] = { [ 42s] ^~~~~~~~ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/sp_bmp_logo.h:26:1: warning: 'packed' attribute ignored [-Wattributes] [ 42s] unsigned short __attribute__((packed, aligned(4))) sp_bitmap[] = { [ 42s] ^~~~~~~~ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/sp_bmp_logo.h:791:1: warning: 'packed' attribute ignored [-Wattributes] [ 42s] unsigned int __attribute__((packed, aligned(4))) sp_num_bitmap[] = { [ 42s] ^~~~~~~~ [ 42s] In file included from lcd.c:66:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/thor_bmp_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 42s] unsigned short __attribute__((packed, aligned(4))) thor_palette[] = { [ 42s] ^~~~~~~~ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/thor_bmp_logo.h:44:1: warning: 'packed' attribute ignored [-Wattributes] [ 42s] unsigned short __attribute__((packed, aligned(4))) thor_bitmap[] = { [ 42s] ^~~~~~~~ [ 42s] make -C drivers/video/sprdfb/dsi_1_21a/ [ 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 epautoconf.o epautoconf.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 -DDWC_LINUX -DDWC_DEVICE_ONLY -Dlinux -DDWC_HS_ELECT_TST -c -o dwc_otg_driver.o dwc_otg_driver.c [ 42s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/host' [ 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 main.o main.c -c [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/thor_bmp_logo.h:2908:1: warning: 'packed' attribute ignored [-Wattributes] [ 42s] unsigned int __attribute__((packed, aligned(4))) thor_num_bitmap[] = { [ 42s] ^~~~~~~~ [ 42s] In file included from lcd.c:67:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/charge_bmp_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 42s] unsigned short __attribute__((packed, aligned(4))) charge_palette[] = { [ 42s] ^~~~~~~~ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/charge_bmp_logo.h:5:1: warning: 'packed' attribute ignored [-Wattributes] [ 42s] unsigned short __attribute__((packed, aligned(4))) charge_bitmap[] = { [ 42s] ^~~~~~~~ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/charge_bmp_logo.h:381:1: warning: 'packed' attribute ignored [-Wattributes] [ 42s] unsigned int __attribute__((packed, aligned(4))) charge_num_bitmap[] = { [ 42s] ^~~~~~~~ [ 42s] rm -f libusb_musb.o; ar rcs libusb_musb.o [ 42s] In file included from lcd.c:68:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_start_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 42s] unsigned short __attribute__((packed, aligned(4))) prog_start_palette[] = { [ 42s] ^~~~~~~~ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_start_logo.h:13:1: warning: 'packed' attribute ignored [-Wattributes] [ 42s] unsigned short __attribute__((packed, aligned(4))) prog_start_bitmap[] = { [ 42s] ^~~~~~~~ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_start_logo.h:37:1: warning: 'packed' attribute ignored [-Wattributes] [ 42s] unsigned int __attribute__((packed, aligned(4))) prog_start_num_bitmap[] = { [ 42s] ^~~~~~~~ [ 42s] In file included from lcd.c:69:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_mid_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 42s] unsigned short __attribute__((packed, aligned(4))) prog_mid_palette[] = { [ 42s] ^~~~~~~~ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_mid_logo.h:5:1: warning: 'packed' attribute ignored [-Wattributes] [ 42s] unsigned short __attribute__((packed, aligned(4))) prog_mid_bitmap[] = { [ 42s] ^~~~~~~~ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_mid_logo.h:10:1: warning: 'packed' attribute ignored [-Wattributes] [ 42s] unsigned int __attribute__((packed, aligned(4))) prog_mid_num_bitmap[] = { [ 42s] ^~~~~~~~ [ 42s] In file included from lcd.c:70:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_end_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 42s] unsigned short __attribute__((packed, aligned(4))) prog_end_palette[] = { [ 42s] ^~~~~~~~ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_end_logo.h:12:1: warning: 'packed' attribute ignored [-Wattributes] [ 42s] unsigned short __attribute__((packed, aligned(4))) prog_end_bitmap[] = { [ 42s] ^~~~~~~~ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_end_logo.h:37:1: warning: 'packed' attribute ignored [-Wattributes] [ 42s] unsigned int __attribute__((packed, aligned(4))) prog_end_num_bitmap[] = { [ 42s] ^~~~~~~~ [ 42s] lcd.c: In function '_draw_image': [ 42s] lcd.c:513:15: warning: unused variable 'tmp' [-Wunused-variable] [ 42s] unsigned int tmp; [ 42s] ^~~ [ 42s] lcd.c: In function 'bitmap_plot': [ 42s] lcd.c:680:3: warning: implicit declaration of function 'lcd_display' [-Wimplicit-function-declaration] [ 42s] lcd_display(); [ 42s] ^~~~~~~~~~~ [ 42s] lcd.c:611:10: warning: unused variable 'fb16' [-Wunused-variable] [ 42s] ushort *fb16; [ 42s] ^~~~ [ 42s] lcd.c:608:12: warning: unused variable 'j' [-Wunused-variable] [ 42s] ushort i, j; [ 42s] ^ [ 42s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb/dsi_1_21a' [ 42s] dwc_otg_driver.c: In function 'dwc_otg_driver_remove': [ 42s] dwc_otg_driver.c:548:3: warning: implicit declaration of function 'pcd_remove' [-Wimplicit-function-declaration] [ 42s] pcd_remove(dwc_otg_device); [ 42s] ^~~~~~~~~~ [ 42s] dwc_otg_driver.c: In function 'dwc_otg_driver_probe': [ 42s] dwc_otg_driver.c:626:23: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ 42s] dwc_otg_device->base = USB_PHYS; [ 42s] ^ [ 42s] dwc_otg_driver.c:606:6: warning: unused variable 'irq' [-Wunused-variable] [ 42s] int irq; [ 42s] ^~~ [ 42s] dwc_otg_driver.c: In function 'dwc_otg_driver_init': [ 42s] dwc_otg_driver.c:793:6: warning: unused variable 'error' [-Wunused-variable] [ 42s] int error; [ 42s] ^~~~~ [ 42s] At top level: [ 42s] dwc_otg_driver.c:69:19: warning: 'dwc_driver_name' defined but not used [-Wunused-const-variable=] [ 42s] static const char dwc_driver_name[] = "dwc_otg"; [ 42s] ^~~~~~~~~~~~~~~ [ 42s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/musb' [ 42s] make -C drivers/video/sprdfb/lcd/ [ 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 config.o config.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 -DDWC_LINUX -DDWC_DEVICE_ONLY -Dlinux -DDWC_HS_ELECT_TST -c -o dwc_otg_cil.o dwc_otg_cil.c [ 42s] rm -f libusb_phy.o; ar rcs libusb_phy.o [ 42s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb/lcd' [ 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 memsize.o memsize.c -c [ 42s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/phy' [ 42s] make -C drivers/video/sprdfb/ [ 42s] rm -f libvideo.o; ar rcs libvideo.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 -DDWC_LINUX -DDWC_DEVICE_ONLY -Dlinux -DDWC_HS_ELECT_TST -c -o dwc_otg_cil_intr.o dwc_otg_cil_intr.c [ 42s] dwc_otg_cil.c: In function 'calc_num_in_eps': [ 42s] dwc_otg_cil.c:436:11: warning: unused variable 'num_tx_fifos' [-Wunused-variable] [ 42s] uint32_t num_tx_fifos = core_if->hwcfg4.b.num_in_eps; [ 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 usbstring.o usbstring.c -c [ 42s] dwc_otg_cil.c: In function 'dwc_otg_ep0_continue_transfer': [ 42s] dwc_otg_cil.c:2886:19: warning: variable 'tx_status' set but not used [-Wunused-but-set-variable] [ 42s] gnptxsts_data_t tx_status = {.d32 = 0 }; [ 42s] ^~~~~~~~~ [ 42s] dwc_otg_cil.c: In function 'dwc_otg_dump_dev_registers': [ 42s] dwc_otg_cil.c:3257:21: warning: variable 'addr' set but not used [-Wunused-but-set-variable] [ 42s] volatile uint32_t *addr; [ 42s] ^~~~ [ 42s] dwc_otg_cil.c: In function 'dwc_otg_dump_host_registers': [ 42s] dwc_otg_cil.c:3414:21: warning: variable 'addr' set but not used [-Wunused-but-set-variable] [ 42s] volatile uint32_t *addr; [ 42s] ^~~~ [ 42s] dwc_otg_cil.c: In function 'dwc_otg_dump_global_registers': [ 42s] dwc_otg_cil.c:3471:21: warning: variable 'addr' set but not used [-Wunused-but-set-variable] [ 42s] volatile uint32_t *addr; [ 42s] ^~~~ [ 42s] dwc_otg_cil.c: In function 'dwc_otg_set_prtpower': [ 42s] dwc_otg_cil.c:5089:15: warning: variable 'hprt0' set but not used [-Wunused-but-set-variable] [ 42s] hprt0_data_t hprt0; [ 42s] ^~~~~ [ 42s] dwc_otg_cil.c: In function 'dwc_otg_set_prtsuspend': [ 42s] dwc_otg_cil.c:5105:15: warning: variable 'hprt0' set but not used [-Wunused-but-set-variable] [ 42s] hprt0_data_t hprt0; [ 42s] ^~~~~ [ 42s] dwc_otg_cil.c: In function 'dwc_otg_set_prtresume': [ 42s] dwc_otg_cil.c:5113:15: warning: variable 'hprt0' set but not used [-Wunused-but-set-variable] [ 42s] hprt0_data_t hprt0; [ 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 s_record.o s_record.c -c [ 42s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video' [ 42s] make -C drivers/watchdog/ [ 42s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb' [ 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] 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] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/watchdog' [ 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 -DDWC_LINUX -DDWC_DEVICE_ONLY -Dlinux -DDWC_HS_ELECT_TST -c -o dwc_otg_pcd_linux.o dwc_otg_pcd_linux.c [ 43s] In file included from u_serial.h:15:0, [ 43s] from serial.c:25: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/usb/composite.h:379:0: warning: "pr_warning" redefined [ 43s] #define pr_warning(args...) [ 43s] [ 43s] In file included from serial.c:13:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:243:0: note: this is the location of the previous definition [ 43s] #define pr_warning(fmt, ...) \ [ 43s] [ 43s] In file included from u_serial.h:15:0, [ 43s] from serial.c:25: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/usb/composite.h:380:0: warning: "pr_debug" redefined [ 43s] #define pr_debug(args...) [ 43s] [ 43s] In file included from serial.c:13:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:256:0: note: this is the location of the previous definition [ 43s] #define pr_debug(fmt, ...) [ 43s] [ 43s] In file included from serial.c:52:0: [ 43s] f_acm.c: In function 'acm_complete_set_line_coding': [ 43s] f_acm.c:270:28: warning: unused variable 'cdev' [-Wunused-variable] [ 43s] struct usb_composite_dev *cdev = acm->port.func.config->cdev; [ 43s] ^~~~ [ 43s] f_acm.c: In function 'acm_disable': [ 43s] f_acm.c:421:28: warning: unused variable 'cdev' [-Wunused-variable] [ 43s] struct usb_composite_dev *cdev = f->config->cdev; [ 43s] ^~~~ [ 43s] f_acm.c: In function 'acm_notify_serial_state': [ 43s] f_acm.c:488:28: warning: unused variable 'cdev' [-Wunused-variable] [ 43s] struct usb_composite_dev *cdev = acm->port.func.config->cdev; [ 43s] ^~~~ [ 43s] In file included from serial.c:53:0: [ 43s] f_obex.c: In function 'obex_disable': [ 43s] f_obex.c:266:28: warning: unused variable 'cdev' [-Wunused-variable] [ 43s] struct usb_composite_dev *cdev = f->config->cdev; [ 43s] ^~~~ [ 43s] f_obex.c: In function 'obex_connect': [ 43s] f_obex.c:277:28: warning: unused variable 'cdev' [-Wunused-variable] [ 43s] struct usb_composite_dev *cdev = g->func.config->cdev; [ 43s] ^~~~ [ 43s] f_obex.c: In function 'obex_disconnect': [ 43s] f_obex.c:292:28: warning: unused variable 'cdev' [-Wunused-variable] [ 43s] struct usb_composite_dev *cdev = g->func.config->cdev; [ 43s] ^~~~ [ 43s] In file included from serial.c:54:0: [ 43s] f_serial.c: In function 'gser_disable': [ 43s] f_serial.c:199:28: warning: unused variable 'cdev' [-Wunused-variable] [ 43s] struct usb_composite_dev *cdev = f->config->cdev; [ 43s] ^~~~ [ 43s] In file included from serial.c:55:0: [ 43s] u_serial.c: In function 'gs_start_tx': [ 43s] u_serial.c:369:9: warning: variable 'do_tty_wake' set but not used [-Wunused-but-set-variable] [ 43s] bool do_tty_wake = false; [ 43s] ^~~~~~~~~~~ [ 43s] u_serial.c: In function 'gs_read': [ 43s] u_serial.c:779:12: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 43s] memcpy(buf, packet, size); [ 43s] ^~~ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:19:0, [ 43s] from serial.c:13: [ 43s] /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 *' [ 43s] void* memcpy(void*, const void*, size_t); [ 43s] ^~~~~~ [ 43s] In file included from serial.c:55:0: [ 43s] u_serial.c:782:12: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 43s] memcpy(buf, packet, *count); [ 43s] ^~~ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:19:0, [ 43s] from serial.c:13: [ 43s] /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 *' [ 43s] void* memcpy(void*, const void*, size_t); [ 43s] ^~~~~~ [ 43s] In file included from serial.c:55:0: [ 43s] u_serial.c:788:1: warning: label 'recycle' defined but not used [-Wunused-label] [ 43s] recycle: [ 43s] ^~~~~~~ [ 43s] u_serial.c: In function 'gs_write': [ 43s] u_serial.c:808:45: warning: pointer targets in passing argument 2 of 'gs_buf_put' differ in signedness [-Wpointer-sign] [ 43s] count = gs_buf_put(&port->port_write_buf, buf, count); [ 43s] ^~~ [ 43s] u_serial.c:224:1: note: expected 'const char *' but argument is of type 'const unsigned char *' [ 43s] gs_buf_put(struct gs_buf *gb, const char *buf, unsigned count) [ 43s] ^~~~~~~~~~ [ 43s] u_serial.c: In function 'gserial_connect': [ 43s] u_serial.c:1540:16: warning: unused variable 'flags' [-Wunused-variable] [ 43s] unsigned long flags; [ 43s] ^~~~~ [ 43s] u_serial.c: In function 'gserial_disconnect': [ 43s] u_serial.c:1614:16: warning: unused variable 'flags' [-Wunused-variable] [ 43s] unsigned long flags; [ 43s] ^~~~~ [ 43s] serial.c: At top level: [ 43s] serial.c:57:0: warning: "pr_warning" redefined [ 43s] #define pr_warning(args...) printf(##args) [ 43s] [ 43s] In file included from u_serial.h:15:0, [ 43s] from serial.c:25: [ 43s] /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 [ 43s] #define pr_warning(args...) [ 43s] [ 43s] In file included from serial.c:55:0: [ 43s] u_serial.c:1456:12: warning: 'gs_closed' defined but not used [-Wunused-function] [ 43s] static int gs_closed(struct gs_port *port) [ 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 xyzModem.o xyzModem.c -c [ 43s] In file included from dwc_otg_pcd_linux.c:527:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_global.h:21:0: warning: "GREG_BASE" redefined [ 43s] #define GREG_BASE 0x4B000000 [ 43s] [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:20:0, [ 43s] from dwc_otg_pcd_linux.c:525: [ 43s] /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 [ 43s] #define GREG_BASE CTL_BASE_GLB_REG [ 43s] [ 43s] dwc_otg_pcd_linux.c: In function 'alloc_wrapper': [ 43s] dwc_otg_pcd_linux.c:1015:6: warning: unused variable 'retval' [-Wunused-variable] [ 43s] int retval; [ 43s] ^~~~~~ [ 43s] dwc_otg_pcd_linux.c: In function 'pcd_init': [ 43s] dwc_otg_pcd_linux.c:1076:6: warning: unused variable 'irq' [-Wunused-variable] [ 43s] int irq; [ 43s] ^~~ [ 43s] dwc_otg_pcd_linux.c: In function 'pcd_remove': [ 43s] dwc_otg_pcd_linux.c:1128:17: warning: unused variable 'pcd' [-Wunused-variable] [ 43s] dwc_otg_pcd_t *pcd = otg_dev->pcd; [ 43s] ^~~ [ 43s] At top level: [ 43s] dwc_otg_pcd_linux.c:1002:13: warning: 'dwc_otg_pcd_gadget_release' defined but not used [-Wunused-function] [ 43s] static void dwc_otg_pcd_gadget_release(struct device *dev) [ 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 mipi_dsih_api.o mipi_dsih_api.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 lcd_s6e8aa5x01_mipi.o lcd_s6e8aa5x01_mipi.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_pcd.o dwc_otg_pcd.c [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 43s] from ../sprdfb_chip_8830.h:18, [ 43s] from ../sprdfb_chip_common.h:30, [ 43s] from mipi_dsih_local.h:45, [ 43s] from mipi_dsih_api.h:40, [ 43s] from mipi_dsih_api.c:9: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 43s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 43s] [ 43s] In file included from ../sprdfb_chip_common.h:19:0, [ 43s] from mipi_dsih_local.h:45, [ 43s] from mipi_dsih_api.h:40, [ 43s] from mipi_dsih_api.c:9: [ 43s] /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 [ 43s] #define SPRD_PWM_BASE 0x88000000 [ 43s] [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 43s] from ../sprdfb_chip_8830.h:18, [ 43s] from ../sprdfb_chip_common.h:30, [ 43s] from mipi_dsih_local.h:45, [ 43s] from mipi_dsih_api.h:40, [ 43s] from mipi_dsih_api.c:9: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 43s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 43s] [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 43s] from ../sprdfb_chip_common.h:18, [ 43s] from mipi_dsih_local.h:45, [ 43s] from mipi_dsih_api.h:40, [ 43s] from mipi_dsih_api.c:9: [ 43s] /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 [ 43s] #define ADC_BASE 0x40038300 //Aux ADC [ 43s] [ 43s] lcd_s6e8aa5x01_mipi.c: In function 's6e8aa5x01_readid': [ 43s] lcd_s6e8aa5x01_mipi.c:134:10: warning: variable 'read_rtn' set but not used [-Wunused-but-set-variable] [ 43s] int32_t read_rtn = 0; [ 43s] ^~~~~~~~ [ 43s] lcd_s6e8aa5x01_mipi.c: In function 's6e8aa5x01_check_mtp': [ 43s] lcd_s6e8aa5x01_mipi.c:296:2: warning: implicit declaration of function 'save_mtp_offset_to_kernel' [-Wimplicit-function-declaration] [ 43s] save_mtp_offset_to_kernel(mtp_offset); [ 43s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 43s] lcd_s6e8aa5x01_mipi.c:261:19: warning: unused variable 'mipi_dcs_write' [-Wunused-variable] [ 43s] mipi_dcs_write_t mipi_dcs_write = [ 43s] ^~~~~~~~~~~~~~ [ 43s] lcd_s6e8aa5x01_mipi.c:256:10: warning: unused variable 'size' [-Wunused-variable] [ 43s] int32_t size = 0; [ 43s] ^~~~ [ 43s] lcd_s6e8aa5x01_mipi.c:254:10: warning: variable 'read_rtn' set but not used [-Wunused-but-set-variable] [ 43s] int32_t read_rtn = 0; [ 43s] ^~~~~~~~ [ 43s] lcd_s6e8aa5x01_mipi.c:251:17: warning: unused variable 'g_para' [-Wunused-variable] [ 43s] LCM_Init_Code *g_para = NULL; [ 43s] ^~~~~~ [ 43s] lcd_s6e8aa5x01_mipi.c: In function 's6e8aa5x01_check_elvss': [ 43s] lcd_s6e8aa5x01_mipi.c:347:2: warning: implicit declaration of function 'save_elvss_offset_to_kernel' [-Wimplicit-function-declaration] [ 43s] save_elvss_offset_to_kernel(elvss_offset); [ 43s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 43s] lcd_s6e8aa5x01_mipi.c:309:10: warning: variable 'size' set but not used [-Wunused-but-set-variable] [ 43s] int32_t size = 0; [ 43s] ^~~~ [ 43s] lcd_s6e8aa5x01_mipi.c:304:17: warning: unused variable 'hbm' [-Wunused-variable] [ 43s] LCM_Init_Code *hbm = NULL; [ 43s] ^~~ [ 43s] lcd_s6e8aa5x01_mipi.c: In function 's6e8aa5x01_check_hbm': [ 43s] lcd_s6e8aa5x01_mipi.c:398:2: warning: implicit declaration of function 'save_hbm_offset_to_kernel' [-Wimplicit-function-declaration] [ 43s] save_hbm_offset_to_kernel(hbm_g); [ 43s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 43s] lcd_s6e8aa5x01_mipi.c:360:10: warning: variable 'size' set but not used [-Wunused-but-set-variable] [ 43s] int32_t size = 0; [ 43s] ^~~~ [ 43s] lcd_s6e8aa5x01_mipi.c:355:17: warning: unused variable 'hbm' [-Wunused-variable] [ 43s] LCM_Init_Code *hbm = NULL; [ 43s] ^~~ [ 43s] At top level: [ 43s] lcd_s6e8aa5x01_mipi.c:72:22: warning: 'disp_on' defined but not used [-Wunused-variable] [ 43s] static LCM_Init_Code disp_on = {LCM_SEND(1), {0x29}}; [ 43s] ^~~~~~~ [ 43s] 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 [ 43s] ld -r -o liblcd.o lcd_s6e8aa5x01_mipi.o [ 43s] dwc_otg_pcd.c: In function 'start_xfer_tasklet_func': [ 43s] dwc_otg_pcd.c:1064:17: warning: variable 'diepctl' set but not used [-Wunused-but-set-variable] [ 43s] depctl_data_t diepctl; [ 43s] ^~~~~~~ [ 43s] dwc_otg_pcd.c:1051:16: warning: variable 'diepctl' set but not used [-Wunused-but-set-variable] [ 43s] depctl_data_t diepctl; [ 43s] ^~~~~~~ [ 43s] dwc_otg_pcd.c: In function 'dwc_otg_pcd_ep_queue': [ 43s] dwc_otg_pcd.c:1534:6: warning: unused variable 'prevented' [-Wunused-variable] [ 43s] int prevented = 0; [ 43s] ^~~~~~~~~ [ 43s] At top level: [ 43s] dwc_otg_pcd.c:1045:13: warning: 'start_xfer_tasklet_func' defined but not used [-Wunused-function] [ 43s] static void start_xfer_tasklet_func(void *data) [ 43s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 43s] dwc_otg_pcd.c:996:13: warning: 'srp_timeout' defined but not used [-Wunused-function] [ 43s] static void srp_timeout(void *ptr) [ 43s] ^~~~~~~~~~~ [ 43s] dwc_otg_pcd.c:77:13: warning: 'dump_log' defined but not used [-Wunused-function] [ 43s] static void dump_log(unsigned char * buf, int len, int direction) [ 43s] ^~~~~~~~ [ 43s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/common' [ 43s] make -C fs/cramfs/ [ 43s] rm -f libwatchdog.o; ar rcs libwatchdog.o [ 43s] make[1]: Leaving 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_pcd_intr.o dwc_otg_pcd_intr.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 mipi_dsih_hal.o mipi_dsih_hal.c -c [ 43s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/watchdog' [ 43s] make -C fs/ext2/ [ 43s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/cramfs' [ 43s] ld -r -o libusb_gadget.o epautoconf.o config.o usbstring.o serial.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 -DDWC_LINUX -DDWC_DEVICE_ONLY -Dlinux -DDWC_HS_ELECT_TST -c -o dwc_common_linux.o dwc_common_linux.c [ 43s] dwc_otg_pcd_intr.c: In function 'dwc_otg_pcd_handle_np_tx_fifo_empty_intr': [ 43s] dwc_otg_pcd_intr.c:456:28: warning: variable 'ep_regs' set but not used [-Wunused-but-set-variable] [ 43s] dwc_otg_dev_in_ep_regs_t *ep_regs; [ 43s] ^~~~~~~ [ 43s] dwc_otg_pcd_intr.c: In function 'write_empty_tx_fifo': [ 43s] dwc_otg_pcd_intr.c:520:28: warning: variable 'ep_regs' set but not used [-Wunused-but-set-variable] [ 43s] dwc_otg_dev_in_ep_regs_t *ep_regs; [ 43s] ^~~~~~~ [ 43s] dwc_otg_pcd_intr.c: In function 'dwc_otg_pcd_handle_in_ep_intr': [ 43s] dwc_otg_pcd_intr.c:3290:13: warning: variable 'empty_msk' set but not used [-Wunused-but-set-variable] [ 43s] uint32_t empty_msk; [ 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 mipi_dsih_dphy.o mipi_dsih_dphy.c -c [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 43s] from ../sprdfb_chip_8830.h:18, [ 43s] from ../sprdfb_chip_common.h:30, [ 43s] from mipi_dsih_local.h:45, [ 43s] from mipi_dsih_hal.h:41, [ 43s] from mipi_dsih_hal.c:8: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 43s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 43s] [ 43s] In file included from ../sprdfb_chip_common.h:19:0, [ 43s] from mipi_dsih_local.h:45, [ 43s] from mipi_dsih_hal.h:41, [ 43s] from mipi_dsih_hal.c:8: [ 43s] /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 [ 43s] #define SPRD_PWM_BASE 0x88000000 [ 43s] [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 43s] from ../sprdfb_chip_8830.h:18, [ 43s] from ../sprdfb_chip_common.h:30, [ 43s] from mipi_dsih_local.h:45, [ 43s] from mipi_dsih_hal.h:41, [ 43s] from mipi_dsih_hal.c:8: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 43s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 43s] [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 43s] from ../sprdfb_chip_common.h:18, [ 43s] from mipi_dsih_local.h:45, [ 43s] from mipi_dsih_hal.h:41, [ 43s] from mipi_dsih_hal.c:8: [ 43s] /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 [ 43s] #define ADC_BASE 0x40038300 //Aux ADC [ 43s] [ 43s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget' [ 43s] make -C fs/ext4/ [ 43s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext2' [ 43s] In file included from dwc_common_linux.c:15:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/usb.h:190:13: warning: inline function 'wait_ms' declared but never defined [ 43s] inline void wait_ms(unsigned long ms); [ 43s] ^~~~~~~ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 43s] from ../sprdfb_chip_8830.h:18, [ 43s] from ../sprdfb_chip_common.h:30, [ 43s] from mipi_dsih_local.h:45, [ 43s] from mipi_dsih_dphy.h:11, [ 43s] from mipi_dsih_dphy.c:8: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 43s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 43s] [ 43s] In file included from ../sprdfb_chip_common.h:19:0, [ 43s] from mipi_dsih_local.h:45, [ 43s] from mipi_dsih_dphy.h:11, [ 43s] from mipi_dsih_dphy.c:8: [ 43s] /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 [ 43s] #define SPRD_PWM_BASE 0x88000000 [ 43s] [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 43s] from ../sprdfb_chip_8830.h:18, [ 43s] from ../sprdfb_chip_common.h:30, [ 43s] from mipi_dsih_local.h:45, [ 43s] from mipi_dsih_dphy.h:11, [ 43s] from mipi_dsih_dphy.c:8: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 43s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 43s] [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 43s] from ../sprdfb_chip_common.h:18, [ 43s] from mipi_dsih_local.h:45, [ 43s] from mipi_dsih_dphy.h:11, [ 43s] from mipi_dsih_dphy.c:8: [ 43s] /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 [ 43s] #define ADC_BASE 0x40038300 //Aux ADC [ 43s] [ 43s] make -C fs/fat/ [ 43s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext4' [ 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] 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 sprdfb_main.o sprdfb_main.c -c [ 44s] ld -r -o libsprdfb_dsi.o mipi_dsih_api.o mipi_dsih_hal.o mipi_dsih_dphy.o [ 44s] make -C fs/fdos/ [ 44s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fat' [ 44s] 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 [ 44s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb/dsi_1_21a' [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_cpc.h:18, [ 44s] from sprdfb_main.c:28: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:217:0: warning: "GREG_BASE" redefined [ 44s] #define GREG_BASE CTL_BASE_GLB_REG [ 44s] [ 44s] In file included from sprdfb_main.c:27:0: [ 44s] /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 [ 44s] #define GREG_BASE 0x4B000000 [ 44s] [ 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 sprdfb_panel.o sprdfb_panel.c -c [ 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_main.c:29: [ 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_main.c:19:0: [ 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_main.c:29: [ 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/chip_drv_config_extern.h:38:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_cpc.h:18, [ 44s] from sprdfb_main.c:28: [ 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] sprdfb_main.c: In function 'set_backlight': [ 44s] sprdfb_main.c:268:3: warning: implicit declaration of function 'sprd_gpio_request' [-Wimplicit-function-declaration] [ 44s] sprd_gpio_request(NULL, BACKLIGHT_GPIO); [ 44s] ^~~~~~~~~~~~~~~~~ [ 44s] sprdfb_main.c:269:3: warning: implicit declaration of function 'sprd_gpio_direction_output' [-Wimplicit-function-declaration] [ 44s] sprd_gpio_direction_output(NULL, BACKLIGHT_GPIO, 0); [ 44s] ^~~~~~~~~~~~~~~~~~~~~~~~~~ [ 44s] sprdfb_main.c:282:3: warning: implicit declaration of function 'sprd_gpio_set' [-Wimplicit-function-declaration] [ 44s] sprd_gpio_set(NULL, BACKLIGHT_GPIO, 0); [ 44s] ^~~~~~~~~~~~~ [ 44s] sprdfb_main.c: In function 'save_mtp_offset_to_kernel': [ 44s] sprdfb_main.c:411:36: warning: pointer targets in passing argument 2 of 'hex_encoder' differ in signedness [-Wpointer-sign] [ 44s] hex_encoder((unsigned char *)mtp, mtp_offset, (MTP_LEN + 6)); [ 44s] ^~~~~~~~~~ [ 44s] sprdfb_main.c:397:13: note: expected 'char *' but argument is of type 'unsigned char *' [ 44s] static void hex_encoder(unsigned char *in, char *out, int sz) [ 44s] ^~~~~~~~~~~ [ 44s] sprdfb_main.c: In function 'save_hbm_offset_to_kernel': [ 44s] sprdfb_main.c:432:36: warning: pointer targets in passing argument 2 of 'hex_encoder' differ in signedness [-Wpointer-sign] [ 44s] hex_encoder((unsigned char *)hbm, hbm_g, 15); [ 44s] ^~~~~ [ 44s] sprdfb_main.c:397:13: note: expected 'char *' but argument is of type 'unsigned char *' [ 44s] static void hex_encoder(unsigned char *in, char *out, int sz) [ 44s] ^~~~~~~~~~~ [ 44s] sprdfb_main.c: In function 'byte2hex': [ 44s] sprdfb_main.c:395:1: warning: control reaches end of non-void function [-Wreturn-type] [ 44s] } [ 44s] ^ [ 44s] At top level: [ 44s] sprdfb_main.c:108:15: warning: 'get_adie_chipid' defined but not used [-Wunused-function] [ 44s] static uint32 get_adie_chipid(void) [ 44s] ^~~~~~~~~~~~~~~ [ 44s] sprdfb_main.c:67:13: warning: '__raw_bits_and' defined but not used [-Wunused-function] [ 44s] static void __raw_bits_and(unsigned int v, unsigned int a) [ 44s] ^~~~~~~~~~~~~~ [ 44s] rm -f libcramfs.o; ar rcs libcramfs.o [ 44s] make -C fs/jffs2/ [ 44s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fdos' [ 44s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget/dwc_otg' [ 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 sprdfb_dispc.o sprdfb_dispc.c -c [ 44s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/cramfs' [ 44s] rm -f libext2fs.o; ar rcs libext2fs.o [ 44s] sprdfb_panel.c: In function 'panel_reset_dispc': [ 44s] sprdfb_panel.c:438:2: warning: implicit declaration of function 'sprd_gpio_request' [-Wimplicit-function-declaration] [ 44s] sprd_gpio_request(NULL, 103); [ 44s] ^~~~~~~~~~~~~~~~~ [ 44s] sprdfb_panel.c:439:2: warning: implicit declaration of function 'sprd_gpio_direction_output' [-Wimplicit-function-declaration] [ 44s] sprd_gpio_direction_output(NULL, 103, 0); [ 44s] ^~~~~~~~~~~~~~~~~~~~~~~~~~ [ 44s] sprdfb_panel.c:440:2: warning: implicit declaration of function 'sprd_gpio_set' [-Wimplicit-function-declaration] [ 44s] sprd_gpio_set(NULL, 103, 1); [ 44s] ^~~~~~~~~~~~~ [ 44s] sprdfb_panel.c: In function 'adapt_panel_from_readid': [ 44s] sprdfb_panel.c:573:4: warning: implicit declaration of function 'save_lcd_id_to_kernel' [-Wimplicit-function-declaration] [ 44s] save_lcd_id_to_kernel(id); [ 44s] ^~~~~~~~~~~~~~~~~~~~~ [ 44s] make -C fs/reiserfs/ [ 44s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/jffs2' [ 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 sprdfb_mcu.o sprdfb_mcu.c -c [ 44s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext2' [ 44s] In file included from sprdfb_dispc.c:17:0: [ 44s] sprdfb.h:45:35: warning: 'struct panel_spec' declared inside parameter list will not be visible outside of this definition or declaration [ 44s] int32_t (*panel_if_check)(struct panel_spec *self); [ 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 sprdfb_dispc.c:18: [ 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 sprdfb_dispc.c:18: [ 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 sprdfb_dispc.c:18: [ 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 sprdfb_dispc.c:18: [ 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 -C fs/ubifs/ [ 44s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/reiserfs' [ 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 sprdfb_rgb.o sprdfb_rgb.c -c [ 44s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ubifs' [ 44s] make -C fs/yaffs2/ [ 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 fat_write.o fat_write.c -c [ 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 sprdfb_rgb.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_rgb.c:6:0: [ 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 sprdfb_rgb.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_rgb.c:7: [ 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] sprdfb_rgb.c: In function 'rgb_readid': [ 44s] 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] [ 44s] rgb->bus_info.i2c->ops->i2c_read_16bits(rgb->bus_info.i2c->i2c_addr , 0x0, FALSE, &id, FALSE); [ 44s] ^ [ 44s] sprdfb_rgb.c:28:85: note: expected 'uint16_t * {aka short unsigned int *}' but argument is of type 'uint32_t * {aka unsigned int *}' [ 44s] rm -f libfdos.o; ar rcs libfdos.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 sprdfb_mipi.o sprdfb_mipi.c -c [ 44s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/yaffs2' [ 44s] fat_write.c: In function 'delete_long_file_name': [ 44s] fat_write.c:482:15: warning: unused variable 'cur_position' [-Wunused-variable] [ 44s] int idx = 0, cur_position = 0; [ 44s] ^~~~~~~~~~~~ [ 44s] fat_write.c:482:6: warning: unused variable 'idx' [-Wunused-variable] [ 44s] int idx = 0, cur_position = 0; [ 44s] ^~~ [ 44s] fat_write.c: In function 'delete_directory_entry': [ 44s] fat_write.c:1207:7: warning: unused variable 'mark_cnt' [-Wunused-variable] [ 44s] int mark_cnt; [ 44s] ^~~~~~~~ [ 44s] fat_write.c: In function 'do_fat_rm': [ 44s] fat_write.c:1386:6: warning: unused variable 'i' [-Wunused-variable] [ 44s] int i; [ 44s] ^ [ 44s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fdos' [ 44s] make -C lib/libfdt/ [ 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 ext4fs.o ext4fs.c -c [ 44s] rm -f libjffs2.o; ar rcs libjffs2.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 sprdfb_i2c.o sprdfb_i2c.c -c [ 44s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt' [ 44s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/jffs2' [ 44s] make -C lib/ [ 44s] rm -f libreiserfs.o; ar rcs libreiserfs.o [ 44s] sprdfb_i2c.c: In function 'sprdfb_i2c_read_8bits': [ 44s] sprdfb_i2c.c:79:27: warning: passing argument 2 of 'I2C_ReadCmd' makes pointer from integer without a cast [-Wint-conversion] [ 44s] ret = I2C_ReadCmd(addr, *val, TRUE); [ 44s] ^ [ 44s] In file included from sprdfb_i2c.c:8:0: [ 44s] /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}' [ 44s] PUBLIC ERR_I2C_E I2C_ReadCmd(uint8 addr,uint8 *pCmd,BOOLEAN ack_en); [ 44s] ^~~~~~~~~~~ [ 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 ext4_common.o ext4_common.c -c [ 44s] 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 sprdfb_spi.o sprdfb_spi.c -c [ 45s] rm -f libubifs.o; ar rcs libubifs.o [ 45s] make -C lib/lzma/ [ 45s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib' [ 45s] make[1]: Leaving 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 dev.o dev.c -c [ 45s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzma' [ 45s] In file included from sprdfb_spi.c:8:0: [ 45s] /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] [ 45s] PUBLIC void SPI_WaitTxFinish(); [ 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_dsi.o sprdfb_dsi.c -c [ 45s] rm -f libyaffs2.o; ar rcs libyaffs2.o [ 45s] ld -r -o libfat.o fat_write.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 ext4_write.o ext4_write.c -c [ 45s] In file included from sprdfb_dsi.c:10: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_dsi.c:11: [ 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_dsi.c:11: [ 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_dsi.c:11: [ 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_dsi.c:11: [ 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_dsi.c: In function 'sprdfb_dsi_set_lp_mode': [ 45s] sprdfb_dsi.c:374:11: warning: unused variable 'reg_val' [-Wunused-variable] [ 45s] uint32_t reg_val; [ 45s] ^~~~~~~ [ 45s] sprdfb_dsi.c: At top level: [ 45s] sprdfb_dsi.c:448:1: warning: data definition has no type or storage class [ 45s] EXPORT_SYMBOL(backlight_control); [ 45s] ^~~~~~~~~~~~~ [ 45s] sprdfb_dsi.c:448:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' [-Wimplicit-int] [ 45s] sprdfb_dsi.c:448:1: warning: parameter names (without types) in function declaration [ 45s] sprdfb_dsi.c:38: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]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/yaffs2' [ 45s] make -C lib/lzo/ [ 45s] make[1]: Leaving 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_chip_common.o sprdfb_chip_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 ext4_journal.o ext4_journal.c -c [ 45s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzo' [ 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_chip_common.c:17: [ 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_chip_common.c:17: [ 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_chip_common.c:17: [ 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_chip_common.c:17: [ 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_chip_8830.o sprdfb_chip_8830.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 crc16.o crc16.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 fdt.o fdt.c -c [ 45s] rm -f liblzma.o; ar rcs liblzma.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 ext4_rw.o ext4_rw.c -c [ 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_chip_8830.c:15: [ 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_chip_8830.c:15: [ 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_chip_8830.c:15: [ 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_chip_8830.c:15: [ 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_chip_8830.c: In function 'dsi_enable': [ 45s] sprdfb_chip_8830.c:25:2: warning: implicit declaration of function '__raw_bits_and' [-Wimplicit-function-declaration] [ 45s] __raw_bits_and(~BIT_DSI_PHY_PD, REG_AON_APB_PWR_CTRL); [ 45s] ^~~~~~~~~~~~~~ [ 45s] 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 [ 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 fdt_ro.o fdt_ro.c -c [ 45s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzma' [ 45s] make -C nand_fdl/common/src/ [ 45s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb' [ 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 fdt_rw.o fdt_rw.c -c [ 45s] ld -r -o libext4fs.o ext4fs.o ext4_common.o dev.o ext4_write.o ext4_journal.o crc16.o ext4_rw.o [ 45s] make -C net/ [ 45s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/nand_fdl/common/src' [ 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 fdt_strerror.o fdt_strerror.c -c [ 45s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext4' [ 45s] rm -f liblzo.o; ar rcs liblzo.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 fdt_sw.o fdt_sw.c -c [ 45s] make -C post/ [ 45s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/net' [ 45s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzo' [ 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_wip.o fdt_wip.c -c [ 46s] make -C property/ [ 46s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/post' [ 46s] ld -r -o libfdt.o fdt.o fdt_ro.o fdt_rw.o fdt_strerror.o fdt_sw.o fdt_wip.o [ 46s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/property' [ 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] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt' [ 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 crc32.o crc32.c -c [ 46s] rm -f libnet.o; ar rcs libnet.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 crc32b.o crc32b.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 ctype.o ctype.c -c [ 46s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/net' [ 46s] rm -f libpost.o; ar rcs libpost.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 dl_engine.o dl_engine.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 display_options.o display_options.c -c [ 46s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/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 fdl_crc.o fdl_crc.c -c [ 46s] dl_engine.c:19:62: warning: missing braces around initializer [-Wmissing-braces] [ 46s] CMDPROC_TAB g_proctab[BSL_CMD_TYPE_MAX - BSL_CMD_TYPE_MIN] = {0, 0}; [ 46s] ^ [ 46s] dl_engine.c:19:62: note: (near initialization for 'g_proctab') [ 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 div64.o div64.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 packet.o packet.c -c [ 46s] fdl_crc.c:15:21: warning: 'crc16_table' defined but not used [-Wunused-const-variable=] [ 46s] static uint16 const crc16_table[256] = [ 46s] ^~~~~~~~~~~ [ 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 errno.o errno.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 fdl_channel.o fdl_channel.c -c [ 46s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:4:0, [ 46s] from packet.c:7: [ 46s] /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] [ 46s] struct FDL_ChannelHandler *FDL_ChannelGet(); [ 46s] ^~~~~~~~~~~~~~~~~~ [ 46s] packet.c: In function 'FDL_PacketDoIdle': [ 46s] packet.c:97:24: warning: implicit declaration of function 'FDL_GetBootMode' [-Wimplicit-function-declaration] [ 46s] uint32 boot_mode = FDL_GetBootMode(); [ 46s] ^~~~~~~~~~~~~~~ [ 46s] In file included from packet.c:7:0: [ 46s] /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] [ 46s] #define sio_trace printf [ 46s] ^ [ 46s] packet.c:143:13: note: in expansion of macro 'sio_trace' [ 46s] sio_trace ("data_size error : datasize = %d MAX_PKT_SIZE = %d\n", packet_ptr->data_size, MAX_PKT_SIZE); [ 46s] ^~~~~~~~~ [ 46s] packet.c:183:41: warning: passing argument 1 of 'crc_16_l_calc' from incompatible pointer type [-Wincompatible-pointer-types] [ 46s] crc = crc_16_l_calc((unsigned short *)&packet_ptr->packet_body, packet_ptr->data_size); [ 46s] ^ [ 46s] In file included from packet.c:6:0: [ 46s] /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 *' [ 46s] unsigned int crc_16_l_calc (char *buf_ptr,unsigned int len); [ 46s] ^~~~~~~~~~~~~ [ 46s] packet.c: In function 'FDL_DataProcess': [ 46s] packet.c:277:27: warning: passing argument 1 of 'crc_16_l_calc' from incompatible pointer type [-Wincompatible-pointer-types] [ 46s] crc = crc_16_l_calc ( (const unsigned short *) (& (packet_ptr_src->packet_body)), size + PACKET_HEADER_SIZE); [ 46s] ^ [ 46s] In file included from packet.c:6:0: [ 46s] /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 *' [ 46s] unsigned int crc_16_l_calc (char *buf_ptr,unsigned int len); [ 46s] ^~~~~~~~~~~~~ [ 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 gunzip.o gunzip.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 fdl_stdio.o fdl_stdio.c -c [ 46s] In file included from fdl_channel.c:1:0: [ 46s] /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] [ 46s] struct FDL_ChannelHandler *FDL_ChannelGet(); [ 46s] ^~~~~~~~~~~~~~~~~~ [ 46s] fdl_channel.c:19:35: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 46s] PUBLIC struct FDL_ChannelHandler *FDL_ChannelGet() [ 46s] ^~~~~~~~~~~~~~ [ 46s] fdl_channel.c: In function 'FDL_ChannelGet': [ 46s] fdl_channel.c:22:10: warning: unused variable 'ch' [-Wunused-variable] [ 46s] char ch; [ 46s] ^~ [ 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 hashtable.o hashtable.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 usb_boot.o usb_boot.c -c [ 46s] fdl_stdio.c: In function 'FDL_memcpy': [ 46s] fdl_stdio.c:8:18: warning: unused variable 'value' [-Wunused-variable] [ 46s] unsigned int value; [ 46s] ^~~~~ [ 46s] fdl_stdio.c:7:28: warning: unused variable 'i' [-Wunused-variable] [ 46s] unsigned int word_num, i; [ 46s] ^ [ 46s] fdl_stdio.c:7:18: warning: unused variable 'word_num' [-Wunused-variable] [ 46s] unsigned int word_num, i; [ 46s] ^~~~~~~~ [ 46s] fdl_stdio.c:6:19: warning: unused variable 'tmp_dst' [-Wunused-variable] [ 46s] unsigned int *tmp_dst = (unsigned int *) dst; [ 46s] ^~~~~~~ [ 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 lmb.o lmb.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 drv_usb.o drv_usb.c -c [ 46s] In file included from usb_boot.c:21:0: [ 46s] /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] [ 46s] struct FDL_ChannelHandler *FDL_ChannelGet(); [ 46s] ^~~~~~~~~~~~~~~~~~ [ 46s] usb_boot.c: In function 'usb_init': [ 46s] usb_boot.c:97:5: warning: implicit declaration of function 'usb_core_init' [-Wimplicit-function-declaration] [ 46s] usb_core_init(); [ 46s] ^~~~~~~~~~~~~ [ 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 ldiv.o ldiv.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 virtual_com.o virtual_com.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 net_utils.o net_utils.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 qsort.o qsort.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 string.o string.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 strmhz.o strmhz.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 time.o time.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 vsprintf.o vsprintf.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 zlib.o zlib.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 rbtree.o rbtree.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 alarm_mode.o alarm_mode.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 android_boot.o android_boot.c -c [ 47s] alarm_mode.c: In function 'alarm_file_check': [ 47s] alarm_mode.c:27:6: warning: implicit declaration of function 'do_fs_file_read' [-Wimplicit-function-declaration] [ 47s] if(!do_fs_file_read(PROD_PART, "/alarm_flag", time_buf,200)){ [ 47s] ^~~~~~~~~~~~~~~ [ 47s] alarm_mode.c: In function 'alarm_flag_check': [ 47s] alarm_mode.c:114:14: warning: implicit declaration of function 'get_alarm_lead_set' [-Wimplicit-function-declaration] [ 47s] time_lead = get_alarm_lead_set(); [ 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 autodloader_mode.o autodloader_mode.c -c [ 47s] android_boot.c: In function 'creat_atags': [ 47s] android_boot.c:8:11: warning: unused variable 'pcount' [-Wunused-variable] [ 47s] unsigned pcount; [ 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 backupnvitem.o backupnvitem.c -c [ 47s] In file included from autodloader_mode.c:10: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] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 47s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 47s] from autodloader_mode.c:15: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 47s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 47s] [ 47s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:20:0, [ 47s] from autodloader_mode.c:12: [ 47s] /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 [ 47s] #define ADC_BASE 0x40038300 //Aux ADC [ 47s] [ 47s] autodloader_mode.c: In function 'autodloader_mode': [ 47s] autodloader_mode.c:208:6: warning: unused variable 'i' [-Wunused-variable] [ 47s] int i = 0; [ 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 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] 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 [ 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] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib' [ 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 [ 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 dev_tree.o dev_tree.c -c [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45:0, [ 48s] from cmd_cboot.c:9: [ 48s] /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 [ 48s] void (*dbg_show)(struct seq_file *s, [ 48s] ^~~~~~~~ [ 48s] cmd_cboot.c:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 48s] extern int get_mode_from_gpio(); [ 48s] ^~~~~~ [ 48s] cmd_cboot.c: In function 'get_mode_from_pctool': [ 48s] cmd_cboot.c:60:9: warning: implicit declaration of function 'pctool_mode_detect' [-Wimplicit-function-declaration] [ 48s] ret = pctool_mode_detect(); [ 48s] ^~~~~~~~~~~~~~~~~~ [ 48s] cmd_cboot.c: In function 'get_mode_from_keypad': [ 48s] cmd_cboot.c:184:28: warning: implicit declaration of function 'get_pwr_key_cnt' [-Wimplicit-function-declaration] [ 48s] if(boot_pwr_check() >= get_pwr_key_cnt()){ [ 48s] ^~~~~~~~~~~~~~~ [ 48s] cmd_cboot.c:189:15: warning: implicit declaration of function 'tizen_check_keypad' [-Wimplicit-function-declaration] [ 48s] key_code = tizen_check_keypad(); [ 48s] ^~~~~~~~~~~~~~~~~~ [ 48s] cmd_cboot.c: In function 'do_cboot': [ 48s] cmd_cboot.c:309:3: warning: implicit declaration of function 'draw_image' [-Wimplicit-function-declaration] [ 48s] draw_image(1); [ 48s] ^~~~~~~~~~ [ 48s] cmd_cboot.c:324:2: warning: implicit declaration of function 'lcd_display' [-Wimplicit-function-declaration] [ 48s] lcd_display(); [ 48s] ^~~~~~~~~~~ [ 48s] cmd_cboot.c:325:2: warning: implicit declaration of function 'MMU_DisableIDCM' [-Wimplicit-function-declaration] [ 48s] MMU_DisableIDCM(); [ 48s] ^~~~~~~~~~~~~~~ [ 48s] cmd_cboot.c:328:5: warning: implicit declaration of function 'cmd_mode_regist' [-Wimplicit-function-declaration] [ 48s] cmd_mode_regist(boot_mode_array); [ 48s] ^~~~~~~~~~~~~~~ [ 48s] cmd_cboot.c:337:9: warning: implicit declaration of function 'power_down_devices' [-Wimplicit-function-declaration] [ 48s] power_down_devices(); [ 48s] ^~~~~~~~~~~~~~~~~~ [ 48s] cmd_cboot.c: In function 'get_mode_from_alarm_register': [ 48s] cmd_cboot.c:166:1: warning: control reaches end of non-void function [-Wreturn-type] [ 48s] } [ 48s] ^ [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45:0, [ 48s] from cmd_cboot.c:9: [ 48s] At top level: [ 48s] /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] [ 48s] static bool gpio_is_valid(int number) [ 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 engtest_mode.o engtest_mode.c -c [ 48s] dev_tree.c: In function 'dev_tree_get_entry_ptr': [ 48s] dev_tree.c:43:35: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 48s] #define debugf(fmt, args...) do { printf("%s(): ", __func__); printf(fmt, ##args); } while (0) [ 48s] ^ [ 48s] dev_tree.c:126:2: note: in expansion of macro 'debugf' [ 48s] debugf("magic=%x,ver=%d,num=%d\n",table->magic,table->version,table->num_entries); [ 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 factorytest_mode.o factorytest_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 fs_common_rw.o fs_common_rw.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 modem_entry.o modem_entry.c -c [ 48s] In file included from fs_common_rw.c:11:0: [ 48s] ../drivers/mmc/card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 48s] PUBLIC void Emmc_DisSdClk(); [ 48s] ^~~~~~ [ 48s] fs_common_rw.c: In function 'do_fs_file_read': [ 48s] fs_common_rw.c:21:9: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] [ 48s] part = malloc(sizeof(wchar_t)*(strlen(mpart)+1)); [ 48s] ^~~~~~ [ 48s] fs_common_rw.c:21:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ 48s] part = malloc(sizeof(wchar_t)*(strlen(mpart)+1)); [ 48s] ^ [ 48s] fs_common_rw.c:27:8: warning: implicit declaration of function 'ext4_read_content' [-Wimplicit-function-declaration] [ 48s] ret = ext4_read_content(mmc_dev, [ 48s] ^~~~~~~~~~~~~~~~~ [ 48s] fs_common_rw.c:33:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] [ 48s] free(part); [ 48s] ^~~~ [ 48s] fs_common_rw.c: In function 'do_raw_data_read': [ 48s] fs_common_rw.c:81:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ 48s] partition = malloc(sizeof(wchar_t)*(strlen(part)+1)); [ 48s] ^ [ 48s] fs_common_rw.c:97:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ 48s] sctbuf = malloc(EMMC_SECTOR_SIZE); [ 48s] ^ [ 48s] fs_common_rw.c:110:44: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 48s] if(!Emmc_Read(PARTITION_USER, cursct, 1, sctbuf)) [ 48s] ^~~~~~ [ 48s] In file included from fs_common_rw.c:11:0: [ 48s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 48s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 48s] ^~~~~~~~~ [ 48s] fs_common_rw.c:118:47: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 48s] if(!Emmc_Read(PARTITION_USER, cursct, nsct, bufwp)) [ 48s] ^~~~~ [ 48s] In file included from fs_common_rw.c:11:0: [ 48s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 48s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 48s] ^~~~~~~~~ [ 48s] fs_common_rw.c:125:44: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 48s] if(!Emmc_Read(PARTITION_USER, cursct, 1, sctbuf)) [ 48s] ^~~~~~ [ 48s] In file included from fs_common_rw.c:11:0: [ 48s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 48s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 48s] ^~~~~~~~~ [ 48s] fs_common_rw.c: In function 'do_raw_data_write': [ 48s] fs_common_rw.c:253:1: warning: label 'end' defined but not used [-Wunused-label] [ 48s] end: [ 48s] ^~~ [ 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 [ 49s] In file included from thor_mode.c:9: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] thor_mode.c: In function 'send_rsp': [ 49s] thor_mode.c:48:2: warning: implicit declaration of function 'USB_WriteEx' [-Wimplicit-function-declaration] [ 49s] USB_WriteEx(thor_tx_data_buf, sizeof(struct rsp_box)); [ 49s] ^~~~~~~~~~~ [ 49s] thor_mode.c: In function 'download_file_start': [ 49s] thor_mode.c:84:9: warning: implicit declaration of function 'USB_ReadEx' [-Wimplicit-function-declaration] [ 49s] ret = USB_ReadEx((char *) dn_addr, THOR_PACKET_SIZE); [ 49s] ^~~~~~~~~~ [ 49s] thor_mode.c:99:3: warning: implicit declaration of function 'draw_progress' [-Wimplicit-function-declaration] [ 49s] draw_progress(per); [ 49s] ^~~~~~~~~~~~~ [ 49s] thor_mode.c:121:74: warning: passing argument 4 of 'Emmc_Write' makes pointer from integer without a cast [-Wint-conversion] [ 49s] ret = Emmc_Write(PARTITION_USER, part_info.offset + write_ofs, count, download_addr); [ 49s] ^~~~~~~~~~~~~ [ 49s] In file included from thor_mode.c:9:0: [ 49s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'u32 {aka unsigned int}' [ 49s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 49s] ^~~~~~~~~~ [ 49s] thor_mode.c:75:6: warning: unused variable 'count' [-Wunused-variable] [ 49s] int count = 0; [ 49s] ^~~~~ [ 49s] thor_mode.c: In function 'process_rqt_download': [ 49s] thor_mode.c:174:9: warning: implicit declaration of function 'thor_get_part_info' [-Wimplicit-function-declaration] [ 49s] ret = thor_get_part_info(&part_info, f_name); [ 49s] ^~~~~~~~~~~~~~~~~~ [ 49s] thor_mode.c:139:29: warning: unused variable 'ret_head' [-Wunused-variable] [ 49s] static long long int left, ret_head; [ 49s] ^~~~~~~~ [ 49s] thor_mode.c:139:23: warning: unused variable 'left' [-Wunused-variable] [ 49s] static long long int left, ret_head; [ 49s] ^~~~ [ 49s] thor_mode.c: In function 'process_rqt_cmd': [ 49s] thor_mode.c:255:3: warning: implicit declaration of function 'udc_power_off' [-Wimplicit-function-declaration] [ 49s] udc_power_off(); [ 49s] ^~~~~~~~~~~~~ [ 49s] thor_mode.c:256:3: warning: implicit declaration of function 'thor_save_env' [-Wimplicit-function-declaration] [ 49s] thor_save_env("thor"); [ 49s] ^~~~~~~~~~~~~ [ 49s] thor_mode.c: In function 'thor_handle': [ 49s] thor_mode.c:306:7: warning: implicit declaration of function 'thor_usb_is_connected' [-Wimplicit-function-declaration] [ 49s] if (thor_usb_is_connected()) { [ 49s] ^~~~~~~~~~~~~~~~~~~~~ [ 49s] thor_mode.c:308:17: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] [ 49s] if (!strncmp(thor_rx_data_buf, "THOR", strlen("THOR"))) [ 49s] ^~~~~~~~~~~~~~~~ [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 49s] from thor_mode.c:3: [ 49s] /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 *' [ 49s] extern int strncmp(const char *,const char *,__kernel_size_t); [ 49s] ^~~~~~~ [ 49s] thor_mode.c: In function 'thor_mode': [ 49s] thor_mode.c:339:2: warning: implicit declaration of function 'MMU_DisableIDCM' [-Wimplicit-function-declaration] [ 49s] MMU_DisableIDCM(); [ 49s] ^~~~~~~~~~~~~~~ [ 49s] thor_mode.c:340:2: warning: implicit declaration of function 'thor_USB_Init' [-Wimplicit-function-declaration] [ 49s] thor_USB_Init(); [ 49s] ^~~~~~~~~~~~~ [ 49s] thor_mode.c: In function 'do_thor_down': [ 49s] thor_mode.c:350:1: warning: control reaches end of non-void function [-Wreturn-type] [ 49s] } [ 49s] ^ [ 49s] At top level: [ 49s] thor_mode.c:139:23: warning: 'left' defined but not used [-Wunused-variable] [ 49s] static long long int left, ret_head; [ 49s] ^~~~ [ 49s] thor_mode.c:139:29: warning: 'ret_head' defined but not used [-Wunused-variable] [ 49s] static long long int left, ret_head; [ 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 usb/cdc_descriptor.o usb/cdc_descriptor.c -c [ 49s] In file included from tizen_misc.c:9: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 tizen_misc.c:12: [ 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 tizen_misc.c:12: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 tizen_misc.c:12: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] tizen_misc.c: In function 'convert_to_string': [ 49s] tizen_misc.c:18:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] [ 49s] while (*buf++ = (char)*crap++); [ 49s] ^~~~~ [ 49s] tizen_misc.c: In function 'thor_save_env': [ 49s] tizen_misc.c:62:55: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 49s] ret = Emmc_Write(PARTITION_USER, part_info.start, 1, str); [ 49s] ^~~ [ 49s] In file included from tizen_misc.c:9:0: [ 49s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 49s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 49s] ^~~~~~~~~~ [ 49s] tizen_misc.c: In function 'thor_get_env': [ 49s] tizen_misc.c:82:54: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 49s] ret = Emmc_Read(PARTITION_USER, part_info.start, 1, str); [ 49s] ^~~ [ 49s] In file included from tizen_misc.c:9: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] tizen_misc.c:86:9: warning: function returns address of local variable [-Wreturn-local-addr] [ 49s] return str; [ 49s] ^~~ [ 49s] tizen_misc.c: In function 'check_pm_status': [ 49s] tizen_misc.c:103:6: warning: implicit declaration of function 'charger_connected' [-Wimplicit-function-declaration] [ 49s] if (charger_connected()) { [ 49s] ^~~~~~~~~~~~~~~~~ [ 49s] tizen_misc.c: In function 'thor_get_part_info': [ 49s] tizen_misc.c:178:33: warning: passing argument 1 of 'strtok' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 49s] const char *file_name = strtok(name, "."); [ 49s] ^~~~ [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 49s] from tizen_misc.c:1: [ 49s] /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 *' [ 49s] extern char * strtok(char *,const char *); [ 49s] ^~~~~~ [ 49s] tizen_misc.c: In function 'tizen_get_emmc_serial_number': [ 49s] tizen_misc.c:189:26: warning: implicit declaration of function 'get_global_cid' [-Wimplicit-function-declaration] [ 49s] unsigned char *regCID = get_global_cid(); [ 49s] ^~~~~~~~~~~~~~ [ 49s] tizen_misc.c:189:26: warning: initialization makes pointer from integer without a cast [-Wint-conversion] [ 49s] tizen_misc.c: In function 'tizen_board_key_scan': [ 49s] tizen_misc.c:212:5: warning: implicit declaration of function 'get_volumn_down_status2' [-Wimplicit-function-declaration] [ 49s] if(get_volumn_down_status2()) [ 49s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 49s] tizen_misc.c:206:15: warning: unused variable 'key_code' [-Wunused-variable] [ 49s] unsigned int key_code = 0; [ 49s] ^~~~~~~~ [ 49s] tizen_misc.c: At top level: [ 49s] tizen_misc.c:257:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 49s] void (*update)(); [ 49s] ^~~~ [ 49s] tizen_misc.c: In function 'runtimenv_read_with_backup': [ 49s] tizen_misc.c:337:81: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 49s] ret = Emmc_Read(PARTITION_USER, part_info.start, RUNTIMENV_SIZE / SECTOR_SIZE, oribuf); [ 49s] ^~~~~~ [ 49s] In file included from tizen_misc.c:9: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] tizen_misc.c:346:6: warning: implicit declaration of function '_chkNVEcc' [-Wimplicit-function-declaration] [ 49s] if (_chkNVEcc(oribuf + SECTOR_SIZE, RUNTIMENV_SIZE, checksum)) { [ 49s] ^~~~~~~~~ [ 49s] tizen_misc.c:347:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] [ 49s] memcpy(runtimenv_adr,oribuf+SECTOR_SIZE,RUNTIMENV_SIZE); [ 49s] ^~~~~~~~~~~~~ [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 49s] from tizen_misc.c:12: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 49s] void* memcpy(void*, const void*, size_t); [ 49s] ^~~~~~ [ 49s] tizen_misc.c:356:81: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 49s] ret = Emmc_Read(PARTITION_USER, part_info.start, RUNTIMENV_SIZE / SECTOR_SIZE, bakbuf); [ 49s] ^~~~~~ [ 49s] In file included from tizen_misc.c:9: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] tizen_misc.c:367:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] [ 49s] memcpy(runtimenv_adr,bakbuf+SECTOR_SIZE,RUNTIMENV_SIZE); [ 49s] ^~~~~~~~~~~~~ [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 49s] from tizen_misc.c:12: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 49s] void* memcpy(void*, const void*, size_t); [ 49s] ^~~~~~ [ 49s] tizen_misc.c:380:93: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 49s] Emmc_Write(PARTITION_USER, part_info.start, (RUNTIMENV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, oribuf); [ 49s] ^~~~~~ [ 49s] In file included from tizen_misc.c:9:0: [ 49s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 49s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 49s] ^~~~~~~~~~ [ 49s] tizen_misc.c:384:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] [ 49s] memcpy(runtimenv_adr, bakbuf + SECTOR_SIZE, RUNTIMENV_SIZE); [ 49s] ^~~~~~~~~~~~~ [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 49s] from tizen_misc.c:12: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 49s] void* memcpy(void*, const void*, size_t); [ 49s] ^~~~~~ [ 49s] tizen_misc.c:390:93: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 49s] Emmc_Write(PARTITION_USER, part_info.start, (RUNTIMENV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, bakbuf); [ 49s] ^~~~~~ [ 49s] In file included from tizen_misc.c:9:0: [ 49s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 49s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 49s] ^~~~~~~~~~ [ 49s] tizen_misc.c: In function 'fixnv_read_with_backup': [ 49s] tizen_misc.c:435:93: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 49s] ret = Emmc_Read(PARTITION_USER, part_info.start, (FIXNV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, tmpbuf); [ 49s] ^~~~~~ [ 49s] In file included from tizen_misc.c:9: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] tizen_misc.c:444:43: warning: implicit declaration of function 'calc_checksum' [-Wimplicit-function-declaration] [ 49s] tmp_header_p->checksum = (unsigned long)calc_checksum(tmpbuf, FIXNV_SIZE); [ 49s] ^~~~~~~~~~~~~ [ 49s] tizen_misc.c:452:50: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 49s] Emmc_Write(PARTITION_USER, part_info.start, 1, tmp_header); [ 49s] ^~~~~~~~~~ [ 49s] In file included from tizen_misc.c:9:0: [ 49s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 49s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 49s] ^~~~~~~~~~ [ 49s] tizen_misc.c:453:77: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 49s] Emmc_Write(PARTITION_USER, part_info.start + 1, FIXNV_SIZE / SECTOR_SIZE, tmpbuf); [ 49s] ^~~~~~ [ 49s] In file included from tizen_misc.c:9:0: [ 49s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 49s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 49s] ^~~~~~~~~~ [ 49s] 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=] [ 49s] printf("loading fixnv1 from %x(%x) to %x\n", part_info.start, FIXNV_SIZE, fixnv_adr); [ 49s] ^ [ 49s] tizen_misc.c:481:77: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 49s] ret = Emmc_Read(PARTITION_USER, part_info.start, FIXNV_SIZE / SECTOR_SIZE, oribuf); [ 49s] ^~~~~~ [ 49s] In file included from tizen_misc.c:9: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] tizen_misc.c:491:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] [ 49s] memcpy(fixnv_adr, oribuf + SECTOR_SIZE, FIXNV_SIZE); [ 49s] ^~~~~~~~~ [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 49s] from tizen_misc.c:12: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 49s] void* memcpy(void*, const void*, size_t); [ 49s] ^~~~~~ [ 49s] 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=] [ 49s] printf("loading fixnv2 from %x(%x) to %x\n", part_info.start, FIXNV_SIZE, fixnv_adr); [ 49s] ^ [ 49s] tizen_misc.c:506:77: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 49s] ret = Emmc_Read(PARTITION_USER, part_info.start, FIXNV_SIZE / SECTOR_SIZE, bakbuf); [ 49s] ^~~~~~ [ 49s] In file included from tizen_misc.c:9: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] tizen_misc.c:572:51: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 49s] Emmc_Write(PARTITION_USER, part_info.start, 1, header); [ 49s] ^~~~~~ [ 49s] In file included from tizen_misc.c:9:0: [ 49s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 49s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 49s] ^~~~~~~~~~ [ 49s] tizen_misc.c:573:78: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 49s] Emmc_Write(PARTITION_USER, part_info.start + 1, FIXNV_SIZE / SECTOR_SIZE, oribuf_update); [ 49s] ^~~~~~~~~~~~~ [ 49s] In file included from tizen_misc.c:9:0: [ 49s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 49s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 49s] ^~~~~~~~~~ [ 49s] tizen_misc.c:581:51: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 49s] Emmc_Write(PARTITION_USER, part_info.start, 1, header); [ 49s] ^~~~~~ [ 49s] In file included from tizen_misc.c:9:0: [ 49s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 49s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 49s] ^~~~~~~~~~ [ 49s] tizen_misc.c:582:78: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 49s] Emmc_Write(PARTITION_USER, part_info.start + 1, FIXNV_SIZE / SECTOR_SIZE, oribuf_update); [ 49s] ^~~~~~~~~~~~~ [ 49s] In file included from tizen_misc.c:9:0: [ 49s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 49s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 49s] ^~~~~~~~~~ [ 49s] tizen_misc.c:584:11: warning: passing argument 1 of 'memset' makes pointer from integer without a cast [-Wint-conversion] [ 49s] memset(fixnv_adr, 0xff, FIXNV_SIZE); [ 49s] ^~~~~~~~~ [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 49s] from tizen_misc.c:12: [ 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] tizen_misc.c:585:11: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] [ 49s] memcpy(fixnv_adr, oribuf_update, FIXNV_SIZE); [ 49s] ^~~~~~~~~ [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 49s] from tizen_misc.c:12: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 49s] void* memcpy(void*, const void*, size_t); [ 49s] ^~~~~~ [ 49s] tizen_misc.c:596:51: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 49s] Emmc_Write(PARTITION_USER, part_info.start, 1, header); [ 49s] ^~~~~~ [ 49s] In file included from tizen_misc.c:9:0: [ 49s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 49s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 49s] ^~~~~~~~~~ [ 49s] tizen_misc.c:597:11: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] [ 49s] memcpy(fixnv_adr, oribuf_update, FIXNV_SIZE); [ 49s] ^~~~~~~~~ [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 49s] from tizen_misc.c:12: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 49s] void* memcpy(void*, const void*, size_t); [ 49s] ^~~~~~ [ 49s] tizen_misc.c:606:12: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] [ 49s] memcpy(fixnv_adr, bakbuf + SECTOR_SIZE,FIXNV_SIZE); [ 49s] ^~~~~~~~~ [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 49s] from tizen_misc.c:12: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 49s] void* memcpy(void*, const void*, size_t); [ 49s] ^~~~~~ [ 49s] tizen_misc.c:619:90: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 49s] Emmc_Write(PARTITION_USER, part_info.start, (FIXNV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, oribuf); [ 49s] ^~~~~~ [ 49s] In file included from tizen_misc.c:9:0: [ 49s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 49s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 49s] ^~~~~~~~~~ [ 49s] tizen_misc.c:624:11: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] [ 49s] memcpy(fixnv_adr, bakbuf+SECTOR_SIZE, FIXNV_SIZE); [ 49s] ^~~~~~~~~ [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 49s] from tizen_misc.c:12: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 49s] void* memcpy(void*, const void*, size_t); [ 49s] ^~~~~~ [ 49s] tizen_misc.c:630:90: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 49s] Emmc_Write(PARTITION_USER, part_info.start, (FIXNV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, bakbuf); [ 49s] ^~~~~~ [ 49s] In file included from tizen_misc.c:9:0: [ 49s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 49s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 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/common.h:37, [ 49s] from tizen_misc.c:1: [ 49s] tizen_misc.c: In function 'load_modem_data': [ 49s] /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] [ 49s] #define WMODEM_ADR 0x88300000 [ 49s] ^ [ 49s] tizen_misc.c:666:23: note: in expansion of macro 'WMODEM_ADR' [ 49s] unsigned char *buf = WMODEM_ADR; [ 49s] ^~~~~~~~~~ [ 49s] tizen_misc.c:671:34: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'unsigned char *' [-Wformat=] [ 49s] printf("load modem to addr 0x%08x\n", buf); [ 49s] ^ [ 49s] tizen_misc.c:693:62: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 49s] ret = Emmc_Read(PARTITION_USER, part_info.start + nsct, 1, sctbuf); [ 49s] ^~~~~~ [ 49s] In file included from tizen_misc.c:9: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] 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/common.h:37, [ 49s] from tizen_misc.c:1: [ 49s] tizen_misc.c: In function 'load_dsp_data': [ 49s] /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] [ 49s] #define WDSP_ADR 0x88020000 [ 49s] ^ [ 49s] tizen_misc.c:712:23: note: in expansion of macro 'WDSP_ADR' [ 49s] unsigned char *buf = WDSP_ADR; [ 49s] ^~~~~~~~ [ 49s] tizen_misc.c:717:32: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'unsigned char *' [-Wformat=] [ 49s] printf("load dsp to addr 0x%08x\n", buf); [ 49s] ^ [ 49s] tizen_misc.c:739:62: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 49s] ret = Emmc_Read(PARTITION_USER, part_info.start + nsct, 1, sctbuf); [ 49s] ^~~~~~ [ 49s] In file included from tizen_misc.c:9: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] tizen_misc.c: In function 'load_binary_to_addr': [ 49s] tizen_misc.c:771:66: warning: passing argument 4 of 'Emmc_Read' makes pointer from integer without a cast [-Wint-conversion] [ 49s] ret = Emmc_Read(PARTITION_USER, info.offset, size / info.blksz, addr); [ 49s] ^~~~ [ 49s] In file included from tizen_misc.c:9:0: [ 49s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'unsigned int' [ 49s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 49s] ^~~~~~~~~ [ 49s] tizen_misc.c: In function 'check_board_signature': [ 49s] tizen_misc.c:795:40: warning: passing argument 2 of 'load_binary_to_addr' makes integer from pointer without a cast [-Wint-conversion] [ 49s] ret = load_binary_to_addr(PARTS_BOOT, bl_buf, CONFIG_SIG_IMAGE_SIZE); [ 49s] ^~~~~~ [ 49s] tizen_misc.c:762:12: note: expected 'unsigned int' but argument is of type 'char *' [ 49s] static int load_binary_to_addr(char *name, unsigned int addr, unsigned int size) [ 49s] ^~~~~~~~~~~~~~~~~~~ [ 49s] tizen_misc.c:799:40: warning: passing argument 2 of 'get_image_signature' makes integer from pointer without a cast [-Wint-conversion] [ 49s] ret = get_image_signature(&bh_target, bl_buf, CONFIG_SIG_IMAGE_SIZE); [ 49s] ^~~~~~ [ 49s] tizen_misc.c:750:5: note: expected 'unsigned int' but argument is of type 'char *' [ 49s] int get_image_signature(struct sig_header *hdr, unsigned int base_addr, [ 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 usb/drv_cdc.o usb/drv_cdc.c -c [ 49s] usb/cdc_descriptor.c: In function 'thor_get_config_desc': [ 49s] usb/cdc_descriptor.c:265:2: warning: implicit declaration of function 'usb_gadget_config_buf' [-Wimplicit-function-declaration] [ 49s] usb_gadget_config_buf(&thor_config_desc, &function_desc_buf, 256, thor_function_high); [ 49s] ^~~~~~~~~~~~~~~~~~~~~ [ 49s] usb/cdc_descriptor.c: In function 'str2wide': [ 49s] usb/cdc_descriptor.c:278:18: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] [ 49s] for (i = 0; i < strlen (str) && str[i]; i++){ [ 49s] ^~~~~~ [ 49s] At top level: [ 49s] usb/cdc_descriptor.c:236:13: warning: 'thor_device_qualifer_desc_buf' defined but not used [-Wunused-variable] [ 49s] static char thor_device_qualifer_desc_buf[sizeof(struct usb_qualifier_descriptor)] __align(32); [ 49s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 49s] tizen_misc.c: In function 'fixnv_read_with_backup': [ 49s] tizen_misc.c:550:3: warning: 'nv_backup_status' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 49s] printf("nv_backup_status = %d \n", nv_backup_status); [ 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 usb/usb_hw.o usb/usb_hw.c -c [ 49s] usb/drv_cdc.c: In function 'usb_get_descriptor': [ 49s] usb/drv_cdc.c:255:26: warning: implicit declaration of function 'thor_get_device_desc' [-Wimplicit-function-declaration] [ 49s] send_data = (uint8 *) thor_get_device_desc(enum_speed); [ 49s] ^~~~~~~~~~~~~~~~~~~~ [ 49s] usb/drv_cdc.c:267:26: warning: implicit declaration of function 'thor_get_config_desc' [-Wimplicit-function-declaration] [ 49s] send_data = (uint8 *) thor_get_config_desc(enum_speed); [ 49s] ^~~~~~~~~~~~~~~~~~~~ [ 49s] usb/drv_cdc.c:285:16: warning: implicit declaration of function 'thor_get_string_desc' [-Wimplicit-function-declaration] [ 49s] send_data = thor_get_string_desc(str_index); [ 49s] ^~~~~~~~~~~~~~~~~~~~ [ 49s] usb/drv_cdc.c:285:14: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ 49s] send_data = thor_get_string_desc(str_index); [ 49s] ^ [ 49s] usb/drv_cdc.c:299:26: warning: implicit declaration of function 'thor_get_qualifer_desc' [-Wimplicit-function-declaration] [ 49s] send_data = (uint8 *) thor_get_qualifer_desc(); [ 49s] ^~~~~~~~~~~~~~~~~~~~~~ [ 49s] usb/drv_cdc.c:312:26: warning: implicit declaration of function 'thor_get_other_speed_config_desc' [-Wimplicit-function-declaration] [ 49s] send_data = (uint8 *) thor_get_other_speed_config_desc(); [ 49s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 49s] usb/drv_cdc.c: In function 'usb_set_feature': [ 49s] usb/drv_cdc.c:396:21: warning: variable 'request1' set but not used [-Wunused-but-set-variable] [ 49s] USB_REQUEST_1_U *request1; [ 49s] ^~~~~~~~ [ 49s] usb/drv_cdc.c:394:23: warning: unused variable 'dcfg_ptr' [-Wunused-variable] [ 49s] volatile USB_DCFG_U *dcfg_ptr = (volatile USB_DCFG_U *) USB_DCFG; [ 49s] ^~~~~~~~ [ 49s] usb/drv_cdc.c: In function 'usb_handler': [ 49s] usb/drv_cdc.c:797:15: warning: unused variable 'string' [-Wunused-variable] [ 49s] char string[64] ={0,}; [ 49s] ^~~~~~ [ 49s] usb/drv_cdc.c:796:9: warning: unused variable 'i' [-Wunused-variable] [ 49s] uint32 i=0; [ 49s] ^ [ 49s] usb/drv_cdc.c: In function 'USB_ReadEx_Internal': [ 49s] usb/drv_cdc.c:844:9: warning: unused variable 'i' [-Wunused-variable] [ 49s] int i; [ 49s] ^ [ 49s] usb/drv_cdc.c: In function 'thor_USB_Init': [ 49s] usb/drv_cdc.c:1041:2: warning: implicit declaration of function 'sprd_usb_thor_start' [-Wimplicit-function-declaration] [ 49s] sprd_usb_thor_start(); [ 49s] ^~~~~~~~~~~~~~~~~~~ [ 49s] usb/drv_cdc.c:1031:15: warning: unused variable 'len' [-Wunused-variable] [ 49s] unsigned int len = 0; [ 49s] ^~~ [ 49s] usb/drv_cdc.c: In function 'USB_DeInit': [ 49s] usb/drv_cdc.c:1052:2: warning: implicit declaration of function 'usb_power_off' [-Wimplicit-function-declaration] [ 49s] usb_power_off(); [ 49s] ^~~~~~~~~~~~~ [ 49s] usb/drv_cdc.c: At top level: [ 49s] usb/drv_cdc.c:1076:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 49s] void sprd_usb_thor_start() [ 49s] ^~~~~~~~~~~~~~~~~~~ [ 49s] usb/drv_cdc.c:1076:6: warning: conflicting types for 'sprd_usb_thor_start' [ 49s] usb/drv_cdc.c:1041:2: note: previous implicit declaration of 'sprd_usb_thor_start' was here [ 49s] sprd_usb_thor_start(); [ 49s] ^~~~~~~~~~~~~~~~~~~ [ 49s] usb/drv_cdc.c: In function 'sprd_usb_thor_start': [ 49s] usb/drv_cdc.c:1085:12: warning: 'return' with a value, in function returning void [ 49s] return -1; [ 49s] ^ [ 49s] usb/drv_cdc.c:1076:6: note: declared here [ 49s] void sprd_usb_thor_start() [ 49s] ^~~~~~~~~~~~~~~~~~~ [ 49s] usb/drv_cdc.c:1087:17: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] [ 49s] if (!strncmp(sprd_thor_setup_buf, "THOR", strlen("THOR"))) [ 49s] ^~~~~~~~~~~~~~~~~~~ [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 49s] from usb/drv_cdc.c:12: [ 49s] /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 *' [ 49s] extern int strncmp(const char *,const char *,__kernel_size_t); [ 49s] ^~~~~~~ [ 49s] usb/drv_cdc.c:1090:17: warning: pointer targets in passing argument 1 of 'USB_WriteEx' differ in signedness [-Wpointer-sign] [ 49s] USB_WriteEx("ROHT", strlen("ROHT")); [ 49s] ^~~~~~ [ 49s] usb/drv_cdc.c:913:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 49s] PUBLIC int32 USB_WriteEx(uint8 *pBuf,uint32 len) [ 49s] ^~~~~~~~~~~ [ 49s] usb/drv_cdc.c:1104:9: warning: 'return' with a value, in function returning void [ 49s] return 0; [ 49s] ^ [ 49s] usb/drv_cdc.c:1076:6: note: declared here [ 49s] void sprd_usb_thor_start() [ 49s] ^~~~~~~~~~~~~~~~~~~ [ 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' [ 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 openphone.o openphone.c -c [ 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 sprd_kp.o sprd_kp.c -c [ 50s] In file included from openphone.c:5:0: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:26:0: warning: "AHB_SOFT_RST" redefined [ 50s] #define AHB_SOFT_RST (AHB_REG_BASE + 0x04) [ 50s] [ 50s] In file included from openphone.c:4:0: [ 50s] /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 [ 50s] #define AHB_SOFT_RST (AHB_REG_BASE + 0x0004) [ 50s] [ 50s] In file included from openphone.c:5:0: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:41:0: warning: "CHIP_ID" redefined [ 50s] #define CHIP_ID (AHB_REG_BASE + 0x1FC) [ 50s] [ 50s] In file included from openphone.c:4:0: [ 50s] /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 [ 50s] #define CHIP_ID (AHB_REG_BASE + 0x00fc) [ 50s] [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/gpio.h:35:0, [ 50s] from openphone.c:12: [ 50s] /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 [ 50s] void (*dbg_show)(struct seq_file *s, [ 50s] ^~~~~~~~ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 50s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 50s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:20, [ 50s] from openphone.c:14: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 50s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 50s] [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:20:0, [ 50s] from openphone.c:5: [ 50s] /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 [ 50s] #define ADC_BASE 0x40038300 //Aux ADC [ 50s] [ 50s] openphone.c:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 50s] int mmc_sdcard_init(); [ 50s] ^~~ [ 50s] openphone.c:42:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 50s] void aon_26M_timer2_enable() [ 50s] ^~~~~~~~~~~~~~~~~~~~~ [ 50s] openphone.c: In function 'get_hw_rev': [ 50s] openphone.c:58:3: warning: implicit declaration of function 'sprd_gpio_request' [-Wimplicit-function-declaration] [ 50s] sprd_gpio_request(NULL, hw_rev_gpio[i]); [ 50s] ^~~~~~~~~~~~~~~~~ [ 50s] openphone.c:59:3: warning: implicit declaration of function 'sprd_gpio_direction_input' [-Wimplicit-function-declaration] [ 50s] sprd_gpio_direction_input(NULL, hw_rev_gpio[i]); [ 50s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 50s] openphone.c:60:38: warning: implicit declaration of function 'sprd_gpio_get' [-Wimplicit-function-declaration] [ 50s] hw_revision = (hw_revision << 1) | sprd_gpio_get(NULL, hw_rev_gpio[i]); [ 50s] ^~~~~~~~~~~~~ [ 50s] openphone.c:61:3: warning: implicit declaration of function 'sprd_gpio_free' [-Wimplicit-function-declaration] [ 50s] sprd_gpio_free(NULL, hw_rev_gpio[i]); [ 50s] ^~~~~~~~~~~~~~ [ 50s] openphone.c: In function 'board_init': [ 50s] openphone.c:73:2: warning: implicit declaration of function 'misc_init' [-Wimplicit-function-declaration] [ 50s] misc_init(); [ 50s] ^~~~~~~~~ [ 50s] openphone.c:76:2: warning: implicit declaration of function 'sprd_eic_init' [-Wimplicit-function-declaration] [ 50s] sprd_eic_init(); [ 50s] ^~~~~~~~~~~~~ [ 50s] openphone.c:78:2: warning: implicit declaration of function 'init_ldo_sleep_gr' [-Wimplicit-function-declaration] [ 50s] init_ldo_sleep_gr(); [ 50s] ^~~~~~~~~~~~~~~~~ [ 50s] openphone.c:85:2: warning: implicit declaration of function 'check_smpl' [-Wimplicit-function-declaration] [ 50s] check_smpl(); [ 50s] ^~~~~~~~~~ [ 50s] openphone.c: At top level: [ 50s] openphone.c:91:6: warning: conflicting types for 'check_smpl' [ 50s] void check_smpl(void) [ 50s] ^~~~~~~~~~ [ 50s] openphone.c:85:2: note: previous implicit declaration of 'check_smpl' was here [ 50s] check_smpl(); [ 50s] ^~~~~~~~~~ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/gpio.h:35:0, [ 50s] from openphone.c:12: [ 50s] /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] [ 50s] static bool gpio_is_valid(int number) [ 50s] ^~~~~~~~~~~~~ [ 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 [ 51s] objcopy -O srec u-boot u-boot.srec [ 51s] objcopy --gap-fill 0xff -O binary u-boot u-boot.bin [ 51s] + chmod 755 tools/mkimage_signed.sh [ 51s] + mkimage_signed.sh u-boot.bin tizen_tm1 [ 51s] ##################################### [ 51s] Running script: tools/mkimage_signed.sh [ 51s] Config: tizen_tm1 [ 51s] Input binary: u-boot.bin [ 51s] Input bytes: 614780 (Max size: 1048064 B) [ 51s] [ 51s] Header info: [ 51s] HDR length: 512 Bytes [ 51s] SIG magic: "BoOt" [ 51s] SIG size: 0 [ 51s] SIG valid: 0 [ 51s] SIG date: "2023071309" (YYMMDDHH) [ 51s] SIG version: "none" [ 51s] SIG board: "tizen_tm1" [ 51s] [ 51s] Output signed binary: u-boot-mmc.bin [ 51s] ##################################### [ 51s] + exit 0 [ 51s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0PdZLV [ 51s] + umask 022 [ 51s] + cd /home/abuild/rpmbuild/BUILD [ 51s] + cd u-boot-sprd-2010.12 [ 51s] + LANG=C [ 51s] + export LANG [ 51s] + unset DISPLAY [ 51s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-0.arm [ 51s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-0.arm [ 51s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-0.arm [ 51s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-0.arm/boot/u-boot [ 51s] + install -d /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-0.arm/boot/u-boot [ 51s] + install -m 755 u-boot.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-0.arm/boot/u-boot [ 51s] + 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 [ 52s] Processing files: u-boot-sprd-debugsource-2010.12-0.armv7l [ 52s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 52s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 52s] [ 52s] Provides: u-boot-sprd-debugsource = 2010.12-0 u-boot-sprd-debugsource(armv7l-32) = 2010.12-0 [ 52s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 52s] Processing files: u-boot-tm1-2010.12-0.armv7l [ 52s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 52s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 52s] [ 52s] Provides: u-boot-tm1 = 2010.12-0 u-boot-tm1(armv7l-32) = 2010.12-0 [ 52s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 52s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-0.arm [ 52s] warning: Could not canonicalize hostname: ip-192-168-72-169 [ 52s] Wrote: /home/abuild/rpmbuild/SRPMS/u-boot-sprd-2010.12-0.src.rpm [ 52s] 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.kOVqO0 [ 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 [ 53s] ... checking for files with abuild user/group [ 53s] ... creating baselibs [ 53s] [ 53s] ip-192-168-72-169 finished "build u-boot-tm1.spec" at Thu Jul 13 09:58:21 UTC 2023. [ 53s]