Advertisement
Guest User

Untitled

a guest
Oct 19th, 2015
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.01 KB | None | 0 0
  1. fabio@fabio-Latitude-E6410:~/denx/u-boot$ make.cross ARCH=m68k
  2. make CROSS_COMPILE=/usr/local/gcc-4.9.0-nolibc/m68k-linux/bin/m68k-linux- --jobs=8 ARCH=m68k
  3. CHK include/config/uboot.release
  4. CHK include/generated/timestamp_autogenerated.h
  5. UPD include/generated/timestamp_autogenerated.h
  6. CHK include/generated/version_autogenerated.h
  7. CHK include/generated/generic-asm-offsets.h
  8. HOSTCC tools/mkenvimage.o
  9. HOSTCC tools/image-host.o
  10. HOSTCC tools/dumpimage.o
  11. HOSTCC tools/mkimage.o
  12. HOSTLD tools/mkenvimage
  13. HOSTLD tools/dumpimage
  14. HOSTLD tools/mkimage
  15. CC board/freescale/m54455evb/m54455evb.o
  16. CC arch/m68k/cpu/mcf5445x/cpu.o
  17. CC arch/m68k/lib/bootm.o
  18. CC arch/m68k/cpu/mcf5445x/speed.o
  19. CC arch/m68k/lib/cache.o
  20. In file included from include/common.h:149:0,
  21. from arch/m68k/cpu/mcf5445x/speed.c:9:
  22. include/asm/global_data.h:83:58: error: invalid register name for 'gd'
  23. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r9")
  24. ^
  25. arch/m68k/cpu/mcf5445x/speed.c:15:1: note: in expansion of macro 'DECLARE_GLOBAL_DATA_PTR'
  26. DECLARE_GLOBAL_DATA_PTR;
  27. ^
  28. In file included from include/common.h:149:0,
  29. from board/freescale/m54455evb/m54455evb.c:11:
  30. include/asm/global_data.h:83:58: error: invalid register name for 'gd'
  31. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r9")
  32. ^
  33. board/freescale/m54455evb/m54455evb.c:16:1: note: in expansion of macro 'DECLARE_GLOBAL_DATA_PTR'
  34. DECLARE_GLOBAL_DATA_PTR;
  35. ^
  36. arch/m68k/cpu/mcf5445x/speed.c: In function 'setup_5445x_clocks':
  37. arch/m68k/cpu/mcf5445x/speed.c:220:11: error: 'volatile struct arch_global_data' has no member named 'vco_clk'
  38. gd->arch.vco_clk = vco; /* Vco clock */
  39. ^
  40. arch/m68k/cpu/mcf5445x/speed.c:231:11: error: 'volatile struct arch_global_data' has no member named 'vco_clk'
  41. gd->arch.vco_clk = vco; /* Vco clock */
  42. ^
  43. arch/m68k/cpu/mcf5445x/speed.c:235:11: error: 'volatile struct arch_global_data' has no member named 'vco_clk'
  44. gd->arch.vco_clk = vco; /* Vco clock */
  45. ^
  46. arch/m68k/cpu/mcf5445x/speed.c:241:11: error: 'volatile struct arch_global_data' has no member named 'inp_clk'
  47. gd->arch.inp_clk = CONFIG_SYS_INPUT_CLKSRC; /* Input clock */
  48. ^
  49. arch/m68k/cpu/mcf5445x/speed.c:250:11: error: 'volatile struct arch_global_data' has no member named 'flb_clk'
  50. gd->arch.flb_clk = vco / temp; /* FlexBus clock */
  51. ^
  52. arch/m68k/cpu/mcf5445x/speed.c:261:10: error: 'volatile struct arch_global_data' has no member named 'i2c1_clk'
  53. gd->arch.i2c1_clk = gd->bus_clk;
  54. ^
  55. make[1]: *** [arch/m68k/cpu/mcf5445x/speed.o] Error 1
  56. make[1]: *** Waiting for unfinished jobs....
  57. CC disk/part.o
  58. make[1]: *** [board/freescale/m54455evb/m54455evb.o] Error 1
  59. make: *** [board/freescale/m54455evb] Error 2
  60. make: *** Waiting for unfinished jobs....
  61. CC arch/m68k/lib/interrupts.o
  62. In file included from include/common.h:149:0,
  63. from arch/m68k/cpu/mcf5445x/cpu.c:12:
  64. include/asm/global_data.h:83:58: error: invalid register name for 'gd'
  65. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r9")
  66. ^
  67. arch/m68k/cpu/mcf5445x/cpu.c:20:1: note: in expansion of macro 'DECLARE_GLOBAL_DATA_PTR'
  68. DECLARE_GLOBAL_DATA_PTR;
  69. ^
  70. arch/m68k/cpu/mcf5445x/cpu.c: In function 'checkcpu':
  71. arch/m68k/cpu/mcf5445x/cpu.c:88:31: error: 'volatile struct arch_global_data' has no member named 'flb_clk'
  72. strmhz(buf3, gd->arch.flb_clk));
  73. ^
  74. arch/m68k/cpu/mcf5445x/cpu.c:96:31: error: 'volatile struct arch_global_data' has no member named 'inp_clk'
  75. strmhz(buf1, gd->arch.inp_clk),
  76. ^
  77. arch/m68k/cpu/mcf5445x/cpu.c:97:31: error: 'volatile struct arch_global_data' has no member named 'vco_clk'
  78. strmhz(buf2, gd->arch.vco_clk));
  79. ^
  80. In file included from include/common.h:149:0,
  81. from arch/m68k/lib/bootm.c:8:
  82. include/asm/global_data.h:83:58: error: invalid register name for 'gd'
  83. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r9")
  84. ^
  85. arch/m68k/lib/bootm.c:20:1: note: in expansion of macro 'DECLARE_GLOBAL_DATA_PTR'
  86. DECLARE_GLOBAL_DATA_PTR;
  87. ^
  88. arch/m68k/lib/bootm.c: In function 'do_bootm_linux':
  89. arch/m68k/lib/bootm.c:68:2: warning: implicit declaration of function 'boot_get_kbd' [-Wimplicit-function-declaration]
  90. ret = boot_get_kbd (lmb, &kbd);
  91. ^
  92. make[1]: *** [arch/m68k/lib/bootm.o] Error 1
  93. make[1]: *** Waiting for unfinished jobs....
  94. make[1]: *** [arch/m68k/cpu/mcf5445x/cpu.o] Error 1
  95. make: *** [arch/m68k/cpu/mcf5445x] Error 2
  96. arch/m68k/lib/cache.c: In function 'icache_enable':
  97. arch/m68k/lib/cache.c:32:2: warning: implicit declaration of function 'icache_invalid' [-Wimplicit-function-declaration]
  98. icache_invalid();
  99. ^
  100. arch/m68k/lib/cache.c:43:47: error: 'CONFIG_SYS_CACHE_ACR0' undeclared (first use in this function)
  101. __asm__ __volatile__("movec %0, %%acr0"::"r"(CONFIG_SYS_CACHE_ACR0));
  102. ^
  103. arch/m68k/lib/cache.c:43:47: note: each undeclared identifier is reported only once for each function it appears in
  104. arch/m68k/lib/cache.c:44:47: error: 'CONFIG_SYS_CACHE_ACR1' undeclared (first use in this function)
  105. __asm__ __volatile__("movec %0, %%acr1"::"r"(CONFIG_SYS_CACHE_ACR1));
  106. ^
  107. In file included from include/config.h:8:0,
  108. from include/common.h:18,
  109. from arch/m68k/lib/cache.c:8:
  110. include/configs/M54455EVB.h:389:34: error: 'CF_CACR_BEC' undeclared (first use in this function)
  111. #define CONFIG_SYS_CACHE_ICACR (CF_CACR_BEC | CF_CACR_IEC | \
  112. ^
  113. arch/m68k/lib/cache.c:47:47: note: in expansion of macro 'CONFIG_SYS_CACHE_ICACR'
  114. __asm__ __volatile__("movec %0, %%cacr"::"r"(CONFIG_SYS_CACHE_ICACR));
  115. ^
  116. include/configs/M54455EVB.h:389:48: error: 'CF_CACR_IEC' undeclared (first use in this function)
  117. #define CONFIG_SYS_CACHE_ICACR (CF_CACR_BEC | CF_CACR_IEC | \
  118. ^
  119. arch/m68k/lib/cache.c:47:47: note: in expansion of macro 'CONFIG_SYS_CACHE_ICACR'
  120. __asm__ __volatile__("movec %0, %%cacr"::"r"(CONFIG_SYS_CACHE_ICACR));
  121. ^
  122. include/configs/M54455EVB.h:390:7: error: 'CF_CACR_ICINVA' undeclared (first use in this function)
  123. CF_CACR_ICINVA | CF_CACR_EUSP)
  124. ^
  125. arch/m68k/lib/cache.c:47:47: note: in expansion of macro 'CONFIG_SYS_CACHE_ICACR'
  126. __asm__ __volatile__("movec %0, %%cacr"::"r"(CONFIG_SYS_CACHE_ICACR));
  127. ^
  128. include/configs/M54455EVB.h:390:24: error: 'CF_CACR_EUSP' undeclared (first use in this function)
  129. CF_CACR_ICINVA | CF_CACR_EUSP)
  130. ^
  131. arch/m68k/lib/cache.c:47:47: note: in expansion of macro 'CONFIG_SYS_CACHE_ICACR'
  132. __asm__ __volatile__("movec %0, %%cacr"::"r"(CONFIG_SYS_CACHE_ICACR));
  133. ^
  134. arch/m68k/lib/cache.c: At top level:
  135. arch/m68k/lib/cache.c:70:6: warning: conflicting types for 'icache_invalid'
  136. void icache_invalid(void)
  137. ^
  138. arch/m68k/lib/cache.c:32:2: note: previous implicit declaration of 'icache_invalid' was here
  139. icache_invalid();
  140. ^
  141. In file included from include/config.h:8:0,
  142. from include/common.h:18,
  143. from arch/m68k/lib/cache.c:8:
  144. arch/m68k/lib/cache.c: In function 'icache_invalid':
  145. include/configs/M54455EVB.h:384:33: error: 'CF_CACR_BCINVA' undeclared (first use in this function)
  146. #define CONFIG_SYS_ICACHE_INV (CF_CACR_BCINVA + CF_CACR_ICINVA)
  147. ^
  148. arch/m68k/lib/cache.c:74:9: note: in expansion of macro 'CONFIG_SYS_ICACHE_INV'
  149. temp = CONFIG_SYS_ICACHE_INV;
  150. ^
  151. include/configs/M54455EVB.h:384:50: error: 'CF_CACR_ICINVA' undeclared (first use in this function)
  152. #define CONFIG_SYS_ICACHE_INV (CF_CACR_BCINVA + CF_CACR_ICINVA)
  153. ^
  154. arch/m68k/lib/cache.c:74:9: note: in expansion of macro 'CONFIG_SYS_ICACHE_INV'
  155. temp = CONFIG_SYS_ICACHE_INV;
  156. ^
  157. include/configs/M54455EVB.h:389:34: error: 'CF_CACR_BEC' undeclared (first use in this function)
  158. #define CONFIG_SYS_CACHE_ICACR (CF_CACR_BEC | CF_CACR_IEC | \
  159. ^
  160. arch/m68k/lib/cache.c:76:11: note: in expansion of macro 'CONFIG_SYS_CACHE_ICACR'
  161. temp |= CONFIG_SYS_CACHE_ICACR;
  162. ^
  163. include/configs/M54455EVB.h:389:48: error: 'CF_CACR_IEC' undeclared (first use in this function)
  164. #define CONFIG_SYS_CACHE_ICACR (CF_CACR_BEC | CF_CACR_IEC | \
  165. ^
  166. arch/m68k/lib/cache.c:76:11: note: in expansion of macro 'CONFIG_SYS_CACHE_ICACR'
  167. temp |= CONFIG_SYS_CACHE_ICACR;
  168. ^
  169. include/configs/M54455EVB.h:390:24: error: 'CF_CACR_EUSP' undeclared (first use in this function)
  170. CF_CACR_ICINVA | CF_CACR_EUSP)
  171. ^
  172. arch/m68k/lib/cache.c:76:11: note: in expansion of macro 'CONFIG_SYS_CACHE_ICACR'
  173. temp |= CONFIG_SYS_CACHE_ICACR;
  174. ^
  175. arch/m68k/lib/cache.c: In function 'dcache_enable':
  176. arch/m68k/lib/cache.c:87:2: warning: implicit declaration of function 'dcache_invalid' [-Wimplicit-function-declaration]
  177. dcache_invalid();
  178. ^
  179. In file included from include/config.h:8:0,
  180. from include/common.h:18,
  181. from arch/m68k/lib/cache.c:8:
  182. include/configs/M54455EVB.h:389:34: error: 'CF_CACR_BEC' undeclared (first use in this function)
  183. #define CONFIG_SYS_CACHE_ICACR (CF_CACR_BEC | CF_CACR_IEC | \
  184. ^
  185. include/configs/M54455EVB.h:391:35: note: in expansion of macro 'CONFIG_SYS_CACHE_ICACR'
  186. #define CONFIG_SYS_CACHE_DCACR ((CONFIG_SYS_CACHE_ICACR | \
  187. ^
  188. arch/m68k/lib/cache.c:99:47: note: in expansion of macro 'CONFIG_SYS_CACHE_DCACR'
  189. __asm__ __volatile__("movec %0, %%cacr"::"r"(CONFIG_SYS_CACHE_DCACR));
  190. ^
  191. include/configs/M54455EVB.h:389:48: error: 'CF_CACR_IEC' undeclared (first use in this function)
  192. #define CONFIG_SYS_CACHE_ICACR (CF_CACR_BEC | CF_CACR_IEC | \
  193. ^
  194. include/configs/M54455EVB.h:391:35: note: in expansion of macro 'CONFIG_SYS_CACHE_ICACR'
  195. #define CONFIG_SYS_CACHE_DCACR ((CONFIG_SYS_CACHE_ICACR | \
  196. ^
  197. arch/m68k/lib/cache.c:99:47: note: in expansion of macro 'CONFIG_SYS_CACHE_DCACR'
  198. __asm__ __volatile__("movec %0, %%cacr"::"r"(CONFIG_SYS_CACHE_DCACR));
  199. ^
  200. include/configs/M54455EVB.h:390:7: error: 'CF_CACR_ICINVA' undeclared (first use in this function)
  201. CF_CACR_ICINVA | CF_CACR_EUSP)
  202. ^
  203. include/configs/M54455EVB.h:391:35: note: in expansion of macro 'CONFIG_SYS_CACHE_ICACR'
  204. #define CONFIG_SYS_CACHE_DCACR ((CONFIG_SYS_CACHE_ICACR | \
  205. ^
  206. arch/m68k/lib/cache.c:99:47: note: in expansion of macro 'CONFIG_SYS_CACHE_DCACR'
  207. __asm__ __volatile__("movec %0, %%cacr"::"r"(CONFIG_SYS_CACHE_DCACR));
  208. ^
  209. include/configs/M54455EVB.h:390:24: error: 'CF_CACR_EUSP' undeclared (first use in this function)
  210. CF_CACR_ICINVA | CF_CACR_EUSP)
  211. ^
  212. include/configs/M54455EVB.h:391:35: note: in expansion of macro 'CONFIG_SYS_CACHE_ICACR'
  213. #define CONFIG_SYS_CACHE_DCACR ((CONFIG_SYS_CACHE_ICACR | \
  214. ^
  215. arch/m68k/lib/cache.c:99:47: note: in expansion of macro 'CONFIG_SYS_CACHE_DCACR'
  216. __asm__ __volatile__("movec %0, %%cacr"::"r"(CONFIG_SYS_CACHE_DCACR));
  217. ^
  218. include/configs/M54455EVB.h:392:7: error: 'CF_CACR_DEC' undeclared (first use in this function)
  219. CF_CACR_DEC | CF_CACR_DDCM_P | \
  220. ^
  221. arch/m68k/lib/cache.c:99:47: note: in expansion of macro 'CONFIG_SYS_CACHE_DCACR'
  222. __asm__ __volatile__("movec %0, %%cacr"::"r"(CONFIG_SYS_CACHE_DCACR));
  223. ^
  224. include/configs/M54455EVB.h:392:21: error: 'CF_CACR_DDCM_P' undeclared (first use in this function)
  225. CF_CACR_DEC | CF_CACR_DDCM_P | \
  226. ^
  227. arch/m68k/lib/cache.c:99:47: note: in expansion of macro 'CONFIG_SYS_CACHE_DCACR'
  228. __asm__ __volatile__("movec %0, %%cacr"::"r"(CONFIG_SYS_CACHE_DCACR));
  229. ^
  230. include/configs/M54455EVB.h:393:7: error: 'CF_CACR_DCINVA' undeclared (first use in this function)
  231. CF_CACR_DCINVA) & ~CF_CACR_ICINVA)
  232. ^
  233. arch/m68k/lib/cache.c:99:47: note: in expansion of macro 'CONFIG_SYS_CACHE_DCACR'
  234. __asm__ __volatile__("movec %0, %%cacr"::"r"(CONFIG_SYS_CACHE_DCACR));
  235. ^
  236. arch/m68k/lib/cache.c: At top level:
  237. arch/m68k/lib/cache.c:121:6: warning: conflicting types for 'dcache_invalid'
  238. void dcache_invalid(void)
  239. ^
  240. arch/m68k/lib/cache.c:87:2: note: previous implicit declaration of 'dcache_invalid' was here
  241. dcache_invalid();
  242. ^
  243. make[1]: *** [arch/m68k/lib/cache.o] Error 1
  244. In file included from include/common.h:149:0,
  245. from disk/part.c:8:
  246. include/asm/global_data.h:83:58: error: invalid register name for 'gd'
  247. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r9")
  248. ^
  249. disk/part.c:57:1: note: in expansion of macro 'DECLARE_GLOBAL_DATA_PTR'
  250. DECLARE_GLOBAL_DATA_PTR;
  251. ^
  252. make[1]: *** [disk/part.o] Error 1
  253. make: *** [disk] Error 2
  254. arch/m68k/lib/interrupts.c: In function 'int_handler':
  255. arch/m68k/lib/interrupts.c:90:11: error: 'struct pt_regs' has no member named 'vector'
  256. vec = (fp->vector >> 2) & 0xff;
  257. ^
  258. make[1]: *** [arch/m68k/lib/interrupts.o] Error 1
  259. make: *** [arch/m68k/lib] Error 2
  260. CC common/main.o
  261. CC common/exports.o
  262. CC common/autoboot.o
  263. CC common/board_r.o
  264. CC common/cmd_bootm.o
  265. CC common/bootm.o
  266. CC common/board_f.o
  267. In file included from include/common.h:149:0,
  268. from common/main.c:10:
  269. include/asm/global_data.h:83:58: error: invalid register name for 'gd'
  270. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r9")
  271. ^
  272. common/main.c:15:1: note: in expansion of macro 'DECLARE_GLOBAL_DATA_PTR'
  273. DECLARE_GLOBAL_DATA_PTR;
  274. ^
  275. make[1]: *** [common/main.o] Error 1
  276. make[1]: *** Waiting for unfinished jobs....
  277. In file included from include/common.h:149:0,
  278. from common/autoboot.c:8:
  279. include/asm/global_data.h:83:58: error: invalid register name for 'gd'
  280. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r9")
  281. ^
  282. common/autoboot.c:17:1: note: in expansion of macro 'DECLARE_GLOBAL_DATA_PTR'
  283. DECLARE_GLOBAL_DATA_PTR;
  284. ^
  285. make[1]: *** [common/autoboot.o] Error 1
  286. In file included from include/common.h:149:0,
  287. from common/exports.c:1:
  288. include/asm/global_data.h:83:58: error: invalid register name for 'gd'
  289. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r9")
  290. ^
  291. common/exports.c:6:1: note: in expansion of macro 'DECLARE_GLOBAL_DATA_PTR'
  292. DECLARE_GLOBAL_DATA_PTR;
  293. ^
  294. make[1]: *** [common/exports.o] Error 1
  295. In file included from include/common.h:149:0,
  296. from common/cmd_bootm.c:11:
  297. include/asm/global_data.h:83:58: error: invalid register name for 'gd'
  298. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r9")
  299. ^
  300. common/cmd_bootm.c:27:1: note: in expansion of macro 'DECLARE_GLOBAL_DATA_PTR'
  301. DECLARE_GLOBAL_DATA_PTR;
  302. ^
  303. make[1]: *** [common/cmd_bootm.o] Error 1
  304. In file included from include/common.h:149:0,
  305. from common/bootm.c:9:
  306. include/asm/global_data.h:83:58: error: invalid register name for 'gd'
  307. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r9")
  308. ^
  309. common/bootm.c:42:1: note: in expansion of macro 'DECLARE_GLOBAL_DATA_PTR'
  310. DECLARE_GLOBAL_DATA_PTR;
  311. ^
  312. In file included from include/common.h:149:0,
  313. from common/board_r.c:13:
  314. include/asm/global_data.h:83:58: error: invalid register name for 'gd'
  315. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r9")
  316. ^
  317. common/board_r.c:63:1: note: in expansion of macro 'DECLARE_GLOBAL_DATA_PTR'
  318. DECLARE_GLOBAL_DATA_PTR;
  319. ^
  320. make[1]: *** [common/bootm.o] Error 1
  321. make[1]: *** [common/board_r.o] Error 1
  322. In file included from include/common.h:149:0,
  323. from common/board_f.c:13:
  324. include/asm/global_data.h:83:58: error: invalid register name for 'gd'
  325. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r9")
  326. ^
  327. common/board_f.c:72:1: note: in expansion of macro 'DECLARE_GLOBAL_DATA_PTR'
  328. DECLARE_GLOBAL_DATA_PTR;
  329. ^
  330. common/board_f.c: In function 'setup_board_part2':
  331. common/board_f.c:607:27: error: 'volatile struct arch_global_data' has no member named 'inp_clk'
  332. bd->bi_inpfreq = gd->arch.inp_clk; /* input Freq in Hz */
  333. ^
  334. common/board_f.c:608:27: error: 'volatile struct arch_global_data' has no member named 'vco_clk'
  335. bd->bi_vcofreq = gd->arch.vco_clk; /* vco Freq in Hz */
  336. ^
  337. common/board_f.c:609:27: error: 'volatile struct arch_global_data' has no member named 'flb_clk'
  338. bd->bi_flbfreq = gd->arch.flb_clk; /* flexbus Freq in Hz */
  339. ^
  340. make[1]: *** [common/board_f.o] Error 1
  341. make: *** [common] Error 2
  342. make: *** wait: No child processes. Stop.
  343. fabio@fabio-Latitude-E6410:~/denx/u-boot$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement