Advertisement
MrRockchip

u-boot build log - new toolchain

Oct 3rd, 2019
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 46.67 KB | None | 0 0
  1. make DEV_NAME=wr841nv9_en uboot
  2. Making uboot at Thu 03 Oct 2019 02:53:13 PM UTC
  3. cd /home/anon/tp-link-gpl/wr841nv9_en_gpl/build/../ap143/boot/u-boot && make ARCH=mips CROSS_COMPILE=mips-linux-uclibc- mrproper
  4. make[1]: Entering directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot'
  5. Making clean
  6. Making clobber
  7. make[1]: Leaving directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot'
  8. cd /home/anon/tp-link-gpl/wr841nv9_en_gpl/build/../ap143/boot/u-boot && make ARCH=mips CROSS_COMPILE=mips-linux-uclibc- ap143_config
  9. make[1]: Entering directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot'
  10. Configuring for board953x board...
  11. make[1]: Leaving directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot'
  12. ========= build dir: /home/anon/tp-link-gpl/wr841nv9_en_gpl/build/../build ============
  13. cd /home/anon/tp-link-gpl/wr841nv9_en_gpl/build/../ap143/boot/u-boot && make ARCH=mips CROSS_COMPILE=mips-linux-uclibc- all BUILD_DIR=/home/anon/tp-link-gpl/wr841nv9_en_gpl/build/../build
  14. make[1]: Entering directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot'
  15. Makefile:255: warning: overriding recipe for target 'board/atheros/board953x/libboard953x.a'
  16. Makefile:223: warning: ignoring old recipe for target 'board/atheros/board953x/libboard953x.a'
  17. Makefile:255: warning: overriding recipe for target 'cpu/mips/libmips.a'
  18. Makefile:223: warning: ignoring old recipe for target 'cpu/mips/libmips.a'
  19. make[2]: Entering directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/tools'
  20. ln -s ../common/environment.c environment.c
  21. ln -s ../lib_generic/crc32.c crc32.c
  22. make[2]: '.depend' is up to date.
  23. make[2]: Leaving directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/tools'
  24. make[2]: Entering directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post'
  25. make[2]: '.depend' is up to date.
  26. make[2]: Leaving directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post'
  27. make[2]: Entering directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/cpu'
  28. make[2]: '.depend' is up to date.
  29. make[2]: Leaving directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/cpu'
  30. make -C tools all
  31. make[2]: Entering directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/tools'
  32. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/tools/img2srec.c
  33. gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x80010000 -DUSE_HOSTCC -O -o img2srec img2srec.o
  34. strip img2srec
  35. gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x80010000 -DUSE_HOSTCC -O -c mkimage.c
  36. gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x80010000 -DUSE_HOSTCC -O -c crc32.c
  37. gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x80010000 -DUSE_HOSTCC -O -o mkimage mkimage.o crc32.o
  38. strip mkimage
  39. gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x80010000 -DUSE_HOSTCC -O -c envcrc.c
  40. gcc -g -idirafter ../include -DTEXT_BASE=0x80010000 -DUSE_HOSTCC -c environment.c
  41. gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x80010000 -DUSE_HOSTCC -O -o envcrc envcrc.o crc32.o environment.o
  42. gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x80010000 -DUSE_HOSTCC -O -c gen_eth_addr.c
  43. gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x80010000 -DUSE_HOSTCC -O -o gen_eth_addr gen_eth_addr.o
  44. strip gen_eth_addr
  45. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/tools/bmp_logo.c
  46. gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x80010000 -DUSE_HOSTCC -O -o bmp_logo bmp_logo.o
  47. strip bmp_logo
  48. gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x80010000 -DUSE_HOSTCC -O -c inca-swap-bytes.c
  49. gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x80010000 -DUSE_HOSTCC -O -o inca-swap-bytes inca-swap-bytes.o
  50. strip inca-swap-bytes
  51. ./bmp_logo logos/denx.bmp >/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/bmp_logo.h
  52. make[2]: Leaving directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/tools'
  53. make -C post all
  54. make[2]: Entering directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post'
  55. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/cache_8xx.S
  56. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/cache.c
  57. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/codec.c
  58. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/cpu.c
  59. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/dsp.c
  60. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/ether.c
  61. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/i2c.c
  62. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/memory.c
  63. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/post.c
  64. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/rtc.c
  65. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/spr.c
  66. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/sysmon.c
  67. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/tests.c
  68. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/uart.c
  69. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/usb.c
  70. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/watchdog.c
  71. mips-linux-uclibc-ar crv libpost.a cache_8xx.o cache.o codec.o cpu.o dsp.o ether.o i2c.o memory.o post.o rtc.o spr.o sysmon.o tests.o uart.o usb.o watchdog.o
  72. a - cache_8xx.o
  73. a - cache.o
  74. a - codec.o
  75. a - cpu.o
  76. a - dsp.o
  77. a - ether.o
  78. a - i2c.o
  79. a - memory.o
  80. a - post.o
  81. a - rtc.o
  82. a - spr.o
  83. a - sysmon.o
  84. a - tests.o
  85. a - uart.o
  86. a - usb.o
  87. a - watchdog.o
  88. make[2]: Leaving directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post'
  89. make -C post/cpu all
  90. make[2]: Entering directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/cpu'
  91. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/cpu/asm.S
  92. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/cpu/cmp.c
  93. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/cpu/cmpi.c
  94. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/cpu/two.c
  95. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/cpu/twox.c
  96. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/cpu/three.c
  97. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/cpu/threex.c
  98. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/cpu/threei.c
  99. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/cpu/andi.c
  100. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/cpu/srawi.c
  101. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/cpu/rlwnm.c
  102. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/cpu/rlwinm.c
  103. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/cpu/rlwimi.c
  104. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/cpu/store.c
  105. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/cpu/load.c
  106. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/cpu/cr.c
  107. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/cpu/b.c
  108. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/cpu/multi.c
  109. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/cpu/string.c
  110. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/cpu/complex.c
  111. mips-linux-uclibc-ar crv libcpu.a asm.o cmp.o cmpi.o two.o twox.o three.o threex.o threei.o andi.o srawi.o rlwnm.o rlwinm.o rlwimi.o store.o load.o cr.o b.o multi.o string.o complex.o
  112. a - asm.o
  113. a - cmp.o
  114. a - cmpi.o
  115. a - two.o
  116. a - twox.o
  117. a - three.o
  118. a - threex.o
  119. a - threei.o
  120. a - andi.o
  121. a - srawi.o
  122. a - rlwnm.o
  123. a - rlwinm.o
  124. a - rlwimi.o
  125. a - store.o
  126. a - load.o
  127. a - cr.o
  128. a - b.o
  129. a - multi.o
  130. a - string.o
  131. a - complex.o
  132. make[2]: Leaving directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/post/cpu'
  133. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/cpu/mips/start.S
  134. make -C `dirname lib_generic/libgeneric.a`
  135. make[2]: Entering directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/lib_generic'
  136. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/lib_generic/crc32.c
  137. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/lib_generic/ctype.c
  138. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/lib_generic/display_options.c
  139. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/lib_generic/ldiv.c
  140. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/lib_generic/string.c
  141. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/lib_generic/vsprintf.c
  142. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/lib_generic/LzmaWrapper.c
  143. LzmaWrapper.c: In function 'lzma_inflate':
  144. LzmaWrapper.c:149:21: warning: comparison between pointer and integer
  145. if (outSizeFull > d_len)
  146. ^
  147. LzmaWrapper.c: At top level:
  148. LzmaWrapper.c:46:23: warning: 'dpos' defined but not used [-Wunused-variable]
  149. static size_t rpos=0, dpos=0;
  150. ^
  151. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/lib_generic/LzmaDecode.c
  152. LzmaDecode.c: In function 'LzmaDecodeProperties':
  153. LzmaDecode.c:127:5: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
  154. printf("ERROR: %s, %d\n", __FILE__, __LINE__);
  155. ^
  156. mips-linux-uclibc-ar crv libgeneric.a crc32.o ctype.o display_options.o ldiv.o string.o vsprintf.o LzmaWrapper.o LzmaDecode.o
  157. a - crc32.o
  158. a - ctype.o
  159. a - display_options.o
  160. a - ldiv.o
  161. a - string.o
  162. a - vsprintf.o
  163. a - LzmaWrapper.o
  164. a - LzmaDecode.o
  165. make[2]: Leaving directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/lib_generic'
  166. make -C `dirname common/libcommon.a`
  167. make[2]: Entering directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common'
  168. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/main.c
  169. main.c: In function 'main_loop':
  170. main.c:467:30: warning: passing argument 2 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion]
  171. #define ORG_PRODUCT_ID_POS (ORG_FILE_BASE + 0xD00)
  172. ^
  173. main.c:516:34: note: in expansion of macro 'ORG_PRODUCT_ID_POS'
  174. memcpy(&original_product_id, ORG_PRODUCT_ID_POS, PRODUCT_ID_VER_LEN);
  175. ^
  176. In file included from /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/common.h:38:0,
  177. from main.c:26:
  178. /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/linux/string.h:70:15: note: expected 'const void *' but argument is of type 'unsigned int'
  179. extern void * memcpy(void *,const void *,__kernel_size_t);
  180. ^
  181. main.c:468:30: warning: passing argument 2 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion]
  182. #define ORG_PRODUCT_VER_POS (ORG_FILE_BASE + 0xD04)
  183. ^
  184. main.c:517:35: note: in expansion of macro 'ORG_PRODUCT_VER_POS'
  185. memcpy(&original_product_ver, ORG_PRODUCT_VER_POS, PRODUCT_ID_VER_LEN);
  186. ^
  187. In file included from /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/common.h:38:0,
  188. from main.c:26:
  189. /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/linux/string.h:70:15: note: expected 'const void *' but argument is of type 'unsigned int'
  190. extern void * memcpy(void *,const void *,__kernel_size_t);
  191. ^
  192. main.c:471:29: warning: passing argument 2 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion]
  193. #define UP_PRODUCT_ID_POS (UP_FILE_BASE + 0x40)
  194. ^
  195. main.c:519:34: note: in expansion of macro 'UP_PRODUCT_ID_POS'
  196. memcpy(&recovery_product_id, UP_PRODUCT_ID_POS, PRODUCT_ID_VER_LEN);
  197. ^
  198. In file included from /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/common.h:38:0,
  199. from main.c:26:
  200. /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/linux/string.h:70:15: note: expected 'const void *' but argument is of type 'unsigned int'
  201. extern void * memcpy(void *,const void *,__kernel_size_t);
  202. ^
  203. main.c:472:30: warning: passing argument 2 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion]
  204. #define UP_PRODUCT_VER_POS (UP_FILE_BASE + 0x44)
  205. ^
  206. main.c:520:35: note: in expansion of macro 'UP_PRODUCT_VER_POS'
  207. memcpy(&recovery_product_ver, UP_PRODUCT_VER_POS, PRODUCT_ID_VER_LEN);
  208. ^
  209. In file included from /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/common.h:38:0,
  210. from main.c:26:
  211. /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/linux/string.h:70:15: note: expected 'const void *' but argument is of type 'unsigned int'
  212. extern void * memcpy(void *,const void *,__kernel_size_t);
  213. ^
  214. main.c:566:6: warning: implicit declaration of function 'do_reset' [-Wimplicit-function-declaration]
  215. do_reset (NULL, 0, 0, NULL);
  216. ^
  217. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/circbuf.c
  218. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/cmd_boot.c
  219. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/cmd_bootm.c
  220. cmd_bootm.c: In function 'do_bootm':
  221. cmd_bootm.c:601:2: warning: implicit declaration of function 'mips_cache_flush' [-Wimplicit-function-declaration]
  222. mips_cache_flush();
  223. ^
  224. cmd_bootm.c:602:2: warning: implicit declaration of function 'mips_icache_flush_ix' [-Wimplicit-function-declaration]
  225. mips_icache_flush_ix();
  226. ^
  227. cmd_bootm.c:611:86: warning: pointer targets in passing argument 4 of 'lzma_inflate' differ in signedness [-Wpointer-sign]
  228. i = lzma_inflate ((unsigned char *)data, len, (unsigned char*)ntohl(hdr->ih_load), &unc_len);
  229. ^
  230. In file included from cmd_bootm.c:34:0:
  231. /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/LzmaWrapper.h:34:12: note: expected 'int *' but argument is of type 'uint * {aka unsigned int *}'
  232. extern int lzma_inflate(unsigned char *source, int s_len, unsigned char *dest, int *d_len);
  233. ^
  234. cmd_bootm.c:549:8: warning: unused variable 'appl' [-Wunused-variable]
  235. int (*appl)(int, char *[]);
  236. ^
  237. cmd_bootm.c:548:15: warning: unused variable 's' [-Wunused-variable]
  238. char *name, *s;
  239. ^
  240. cmd_bootm.c:543:19: warning: unused variable 'checksum' [-Wunused-variable]
  241. ulong data, len, checksum;
  242. ^
  243. cmd_bootm.c:541:8: warning: variable 'iflag' set but not used [-Wunused-but-set-variable]
  244. ulong iflag;
  245. ^
  246. cmd_bootm.c: At top level:
  247. cmd_bootm.c:1457:14: warning: 'zalloc' defined but not used [-Wunused-function]
  248. static void *zalloc(void *x, unsigned items, unsigned size)
  249. ^
  250. cmd_bootm.c:1469:13: warning: 'zfree' defined but not used [-Wunused-function]
  251. static void zfree(void *x, void *addr, unsigned nb)
  252. ^
  253. cmd_bootm.c:1030:1: warning: 'do_bootm_netbsd' defined but not used [-Wunused-function]
  254. do_bootm_netbsd (cmd_tbl_t *cmdtp, int flag,
  255. ^
  256. cmd_bootm.c:1545:1: warning: 'do_bootm_rtems' defined but not used [-Wunused-function]
  257. do_bootm_rtems (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[],
  258. ^
  259. cmd_bootm.c: In function 'do_bootm':
  260. cmd_bootm.c:627:6: warning: 'len_ptr' is used uninitialized in this function [-Wuninitialized]
  261. do_bootm_linux (cmdtp, flag, argc, argv,
  262. ^
  263. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/cmd_cache.c
  264. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/cmd_console.c
  265. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/cmd_date.c
  266. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/cmd_dcr.c
  267. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/cmd_display.c
  268. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/cmd_doc.c
  269. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/cmd_eeprom.c
  270. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/cmd_flash.c
  271. cmd_flash.c: In function 'do_flerase':
  272. cmd_flash.c:345:9: warning: 'sect_last' may be used uninitialized in this function [-Wmaybe-uninitialized]
  273. rcode = flash_erase(info, sect_first, sect_last);
  274. ^
  275. cmd_flash.c:345:9: warning: 'sect_first' may be used uninitialized in this function [-Wmaybe-uninitialized]
  276. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/cmd_immap.c
  277. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/cmd_itest.c
  278. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/cmd_mem.c
  279. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/cmd_mii.c
  280. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/cmd_misc.c
  281. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/cmd_nand.c
  282. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/cmd_net.c
  283. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/cmd_nvedit.c
  284. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/cmd_reginfo.c
  285. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/cmd_spi.c
  286. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/command.c
  287. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/console.c
  288. console.c: In function 'serial_printf':
  289. console.c:101:7: warning: variable 'i' set but not used [-Wunused-but-set-variable]
  290. uint i;
  291. ^
  292. console.c: In function 'fprintf':
  293. console.c:146:7: warning: variable 'i' set but not used [-Wunused-but-set-variable]
  294. uint i;
  295. ^
  296. console.c: In function 'printf':
  297. console.c:220:7: warning: variable 'i' set but not used [-Wunused-but-set-variable]
  298. uint i;
  299. ^
  300. console.c: In function 'vprintf':
  301. console.c:237:7: warning: variable 'i' set but not used [-Wunused-but-set-variable]
  302. uint i;
  303. ^
  304. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/devices.c
  305. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/dlmalloc.c
  306. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/docecc.c
  307. mips-linux-uclibc-gcc -Wa,-gstabs -D__ASSEMBLY__ -g -Os -D__KERNEL__ -DTEXT_BASE=0x80010000 -I/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /home/anon/tp-link-gpl/wr841nv9_en_gpl/build/gcc-4.3.3/build_mips/staging_dir/usr/bin/../lib/gcc/mips-openwrt-linux-musl/5.5.0/include -pipe -DCONFIG_MIPS -D__MIPS__ -mabicalls -march=mips32r2 -DCOMPRESSED_UBOOT=1 -Wa,--no-warn \
  308. -DENV_CRC=0 \
  309. -c -o environment.o environment.c
  310. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/env_common.c
  311. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/env_nowhere.c
  312. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/exports.c
  313. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/hush.c
  314. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/lcd.c
  315. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/lists.c
  316. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/memsize.c
  317. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/miiphybb.c
  318. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/miiphyutil.c
  319. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/serial.c
  320. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/crc16.c
  321. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common/flash.c
  322. mips-linux-uclibc-ar crv libcommon.a main.o circbuf.o cmd_boot.o cmd_bootm.o cmd_cache.o cmd_console.o cmd_date.o cmd_dcr.o cmd_display.o cmd_doc.o cmd_eeprom.o cmd_flash.o cmd_immap.o cmd_itest.o cmd_mem.o cmd_mii.o cmd_misc.o cmd_nand.o cmd_net.o cmd_nvedit.o cmd_reginfo.o cmd_spi.o command.o console.o devices.o dlmalloc.o docecc.o environment.o env_common.o env_nowhere.o exports.o hush.o lcd.o lists.o memsize.o miiphybb.o miiphyutil.o serial.o crc16.o flash.o
  323. a - main.o
  324. a - circbuf.o
  325. a - cmd_boot.o
  326. a - cmd_bootm.o
  327. a - cmd_cache.o
  328. a - cmd_console.o
  329. a - cmd_date.o
  330. a - cmd_dcr.o
  331. a - cmd_display.o
  332. a - cmd_doc.o
  333. a - cmd_eeprom.o
  334. a - cmd_flash.o
  335. a - cmd_immap.o
  336. a - cmd_itest.o
  337. a - cmd_mem.o
  338. a - cmd_mii.o
  339. a - cmd_misc.o
  340. a - cmd_nand.o
  341. a - cmd_net.o
  342. a - cmd_nvedit.o
  343. a - cmd_reginfo.o
  344. a - cmd_spi.o
  345. a - command.o
  346. a - console.o
  347. a - devices.o
  348. a - dlmalloc.o
  349. a - docecc.o
  350. a - environment.o
  351. a - env_common.o
  352. a - env_nowhere.o
  353. a - exports.o
  354. a - hush.o
  355. a - lcd.o
  356. a - lists.o
  357. a - memsize.o
  358. a - miiphybb.o
  359. a - miiphyutil.o
  360. a - serial.o
  361. a - crc16.o
  362. a - flash.o
  363. make[2]: Leaving directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/common'
  364. make -C `dirname board/atheros/board953x/libboard953x.a`
  365. make[2]: Entering directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/board/atheros/board953x'
  366. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/board/atheros/board953x/board953x.c
  367. board953x.c: In function 'ath_mem_config':
  368. board953x.c:107:29: warning: variable 'tap' set but not used [-Wunused-but-set-variable]
  369. unsigned int type, reg32, *tap;
  370. ^
  371. board953x.c:107:15: warning: variable 'type' set but not used [-Wunused-but-set-variable]
  372. unsigned int type, reg32, *tap;
  373. ^
  374. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/board/atheros/board953x/flash.c
  375. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/board/atheros/common/init-953x.c
  376. ../common/init-953x.c: In function 'ath_ddr_initial_config':
  377. ../common/init-953x.c:154:12: warning: unused variable 'pll' [-Wunused-variable]
  378. uint32_t *pll = (unsigned *)PLL_CONFIG_VAL_F;
  379. ^
  380. ../common/init-953x.c:152:45: warning: variable 'ext_mod' set but not used [-Wunused-but-set-variable]
  381. int ddr_config, ddr_config2, ddr_config3, ext_mod, mod_val,
  382. ^
  383. ../common/init-953x.c: In function 'ath_sys_frequency':
  384. ../common/init-953x.c:348:6: warning: 'ref' may be used uninitialized in this function [-Wmaybe-uninitialized]
  385. pll = ref >> 6;
  386. ^
  387. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/board/atheros/common/serial.c
  388. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/board/atheros/common/ath_pci.c
  389. In file included from /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/linux/posix_types.h:4:0,
  390. from /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/linux/types.h:8,
  391. from /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/953x.h:29,
  392. from /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/atheros.h:165,
  393. from /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/configs/board953x.h:10,
  394. from /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/config.h:19,
  395. from /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/common.h:35,
  396. from ../common/ath_pci.c:15:
  397. ../common/ath_pci.c: In function 'plat_dev_init':
  398. /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/linux/stddef.h:8:14: warning: passing argument 2 of 'ath_pci_write_config' makes integer from pointer without a cast [-Wint-conversion]
  399. #define NULL ((void *)0)
  400. ^
  401. ../common/ath_pci.c:129:31: note: in expansion of macro 'NULL'
  402. ath_pci_write_config(&hose, NULL, 0x10, 0x1000ffff);
  403. ^
  404. ../common/ath_pci.c:56:1: note: expected 'pci_dev_t {aka int}' but argument is of type 'void *'
  405. ath_pci_write_config(struct pci_controller *hose,
  406. ^
  407. In file included from /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/linux/posix_types.h:4:0,
  408. from /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/linux/types.h:8,
  409. from /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/953x.h:29,
  410. from /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/atheros.h:165,
  411. from /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/configs/board953x.h:10,
  412. from /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/config.h:19,
  413. from /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/common.h:35,
  414. from ../common/ath_pci.c:15:
  415. /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/linux/stddef.h:8:14: warning: passing argument 2 of 'ath_pci_write_config' makes integer from pointer without a cast [-Wint-conversion]
  416. #define NULL ((void *)0)
  417. ^
  418. ../common/ath_pci.c:131:31: note: in expansion of macro 'NULL'
  419. ath_pci_write_config(&hose, NULL, 0x10, 0xffff);
  420. ^
  421. ../common/ath_pci.c:56:1: note: expected 'pci_dev_t {aka int}' but argument is of type 'void *'
  422. ath_pci_write_config(struct pci_controller *hose,
  423. ^
  424. In file included from /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/linux/posix_types.h:4:0,
  425. from /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/linux/types.h:8,
  426. from /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/953x.h:29,
  427. from /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/atheros.h:165,
  428. from /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/configs/board953x.h:10,
  429. from /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/config.h:19,
  430. from /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/common.h:35,
  431. from ../common/ath_pci.c:15:
  432. /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/linux/stddef.h:8:14: warning: passing argument 2 of 'ath_pci_write_config' makes integer from pointer without a cast [-Wint-conversion]
  433. #define NULL ((void *)0)
  434. ^
  435. ../common/ath_pci.c:133:30: note: in expansion of macro 'NULL'
  436. ath_pci_write_config(&hose, NULL, 0x04, 0x6);
  437. ^
  438. ../common/ath_pci.c:56:1: note: expected 'pci_dev_t {aka int}' but argument is of type 'void *'
  439. ath_pci_write_config(struct pci_controller *hose,
  440. ^
  441. ../common/ath_pci.c: At top level:
  442. ../common/ath_pci.c:34:1: warning: 'ath_local_read_config' defined but not used [-Wunused-function]
  443. ath_local_read_config(int where, int size, uint32_t *value)
  444. ^
  445. ../common/ath_pci.c:48:1: warning: 'ath_pci_read_config' defined but not used [-Wunused-function]
  446. ath_pci_read_config(struct pci_controller *hose,
  447. ^
  448. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/board/atheros/common/qca-eth-953x.c
  449. ../common/qca-eth-953x.c: In function 'ath_gmac_enet_initialize':
  450. ../common/qca-eth-953x.c:542:33: warning: passing argument 2 of 'miiphy_register' from incompatible pointer type [-Wincompatible-pointer-types]
  451. miiphy_register(dev[i]->name, ath_gmac_miiphy_read, ath_gmac_miiphy_write);
  452. ^
  453. In file included from ../common/qca-eth-953x_phy.h:3:0,
  454. from ../common/qca-eth-953x.c:12:
  455. /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/miiphy.h:58:6: note: expected 'int (*)(char *, unsigned char, unsigned char, short unsigned int *)' but argument is of type 'uint16_t (*)(char *, uint32_t, uint8_t) {aka short unsigned int (*)(char *, unsigned int, unsigned char)}'
  456. void miiphy_register(char *devname,
  457. ^
  458. ../common/qca-eth-953x.c:542:55: warning: passing argument 3 of 'miiphy_register' from incompatible pointer type [-Wincompatible-pointer-types]
  459. miiphy_register(dev[i]->name, ath_gmac_miiphy_read, ath_gmac_miiphy_write);
  460. ^
  461. In file included from ../common/qca-eth-953x_phy.h:3:0,
  462. from ../common/qca-eth-953x.c:12:
  463. /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/miiphy.h:58:6: note: expected 'int (*)(char *, unsigned char, unsigned char, short unsigned int)' but argument is of type 'void (*)(char *, uint32_t, uint8_t, uint16_t) {aka void (*)(char *, unsigned int, unsigned char, short unsigned int)}'
  464. void miiphy_register(char *devname,
  465. ^
  466. ../common/qca-eth-953x.c:564:4: warning: implicit declaration of function 'athrs27_reg_init_lan' [-Wimplicit-function-declaration]
  467. athrs27_reg_init_lan();
  468. ^
  469. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/board/atheros/common/ath_flash.c
  470. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/board/atheros/common/athr_s27_phy.c
  471. ../common/athr_s27_phy.c: In function 'athrs27_reg_init':
  472. ../common/athr_s27_phy.c:211:5: warning: implicit declaration of function 'athrs27_reg_rmw' [-Wimplicit-function-declaration]
  473. athrs27_reg_rmw(0x8,(1<<28)); /* Set WAN port is connected to GE0 */
  474. ^
  475. ../common/athr_s27_phy.c: In function 'athrs27_reg_init_lan':
  476. ../common/athr_s27_phy.c:239:15: warning: variable 'foundPhy' set but not used [-Wunused-but-set-variable]
  477. BOOL foundPhy = FALSE;
  478. ^
  479. ../common/athr_s27_phy.c:238:15: warning: variable 'phyBase' set but not used [-Wunused-but-set-variable]
  480. uint32_t phyBase = 0;
  481. ^
  482. ../common/athr_s27_phy.c: In function 'athrs27_phy_is_link_alive':
  483. ../common/athr_s27_phy.c:347:14: warning: variable 'phyBase' set but not used [-Wunused-but-set-variable]
  484. uint32_t phyBase;
  485. ^
  486. ../common/athr_s27_phy.c: In function 'athrs27_phy_setup':
  487. ../common/athr_s27_phy.c:384:15: warning: unused variable 'ar7240_revid' [-Wunused-variable]
  488. uint32_t ar7240_revid;
  489. ^
  490. ../common/athr_s27_phy.c:378:15: warning: variable 'phyBase' set but not used [-Wunused-but-set-variable]
  491. uint32_t phyBase = 0;
  492. ^
  493. ../common/athr_s27_phy.c: In function 'athrs27_phy_is_fdx':
  494. ../common/athr_s27_phy.c:539:15: warning: variable 'phyBase' set but not used [-Wunused-but-set-variable]
  495. uint32_t phyBase;
  496. ^
  497. ../common/athr_s27_phy.c: In function 'athrs27_phy_speed':
  498. ../common/athr_s27_phy.c:585:15: warning: variable 'phyBase' set but not used [-Wunused-but-set-variable]
  499. uint32_t phyBase;
  500. ^
  501. ../common/athr_s27_phy.c: In function 'athrs27_phy_is_up':
  502. ../common/athr_s27_phy.c:663:19: warning: variable 'phyBase' set but not used [-Wunused-but-set-variable]
  503. uint32_t phyBase;
  504. ^
  505. ../common/athr_s27_phy.c: At top level:
  506. ../common/athr_s27_phy.c:802:6: warning: conflicting types for 'athrs27_reg_rmw'
  507. void athrs27_reg_rmw(unsigned int s27_addr, unsigned int s27_write_data)
  508. ^
  509. ../common/athr_s27_phy.c:211:5: note: previous implicit declaration of 'athrs27_reg_rmw' was here
  510. athrs27_reg_rmw(0x8,(1<<28)); /* Set WAN port is connected to GE0 */
  511. ^
  512. ../common/athr_s27_phy.c:868:5: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  513. int athrs27_mdc_check()
  514. ^
  515. ../common/athr_s27_phy.c: In function 'athrs27_phy_speed':
  516. ../common/athr_s27_phy.c:639:12: warning: 'phySpeed' may be used uninitialized in this function [-Wmaybe-uninitialized]
  517. return phySpeed;
  518. ^
  519. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/board/atheros/common/953x.S
  520. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/board/atheros/common/tap-953x.S
  521. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/board/atheros/board953x/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/board/atheros/board953x/extra.c
  522. mips-linux-uclibc-ar crv libboard953x.a board953x.o flash.o ../common/init-953x.o ../common/serial.o ../common/ath_pci.o ../common/qca-eth-953x.o ../common/ath_flash.o ../common/athr_s27_phy.o ../common/953x.o ../common/tap-953x.o
  523. a - board953x.o
  524. a - flash.o
  525. a - ../common/init-953x.o
  526. a - ../common/serial.o
  527. a - ../common/ath_pci.o
  528. a - ../common/qca-eth-953x.o
  529. a - ../common/ath_flash.o
  530. a - ../common/athr_s27_phy.o
  531. a - ../common/953x.o
  532. a - ../common/tap-953x.o
  533. make[2]: Leaving directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/board/atheros/board953x'
  534. make -C `dirname cpu/mips/libmips.a`
  535. make[2]: Entering directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/cpu/mips'
  536. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/cpu/mips/cpu.c
  537. cpu.c: In function 'flush_cache':
  538. cpu.c:103:5: warning: implicit declaration of function 'dcache_flush_range' [-Wimplicit-function-declaration]
  539. dcache_flush_range(a, end);
  540. ^
  541. cpu.c:97:9: warning: unused variable 'i' [-Wunused-variable]
  542. int i;
  543. ^
  544. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/cpu/mips/interrupts.c
  545. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/cpu/mips/cache.S
  546. mips-linux-uclibc-ar crv libmips.a cpu.o interrupts.o cache.o
  547. a - cpu.o
  548. a - interrupts.o
  549. a - cache.o
  550. make[2]: Leaving directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/cpu/mips'
  551. make -C `dirname lib_mips/libmips.a`
  552. make[2]: Entering directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/lib_mips'
  553. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/lib_mips/board.c
  554. board.c:107:12: warning: 'init_func_ram' defined but not used [-Wunused-function]
  555. static int init_func_ram (void)
  556. ^
  557. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/lib_mips/time.c
  558. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/lib_mips/mips_linux.c
  559. mips_linux.c: In function 'do_bootm_linux':
  560. mips_linux.c:254:37: warning: passing argument 3 of 'theKernel' makes pointer from integer without a cast [-Wint-conversion]
  561. theKernel (linux_argc, linux_argv, mem_size_to_kernel, flash_size_mbytes);
  562. ^
  563. mips_linux.c:254:37: note: expected 'char **' but argument is of type 'ulong {aka long unsigned int}'
  564. mips-linux-uclibc-ar crv libmips.a board.o time.o mips_linux.o
  565. a - board.o
  566. a - time.o
  567. a - mips_linux.o
  568. make[2]: Leaving directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/lib_mips'
  569. make -C `dirname drivers/libdrivers.a`
  570. make[2]: Entering directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/drivers'
  571. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/drivers/pci.c
  572. mips-linux-uclibc-ar crv libdrivers.a pci.o
  573. a - pci.o
  574. make[2]: Leaving directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/drivers'
  575. make -C `dirname net/libnet.a`
  576. make[2]: Entering directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/net'
  577. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/net/net.c
  578. net.c: In function 'ArpTimeoutCheck':
  579. net.c:252:47: warning: integer overflow in expression [-Woverflow]
  580. if ((t - NetArpWaitTimerStart) > ARP_TIMEOUT * CFG_HZ) {
  581. ^
  582. net.c: In function 'NetLoop':
  583. net.c:521:1: warning: label 'skip_netloop' defined but not used [-Wunused-label]
  584. skip_netloop:
  585. ^
  586. net.c: In function 'NetStartAgain':
  587. net.c:657:22: warning: integer overflow in expression [-Woverflow]
  588. NetSetTimeout (10 * CFG_HZ, startAgainTimeout);
  589. ^
  590. net.c: In function 'PingStart':
  591. net.c:835:20: warning: integer overflow in expression [-Woverflow]
  592. NetSetTimeout (10 * CFG_HZ, PingTimeout);
  593. ^
  594. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/net/tftp.c
  595. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/net/rarp.c
  596. rarp.c: In function 'RarpTimeout':
  597. rarp.c:83:26: warning: integer overflow in expression [-Woverflow]
  598. NetSetTimeout (TIMEOUT * CFG_HZ, RarpTimeout);
  599. ^
  600. rarp.c: In function 'RarpRequest':
  601. rarp.c:118:24: warning: integer overflow in expression [-Woverflow]
  602. NetSetTimeout(TIMEOUT * CFG_HZ, RarpTimeout);
  603. ^
  604. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/net/eth.c
  605. eth.c: In function 'eth_initialize':
  606. eth.c:241:2: warning: implicit declaration of function 'ath_gmac_enet_initialize' [-Wimplicit-function-declaration]
  607. ath_gmac_enet_initialize(bis);
  608. ^
  609. eth.c:133:20: warning: variable 'env_enetaddr' set but not used [-Wunused-but-set-variable]
  610. char enetvar[32], env_enetaddr[6];
  611. ^
  612. mips-linux-uclibc-ar crv libnet.a net.o tftp.o rarp.o eth.o
  613. a - net.o
  614. a - tftp.o
  615. a - rarp.o
  616. a - eth.o
  617. make[2]: Leaving directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/net'
  618. make -C `dirname rtc/librtc.a`
  619. make[2]: Entering directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/rtc'
  620. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/rtc/date.c
  621. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/rtc/bf533_rtc.c
  622. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/rtc/ds12887.c
  623. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/rtc/ds1302.c
  624. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/rtc/ds1306.c
  625. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/rtc/ds1307.c
  626. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/rtc/ds1337.c
  627. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/rtc/ds1374.c
  628. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/rtc/ds1556.c
  629. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/rtc/ds164x.c
  630. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/rtc/ds174x.c
  631. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/rtc/m41t11.c
  632. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/rtc/max6900.c
  633. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/rtc/m48t35ax.c
  634. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/rtc/mc146818.c
  635. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/rtc/mk48t59.c
  636. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/rtc/mpc5xxx.c
  637. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/rtc/mpc8xx.c
  638. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/rtc/pcf8563.c
  639. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/rtc/s3c24x0_rtc.c
  640. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/rtc/rs5c372.c
  641. mips-linux-uclibc-ar crv librtc.a date.o bf533_rtc.o ds12887.o ds1302.o ds1306.o ds1307.o ds1337.o ds1374.o ds1556.o ds164x.o ds174x.o m41t11.o max6900.o m48t35ax.o mc146818.o mk48t59.o mpc5xxx.o mpc8xx.o pcf8563.o s3c24x0_rtc.o rs5c372.o
  642. a - date.o
  643. a - bf533_rtc.o
  644. a - ds12887.o
  645. a - ds1302.o
  646. a - ds1306.o
  647. a - ds1307.o
  648. a - ds1337.o
  649. a - ds1374.o
  650. a - ds1556.o
  651. a - ds164x.o
  652. a - ds174x.o
  653. a - m41t11.o
  654. a - max6900.o
  655. a - m48t35ax.o
  656. a - mc146818.o
  657. a - mk48t59.o
  658. a - mpc5xxx.o
  659. a - mpc8xx.o
  660. a - pcf8563.o
  661. a - s3c24x0_rtc.o
  662. a - rs5c372.o
  663. make[2]: Leaving directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/rtc'
  664. UNDEF_SYM=`mips-linux-uclibc-objdump -x lib_generic/libgeneric.a common/libcommon.a board/atheros/board953x/libboard953x.a cpu/mips/libmips.a lib_mips/libmips.a drivers/libdrivers.a net/libnet.a rtc/librtc.a |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
  665. mips-linux-uclibc-ld -Bstatic -T /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/board/atheros/board953x/u-boot.lds -Ttext 0x80010000 $UNDEF_SYM cpu/mips/start.o /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/board/atheros/board953x/extra.o \
  666. --start-group lib_generic/libgeneric.a common/libcommon.a board/atheros/board953x/libboard953x.a cpu/mips/libmips.a lib_mips/libmips.a drivers/libdrivers.a net/libnet.a rtc/librtc.a --end-group -L /home/anon/tp-link-gpl/wr841nv9_en_gpl/build/gcc-4.3.3/build_mips/staging_dir/usr/bin/../lib/gcc/mips-openwrt-linux-musl/5.5.0 -lgcc \
  667. -Map u-boot.map -o u-boot
  668. mips-linux-uclibc-objcopy --gap-fill=0xff -O srec u-boot u-boot.srec
  669. mips-linux-uclibc-objcopy --gap-fill=0xff -O binary u-boot u-boot.bin
  670. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/cpu/mips/start_bootstrap.S
  671. /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/cpu/mips/start_bootstrap.S:33:0: warning: "ATH_APB_BASE" redefined
  672. #define ATH_APB_BASE 0xB8000000 /* KSEG1ADDR(0x18000000) */
  673. ^
  674. In file included from /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/atheros.h:165:0,
  675. from /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/configs/board953x.h:10,
  676. from /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/config.h:19,
  677. from /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/cpu/mips/start_bootstrap.S:26:
  678. /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/953x.h:3570:0: note: this is the location of the previous definition
  679. #define ATH_APB_BASE 0x18000000 /* 384M */
  680. ^
  681. /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/cpu/mips/start_bootstrap.S:34:0: warning: "ATH_GPIO_BASE" redefined
  682. #define ATH_GPIO_BASE (ATH_APB_BASE+0x00040000)
  683. ^
  684. In file included from /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/atheros.h:165:0,
  685. from /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/configs/board953x.h:10,
  686. from /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/config.h:19,
  687. from /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/cpu/mips/start_bootstrap.S:26:
  688. /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/953x.h:3595:0: note: this is the location of the previous definition
  689. #define ATH_GPIO_BASE ATH_APB_BASE+0x00040000
  690. ^
  691. make -C `dirname lib_bootstrap/libbootstrap.a`
  692. make[2]: Entering directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/lib_bootstrap'
  693. echo "make libbootstrap.a with HEAD_SIZE "
  694. make libbootstrap.a with HEAD_SIZE
  695. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/lib_bootstrap/bootstrap_board.c
  696. bootstrap_board.c: In function 'bootstrap_board_init_f':
  697. bootstrap_board.c:369:2: warning: implicit declaration of function 'bootstrap_relocate_code' [-Wimplicit-function-declaration]
  698. bootstrap_relocate_code (addr_sp, id, addr);
  699. ^
  700. bootstrap_board.c:255:8: warning: variable 'lzmaImageaddr' set but not used [-Wunused-but-set-variable]
  701. ulong lzmaImageaddr = 0;
  702. ^
  703. bootstrap_board.c: In function 'bootstrap_board_init_r':
  704. bootstrap_board.c:402:7: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
  705. addr = (char *)(BOOTSTRAP_CFG_MONITOR_BASE + ((ulong)&uboot_end_data_bootstrap - dest_addr));
  706. ^
  707. bootstrap_board.c:417:16: warning: pointer targets in passing argument 2 of 'crc32' differ in signedness [-Wpointer-sign]
  708. if (crc32 (0, (char *)data, len) != checksum) {
  709. ^
  710. In file included from bootstrap_board.c:24:0:
  711. /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/common.h:550:7: note: expected 'const unsigned char *' but argument is of type 'char *'
  712. ulong crc32 (ulong, const unsigned char *, uint);
  713. ^
  714. bootstrap_board.c:449:85: warning: pointer targets in passing argument 4 of 'lzma_inflate' differ in signedness [-Wpointer-sign]
  715. i = lzma_inflate ((unsigned char *)data, len, (unsigned char*)ntohl(hdr->ih_load), &destLen);
  716. ^
  717. In file included from bootstrap_board.c:35:0:
  718. /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/include/LzmaWrapper.h:34:12: note: expected 'int *' but argument is of type 'unsigned int *'
  719. extern int lzma_inflate(unsigned char *source, int s_len, unsigned char *dest, int *d_len);
  720. ^
  721. bootstrap_board.c:459:2: warning: implicit declaration of function 'mips_cache_flush' [-Wimplicit-function-declaration]
  722. mips_cache_flush();
  723. ^
  724. bootstrap_board.c:466:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  725. fn = ntohl(hdr->ih_load);
  726. ^
  727. bootstrap_board.c:389:10: warning: variable 'len_ptr' set but not used [-Wunused-but-set-variable]
  728. ulong *len_ptr;
  729. ^
  730. bootstrap_board.c: At top level:
  731. bootstrap_board.c:71:14: warning: 'failed' defined but not used [-Wunused-variable]
  732. static char *failed = "*** failed ***\n";
  733. ^
  734. bootstrap_board.c:155:12: warning: 'display_banner' defined but not used [-Wunused-function]
  735. static int display_banner(void)
  736. ^
  737. bootstrap_board.c:163:12: warning: 'init_baudrate' defined but not used [-Wunused-function]
  738. static int init_baudrate (void)
  739. ^
  740. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/lib_bootstrap/LzmaDecode.c
  741. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/lib_bootstrap/string.c
  742. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/lib_bootstrap/crc32.c
  743. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/lib_bootstrap/LzmaWrapper.c
  744. LzmaWrapper.c: In function 'lzma_inflate':
  745. LzmaWrapper.c:169:21: warning: comparison between pointer and integer
  746. if (outSizeFull > d_len)
  747. ^
  748. LzmaWrapper.c: At top level:
  749. LzmaWrapper.c:43:20: warning: 'kCantReadMessage' defined but not used [-Wunused-variable]
  750. static const char *kCantReadMessage = "Can not read from source buffer";
  751. ^
  752. LzmaWrapper.c:44:20: warning: 'kCantAllocateMessage' defined but not used [-Wunused-variable]
  753. static const char *kCantAllocateMessage = "Not enough buffer for decompression";
  754. ^
  755. LzmaWrapper.c:46:23: warning: 'dpos' defined but not used [-Wunused-variable]
  756. static size_t rpos=0, dpos=0;
  757. ^
  758. [CC] /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/lib_bootstrap/time.c
  759. mips-linux-uclibc-ar crv libbootstrap.a bootstrap_board.o LzmaDecode.o string.o crc32.o LzmaWrapper.o time.o
  760. a - bootstrap_board.o
  761. a - LzmaDecode.o
  762. a - string.o
  763. a - crc32.o
  764. a - LzmaWrapper.o
  765. a - time.o
  766. make[2]: Leaving directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/lib_bootstrap'
  767. UNDEF_SYM=`mips-linux-uclibc-objdump -x lib_bootstrap/libbootstrap.a board/atheros/board953x/libboard953x.a cpu/mips/libmips.a |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
  768. mips-linux-uclibc-ld -Bstatic -T /home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot/board/atheros/board953x/u-boot-bootstrap.lds -Ttext 0x9f000000 $UNDEF_SYM cpu/mips/start_bootstrap.o \
  769. --start-group lib_bootstrap/libbootstrap.a board/atheros/board953x/libboard953x.a cpu/mips/libmips.a --end-group -L /home/anon/tp-link-gpl/wr841nv9_en_gpl/build/gcc-4.3.3/build_mips/staging_dir/usr/bin/../lib/gcc/mips-openwrt-linux-musl/5.5.0 -lgcc \
  770. -Map bootstrap.map -o bootstrap
  771. mips-linux-uclibc-objcopy --gap-fill=0xff -O binary bootstrap bootstrap.bin
  772. Image Name: u-boot image
  773. Created: Thu Oct 3 14:53:27 2019
  774. Image Type: MIPS Linux Firmware (lzma compressed)
  775. Data Size: 37515 Bytes = 36.64 kB = 0.04 MB
  776. Load Address: 0x80010000
  777. Entry Point: 0x80010000
  778. make[1]: Leaving directory '/home/anon/tp-link-gpl/wr841nv9_en_gpl/ap143/boot/u-boot'
  779. End Making uboot at Thu 03 Oct 2019 02:53:27 PM UTC
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement