Advertisement
dhruvag2000

u-boot rpi4B build errors

Oct 1st, 2021
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 70.53 KB | None | 0 0
  1. > $ armmake rpi_4_defconfig 701ms
  2. HOSTCC scripts/basic/fixdep
  3. HOSTCC scripts/kconfig/conf.o
  4. YACC scripts/kconfig/zconf.tab.c
  5. LEX scripts/kconfig/zconf.lex.c
  6. HOSTCC scripts/kconfig/zconf.tab.o
  7. HOSTLD scripts/kconfig/conf
  8. #
  9. # configuration written to .config
  10. #
  11.  
  12. > $ armmake -j9 1875ms
  13. scripts/kconfig/conf --syncconfig Kconfig
  14. UPD include/config.h
  15. CFG u-boot.cfg
  16. GEN include/autoconf.mk.dep
  17. cc1: warning: unknown register name: x18
  18. cc1: warning: unknown register name: x18
  19. GEN include/autoconf.mk
  20. UPD include/generated/dt.h
  21. UPD include/generated/timestamp_autogenerated.h
  22. CFGCHK u-boot.cfg
  23. HOSTCC scripts/dtc/dtc.o
  24. HOSTCC scripts/dtc/flattree.o
  25. HOSTCC scripts/dtc/fstree.o
  26. HOSTCC scripts/dtc/data.o
  27. HOSTCC scripts/dtc/livetree.o
  28. HOSTCC scripts/dtc/treesource.o
  29. HOSTCC scripts/dtc/srcpos.o
  30. UPD include/config/uboot.release
  31. HOSTCC scripts/dtc/checks.o
  32. HOSTCC scripts/dtc/util.o
  33. LEX scripts/dtc/dtc-lexer.lex.c
  34. YACC scripts/dtc/dtc-parser.tab.h
  35. YACC scripts/dtc/dtc-parser.tab.c
  36. HOSTCC scripts/dtc/dtc-parser.tab.o
  37. UPD include/generated/version_autogenerated.h
  38. HOSTCC scripts/dtc/dtc-lexer.lex.o
  39. CC lib/asm-offsets.s
  40. cc1: warning: unknown register name: x18
  41. CC arch/arm/lib/asm-offsets.s
  42. In file included from ./arch/arm/include/asm/bitops.h:18,
  43. from include/linux/bitops.h:152,
  44. from include/log.h:15,
  45. from include/linux/printk.h:4,
  46. from include/linux/bug.h:7,
  47. from ./arch/arm/include/asm/arch/timer.h:11,
  48. from include/configs/rpi.h:10,
  49. from include/config.h:4,
  50. from include/common.h:16,
  51. from lib/asm-offsets.c:14:
  52. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  53. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  54. 19 | word >>= 32;
  55. | ^~~
  56. cc1: warning: unknown register name: x18
  57. In file included from ./arch/arm/include/asm/bitops.h:19,
  58. from include/linux/bitops.h:152,
  59. from include/log.h:15,
  60. from include/linux/printk.h:4,
  61. from include/linux/bug.h:7,
  62. from ./arch/arm/include/asm/arch/timer.h:11,
  63. from include/configs/rpi.h:10,
  64. from include/config.h:4,
  65. from include/common.h:16,
  66. from lib/asm-offsets.c:14:
  67. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  68. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  69. 17 | if (!(word & (~0ul << 32))) {
  70. | ^~
  71. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  72. 19 | word <<= 32;
  73. | ^~~
  74. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  75. 22 | if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  76. | ^~
  77. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  78. 26 | if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  79. | ^~
  80. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  81. 30 | if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  82. | ^~
  83. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  84. 34 | if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  85. | ^~
  86. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  87. 38 | if (!(word & (~0ul << (BITS_PER_LONG-1))))
  88. | ^~
  89. In file included from ./arch/arm/include/asm/bitops.h:18,
  90. from include/linux/bitops.h:152,
  91. from include/log.h:15,
  92. from include/linux/printk.h:4,
  93. from include/linux/bug.h:7,
  94. from ./arch/arm/include/asm/arch/timer.h:11,
  95. from include/configs/rpi.h:10,
  96. from include/config.h:4,
  97. from include/common.h:16,
  98. from arch/arm/lib/asm-offsets.c:14:
  99. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  100. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  101. 19 | word >>= 32;
  102. | ^~~
  103. In file included from ./arch/arm/include/asm/bitops.h:19,
  104. from include/linux/bitops.h:152,
  105. from include/log.h:15,
  106. from include/linux/printk.h:4,
  107. from include/linux/bug.h:7,
  108. from ./arch/arm/include/asm/arch/timer.h:11,
  109. from include/configs/rpi.h:10,
  110. from include/config.h:4,
  111. from include/common.h:16,
  112. from arch/arm/lib/asm-offsets.c:14:
  113. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  114. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  115. 17 | if (!(word & (~0ul << 32))) {
  116. | ^~
  117. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  118. 19 | word <<= 32;
  119. | ^~~
  120. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  121. 22 | if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  122. | ^~
  123. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  124. 26 | if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  125. | ^~
  126. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  127. 30 | if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  128. | ^~
  129. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  130. 34 | if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  131. | ^~
  132. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  133. 38 | if (!(word & (~0ul << (BITS_PER_LONG-1))))
  134. | ^~
  135. UPD include/generated/asm-offsets.h
  136. UPD include/generated/generic-asm-offsets.h
  137. LDS u-boot.lds
  138. cc1: warning: unknown register name: x18
  139. HOSTLD scripts/dtc/dtc
  140. HOSTCC tools/gen_eth_addr
  141. HOSTCC tools/gen_ethaddr_crc.o
  142. WRAP tools/lib/crc8.c
  143. HOSTCC tools/img2srec
  144. HOSTCC tools/mkenvimage.o
  145. HOSTCC tools/os_support.o
  146. WRAP tools/lib/crc32.c
  147. HOSTCC tools/aisimage.o
  148. HOSTCC tools/atmelimage.o
  149. HOSTCC tools/fit_common.o
  150. HOSTCC tools/fit_image.o
  151. HOSTCC tools/image-host.o
  152. WRAP tools/common/image-fit.c
  153. HOSTCC tools/image-sig-host.o
  154. WRAP tools/common/image-fit-sig.c
  155. WRAP tools/common/image-cipher.c
  156. WRAP tools/common/fdt_region.c
  157. WRAP tools/common/bootm.c
  158. HOSTCC tools/lib/crc32.o
  159. HOSTCC tools/default_image.o
  160. WRAP tools/lib/fdtdec_common.c
  161. WRAP tools/lib/fdtdec.c
  162. WRAP tools/common/image.c
  163. HOSTCC tools/imagetool.o
  164. HOSTCC tools/imximage.o
  165. HOSTCC tools/imx8image.o
  166. HOSTCC tools/imx8mimage.o
  167. HOSTCC tools/kwbimage.o
  168. WRAP tools/lib/md5.c
  169. HOSTCC tools/lpc32xximage.o
  170. HOSTCC tools/mxsimage.o
  171. HOSTCC tools/omapimage.o
  172. HOSTCC tools/pblimage.o
  173. HOSTCC tools/pbl_crc32.o
  174. HOSTCC tools/vybridimage.o
  175. HOSTCC tools/stm32image.o
  176. WRAP tools/lib/rc4.c
  177. HOSTCC tools/rkcommon.o
  178. HOSTCC tools/rkimage.o
  179. HOSTCC tools/rksd.o
  180. HOSTCC tools/rkspi.o
  181. HOSTCC tools/socfpgaimage.o
  182. HOSTCC tools/sunxi_egon.o
  183. WRAP tools/lib/crc16.c
  184. WRAP tools/lib/hash-checksum.c
  185. WRAP tools/lib/sha1.c
  186. WRAP tools/lib/sha256.c
  187. WRAP tools/lib/sha512.c
  188. WRAP tools/common/hash.c
  189. HOSTCC tools/ublimage.o
  190. HOSTCC tools/zynqimage.o
  191. HOSTCC tools/zynqmpimage.o
  192. HOSTCC tools/zynqmpbif.o
  193. WRAP tools/lib/fdt-libcrypto.c
  194. HOSTCC tools/libfdt/fdt.o
  195. HOSTCC tools/libfdt/fdt_ro.o
  196. HOSTCC tools/libfdt/fdt_wip.o
  197. HOSTCC tools/libfdt/fdt_sw.o
  198. HOSTCC tools/libfdt/fdt_rw.o
  199. HOSTCC tools/libfdt/fdt_strerror.o
  200. HOSTCC tools/libfdt/fdt_empty_tree.o
  201. HOSTCC tools/libfdt/fdt_addresses.o
  202. HOSTCC tools/libfdt/fdt_overlay.o
  203. HOSTCC tools/gpimage.o
  204. HOSTCC tools/gpimage-common.o
  205. HOSTCC tools/mtk_image.o
  206. WRAP tools/lib/ecdsa/ecdsa-libcrypto.c
  207. WRAP tools/lib/rsa/rsa-sign.c
  208. WRAP tools/lib/rsa/rsa-verify.c
  209. WRAP tools/lib/rsa/rsa-mod-exp.c
  210. WRAP tools/lib/aes/aes-encrypt.c
  211. WRAP tools/lib/aes/aes-decrypt.c
  212. HOSTCC tools/dumpimage.o
  213. HOSTCC tools/common/image-fit.o
  214. HOSTCC tools/common/image-fit-sig.o
  215. HOSTCC tools/common/image-cipher.o
  216. HOSTCC tools/common/fdt_region.o
  217. HOSTCC tools/common/bootm.o
  218. HOSTCC tools/lib/fdtdec_common.o
  219. HOSTCC tools/lib/fdtdec.o
  220. HOSTCC tools/common/image.o
  221. HOSTCC tools/lib/md5.o
  222. HOSTCC tools/lib/rc4.o
  223. HOSTCC tools/lib/crc16.o
  224. HOSTCC tools/lib/hash-checksum.o
  225. HOSTCC tools/lib/sha1.o
  226. HOSTCC tools/lib/sha256.o
  227. HOSTCC tools/lib/sha512.o
  228. HOSTCC tools/common/hash.o
  229. HOSTCC tools/lib/fdt-libcrypto.o
  230. HOSTCC tools/lib/ecdsa/ecdsa-libcrypto.o
  231. HOSTCC tools/lib/rsa/rsa-sign.o
  232. HOSTCC tools/lib/rsa/rsa-verify.o
  233. HOSTCC tools/lib/rsa/rsa-mod-exp.o
  234. HOSTCC tools/lib/aes/aes-encrypt.o
  235. HOSTCC tools/lib/aes/aes-decrypt.o
  236. HOSTCC tools/mkimage.o
  237. HOSTCC tools/fit_info.o
  238. HOSTCC tools/fit_check_sign.o
  239. HOSTCC tools/proftool
  240. HOSTCC tools/relocate-rela
  241. HOSTCC tools/fdtgrep.o
  242. HOSTCC tools/spl_size_limit
  243. HOSTCC tools/lib/crc8.o
  244. HOSTLD tools/mkenvimage
  245. HOSTLD tools/dumpimage
  246. HOSTLD tools/fit_info
  247. HOSTLD tools/fit_check_sign
  248. HOSTLD tools/gen_ethaddr_crc
  249. HOSTLD tools/mkimage
  250. HOSTLD tools/fdtgrep
  251. AR arch/arm/cpu/built-in.o
  252. CC arch/arm/cpu/armv8/cpu.o
  253. CC arch/arm/cpu/armv8/generic_timer.o
  254. CC arch/arm/cpu/armv8/cache_v8.o
  255. AS arch/arm/cpu/armv8/cache.o
  256. AS arch/arm/lib/crt0_64.o
  257. AS arch/arm/cpu/armv8/exceptions.o
  258. AS arch/arm/lib/setjmp_aarch64.o
  259. CC arch/arm/mach-bcm283x/init.o
  260. cc1: warning: unknown register name: x18
  261. cc1: warning: unknown register name: x18
  262. cc1: warning: unknown register name: x18
  263. cc1: warning: unknown register name: x18
  264. cc1: warning: unknown register name: x18
  265. cc1: warning: unknown register name: x18
  266. ./arch/arm/include/asm/macro.h: Assembler messages:
  267. ./arch/arm/include/asm/macro.h:65: Warning: unknown register 'x30' -- .req ignored
  268. arch/arm/cpu/armv8/cache.S:26: Error: ARM register expected -- `lsl x12,x0,#1'
  269. arch/arm/cpu/armv8/cache.S:27: Error: selected processor does not support requested special purpose register -- `msr csselr_el1,x12'
  270. arch/arm/cpu/armv8/cache.S:29: Error: ARM register expected -- `mrs x6,ccsidr_el1'
  271. arch/arm/cpu/armv8/cache.S:30: Error: ARM register expected -- `and x2,x6,#7'
  272. arch/arm/cpu/armv8/cache.S:31: Error: ARM register expected -- `add x2,x2,#4'
  273. arch/arm/cpu/armv8/cache.S:32: Error: ARM register expected -- `mov x3,#0x3ff'
  274. arch/arm/cpu/armv8/cache.S:33: Error: ARM register expected -- `and x3,x3,x6,lsr#3'
  275. arch/arm/cpu/armv8/cache.S:34: Error: ARM register expected -- `clz w5,w3'
  276. arch/arm/cpu/armv8/cache.S:35: Error: ARM register expected -- `mov x4,#0x7fff'
  277. arch/arm/cpu/armv8/cache.S:36: Error: ARM register expected -- `and x4,x4,x6,lsr#13'
  278. arch/arm/cpu/armv8/cache.S:44: Error: ARM register expected -- `mov x6,x3'
  279. arch/arm/cpu/armv8/cache.S:46: Error: ARM register expected -- `lsl x7,x6,x5'
  280. arch/arm/cpu/armv8/cache.S:47: Error: ARM register expected -- `orr x9,x12,x7'
  281. arch/arm/cpu/armv8/cache.S:48: Error: ARM register expected -- `lsl x7,x4,x2'
  282. arch/arm/cpu/armv8/cache.S:49: Error: ARM register expected -- `orr x9,x9,x7'
  283. arch/arm/cpu/armv8/cache.S:50: Error: bad instruction `tbz w1,#0,1f'
  284. arch/arm/cpu/armv8/cache.S:51: Error: bad instruction `dc isw,x9'
  285. arch/arm/cpu/armv8/cache.S:53: Error: bad instruction `dc cisw,x9'
  286. arch/arm/cpu/armv8/cache.S:54: Error: ARM register expected -- `subs x6,x6,#1'
  287. arch/arm/cpu/armv8/cache.S:55: Error: unexpected character `g' in type specifier
  288. arch/arm/cpu/armv8/cache.S:55: Error: bad instruction `b.ge loop_way'
  289. arch/arm/cpu/armv8/cache.S:56: Error: ARM register expected -- `subs x4,x4,#1'
  290. arch/arm/cpu/armv8/cache.S:57: Error: unexpected character `g' in type specifier
  291. arch/arm/cpu/armv8/cache.S:57: Error: bad instruction `b.ge loop_set'
  292. arch/arm/cpu/armv8/cache.S:59: Error: bad instruction `ret'
  293. arch/arm/cpu/armv8/cache.S:72: Error: ARM register expected -- `mov x1,x0'
  294. arch/arm/cpu/armv8/cache.S:74: Error: ARM register expected -- `mrs x10,clidr_el1'
  295. arch/arm/cpu/armv8/cache.S:75: Error: ARM register expected -- `lsr x11,x10,#24'
  296. arch/arm/cpu/armv8/cache.S:76: Error: ARM register expected -- `and x11,x11,#0x7'
  297. arch/arm/cpu/armv8/cache.S:77: Error: selected processor does not support `cbz x11,finished' in ARM mode
  298. arch/arm/cpu/armv8/cache.S:78: Error: ARM register expected -- `mov x15,lr'
  299. arch/arm/cpu/armv8/cache.S:79: Error: ARM register expected -- `mov x0,#0'
  300. arch/arm/cpu/armv8/cache.S:86: Error: ARM register expected -- `lsl x12,x0,#1'
  301. arch/arm/cpu/armv8/cache.S:87: Error: ARM register expected -- `add x12,x12,x0'
  302. arch/arm/cpu/armv8/cache.S:88: Error: ARM register expected -- `lsr x12,x10,x12'
  303. arch/arm/cpu/armv8/cache.S:89: Error: ARM register expected -- `and x12,x12,#7'
  304. arch/arm/cpu/armv8/cache.S:90: Error: ARM register expected -- `cmp x12,#2'
  305. arch/arm/cpu/armv8/cache.S:91: Error: unexpected character `l' in type specifier
  306. arch/arm/cpu/armv8/cache.S:91: Error: bad instruction `b.lt skip'
  307. arch/arm/cpu/armv8/cache.S:94: Error: ARM register expected -- `add x0,x0,#1'
  308. arch/arm/cpu/armv8/cache.S:95: Error: ARM register expected -- `cmp x11,x0'
  309. arch/arm/cpu/armv8/cache.S:96: Error: unexpected character `g' in type specifier
  310. arch/arm/cpu/armv8/cache.S:96: Error: bad instruction `b.gt loop_level'
  311. arch/arm/cpu/armv8/cache.S:98: Error: ARM register expected -- `mov x0,#0'
  312. arch/arm/cpu/armv8/cache.S:99: Error: selected processor does not support requested special purpose register -- `msr csselr_el1,x0'
  313. arch/arm/cpu/armv8/cache.S:102: Error: immediate expression requires a # prefix -- `mov lr,x15'
  314. arch/arm/cpu/armv8/cache.S:105: Error: bad instruction `ret'
  315. arch/arm/cpu/armv8/cache.S:111: Error: ARM register expected -- `mov x0,#0'
  316. arch/arm/cpu/armv8/cache.S:118: Error: ARM register expected -- `mov x0,#0x1'
  317. arch/arm/cpu/armv8/cache.S:133: Error: ARM register expected -- `mrs x3,ctr_el0'
  318. arch/arm/cpu/armv8/cache.S:134: Error: ARM register expected -- `lsr x3,x3,#16'
  319. arch/arm/cpu/armv8/cache.S:135: Error: ARM register expected -- `and x3,x3,#0xf'
  320. arch/arm/cpu/armv8/cache.S:136: Error: ARM register expected -- `mov x2,#4'
  321. arch/arm/cpu/armv8/cache.S:137: Error: ARM register expected -- `lsl x2,x2,x3'
  322. arch/arm/cpu/armv8/cache.S:140: Error: ARM register expected -- `sub x3,x2,#1'
  323. arch/arm/cpu/armv8/cache.S:141: Error: ARM register expected -- `bic x0,x0,x3'
  324. arch/arm/cpu/armv8/cache.S:142: Error: bad instruction `dc civac,x0'
  325. arch/arm/cpu/armv8/cache.S:143: Error: ARM register expected -- `add x0,x0,x2'
  326. arch/arm/cpu/armv8/cache.S:144: Error: ARM register expected -- `cmp x0,x1'
  327. arch/arm/cpu/armv8/cache.S:145: Error: unexpected character `l' in type specifier
  328. arch/arm/cpu/armv8/cache.S:145: Error: bad instruction `b.lo 1b'
  329. arch/arm/cpu/armv8/cache.S:147: Error: bad instruction `ret'
  330. arch/arm/cpu/armv8/cache.S:160: Error: ARM register expected -- `mrs x3,ctr_el0'
  331. arch/arm/cpu/armv8/cache.S:161: Error: bad instruction `ubfm x3,x3,#16,#19'
  332. arch/arm/cpu/armv8/cache.S:162: Error: ARM register expected -- `mov x2,#4'
  333. arch/arm/cpu/armv8/cache.S:163: Error: ARM register expected -- `lsl x2,x2,x3'
  334. arch/arm/cpu/armv8/cache.S:166: Error: ARM register expected -- `sub x3,x2,#1'
  335. arch/arm/cpu/armv8/cache.S:167: Error: ARM register expected -- `bic x0,x0,x3'
  336. arch/arm/cpu/armv8/cache.S:168: Error: bad instruction `dc ivac,x0'
  337. arch/arm/cpu/armv8/cache.S:169: Error: ARM register expected -- `add x0,x0,x2'
  338. arch/arm/cpu/armv8/cache.S:170: Error: ARM register expected -- `cmp x0,x1'
  339. arch/arm/cpu/armv8/cache.S:171: Error: unexpected character `l' in type specifier
  340. arch/arm/cpu/armv8/cache.S:171: Error: bad instruction `b.lo 1b'
  341. arch/arm/cpu/armv8/cache.S:173: Error: bad instruction `ret'
  342. arch/arm/cpu/armv8/cache.S:184: Error: bad instruction `ic ialluis'
  343. arch/arm/cpu/armv8/cache.S:186: Error: bad instruction `ret'
  344. arch/arm/cpu/armv8/cache.S:192: Error: ARM register expected -- `mov x0,#0'
  345. arch/arm/cpu/armv8/cache.S:193: Error: bad instruction `ret'
  346. arch/arm/cpu/armv8/cache.S:199: Error: ARM register expected -- `mov x0,#0'
  347. arch/arm/cpu/armv8/cache.S:200: Error: bad instruction `ret'
  348. arch/arm/cpu/armv8/cache.S:206: Error: ARM register expected -- `mov x0,#0'
  349. arch/arm/cpu/armv8/cache.S:207: Error: bad instruction `ret'
  350. In file included from ./arch/arm/include/asm/bitops.h:18,
  351. from include/linux/bitops.h:152,
  352. from include/log.h:15,
  353. from include/linux/printk.h:4,
  354. from include/linux/bug.h:7,
  355. from ./arch/arm/include/asm/arch/timer.h:11,
  356. from include/configs/rpi.h:10,
  357. from include/config.h:4,
  358. from include/common.h:16,
  359. from arch/arm/cpu/armv8/cache_v8.c:10:
  360. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  361. arch/arm/cpu/armv8/cache.S:219: Error: ARM register expected -- `mrs x4,CurrentEL'
  362. arch/arm/cpu/armv8/cache.S:219: Error: ARM register expected -- `cmp x4,0xc'
  363. arch/arm/cpu/armv8/cache.S:219: Error: unexpected character `e' in type specifier
  364. arch/arm/cpu/armv8/cache.S:219: Error: bad instruction `b.eq 3f'
  365. arch/arm/cpu/armv8/cache.S:219: Error: ARM register expected -- `cmp x4,0x8'
  366. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  367. 19 | word >>= 32;
  368. | ^~~
  369. arch/arm/cpu/armv8/cache.S:219: Error: unexpected character `e' in type specifier
  370. arch/arm/cpu/armv8/cache.S:219: Error: bad instruction `b.eq 2f'
  371. arch/arm/cpu/armv8/cache.S:219: Error: ARM register expected -- `cmp x4,0x4'
  372. arch/arm/cpu/armv8/cache.S:219: Error: unexpected character `e' in type specifier
  373. arch/arm/cpu/armv8/cache.S:219: Error: bad instruction `b.eq 1f'
  374. arch/arm/cpu/armv8/cache.S:220: Error: ARM register expected -- `mrs x2,sctlr_el3'
  375. arch/arm/cpu/armv8/cache.S:222: Error: ARM register expected -- `mrs x2,sctlr_el2'
  376. arch/arm/cpu/armv8/cache.S:224: Error: ARM register expected -- `mrs x2,sctlr_el1'
  377. arch/arm/cpu/armv8/cache.S:228: Error: bad instruction `movn x1,#((1<<0)|(1<<2)|(1<<12))'
  378. arch/arm/cpu/armv8/cache.S:229: Error: ARM register expected -- `and x1,x2,x1'
  379. arch/arm/cpu/armv8/cache.S:230: Error: ARM register expected -- `mrs x4,CurrentEL'
  380. arch/arm/cpu/armv8/cache.S:230: Error: ARM register expected -- `cmp x4,0xc'
  381. arch/arm/cpu/armv8/cache.S:230: Error: unexpected character `e' in type specifier
  382. arch/arm/cpu/armv8/cache.S:230: Error: bad instruction `b.eq 3f'
  383. arch/arm/cpu/armv8/cache.S:230: Error: ARM register expected -- `cmp x4,0x8'
  384. arch/arm/cpu/armv8/cache.S:230: Error: unexpected character `e' in type specifier
  385. arch/arm/cpu/armv8/cache.S:230: Error: bad instruction `b.eq 2f'
  386. arch/arm/cpu/armv8/cache.S:230: Error: ARM register expected -- `cmp x4,0x4'
  387. arch/arm/cpu/armv8/cache.S:230: Error: unexpected character `e' in type specifier
  388. arch/arm/cpu/armv8/cache.S:230: Error: bad instruction `b.eq 1f'
  389. arch/arm/cpu/armv8/cache.S:231: Error: selected processor does not support requested special purpose register -- `msr sctlr_el3,x1'
  390. arch/arm/cpu/armv8/cache.S:233: Error: selected processor does not support requested special purpose register -- `msr sctlr_el2,x1'
  391. arch/arm/cpu/armv8/cache.S:235: Error: selected processor does not support requested special purpose register -- `msr sctlr_el1,x1'
  392. arch/arm/cpu/armv8/cache.S:239: Error: ARM register expected -- `mov x3,x30'
  393. In file included from ./arch/arm/include/asm/bitops.h:19,
  394. from include/linux/bitops.h:152,
  395. from include/log.h:15,
  396. from include/linux/printk.h:4,
  397. from include/linux/bug.h:7,
  398. from ./arch/arm/include/asm/arch/timer.h:11,
  399. from include/configs/rpi.h:10,
  400. from include/config.h:4,
  401. from include/common.h:16,
  402. from arch/arm/cpu/armv8/cache_v8.c:10:
  403. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  404. arch/arm/cpu/armv8/cache.S:245: Error: ARM register expected -- `mrs x4,CurrentEL'
  405. arch/arm/cpu/armv8/cache.S:245: Error: ARM register expected -- `cmp x4,0xc'
  406. arch/arm/cpu/armv8/cache.S:245: Error: unexpected character `e' in type specifier
  407. arch/arm/cpu/armv8/cache.S:245: Error: bad instruction `b.eq 3f'
  408. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  409. 17 | if (!(word & (~0ul << 32))) {
  410. | ^~
  411. arch/arm/cpu/armv8/cache.S:245: Error: ARM register expected -- `cmp x4,0x8'
  412. arch/arm/cpu/armv8/cache.S:245: Error: unexpected character `e' in type specifier
  413. arch/arm/cpu/armv8/cache.S:245: Error: bad instruction `b.eq 2f'
  414. arch/arm/cpu/armv8/cache.S:245: Error: ARM register expected -- `cmp x4,0x4'
  415. arch/arm/cpu/armv8/cache.S:245: Error: unexpected character `e' in type specifier
  416. arch/arm/cpu/armv8/cache.S:245: Error: bad instruction `b.eq 1f'
  417. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  418. 19 | word <<= 32;
  419. | ^~~
  420. arch/arm/cpu/armv8/cache.S:246: Error: selected processor does not support requested special purpose register -- `msr ttbr0_el3,x0'
  421. arch/arm/cpu/armv8/cache.S:248: Error: selected processor does not support requested special purpose register -- `msr ttbr0_el2,x0'
  422. arch/arm/cpu/armv8/cache.S:250: Error: selected processor does not support requested special purpose register -- `msr ttbr0_el1,x0'
  423. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  424. 22 | if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  425. | ^~
  426. arch/arm/cpu/armv8/cache.S:254: Error: ARM register expected -- `mrs x4,CurrentEL'
  427. arch/arm/cpu/armv8/cache.S:254: Error: ARM register expected -- `cmp x4,0xc'
  428. arch/arm/cpu/armv8/cache.S:254: Error: unexpected character `e' in type specifier
  429. arch/arm/cpu/armv8/cache.S:254: Error: bad instruction `b.eq 3f'
  430. arch/arm/cpu/armv8/cache.S:254: Error: ARM register expected -- `cmp x4,0x8'
  431. arch/arm/cpu/armv8/cache.S:254: Error: unexpected character `e' in type specifier
  432. arch/arm/cpu/armv8/cache.S:254: Error: bad instruction `b.eq 2f'
  433. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  434. 26 | if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  435. | ^~
  436. arch/arm/cpu/armv8/cache.S:254: Error: ARM register expected -- `cmp x4,0x4'
  437. arch/arm/cpu/armv8/cache.S:254: Error: unexpected character `e' in type specifier
  438. arch/arm/cpu/armv8/cache.S:254: Error: bad instruction `b.eq 1f'
  439. arch/arm/cpu/armv8/cache.S:255: Error: selected processor does not support requested special purpose register -- `msr sctlr_el3,x2'
  440. arch/arm/cpu/armv8/cache.S:257: Error: selected processor does not support requested special purpose register -- `msr sctlr_el2,x2'
  441. arch/arm/cpu/armv8/cache.S:259: Error: selected processor does not support requested special purpose register -- `msr sctlr_el1,x2'
  442. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  443. 30 | if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  444. | ^~
  445. arch/arm/cpu/armv8/cache.S:262: Error: bad instruction `ret x3'
  446. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  447. 34 | if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  448. | ^~
  449. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  450. 38 | if (!(word & (~0ul << (BITS_PER_LONG-1))))
  451. | ^~
  452. make[1]: *** [scripts/Makefile.build:289: arch/arm/cpu/armv8/cache.o] Error 1
  453. make[1]: *** Waiting for unfinished jobs....
  454. cc1: warning: unknown register name: x18
  455. AS arch/arm/lib/relocate_64.o
  456. In file included from ./arch/arm/include/asm/bitops.h:18,
  457. from include/linux/bitops.h:152,
  458. from include/log.h:15,
  459. from include/linux/printk.h:4,
  460. from include/linux/bug.h:7,
  461. from ./arch/arm/include/asm/arch/timer.h:11,
  462. from include/configs/rpi.h:10,
  463. from include/config.h:4,
  464. from include/common.h:16,
  465. from arch/arm/cpu/armv8/cpu.c:13:
  466. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  467. In file included from ./arch/arm/include/asm/bitops.h:18,
  468. from include/linux/bitops.h:152,
  469. from include/log.h:15,
  470. from include/linux/printk.h:4,
  471. from include/linux/bug.h:7,
  472. from ./arch/arm/include/asm/arch/timer.h:11,
  473. from include/configs/rpi.h:10,
  474. from include/config.h:4,
  475. from include/common.h:16,
  476. from arch/arm/cpu/armv8/generic_timer.c:7:
  477. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  478. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  479. 19 | word >>= 32;
  480. | ^~~
  481. In file included from ./arch/arm/include/asm/bitops.h:18,
  482. from include/linux/bitops.h:152,
  483. from include/log.h:15,
  484. from include/linux/printk.h:4,
  485. from include/linux/bug.h:7,
  486. from ./arch/arm/include/asm/arch/timer.h:11,
  487. from include/configs/rpi.h:10,
  488. from include/config.h:4,
  489. from include/common.h:16,
  490. from arch/arm/mach-bcm283x/init.c:9:
  491. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  492. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  493. 19 | word >>= 32;
  494. | ^~~
  495. In file included from ./arch/arm/include/asm/bitops.h:19,
  496. from include/linux/bitops.h:152,
  497. from include/log.h:15,
  498. from include/linux/printk.h:4,
  499. from include/linux/bug.h:7,
  500. from ./arch/arm/include/asm/arch/timer.h:11,
  501. from include/configs/rpi.h:10,
  502. from include/config.h:4,
  503. from include/common.h:16,
  504. from arch/arm/cpu/armv8/cpu.c:13:
  505. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  506. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  507. 17 | if (!(word & (~0ul << 32))) {
  508. | ^~
  509. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  510. 19 | word >>= 32;
  511. | ^~~
  512. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  513. 19 | word <<= 32;
  514. | ^~~
  515. In file included from ./arch/arm/include/asm/bitops.h:19,
  516. from include/linux/bitops.h:152,
  517. from include/log.h:15,
  518. from include/linux/printk.h:4,
  519. from include/linux/bug.h:7,
  520. from ./arch/arm/include/asm/arch/timer.h:11,
  521. from include/configs/rpi.h:10,
  522. from include/config.h:4,
  523. from include/common.h:16,
  524. from arch/arm/cpu/armv8/generic_timer.c:7:
  525. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  526. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  527. 22 | if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  528. | ^~
  529. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  530. 17 | if (!(word & (~0ul << 32))) {
  531. | ^~
  532. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  533. 26 | if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  534. | ^~
  535. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  536. 19 | word <<= 32;
  537. | ^~~
  538. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  539. 30 | if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  540. | ^~
  541. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  542. 22 | if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  543. | ^~
  544. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  545. 34 | if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  546. | ^~
  547. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  548. 26 | if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  549. | ^~
  550. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  551. 38 | if (!(word & (~0ul << (BITS_PER_LONG-1))))
  552. | ^~
  553. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  554. 30 | if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  555. | ^~
  556. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  557. 34 | if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  558. | ^~
  559. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  560. 38 | if (!(word & (~0ul << (BITS_PER_LONG-1))))
  561. | ^~
  562. CC board/raspberrypi/rpi/rpi.o
  563. ./arch/arm/include/asm/macro.h: Assembler messages:
  564. ./arch/arm/include/asm/macro.h:65: Warning: unknown register 'x30' -- .req ignored
  565. arch/arm/lib/setjmp_aarch64.S:13: Error: bad instruction `stp x19,x20,[x0,#0]'
  566. arch/arm/lib/setjmp_aarch64.S:14: Error: bad instruction `stp x21,x22,[x0,#16]'
  567. arch/arm/lib/setjmp_aarch64.S:15: Error: bad instruction `stp x23,x24,[x0,#32]'
  568. arch/arm/lib/setjmp_aarch64.S:16: Error: bad instruction `stp x25,x26,[x0,#48]'
  569. arch/arm/lib/setjmp_aarch64.S:17: Error: bad instruction `stp x27,x28,[x0,#64]'
  570. arch/arm/lib/setjmp_aarch64.S:18: Error: bad instruction `stp x29,x30,[x0,#80]'
  571. arch/arm/lib/setjmp_aarch64.S:19: Error: ARM register expected -- `mov x2,sp'
  572. arch/arm/lib/setjmp_aarch64.S:20: Error: ARM register expected -- `str x2,[x0,#96]'
  573. arch/arm/lib/setjmp_aarch64.S:21: Error: ARM register expected -- `mov x0,#0'
  574. arch/arm/lib/setjmp_aarch64.S:22: Error: bad instruction `ret'
  575. arch/arm/lib/setjmp_aarch64.S:28: Error: bad instruction `ldp x19,x20,[x0,#0]'
  576. arch/arm/lib/setjmp_aarch64.S:29: Error: bad instruction `ldp x21,x22,[x0,#16]'
  577. arch/arm/lib/setjmp_aarch64.S:30: Error: bad instruction `ldp x23,x24,[x0,#32]'
  578. arch/arm/lib/setjmp_aarch64.S:31: Error: bad instruction `ldp x25,x26,[x0,#48]'
  579. arch/arm/lib/setjmp_aarch64.S:32: Error: bad instruction `ldp x27,x28,[x0,#64]'
  580. arch/arm/lib/setjmp_aarch64.S:33: Error: bad instruction `ldp x29,x30,[x0,#80]'
  581. arch/arm/lib/setjmp_aarch64.S:34: Error: ARM register expected -- `ldr x2,[x0,#96]'
  582. arch/arm/lib/setjmp_aarch64.S:35: Error: immediate expression requires a # prefix -- `mov sp,x2'
  583. arch/arm/lib/setjmp_aarch64.S:37: Error: ARM register expected -- `adds x0,xzr,x1'
  584. arch/arm/lib/setjmp_aarch64.S:38: Error: selected processor does not support `csinc x0,x0,xzr,ne' in ARM mode
  585. arch/arm/lib/setjmp_aarch64.S:39: Error: bad instruction `ret'
  586. cc1: warning: unknown register name: x18
  587. make[1]: *** [scripts/Makefile.build:289: arch/arm/lib/setjmp_aarch64.o] Error 1
  588. make[1]: *** Waiting for unfinished jobs....
  589. ./arch/arm/include/asm/macro.h: In file included from ./arch/arm/include/asm/bitops.h:19,
  590. from include/linux/bitops.h:152,
  591. from include/log.h:15,
  592. from include/linux/printk.h:4,
  593. from include/linux/bug.h:7,
  594. from ./arch/arm/include/asm/arch/timer.h:11,
  595. from include/configs/rpi.h:10,
  596. from include/config.h:4,
  597. from include/common.h:16,
  598. from arch/arm/mach-bcm283x/init.c:9:
  599. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  600. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  601. 17 | if (!(word & (~0ul << 32))) {
  602. | ^~
  603. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  604. 19 | word <<= 32;
  605. | ^~~
  606. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  607. 22 | if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  608. | ^~
  609. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  610. 26 | if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  611. | ^~
  612. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  613. 30 | if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  614. | ^~
  615. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  616. 34 | if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  617. | ^~
  618. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  619. 38 | if (!(word & (~0ul << (BITS_PER_LONG-1))))
  620. | ^~
  621. cc1: warning: unknown register name: x18
  622. ./arch/arm/include/asm/macro.h: Assembler messages:
  623. ./arch/arm/include/asm/macro.h:65: Warning: unknown register 'x30' -- .req ignored
  624. arch/arm/cpu/armv8/exceptions.S:39: Error: bad instruction `stp x29,x30,[sp,#-16]!'
  625. arch/arm/cpu/armv8/exceptions.S:49: Error: bad instruction `stp x27,x28,[sp,#-16]!'
  626. arch/arm/cpu/armv8/exceptions.S:50: Error: bad instruction `stp x25,x26,[sp,#-16]!'
  627. arch/arm/cpu/armv8/exceptions.S:51: Error: bad instruction `stp x23,x24,[sp,#-16]!'
  628. arch/arm/cpu/armv8/exceptions.S:52: Error: bad instruction `stp x21,x22,[sp,#-16]!'
  629. arch/arm/cpu/armv8/exceptions.S:53: Error: bad instruction `stp x19,x20,[sp,#-16]!'
  630. arch/arm/cpu/armv8/exceptions.S:54: Error: bad instruction `stp x17,x18,[sp,#-16]!'
  631. arch/arm/cpu/armv8/exceptions.S:55: Error: bad instruction `stp x15,x16,[sp,#-16]!'
  632. arch/arm/cpu/armv8/exceptions.S:56: Error: bad instruction `stp x13,x14,[sp,#-16]!'
  633. arch/arm/cpu/armv8/exceptions.S:57: Error: bad instruction `stp x11,x12,[sp,#-16]!'
  634. arch/arm/cpu/armv8/exceptions.S:58: Error: bad instruction `stp x9,x10,[sp,#-16]!'
  635. arch/arm/cpu/armv8/exceptions.S:59: Error: bad instruction `stp x7,x8,[sp,#-16]!'
  636. arch/arm/cpu/armv8/exceptions.S:60: Error: bad instruction `stp x5,x6,[sp,#-16]!'
  637. arch/arm/cpu/armv8/exceptions.S:61: Error: bad instruction `stp x3,x4,[sp,#-16]!'
  638. arch/arm/cpu/armv8/exceptions.S:62: Error: bad instruction `stp x1,x2,[sp,#-16]!'
  639. arch/arm/cpu/armv8/exceptions.S:66: Error: bad instruction `stp x29,x30,[sp,#-16]!'
  640. arch/arm/cpu/armv8/exceptions.S:77: Error: ARM register expected -- `mrs x11,CurrentEL'
  641. arch/arm/cpu/armv8/exceptions.S:77: Error: ARM register expected -- `cmp x11,0xc'
  642. arch/arm/cpu/armv8/exceptions.S:77: Error: unexpected character `e' in type specifier
  643. arch/arm/cpu/armv8/exceptions.S:77: Error: bad instruction `b.eq 3f'
  644. arch/arm/cpu/armv8/exceptions.S:77: Error: ARM register expected -- `cmp x11,0x8'
  645. arch/arm/cpu/armv8/exceptions.S:77: Error: unexpected character `e' in type specifier
  646. arch/arm/cpu/armv8/exceptions.S:77: Error: bad instruction `b.eq 2f'
  647. arch/arm/cpu/armv8/exceptions.S:77: Error: ARM register expected -- `cmp x11,0x4'
  648. arch/arm/cpu/armv8/exceptions.S:77: Error: unexpected character `e' in type specifier
  649. arch/arm/cpu/armv8/exceptions.S:77: Error: bad instruction `b.eq 1f'
  650. arch/arm/cpu/armv8/exceptions.S:78: Error: ARM register expected -- `mrs x1,esr_el3'
  651. arch/arm/cpu/armv8/exceptions.S:79: Error: ARM register expected -- `mrs x2,elr_el3'
  652. arch/arm/cpu/armv8/exceptions.S:81: Error: ARM register expected -- `mrs x1,esr_el2'
  653. arch/arm/cpu/armv8/exceptions.S:82: Error: ARM register expected -- `mrs x2,elr_el2'
  654. arch/arm/cpu/armv8/exceptions.S:84: Error: ARM register expected -- `mrs x1,esr_el1'
  655. arch/arm/cpu/armv8/exceptions.S:85: Error: ARM register expected -- `mrs x2,elr_el1'
  656. arch/arm/cpu/armv8/exceptions.S:87: Error: bad instruction `stp x2,x0,[sp,#-16]!'
  657. arch/arm/cpu/armv8/exceptions.S:88: Error: ARM register expected -- `mov x0,sp'
  658. arch/arm/cpu/armv8/exceptions.S:89: Error: bad instruction `ret'
  659. arch/arm/cpu/armv8/exceptions.S:92: Error: bad instruction `stp x29,x30,[sp,#-16]!'
  660. arch/arm/cpu/armv8/exceptions.S:101: Error: bad instruction `ldp x2,x0,[sp],#16'
  661. arch/arm/cpu/armv8/exceptions.S:102: Error: ARM register expected -- `mrs x11,CurrentEL'
  662. arch/arm/cpu/armv8/exceptions.S:102: Error: ARM register expected -- `cmp x11,0xc'
  663. arch/arm/cpu/armv8/exceptions.S:102: Error: unexpected character `e' in type specifier
  664. arch/arm/cpu/armv8/exceptions.S:102: Error: bad instruction `b.eq 3f'
  665. arch/arm/cpu/armv8/exceptions.S:102: Error: ARM register expected -- `cmp x11,0x8'
  666. arch/arm/cpu/armv8/exceptions.S:102: Error: unexpected character `e' in type specifier
  667. arch/arm/cpu/armv8/exceptions.S:102: Error: bad instruction `b.eq 2f'
  668. arch/arm/cpu/armv8/exceptions.S:102: Error: ARM register expected -- `cmp x11,0x4'
  669. arch/arm/cpu/armv8/exceptions.S:102: Error: unexpected character `e' in type specifier
  670. arch/arm/cpu/armv8/exceptions.S:102: Error: bad instruction `b.eq 1f'
  671. arch/arm/cpu/armv8/exceptions.S:103: Error: selected processor does not support requested special purpose register -- `msr elr_el3,x2'
  672. arch/arm/cpu/armv8/exceptions.S:105: Error: selected processor does not support requested special purpose register -- `msr elr_el2,x2'
  673. arch/arm/cpu/armv8/exceptions.S:107: Error: selected processor does not support requested special purpose register -- `msr elr_el1,x2'
  674. arch/arm/cpu/armv8/exceptions.S:111: Error: bad instruction `stp x29,x30,[sp,#-16]!'
  675. arch/arm/cpu/armv8/exceptions.S:121: Error: bad instruction `ldp x1,x2,[sp],#16'
  676. arch/arm/cpu/armv8/exceptions.S:122: Error: bad instruction `ldp x3,x4,[sp],#16'
  677. arch/arm/cpu/armv8/exceptions.S:123: Error: bad instruction `ldp x5,x6,[sp],#16'
  678. arch/arm/cpu/armv8/exceptions.S:124: Error: bad instruction `ldp x7,x8,[sp],#16'
  679. arch/arm/cpu/armv8/exceptions.S:125: Error: bad instruction `ldp x9,x10,[sp],#16'
  680. arch/arm/cpu/armv8/exceptions.S:126: Error: bad instruction `ldp x11,x12,[sp],#16'
  681. arch/arm/cpu/armv8/exceptions.S:127: Error: bad instruction `ldp x13,x14,[sp],#16'
  682. arch/arm/cpu/armv8/exceptions.S:128: Error: bad instruction `ldp x15,x16,[sp],#16'
  683. arch/arm/cpu/armv8/exceptions.S:129: Error: bad instruction `ldp x17,x18,[sp],#16'
  684. arch/arm/cpu/armv8/exceptions.S:130: Error: bad instruction `ldp x19,x20,[sp],#16'
  685. arch/arm/cpu/armv8/exceptions.S:131: Error: bad instruction `ldp x21,x22,[sp],#16'
  686. arch/arm/cpu/armv8/exceptions.S:132: Error: bad instruction `ldp x23,x24,[sp],#16'
  687. arch/arm/cpu/armv8/exceptions.S:133: Error: bad instruction `ldp x25,x26,[sp],#16'
  688. arch/arm/cpu/armv8/exceptions.S:134: Error: bad instruction `ldp x27,x28,[sp],#16'
  689. arch/arm/cpu/armv8/exceptions.S:135: Error: bad instruction `ldp x29,x30,[sp],#16'
  690. arch/arm/cpu/armv8/exceptions.S:139: Error: bad instruction `stp x29,x30,[sp,#-16]!'
  691. arch/arm/cpu/armv8/exceptions.S:145: Error: bad instruction `stp x29,x30,[sp,#-16]!'
  692. arch/arm/cpu/armv8/exceptions.S:151: Error: bad instruction `stp x29,x30,[sp,#-16]!'
  693. arch/arm/cpu/armv8/exceptions.S:157: Error: bad instruction `stp x29,x30,[sp,#-16]!'
  694. cc1: warning: unknown register name: x18
  695. Assembler messages:
  696. ./arch/arm/include/asm/macro.h:65: Warning: unknown register 'x30' -- .req ignored
  697. arch/arm/lib/crt0_64.S:84: Error: ARM register expected -- `ldr x0,=((0x00000000+0x08000000-272))'
  698. arch/arm/lib/crt0_64.S:86: Error: immediate expression requires a # prefix -- `bic sp,x0,#0xf'
  699. arch/arm/lib/crt0_64.S:87: Error: ARM register expected -- `mov x0,sp'
  700. arch/arm/lib/crt0_64.S:89: Error: immediate expression requires a # prefix -- `mov sp,x0'
  701. arch/arm/lib/crt0_64.S:91: Error: ARM register expected -- `mov x18,x0'
  702. arch/arm/lib/crt0_64.S:94: Error: ARM register expected -- `mov x0,#0'
  703. arch/arm/lib/crt0_64.S:103: Error: ARM register expected -- `ldr x0,[x18,#88]'
  704. arch/arm/lib/crt0_64.S:104: Error: immediate expression requires a # prefix -- `bic sp,x0,#0xf'
  705. arch/arm/lib/crt0_64.S:105: Error: ARM register expected -- `ldr x18,[x18,#96]'
  706. arch/arm/lib/crt0_64.S:122: Error: ARM register expected -- `ldr x9,[x18,#92]'
  707. arch/arm/lib/crt0_64.S:123: Error: shift expression expected -- `add lr,lr,x9'
  708. arch/arm/lib/crt0_64.S:124: Error: ARM register expected -- `ldr x0,[x18,#64]'
  709. arch/arm/lib/crt0_64.S:154: Error: ARM register expected -- `ldr x0,=__bss_start'
  710. arch/arm/lib/crt0_64.S:155: Error: ARM register expected -- `ldr x1,=__bss_end'
  711. arch/arm/lib/crt0_64.S:157: Error: ARM register expected -- `str xzr,[x0],#8'
  712. arch/arm/lib/crt0_64.S:158: Error: ARM register expected -- `cmp x0,x1'
  713. make[1]: *** [scripts/Makefile.build:289: arch/arm/cpu/armv8/exceptions.o] Error 1
  714. arch/arm/lib/crt0_64.S:159: Error: unexpected character `l' in type specifier
  715. arch/arm/lib/crt0_64.S:159: Error: bad instruction `b.lo clear_loop'
  716. arch/arm/lib/crt0_64.S:162: Error: ARM register expected -- `mov x0,x18'
  717. arch/arm/lib/crt0_64.S:163: Error: ARM register expected -- `ldr x1,[x18,#64]'
  718. ./arch/arm/include/asm/macro.h: Assembler messages:
  719. ./arch/arm/include/asm/macro.h:65: Warning: unknown register 'x30' -- .req ignored
  720. arch/arm/lib/relocate_64.S:23: Error: bad instruction `stp x29,x30,[sp,#-32]!'
  721. arch/arm/lib/relocate_64.S:24: Error: ARM register expected -- `mov x29,sp'
  722. arch/arm/lib/relocate_64.S:25: Error: ARM register expected -- `str x0,[sp,#16]'
  723. arch/arm/lib/relocate_64.S:29: Error: bad instruction `adrp x1,__image_copy_start'
  724. arch/arm/lib/relocate_64.S:30: Error: ARM register expected -- `add x1,x1,:lo12:__image_copy_start'
  725. arch/arm/lib/relocate_64.S:31: Error: ARM register expected -- `subs x9,x0,x1'
  726. make[1]: *** [scripts/Makefile.build:289: arch/arm/lib/crt0_64.o] Error 1
  727. arch/arm/lib/relocate_64.S:32: Error: unexpected character `e' in type specifier
  728. arch/arm/lib/relocate_64.S:32: Error: bad instruction `b.eq relocate_done'
  729. arch/arm/lib/relocate_64.S:43: Error: ARM register expected -- `ldr x1,_TEXT_BASE'
  730. arch/arm/lib/relocate_64.S:44: Error: ARM register expected -- `subs x9,x0,x1'
  731. arch/arm/lib/relocate_64.S:46: Error: bad instruction `adrp x1,__image_copy_start'
  732. arch/arm/lib/relocate_64.S:47: Error: ARM register expected -- `add x1,x1,:lo12:__image_copy_start'
  733. arch/arm/lib/relocate_64.S:48: Error: bad instruction `adrp x2,__image_copy_end'
  734. arch/arm/lib/relocate_64.S:49: Error: ARM register expected -- `add x2,x2,:lo12:__image_copy_end'
  735. arch/arm/lib/relocate_64.S:51: Error: bad instruction `ldp x10,x11,[x1],#16'
  736. arch/arm/lib/relocate_64.S:52: Error: bad instruction `stp x10,x11,[x0],#16'
  737. arch/arm/lib/relocate_64.S:53: Error: ARM register expected -- `cmp x1,x2'
  738. arch/arm/lib/relocate_64.S:54: Error: unexpected character `l' in type specifier
  739. arch/arm/lib/relocate_64.S:54: Error: bad instruction `b.lo copy_loop'
  740. arch/arm/lib/relocate_64.S:55: Error: ARM register expected -- `str x0,[sp,#24]'
  741. arch/arm/lib/relocate_64.S:60: Error: bad instruction `adrp x2,__rel_dyn_start'
  742. arch/arm/lib/relocate_64.S:61: Error: ARM register expected -- `add x2,x2,:lo12:__rel_dyn_start'
  743. arch/arm/lib/relocate_64.S:62: Error: bad instruction `adrp x3,__rel_dyn_end'
  744. arch/arm/lib/relocate_64.S:63: Error: ARM register expected -- `add x3,x3,:lo12:__rel_dyn_end'
  745. arch/arm/lib/relocate_64.S:65: Error: bad instruction `ldp x0,x1,[x2],#16'
  746. arch/arm/lib/relocate_64.S:66: Error: ARM register expected -- `ldr x4,[x2],#8'
  747. arch/arm/lib/relocate_64.S:67: Error: ARM register expected -- `and x1,x1,#0xffffffff'
  748. arch/arm/lib/relocate_64.S:68: Error: ARM register expected -- `cmp x1,#1027'
  749. arch/arm/lib/relocate_64.S:72: Error: ARM register expected -- `add x0,x0,x9'
  750. arch/arm/lib/relocate_64.S:73: Error: ARM register expected -- `add x4,x4,x9'
  751. arch/arm/lib/relocate_64.S:74: Error: ARM register expected -- `str x4,[x0]'
  752. arch/arm/lib/relocate_64.S:76: Error: ARM register expected -- `cmp x2,x3'
  753. arch/arm/lib/relocate_64.S:77: Error: unexpected character `l' in type specifier
  754. arch/arm/lib/relocate_64.S:77: Error: bad instruction `b.lo fixloop'
  755. arch/arm/lib/relocate_64.S:80: Error: ARM register expected -- `mrs x1,CurrentEL'
  756. arch/arm/lib/relocate_64.S:80: Error: ARM register expected -- `cmp x1,0xc'
  757. arch/arm/lib/relocate_64.S:80: Error: unexpected character `e' in type specifier
  758. arch/arm/lib/relocate_64.S:80: Error: bad instruction `b.eq 3f'
  759. arch/arm/lib/relocate_64.S:80: Error: ARM register expected -- `cmp x1,0x8'
  760. arch/arm/lib/relocate_64.S:80: Error: unexpected character `e' in type specifier
  761. arch/arm/lib/relocate_64.S:80: Error: bad instruction `b.eq 2f'
  762. arch/arm/lib/relocate_64.S:80: Error: ARM register expected -- `cmp x1,0x4'
  763. arch/arm/lib/relocate_64.S:80: Error: unexpected character `e' in type specifier
  764. arch/arm/lib/relocate_64.S:80: Error: bad instruction `b.eq 1f'
  765. arch/arm/lib/relocate_64.S:82: Error: ARM register expected -- `mrs x0,sctlr_el3'
  766. arch/arm/lib/relocate_64.S:84: Error: ARM register expected -- `mrs x0,sctlr_el2'
  767. arch/arm/lib/relocate_64.S:86: Error: ARM register expected -- `mrs x0,sctlr_el1'
  768. AS board/raspberrypi/rpi/lowlevel_init.o
  769. arch/arm/lib/relocate_64.S:87: Error: bad instruction `tbz w0,#2,5f'
  770. arch/arm/lib/relocate_64.S:88: Error: bad instruction `tbz w0,#12,4f'
  771. arch/arm/lib/relocate_64.S:89: Error: bad instruction `ic iallu'
  772. arch/arm/lib/relocate_64.S:91: Error: bad instruction `ldp x0,x1,[sp,#16]'
  773. arch/arm/lib/relocate_64.S:94: Error: bad instruction `ldp x29,x30,[sp],#32'
  774. arch/arm/lib/relocate_64.S:95: Error: bad instruction `ret'
  775. make[1]: *** [scripts/Makefile.build:289: arch/arm/lib/relocate_64.o] Error 1
  776. In file included from arch/arm/cpu/armv8/cache_v8.c:15:
  777. arch/arm/cpu/armv8/cache_v8.c: At top level:
  778. ./arch/arm/include/asm/global_data.h:122:58: error: invalid register name for ‘gd’
  779. 122 | #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  780. | ^~
  781. arch/arm/cpu/armv8/cache_v8.c:19:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  782. 19 | DECLARE_GLOBAL_DATA_PTR;
  783. | ^~~~~~~~~~~~~~~~~~~~~~~
  784. arch/arm/cpu/armv8/cache_v8.c: In function ‘find_pte’:
  785. arch/arm/cpu/armv8/cache_v8.c:139:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  786. 139 | pte = (u64*)(*pte & 0x0000fffffffff000ULL);
  787. | ^
  788. In file included from arch/arm/cpu/armv8/cache_v8.c:17:
  789. arch/arm/cpu/armv8/cache_v8.c: In function ‘mmu_setup’:
  790. ./arch/arm/include/asm/armv8/mmu.h:38:15: warning: left shift count >= width of type [-Wshift-count-overflow]
  791. 38 | (UL(0xff) << (MT_NORMAL * 8)))
  792. | ^~
  793. arch/arm/cpu/armv8/cache_v8.c:419:6: note: in expansion of macro ‘MEMORY_ATTRIBUTES’
  794. 419 | MEMORY_ATTRIBUTES);
  795. | ^~~~~~~~~~~~~~~~~
  796. arch/arm/cpu/armv8/cache_v8.c: In function ‘set_one_region’:
  797. ./arch/arm/include/asm/armv8/mmu.h:67:31: warning: left shift count >= width of type [-Wshift-count-overflow]
  798. 67 | #define PTE_BLOCK_PXN (UL(1) << 53)
  799. | ^~
  800. ./arch/arm/include/asm/armv8/mmu.h:75:24: note: in expansion of macro ‘PTE_BLOCK_PXN’
  801. 75 | #define PMD_ATTRMASK (PTE_BLOCK_PXN | \
  802. | ^~~~~~~~~~~~~
  803. arch/arm/cpu/armv8/cache_v8.c:531:13: note: in expansion of macro ‘PMD_ATTRMASK’
  804. 531 | *pte &= ~PMD_ATTRMASK;
  805. | ^~~~~~~~~~~~
  806. ./arch/arm/include/asm/armv8/mmu.h:68:31: warning: left shift count >= width of type [-Wshift-count-overflow]
  807. 68 | #define PTE_BLOCK_UXN (UL(1) << 54)
  808. | ^~
  809. ./arch/arm/include/asm/armv8/mmu.h:76:6: note: in expansion of macro ‘PTE_BLOCK_UXN’
  810. 76 | PTE_BLOCK_UXN | \
  811. | ^~~~~~~~~~~~~
  812. arch/arm/cpu/armv8/cache_v8.c:531:13: note: in expansion of macro ‘PMD_ATTRMASK’
  813. 531 | *pte &= ~PMD_ATTRMASK;
  814. | ^~~~~~~~~~~~
  815. In file included from ./arch/arm/include/asm/bitops.h:18,
  816. from include/linux/bitops.h:152,
  817. from include/log.h:15,
  818. from include/linux/printk.h:4,
  819. from include/linux/bug.h:7,
  820. from ./arch/arm/include/asm/arch/timer.h:11,
  821. from include/configs/rpi.h:10,
  822. from include/config.h:4,
  823. from include/common.h:16,
  824. from board/raspberrypi/rpi/rpi.c:6:
  825. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  826. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  827. 19 | word >>= 32;
  828. | ^~~
  829. ./arch/arm/include/asm/armv8/mmu.h:67:31: warning: left shift count >= width of type [-Wshift-count-overflow]
  830. 67 | #define PTE_BLOCK_PXN (UL(1) << 53)
  831. | ^~
  832. ./arch/arm/include/asm/armv8/mmu.h:75:24: note: in expansion of macro ‘PTE_BLOCK_PXN’
  833. 75 | #define PMD_ATTRMASK (PTE_BLOCK_PXN | \
  834. | ^~~~~~~~~~~~~
  835. arch/arm/cpu/armv8/cache_v8.c:532:20: note: in expansion of macro ‘PMD_ATTRMASK’
  836. 532 | *pte |= attrs & PMD_ATTRMASK;
  837. | ^~~~~~~~~~~~
  838. cc1: warning: unknown register name: x18
  839. make: *** [Makefile:1817: arch/arm/lib] Error 2
  840. make: *** Waiting for unfinished jobs....
  841. ./arch/arm/include/asm/armv8/mmu.h:68:31: warning: left shift count >= width of type [-Wshift-count-overflow]
  842. 68 | #define PTE_BLOCK_UXN (UL(1) << 54)
  843. | ^~
  844. ./arch/arm/include/asm/armv8/mmu.h:76:6: note: in expansion of macro ‘PTE_BLOCK_UXN’
  845. 76 | PTE_BLOCK_UXN | \
  846. | ^~~~~~~~~~~~~
  847. arch/arm/cpu/armv8/cache_v8.c:532:20: note: in expansion of macro ‘PMD_ATTRMASK’
  848. 532 | *pte |= attrs & PMD_ATTRMASK;
  849. | ^~~~~~~~~~~~
  850. CC arch/arm/mach-bcm283x/reset.o
  851. CC arch/arm/mach-bcm283x/mbox.o
  852. In file included from include/init.h:21,
  853. from arch/arm/mach-bcm283x/init.c:11:
  854. include/dm/of.h: At top level:
  855. In file included from arch/arm/cpu/armv8/generic_timer.c:11:
  856. arch/arm/cpu/armv8/generic_timer.c: At top level:
  857. ./arch/arm/include/asm/global_data.h:122:58: error: invalid register name for ‘gd’
  858. 122 | #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  859. | ^~
  860. arch/arm/cpu/armv8/generic_timer.c:15:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  861. 15 | DECLARE_GLOBAL_DATA_PTR;
  862. | ^~~~~~~~~~~~~~~~~~~~~~~
  863. cc1: warning: unknown register name: x18
  864. ./arch/arm/include/asm/global_data.h:122:58: error: invalid register name for ‘gd’
  865. 122 | #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  866. | ^~
  867. include/dm/of.h:86:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  868. 86 | DECLARE_GLOBAL_DATA_PTR;
  869. | ^~~~~~~~~~~~~~~~~~~~~~~
  870. make[1]: *** [scripts/Makefile.build:253: arch/arm/cpu/armv8/generic_timer.o] Error 1
  871. In file included from ./arch/arm/include/asm/bitops.h:19,
  872. from include/linux/bitops.h:152,
  873. from include/log.h:15,
  874. from include/linux/printk.h:4,
  875. from include/linux/bug.h:7,
  876. from ./arch/arm/include/asm/arch/timer.h:11,
  877. from include/configs/rpi.h:10,
  878. from include/config.h:4,
  879. from include/common.h:16,
  880. from board/raspberrypi/rpi/rpi.c:6:
  881. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  882. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  883. 17 | if (!(word & (~0ul << 32))) {
  884. | ^~
  885. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  886. 19 | word <<= 32;
  887. | ^~~
  888. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  889. 22 | if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  890. | ^~
  891. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  892. 26 | if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  893. | ^~
  894. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  895. 30 | if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  896. | ^~
  897. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  898. 34 | if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  899. | ^~
  900. make[1]: *** [scripts/Makefile.build:253: arch/arm/cpu/armv8/cache_v8.o] Error 1
  901. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  902. 38 | if (!(word & (~0ul << (BITS_PER_LONG-1))))
  903. | ^~
  904. CC arch/arm/mach-bcm283x/msg.o
  905. board/raspberrypi/rpi/lowlevel_init.S: CC arch/arm/mach-bcm283x/phys2bus.o
  906. Assembler messages:
  907. board/raspberrypi/rpi/lowlevel_init.S:19: Error: ARM register expected -- `adr x8,fw_dtb_pointer'
  908. board/raspberrypi/rpi/lowlevel_init.S:20: Error: ARM register expected -- `str x0,[x8]'
  909. cc1: warning: unknown register name: x18
  910. In file included from arch/arm/mach-bcm283x/init.c:20:
  911. ./arch/arm/include/asm/armv8/mmu.h:67:31: warning: left shift count >= width of type [-Wshift-count-overflow]
  912. 67 | #define PTE_BLOCK_PXN (UL(1) << 53)
  913. | ^~
  914. arch/arm/mach-bcm283x/init.c:37:5: note: in expansion of macro ‘PTE_BLOCK_PXN’
  915. 37 | PTE_BLOCK_PXN | PTE_BLOCK_UXN
  916. | ^~~~~~~~~~~~~
  917. make[1]: *** [scripts/Makefile.build:289: board/raspberrypi/rpi/lowlevel_init.o] Error 1
  918. make[1]: *** Waiting for unfinished jobs....
  919. ./arch/arm/include/asm/armv8/mmu.h:68:31: warning: left shift count >= width of type [-Wshift-count-overflow]
  920. 68 | #define PTE_BLOCK_UXN (UL(1) << 54)
  921. | ^~
  922. arch/arm/mach-bcm283x/init.c:37:21: note: in expansion of macro ‘PTE_BLOCK_UXN’
  923. 37 | PTE_BLOCK_PXN | PTE_BLOCK_UXN
  924. | ^~~~~~~~~~~~~
  925. ./arch/arm/include/asm/armv8/mmu.h:67:31: warning: left shift count >= width of type [-Wshift-count-overflow]
  926. 67 | #define PTE_BLOCK_PXN (UL(1) << 53)
  927. | ^~
  928. arch/arm/mach-bcm283x/init.c:57:5: note: in expansion of macro ‘PTE_BLOCK_PXN’
  929. 57 | PTE_BLOCK_PXN | PTE_BLOCK_UXN
  930. | ^~~~~~~~~~~~~
  931. ./arch/arm/include/asm/armv8/mmu.h:68:31: warning: left shift count >= width of type [-Wshift-count-overflow]
  932. 68 | #define PTE_BLOCK_UXN (UL(1) << 54)
  933. | ^~
  934. arch/arm/mach-bcm283x/init.c:57:21: note: in expansion of macro ‘PTE_BLOCK_UXN’
  935. 57 | PTE_BLOCK_PXN | PTE_BLOCK_UXN
  936. | ^~~~~~~~~~~~~
  937. cc1: warning: unknown register name: x18
  938. {standard input}: Assembler messages:
  939. {standard input}:36: Error: unexpected character `n' in type specifier
  940. {standard input}:36: Error: bad instruction `b.ne 1b'
  941. ./arch/arm/include/asm/armv8/mmu.h:67:31: warning: left shift count >= width of type [-Wshift-count-overflow]
  942. 67 | #define PTE_BLOCK_PXN (UL(1) << 53)
  943. | ^~
  944. arch/arm/mach-bcm283x/init.c:64:5: note: in expansion of macro ‘PTE_BLOCK_PXN’
  945. 64 | PTE_BLOCK_PXN | PTE_BLOCK_UXN
  946. | ^~~~~~~~~~~~~
  947. ./arch/arm/include/asm/armv8/mmu.h:68:31: warning: left shift count >= width of type [-Wshift-count-overflow]
  948. 68 | #define PTE_BLOCK_UXN (UL(1) << 54)
  949. | ^~
  950. arch/arm/mach-bcm283x/init.c:64:21: note: in expansion of macro ‘PTE_BLOCK_UXN’
  951. 64 | PTE_BLOCK_PXN | PTE_BLOCK_UXN
  952. | ^~~~~~~~~~~~~
  953. cc1: warning: unknown register name: x18
  954. In file included from ./arch/arm/include/asm/bitops.h:18,
  955. from include/linux/bitops.h:152,
  956. from include/log.h:15,
  957. from include/linux/printk.h:4,
  958. from include/linux/bug.h:7,
  959. from ./arch/arm/include/asm/arch/timer.h:11,
  960. from include/configs/rpi.h:10,
  961. from include/config.h:4,
  962. from include/common.h:16,
  963. from arch/arm/mach-bcm283x/reset.c:9:
  964. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  965. make[1]: *** [scripts/Makefile.build:253: arch/arm/cpu/armv8/cpu.o] Error 1
  966. make[1]: *** [scripts/Makefile.build:254: arch/arm/mach-bcm283x/init.o] Error 1
  967. make[1]: *** Waiting for unfinished jobs....
  968. make: *** [Makefile:1817: arch/arm/cpu/armv8] Error 2
  969. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  970. 19 | word >>= 32;
  971. | ^~~
  972. In file included from ./arch/arm/include/asm/bitops.h:19,
  973. from include/linux/bitops.h:152,
  974. from include/log.h:15,
  975. from include/linux/printk.h:4,
  976. from include/linux/bug.h:7,
  977. from ./arch/arm/include/asm/arch/timer.h:11,
  978. from include/configs/rpi.h:10,
  979. from include/config.h:4,
  980. from include/common.h:16,
  981. from arch/arm/mach-bcm283x/reset.c:9:
  982. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  983. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  984. 17 | if (!(word & (~0ul << 32))) {
  985. | ^~
  986. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  987. 19 | word <<= 32;
  988. | ^~~
  989. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  990. 22 | if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  991. | ^~
  992. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  993. 26 | if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  994. | ^~
  995. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  996. 30 | if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  997. | ^~
  998. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  999. 34 | if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  1000. | ^~
  1001. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1002. 38 | if (!(word & (~0ul << (BITS_PER_LONG-1))))
  1003. | ^~
  1004. In file included from ./arch/arm/include/asm/bitops.h:18,
  1005. from include/linux/bitops.h:152,
  1006. from include/log.h:15,
  1007. from include/linux/printk.h:4,
  1008. from include/linux/bug.h:7,
  1009. from ./arch/arm/include/asm/arch/timer.h:11,
  1010. from include/configs/rpi.h:10,
  1011. from include/config.h:4,
  1012. from include/common.h:16,
  1013. from arch/arm/mach-bcm283x/mbox.c:6:
  1014. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  1015. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  1016. 19 | word >>= 32;
  1017. | ^~~
  1018. In file included from ./arch/arm/include/asm/bitops.h:19,
  1019. from include/linux/bitops.h:152,
  1020. from include/log.h:15,
  1021. from include/linux/printk.h:4,
  1022. from include/linux/bug.h:7,
  1023. from ./arch/arm/include/asm/arch/timer.h:11,
  1024. from include/configs/rpi.h:10,
  1025. from include/config.h:4,
  1026. from include/common.h:16,
  1027. from arch/arm/mach-bcm283x/mbox.c:6:
  1028. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  1029. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1030. 17 | if (!(word & (~0ul << 32))) {
  1031. | ^~
  1032. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  1033. 19 | word <<= 32;
  1034. | ^~~
  1035. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1036. 22 | if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  1037. | ^~
  1038. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1039. 26 | if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  1040. | ^~
  1041. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1042. 30 | if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  1043. | ^~
  1044. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1045. 34 | if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  1046. | ^~
  1047. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1048. 38 | if (!(word & (~0ul << (BITS_PER_LONG-1))))
  1049. | ^~
  1050. In file included from ./arch/arm/include/asm/bitops.h:18,
  1051. from include/linux/bitops.h:152,
  1052. from include/log.h:15,
  1053. from include/linux/printk.h:4,
  1054. from include/linux/bug.h:7,
  1055. from ./arch/arm/include/asm/arch/timer.h:11,
  1056. from include/configs/rpi.h:10,
  1057. from include/config.h:4,
  1058. from include/common.h:16,
  1059. from arch/arm/mach-bcm283x/msg.c:6:
  1060. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  1061. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  1062. 19 | word >>= 32;
  1063. | ^~~
  1064. In file included from ./arch/arm/include/asm/bitops.h:19,
  1065. from include/linux/bitops.h:152,
  1066. from include/log.h:15,
  1067. from include/linux/printk.h:4,
  1068. from include/linux/bug.h:7,
  1069. from ./arch/arm/include/asm/arch/timer.h:11,
  1070. from include/configs/rpi.h:10,
  1071. from include/config.h:4,
  1072. from include/common.h:16,
  1073. from arch/arm/mach-bcm283x/msg.c:6:
  1074. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  1075. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1076. 17 | if (!(word & (~0ul << 32))) {
  1077. | ^~
  1078. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  1079. 19 | word <<= 32;
  1080. | ^~~
  1081. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1082. 22 | if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  1083. | ^~
  1084. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1085. 26 | if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  1086. | ^~
  1087. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1088. 30 | if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  1089. | ^~
  1090. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1091. 34 | if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  1092. | ^~
  1093. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1094. 38 | if (!(word & (~0ul << (BITS_PER_LONG-1))))
  1095. | ^~
  1096. In file included from ./arch/arm/include/asm/bitops.h:18,
  1097. from include/linux/bitops.h:152,
  1098. from include/log.h:15,
  1099. from include/linux/printk.h:4,
  1100. from include/linux/bug.h:7,
  1101. from ./arch/arm/include/asm/arch/timer.h:11,
  1102. from include/configs/rpi.h:10,
  1103. from include/config.h:4,
  1104. from arch/arm/mach-bcm283x/phys2bus.c:6:
  1105. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  1106. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  1107. 19 | word >>= 32;
  1108. | ^~~
  1109. In file included from ./arch/arm/include/asm/bitops.h:19,
  1110. from include/linux/bitops.h:152,
  1111. from include/log.h:15,
  1112. from include/linux/printk.h:4,
  1113. from include/linux/bug.h:7,
  1114. from ./arch/arm/include/asm/arch/timer.h:11,
  1115. from include/configs/rpi.h:10,
  1116. from include/config.h:4,
  1117. from arch/arm/mach-bcm283x/phys2bus.c:6:
  1118. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  1119. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1120. 17 | if (!(word & (~0ul << 32))) {
  1121. | ^~
  1122. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  1123. 19 | word <<= 32;
  1124. | ^~~
  1125. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1126. 22 | if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  1127. | ^~
  1128. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1129. 26 | if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  1130. | ^~
  1131. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1132. 30 | if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  1133. | ^~
  1134. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1135. 34 | if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  1136. | ^~
  1137. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1138. 38 | if (!(word & (~0ul << (BITS_PER_LONG-1))))
  1139. | ^~
  1140. In file included from include/dm/of.h:11,
  1141. from include/dm/ofnode.h:12,
  1142. from include/dm/device.h:13,
  1143. from include/dm.h:13,
  1144. from board/raspberrypi/rpi/rpi.c:8:
  1145. include/dm/of.h: At top level:
  1146. ./arch/arm/include/asm/global_data.h:122:58: error: invalid register name for ‘gd’
  1147. 122 | #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  1148. | ^~
  1149. include/dm/of.h:86:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  1150. 86 | DECLARE_GLOBAL_DATA_PTR;
  1151. | ^~~~~~~~~~~~~~~~~~~~~~~
  1152. In file included from include/dm/of.h:11,
  1153. from include/dm/ofnode.h:12,
  1154. from include/dm/device.h:13,
  1155. from include/phys2bus.h:25,
  1156. from arch/arm/mach-bcm283x/msg.c:8:
  1157. include/dm/of.h: At top level:
  1158. ./arch/arm/include/asm/global_data.h:122:58: error: invalid register name for ‘gd’
  1159. 122 | #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  1160. | ^~
  1161. include/dm/of.h:86:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  1162. 86 | DECLARE_GLOBAL_DATA_PTR;
  1163. | ^~~~~~~~~~~~~~~~~~~~~~~
  1164. In file included from include/dm/of.h:11,
  1165. from include/dm/ofnode.h:12,
  1166. from include/dm/device.h:13,
  1167. from include/phys2bus.h:25,
  1168. from arch/arm/mach-bcm283x/mbox.c:13:
  1169. include/dm/of.h: At top level:
  1170. ./arch/arm/include/asm/global_data.h:122:58: error: invalid register name for ‘gd’
  1171. 122 | #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  1172. | ^~
  1173. include/dm/of.h:86:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  1174. 86 | DECLARE_GLOBAL_DATA_PTR;
  1175. | ^~~~~~~~~~~~~~~~~~~~~~~
  1176. make[1]: *** [scripts/Makefile.build:254: arch/arm/mach-bcm283x/msg.o] Error 1
  1177. In file included from include/dm/of.h:11,
  1178. from include/dm/ofnode.h:12,
  1179. from include/dm/device.h:13,
  1180. from include/phys2bus.h:25,
  1181. from arch/arm/mach-bcm283x/phys2bus.c:7:
  1182. include/dm/of.h: At top level:
  1183. ./arch/arm/include/asm/global_data.h:122:58: error: invalid register name for ‘gd’
  1184. 122 | #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  1185. | ^~
  1186. include/dm/of.h:86:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  1187. 86 | DECLARE_GLOBAL_DATA_PTR;
  1188. | ^~~~~~~~~~~~~~~~~~~~~~~
  1189. make[1]: *** [scripts/Makefile.build:254: arch/arm/mach-bcm283x/mbox.o] Error 1
  1190. make[1]: *** [scripts/Makefile.build:254: arch/arm/mach-bcm283x/phys2bus.o] Error 1
  1191. ./arch/arm/include/asm/global_data.h:122:58: error: invalid register name for ‘gd’
  1192. 122 | #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  1193. | ^~
  1194. board/raspberrypi/rpi/rpi.c:29:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  1195. 29 | DECLARE_GLOBAL_DATA_PTR;
  1196. | ^~~~~~~~~~~~~~~~~~~~~~~
  1197. make[1]: *** [scripts/Makefile.build:254: board/raspberrypi/rpi/rpi.o] Error 1
  1198. make: *** [Makefile:1817: board/raspberrypi/rpi] Error 2
  1199. make: *** [Makefile:1817: arch/arm/mach-bcm283x] Error 2
  1200.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement