Guest User

Untitled

a guest
Aug 1st, 2024
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 39.90 KB | None | 0 0
  1. ./build.sh
  2. + '[' -z ']'
  3. + git -C . rev-parse
  4. ++ git log -1 --format=%ct
  5. + export SOURCE_DATE_EPOCH=1721341923
  6. + SOURCE_DATE_EPOCH=1721341923
  7. + export CROSS_COMPILE=aarch64-linux-gnu-
  8. + CROSS_COMPILE=aarch64-linux-gnu-
  9. + export ARCH=arm
  10. + ARCH=arm
  11. + export KBUILD_NOCMDDEP=1
  12. + KBUILD_NOCMDDEP=1
  13. ++ nproc
  14. + make -j80 flash.bin
  15. HOSTCC scripts/basic/fixdep
  16. HOSTCC scripts/kconfig/conf.o
  17. YACC scripts/kconfig/zconf.tab.c
  18. LEX scripts/kconfig/zconf.lex.c
  19. HOSTCC scripts/kconfig/zconf.tab.o
  20. HOSTLD scripts/kconfig/conf
  21. scripts/kconfig/conf --syncconfig Kconfig
  22. #
  23. # configuration written to .config
  24. #
  25. CHK include/config.h
  26. UPD include/config.h
  27. CFG u-boot.cfg
  28. GEN include/autoconf.mk.dep
  29. CFG spl/u-boot.cfg
  30. GEN include/autoconf.mk
  31. GEN spl/include/autoconf.mk
  32. CHK include/config/uboot.release
  33. CHK include/generated/timestamp_autogenerated.h
  34. UPD include/generated/timestamp_autogenerated.h
  35. HOSTCC scripts/dtc/dtc.o
  36. HOSTCC scripts/dtc/flattree.o
  37. HOSTCC scripts/dtc/fstree.o
  38. HOSTCC scripts/dtc/data.o
  39. HOSTCC scripts/dtc/livetree.o
  40. HOSTCC scripts/dtc/treesource.o
  41. HOSTCC scripts/dtc/srcpos.o
  42. HOSTCC scripts/dtc/checks.o
  43. HOSTCC scripts/dtc/util.o
  44. LEX scripts/dtc/dtc-lexer.lex.c
  45. YACC scripts/dtc/dtc-parser.tab.h
  46. YACC scripts/dtc/dtc-parser.tab.c
  47. HOSTCC scripts/dtc/dtc-lexer.lex.o
  48. HOSTCC scripts/dtc/dtc-parser.tab.o
  49. UPD include/config/uboot.release
  50. CHK include/generated/version_autogenerated.h
  51. UPD include/generated/version_autogenerated.h
  52. CC lib/asm-offsets.s
  53. CC arch/arm/lib/asm-offsets.s
  54. CHK include/generated/asm-offsets.h
  55. CHK include/generated/generic-asm-offsets.h
  56. UPD include/generated/asm-offsets.h
  57. UPD include/generated/generic-asm-offsets.h
  58. HOSTLD scripts/dtc/dtc
  59. LDS u-boot.lds
  60. HOSTCC tools/bmp_logo
  61. HOSTCC tools/gen_eth_addr
  62. HOSTCC tools/gen_ethaddr_crc.o
  63. WRAP tools/lib/crc8.c
  64. HOSTCC tools/img2srec
  65. HOSTCC tools/mkenvimage.o
  66. HOSTCC tools/os_support.o
  67. WRAP tools/lib/crc32.c
  68. HOSTCC tools/aisimage.o
  69. HOSTCC tools/atmelimage.o
  70. WRAP tools/common/bootm.c
  71. HOSTCC tools/default_image.o
  72. WRAP tools/lib/fdtdec_common.c
  73. WRAP tools/lib/fdtdec.c
  74. HOSTCC tools/fit_common.o
  75. HOSTCC tools/fit_image.o
  76. WRAP tools/common/image-fit.c
  77. HOSTCC tools/image-host.o
  78. WRAP tools/common/image.c
  79. HOSTCC tools/imagetool.o
  80. HOSTCC tools/imximage.o
  81. HOSTCC tools/imx8image.o
  82. HOSTCC tools/imx8mimage.o
  83. HOSTCC tools/kwbimage.o
  84. WRAP tools/lib/md5.c
  85. HOSTCC tools/lpc32xximage.o
  86. HOSTCC tools/mxsimage.o
  87. HOSTCC tools/omapimage.o
  88. HOSTCC tools/pblimage.o
  89. HOSTCC tools/pbl_crc32.o
  90. HOSTCC tools/vybridimage.o
  91. HOSTCC tools/stm32image.o
  92. WRAP tools/lib/rc4.c
  93. HOSTCC tools/rkcommon.o
  94. HOSTCC tools/rkimage.o
  95. HOSTCC tools/rksd.o
  96. HOSTCC tools/rkspi.o
  97. HOSTCC tools/socfpgaimage.o
  98. WRAP tools/lib/sha1.c
  99. WRAP tools/lib/sha256.c
  100. WRAP tools/common/hash.c
  101. HOSTCC tools/ublimage.o
  102. HOSTCC tools/zynqimage.o
  103. HOSTCC tools/zynqmpimage.o
  104. HOSTCC tools/zynqmpbif.o
  105. HOSTCC tools/libfdt/fdt.o
  106. HOSTCC tools/libfdt/fdt_wip.o
  107. HOSTCC tools/libfdt/fdt_sw.o
  108. HOSTCC tools/libfdt/fdt_rw.o
  109. HOSTCC tools/libfdt/fdt_strerror.o
  110. HOSTCC tools/libfdt/fdt_empty_tree.o
  111. HOSTCC tools/libfdt/fdt_addresses.o
  112. HOSTCC tools/libfdt/fdt_overlay.o
  113. WRAP tools/lib/libfdt/fdt_ro.c
  114. WRAP tools/lib/libfdt/fdt_region.c
  115. HOSTCC tools/gpimage.o
  116. HOSTCC tools/gpimage-common.o
  117. HOSTCC tools/dumpimage.o
  118. HOSTCC tools/mkimage.o
  119. HOSTCC tools/proftool
  120. HOSTCC tools/relocate-rela
  121. HOSTCC tools/fdtgrep.o
  122. HOSTCC tools/lib/crc8.o
  123. HOSTCC tools/lib/crc32.o
  124. HOSTCC tools/common/bootm.o
  125. HOSTCC tools/lib/fdtdec_common.o
  126. HOSTCC tools/lib/fdtdec.o
  127. HOSTCC tools/common/image-fit.o
  128. HOSTCC tools/common/image.o
  129. HOSTCC tools/lib/md5.o
  130. HOSTCC tools/lib/rc4.o
  131. HOSTCC tools/lib/sha1.o
  132. HOSTCC tools/lib/sha256.o
  133. HOSTCC tools/common/hash.o
  134. HOSTCC tools/lib/libfdt/fdt_ro.o
  135. HOSTCC tools/lib/libfdt/fdt_region.o
  136. tools/imx8mimage.c: In function ‘copy_file.constprop’:
  137. tools/imx8mimage.c:292:21: warning: ‘write’ reading 5 bytes from a region of size 4 [-Wstringop-overread]
  138. 292 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) {
  139. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  140. tools/imx8mimage.c:250:13: note: source object ‘zero’ of size 4
  141. 250 | int zero = 0;
  142. | ^~~~
  143. In file included from tools/imagetool.h:21,
  144. from tools/imx8mimage.c:9:
  145. /usr/include/unistd.h:378:16: note: in a call to function ‘write’ declared with attribute ‘access (read_only, 2, 3)’
  146. 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur
  147. | ^~~~~
  148. In file included from tools/default_image.c:19:
  149. In function ‘image_set_name’,
  150. inlined from ‘image_set_header’ at tools/default_image.c:130:2:
  151. include/image.h:801:9: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
  152. 801 | strncpy(image_get_name(hdr), name, IH_NMLEN);
  153. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  154. HOSTLD tools/gen_ethaddr_crc
  155. tools/bmp_logo --gen-info ./tools/logos/mntre.bmp > include/bmp_logo.h
  156. tools/bmp_logo --gen-data ./tools/logos/mntre.bmp > include/bmp_logo_data.h
  157. tools/imx8image.c: In function ‘copy_file.constprop’:
  158. tools/imx8image.c:400:21: warning: ‘write’ reading 5 bytes from a region of size 4 [-Wstringop-overread]
  159. 400 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) {
  160. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  161. tools/imx8image.c:360:13: note: source object ‘zero’ of size 4
  162. 360 | int zero = 0;
  163. | ^~~~
  164. In file included from ./tools/imagetool.h:21,
  165. from include/imx8image.h:13,
  166. from tools/imx8image.c:8:
  167. /usr/include/unistd.h:378:16: note: in a call to function ‘write’ declared with attribute ‘access (read_only, 2, 3)’
  168. 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur
  169. | ^~~~~
  170. HOSTLD tools/mkenvimage
  171. In file included from tools/common/image-fit.c:1:
  172. ./tools/../common/image-fit.c: In function ‘fit_image_get_data_and_size’:
  173. ./tools/../common/image-fit.c:983:23: warning: ‘len’ may be used uninitialized [-Wmaybe-uninitialized]
  174. 983 | *size = len;
  175. | ~~~~~~^~~~~
  176. ./tools/../common/image-fit.c:964:13: note: ‘len’ was declared here
  177. 964 | int len;
  178. | ^~~
  179. HOSTLD tools/fdtgrep
  180. HOSTLD tools/dumpimage
  181. HOSTLD tools/mkimage
  182. LD arch/arm/cpu/built-in.o
  183. CC board/boundary/common/eth.o
  184. CC arch/arm/cpu/armv8/cpu.o
  185. CC arch/arm/cpu/armv8/generic_timer.o
  186. CC arch/arm/cpu/armv8/cache_v8.o
  187. AS arch/arm/cpu/armv8/exceptions.o
  188. AS arch/arm/cpu/armv8/cache.o
  189. AS arch/arm/cpu/armv8/tlb.o
  190. AS arch/arm/cpu/armv8/transition.o
  191. CC board/boundary/nitrogen8m_som/nitrogen8m_som.o
  192. CC arch/arm/cpu/armv8/fwcall.o
  193. CC board/boundary/nitrogen8m_som/mmc.o
  194. CC arch/arm/cpu/armv8/cpu-dt.o
  195. CC board/boundary/nitrogen8m_som/lcdif.o
  196. AS arch/arm/cpu/armv8/start.o
  197. AS arch/arm/lib/crt0_64.o
  198. AS arch/arm/lib/setjmp_aarch64.o
  199. AS arch/arm/lib/relocate_64.o
  200. CC arch/arm/lib/bootm-fdt.o
  201. CC arch/arm/lib/bootm.o
  202. CC arch/arm/lib/image.o
  203. CC disk/part.o
  204. CC arch/arm/lib/sections.o
  205. CC disk/part_dos.o
  206. CC arch/arm/lib/stack.o
  207. CC disk/part_efi.o
  208. CC arch/arm/lib/interrupts_64.o
  209. LD drivers/dma/built-in.o
  210. CC arch/arm/lib/reset.o
  211. CC arch/arm/lib/cache.o
  212. CC arch/arm/lib/psci-dt.o
  213. AR arch/arm/lib/lib.a
  214. AS arch/arm/lib/crt0_aarch64_efi.o
  215. CC arch/arm/lib/reloc_aarch64_efi.o
  216. CC drivers/gpio/gpio-uclass.o
  217. CC drivers/gpio/mxc_gpio.o
  218. CC drivers/i2c/i2c-uclass.o
  219. CC arch/arm/mach-imx/iomux-v3.o
  220. CC drivers/i2c/mxc_i2c.o
  221. LD drivers/mtd/built-in.o
  222. CC arch/arm/mach-imx/imx_bootaux.o
  223. CC arch/arm/mach-imx/mac.o
  224. LD drivers/mtd/onenand/built-in.o
  225. CC arch/arm/mach-imx/i2c-mxv7.o
  226. CC arch/arm/mach-imx/cpu.o
  227. CC arch/arm/mach-imx/misc.o
  228. CC arch/arm/mach-imx/sip.o
  229. CC drivers/net/fec_mxc.o
  230. CC drivers/mtd/spi/sf_probe.o
  231. CC drivers/mtd/spi/spi_flash.o
  232. CC drivers/mtd/spi/spi_flash_ids.o
  233. LD drivers/pci/built-in.o
  234. CC drivers/mtd/spi/sf.o
  235. CC drivers/net/phy/phy.o
  236. CC drivers/net/phy/atheros.o
  237. AS arch/arm/mach-imx/imx8m/lowlevel_init.o
  238. CC arch/arm/mach-imx/imx8m/clock_slice.o
  239. LD drivers/power/built-in.o
  240. CC arch/arm/mach-imx/imx8m/soc.o
  241. CC arch/arm/mach-imx/imx8m/clock_imx8mq.o
  242. LD drivers/power/battery/built-in.o
  243. LD drivers/power/domain/built-in.o
  244. LD drivers/power/fuel_gauge/built-in.o
  245. LD drivers/power/mfd/built-in.o
  246. LD drivers/adc/built-in.o
  247. LD drivers/ata/built-in.o
  248. LD drivers/power/pmic/built-in.o
  249. LD drivers/dfu/built-in.o
  250. LD drivers/firmware/built-in.o
  251. CC common/main.o
  252. CC common/exports.o
  253. LD drivers/memory/built-in.o
  254. CC drivers/block/blk-uclass.o
  255. LD drivers/mailbox/built-in.o
  256. CC common/hash.o
  257. CC drivers/block/blkcache.o
  258. CC common/cli_hush.o
  259. LD drivers/pcmcia/built-in.o
  260. CC drivers/misc/mxc_ocotp.o
  261. CC common/autoboot.o
  262. LD drivers/phy/allwinner/built-in.o
  263. CC common/board_f.o
  264. LD drivers/phy/marvell/built-in.o
  265. CC drivers/input/keyboard-uclass.o
  266. CC drivers/fastboot/fb_common.o
  267. LD drivers/pwm/built-in.o
  268. LD drivers/crypto/rsa_mod_exp/built-in.o
  269. CC drivers/power/regulator/regulator-uclass.o
  270. CC common/init/board_init.o
  271. CC drivers/input/input.o
  272. CC drivers/serial/serial.o
  273. CC drivers/crypto/fsl/sec.o
  274. CC drivers/power/regulator/fixed.o
  275. LD drivers/soc/built-in.o
  276. CC cmd/boot.o
  277. LD drivers/scsi/built-in.o
  278. CC drivers/input/key_matrix.o
  279. LD drivers/sound/built-in.o
  280. CC drivers/rtc/date.o
  281. CC drivers/serial/serial_mxc.o
  282. LD drivers/reset/built-in.o
  283. CC drivers/mmc/mmc.o
  284. CC drivers/usb/common/common.o
  285. LD drivers/sysreset/built-in.o
  286. LD drivers/spmi/built-in.o
  287. CC drivers/mmc/mmc-uclass.o
  288. CC drivers/pinctrl/pinctrl-generic.o
  289. CC drivers/pinctrl/pinctrl-uclass.o
  290. CC drivers/spi/spi.o
  291. CC drivers/power/regulator/gpio-regulator.o
  292. CC drivers/core/device.o
  293. CC cmd/bootm.o
  294. CC drivers/usb/dwc3/core.o
  295. LD drivers/tpm/built-in.o
  296. LD drivers/pinctrl/broadcom/built-in.o
  297. CC drivers/fastboot/fb_getvar.o
  298. CC drivers/thermal/thermal-uclass.o
  299. CC common/board_r.o
  300. CC drivers/usb/dwc3/gadget.o
  301. CC drivers/core/fdtaddr.o
  302. CC drivers/fastboot/fb_command.o
  303. LD drivers/usb/emul/built-in.o
  304. CC drivers/mmc/mmc_write.o
  305. CC drivers/video/cfb_console.o
  306. CC drivers/mmc/mmc_boot.o
  307. CC cmd/help.o
  308. disk/part_efi.c: In function ‘gpt_verify_partitions’:
  309. disk/part_efi.c:732:63: warning: taking address of packed member of ‘struct _gpt_entry’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  310. 732 | gpt_convert_efi_name_to_char(efi_str, gpt_e[i].partition_name,
  311. | ~~~~~~~~^~~~~~~~~~~~~~~
  312. LD drivers/watchdog/built-in.o
  313. CC drivers/usb/dwc3/ep0.o
  314. CC common/board_info.o
  315. CC drivers/fastboot/fb_mmc.o
  316. CC drivers/core/lists.o
  317. CC common/bootm.o
  318. arch/arm/mach-imx/imx8m/clock_imx8mq.c:928:5: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  319. 928 | int mx8mq_showclocks() {
  320. | ^~~~~~~~~~~~~~~~
  321. CC drivers/core/root.o
  322. CC common/bootm_os.o
  323. CC common/fdt_support.o
  324. CC drivers/core/uclass.o
  325. CC drivers/pinctrl/nxp/pinctrl-imx.o
  326. LD drivers/crypto/fsl/built-in.o
  327. LD drivers/video/bridge/built-in.o
  328. LD drivers/rtc/built-in.o
  329. In file included from arch/arm/mach-imx/imx8m/soc.c:10:
  330. arch/arm/mach-imx/imx8m/soc.c: In function ‘get_cpu_rev’:
  331. ./arch/arm/include/asm/io.h:44:42: warning: array subscript 0 is outside array bounds of ‘volatile unsigned int[0]’ [-Warray-bounds=]
  332. 44 | #define __arch_getl(a) (*(volatile unsigned int *)(a))
  333. | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  334. ./arch/arm/include/asm/io.h:122:38: note: in expansion of macro ‘__arch_getl’
  335. 122 | #define readl(c) ({ u32 __v = __arch_getl(c); __iormb(); __v; })
  336. | ^~~~~~~~~~~
  337. arch/arm/mach-imx/imx8m/soc.c:204:41: note: in expansion of macro ‘readl’
  338. 204 | readl((void __iomem *)ROM_VERSION_A0);
  339. | ^~~~~
  340. cc1: note: source object is likely at address zero
  341. ./arch/arm/include/asm/io.h:44:42: warning: array subscript 0 is outside array bounds of ‘volatile unsigned int[0]’ [-Warray-bounds=]
  342. 44 | #define __arch_getl(a) (*(volatile unsigned int *)(a))
  343. | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  344. ./arch/arm/include/asm/io.h:122:38: note: in expansion of macro ‘__arch_getl’
  345. 122 | #define readl(c) ({ u32 __v = __arch_getl(c); __iormb(); __v; })
  346. | ^~~~~~~~~~~
  347. arch/arm/mach-imx/imx8m/soc.c:206:55: note: in expansion of macro ‘readl’
  348. 206 | rom_version = readl((void __iomem *)ROM_VERSION_B0) & 0xff;
  349. | ^~~~~
  350. cc1: note: source object is likely at address zero
  351. CC drivers/mmc/fsl_esdhc_imx.o
  352. CC cmd/version.o
  353. LD drivers/crypto/built-in.o
  354. CC drivers/core/util.o
  355. CC drivers/core/devres.o
  356. CC common/miiphyutil.o
  357. CC common/usb.o
  358. CC drivers/usb/eth/usb_ether.o
  359. LD drivers/video/imx/built-in.o
  360. CC cmd/blk_common.o
  361. CC cmd/source.o
  362. CC drivers/usb/gadget/udc/udc-core.o
  363. CC drivers/pinctrl/nxp/pinctrl-imx8m.o
  364. LD common/init/built-in.o
  365. CC drivers/usb/eth/asix.o
  366. CC common/usb_hub.o
  367. CC cmd/bdinfo.o
  368. arch/arm/mach-imx/cpu.c: In function ‘get_boot_device’:
  369. arch/arm/mach-imx/cpu.c:460:25: warning: array subscript 0 is outside array bounds of ‘struct bootrom_sw_info *[0]’ [-Warray-bounds=]
  370. 460 | u8 boot_type = (*p)->boot_dev_type;
  371. | ~^~~
  372. cc1: note: source object is likely at address zero
  373. cc1: note: source object is likely at address zero
  374. LD drivers/usb/common/built-in.o
  375. LD drivers/spi/built-in.o
  376. CC drivers/usb/gadget/epautoconf.o
  377. LD arch/arm/lib/built-in.o
  378. CC common/usb_storage.o
  379. CC drivers/mmc/rpmb.o
  380. LD board/boundary/common/built-in.o
  381. CC drivers/core/device-remove.o
  382. LD drivers/thermal/built-in.o
  383. CC drivers/core/simple-bus.o
  384. LD drivers/video/sunxi/built-in.o
  385. CC common/iomux.o
  386. CC drivers/usb/eth/mcs7830.o
  387. CC cmd/blkcache.o
  388. CC drivers/usb/gadget/config.o
  389. CC drivers/usb/eth/smsc95xx.o
  390. CC drivers/core/dump.o
  391. CC common/splash.o
  392. CC drivers/core/of_extra.o
  393. CC drivers/usb/gadget/usbstring.o
  394. CC common/menu.o
  395. CC cmd/bmp.o
  396. CC common/usb_kbd.o
  397. CC common/cli_readline.o
  398. LD drivers/misc/built-in.o
  399. CC drivers/core/ofnode.o
  400. CC drivers/usb/gadget/g_dnl.o
  401. CC common/cli_simple.o
  402. CC drivers/usb/host/usb-uclass.o
  403. CC cmd/bootefi.o
  404. CC cmd/bootmenu.o
  405. LD drivers/usb/musb/built-in.o
  406. CC drivers/core/read_extra.o
  407. CC drivers/usb/host/xhci.o
  408. CC common/console.o
  409. CC common/dlmalloc.o
  410. CC drivers/usb/gadget/f_mass_storage.o
  411. CC drivers/usb/host/xhci-mem.o
  412. CC cmd/booti.o
  413. CC drivers/usb/host/xhci-ring.o
  414. LD drivers/usb/phy/built-in.o
  415. LD drivers/usb/ulpi/built-in.o
  416. CC common/malloc_simple.o
  417. CC drivers/usb/host/xhci-dwc3.o
  418. LD drivers/serial/built-in.o
  419. CC common/image.o
  420. CC env/common.o
  421. CC cmd/cache.o
  422. CC cmd/console.o
  423. CC drivers/usb/gadget/f_fastboot.o
  424. CC cmd/echo.o
  425. CC env/env.o
  426. CC common/image-fdt.o
  427. CC drivers/usb/host/xhci-imx8m.o
  428. CC fs/fs.o
  429. CC common/image-fit.o
  430. LD drivers/usb/musb-new/built-in.o
  431. CC cmd/elf.o
  432. CC cmd/exit.o
  433. CC drivers/usb/gadget/ether.o
  434. CC common/memsize.o
  435. CC fs/fat/fat.o
  436. CC cmd/ext4.o
  437. LD drivers/mtd/spi/built-in.o
  438. LD arch/arm/mach-imx/imx8m/built-in.o
  439. CC fs/ext4/ext4fs.o
  440. LD drivers/power/regulator/built-in.o
  441. CC cmd/ext2.o
  442. LD drivers/usb/gadget/udc/built-in.o
  443. In file included from drivers/usb/gadget/g_dnl.c:24:
  444. drivers/usb/gadget/composite.c: In function ‘get_string’:
  445. drivers/usb/gadget/composite.c:545:44: warning: taking address of packed member of ‘struct usb_string_descriptor’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  446. 545 | collect_langs(sp, s->wData);
  447. | ~^~~~~~~
  448. drivers/usb/gadget/composite.c:550:52: warning: taking address of packed member of ‘struct usb_string_descriptor’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  449. 550 | collect_langs(sp, s->wData);
  450. | ~^~~~~~~
  451. drivers/usb/gadget/composite.c:555:60: warning: taking address of packed member of ‘struct usb_string_descriptor’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  452. 555 | collect_langs(sp, s->wData);
  453. | ~^~~~~~~
  454. LD arch/arm/cpu/armv8/built-in.o
  455. CC env/attr.o
  456. LD drivers/fastboot/built-in.o
  457. CC fs/fs_internal.o
  458. LD arch/arm/mach-imx/built-in.o
  459. CC common/stdio.o
  460. CC fs/ext4/ext4_common.o
  461. LD drivers/i2c/built-in.o
  462. CC fs/ext4/dev.o
  463. CC cmd/fat.o
  464. LD drivers/input/built-in.o
  465. LD test/built-in.o
  466. CC fs/ext4/ext4_write.o
  467. CC cmd/fdt.o
  468. LD drivers/pinctrl/nxp/built-in.o
  469. CC cmd/flash.o
  470. CC common/cli.o
  471. CC fs/ext4/ext4_journal.o
  472. CC net/checksum.o
  473. CC env/callback.o
  474. CC net/arp.o
  475. CC test/dm/cmd_dm.o
  476. LD drivers/pinctrl/built-in.o
  477. CC cmd/fs.o
  478. LD board/boundary/nitrogen8m_som/built-in.o
  479. CC env/flags.o
  480. CC common/command.o
  481. CC net/bootp.o
  482. CC env/nowhere.o
  483. CC fs/ext4/crc16.o
  484. CC lib/efi_driver/efi_uclass.o
  485. LD drivers/block/built-in.o
  486. CC cmd/fuse.o
  487. CC net/eth_legacy.o
  488. CC common/s_record.o
  489. CC common/xyzModem.o
  490. LD drivers/net/built-in.o
  491. CC lib/efi_driver/efi_block_device.o
  492. CC net/eth_common.o
  493. CC net/net.o
  494. LD lib/efi_selftest/built-in.o
  495. CC cmd/gpio.o
  496. CC cmd/i2c.o
  497. CC lib/efi_loader/efi_image_loader.o
  498. CC net/nfs.o
  499. net/bootp.c: In function ‘check_reply_packet’:
  500. net/bootp.c:133:47: warning: taking address of packed member of ‘struct bootp_hdr’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  501. 133 | else if (!bootp_match_id(net_read_u32(&bp->bp_id)))
  502. | ^~~~~~~~~~
  503. CC lib/efi_loader/efi_boottime.o
  504. net/bootp.c: In function ‘bootp_request’:
  505. net/bootp.c:804:22: warning: taking address of packed member of ‘struct bootp_hdr’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  506. 804 | net_copy_u32(&bp->bp_id, &bootp_id);
  507. | ^~~~~~~~~~
  508. CC cmd/itest.o
  509. net/bootp.c: In function ‘dhcp_send_request_packet’:
  510. common/command.c:505:20: warning: conflicting types for ‘cmd_process’ due to enum/integer mismatch; have ‘enum command_ret_t(int, int, char * const*, int *, ulong *)’ {aka ‘enum command_ret_t(int, int, char * const*, int *, long unsigned int *)’} [-Wenum-int-mismatch]
  511. 505 | enum command_ret_t cmd_process(int flag, int argc, char * const argv[],
  512. | ^~~~~~~~~~~
  513. CC lib/lzma/LzmaDec.o
  514. In file included from include/image.h:44,
  515. from include/common.h:38,
  516. from common/command.c:11:
  517. include/command.h:143:5: note: previous declaration of ‘cmd_process’ with type ‘int(int, int, char * const*, int *, long unsigned int *)’
  518. 143 | int cmd_process(int flag, int argc, char * const argv[],
  519. | ^~~~~~~~~~~
  520. net/bootp.c:1011:22: warning: taking address of packed member of ‘struct bootp_hdr’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  521. 1011 | net_copy_u32(&bp->bp_id, &bp_offer->bp_id);
  522. | ^~~~~~~~~~
  523. net/bootp.c:1011:34: warning: taking address of packed member of ‘struct bootp_hdr’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  524. 1011 | net_copy_u32(&bp->bp_id, &bp_offer->bp_id);
  525. | ^~~~~~~~~~~~~~~~
  526. CC lib/lzma/LzmaTools.o
  527. CC net/ping.o
  528. CC lib/libfdt/fdt.o
  529. CC lib/libfdt/fdt_wip.o
  530. CC cmd/load.o
  531. LD drivers/usb/dwc3/dwc3.o
  532. CC lib/zlib/zlib.o
  533. CC lib/charset.o
  534. CC lib/efi_loader/efi_runtime.o
  535. LD drivers/gpio/built-in.o
  536. LD drivers/net/phy/built-in.o
  537. CC lib/libfdt/fdt_strerror.o
  538. CC net/tftp.o
  539. CC lib/efi_loader/efi_console.o
  540. CC lib/efi_loader/efi_memory.o
  541. CC lib/efi_loader/efi_device_path_to_text.o
  542. CC cmd/mem.o
  543. CC lib/crc7.o
  544. CC lib/libfdt/fdt_sw.o
  545. CC lib/efi_loader/efi_device_path.o
  546. CC lib/crc8.o
  547. CC lib/libfdt/fdt_rw.o
  548. LD test/dm/built-in.o
  549. CC cmd/mii.o
  550. CC lib/efi_loader/efi_device_path_utilities.o
  551. CC lib/crc16.o
  552. CC lib/fdtdec_common.o
  553. CC lib/efi_loader/efi_file.o
  554. CC lib/libfdt/fdt_empty_tree.o
  555. net/nfs.c: In function ‘rpc_req’:
  556. net/nfs.c:199:25: warning: taking address of packed member of ‘struct rpc_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  557. 199 | p = (uint32_t *)&(rpc_pkt.u.call.data);
  558. | ^~~~~~~~~~~~~~~~~~~~~~
  559. CC lib/libfdt/fdt_addresses.o
  560. CC lib/smbios.o
  561. CC lib/efi_loader/efi_variable.o
  562. net/nfs.c: In function ‘nfs_readlink_reply’:
  563. net/nfs.c:631:67: warning: taking address of packed member of ‘struct rpc_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  564. 631 | nfs3_get_attributes_offset(rpc_pkt.u.reply.data);
  565. | ~~~~~~~~~~~~~~~^~~~~
  566. CC lib/libfdt/fdt_ro.o
  567. net/nfs.c: In function ‘nfs_read_reply’:
  568. net/nfs.c:692:67: warning: taking address of packed member of ‘struct rpc_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  569. 692 | nfs3_get_attributes_offset(rpc_pkt.u.reply.data);
  570. | ~~~~~~~~~~~~~~~^~~~~
  571. CC cmd/mdio.o
  572. CC cmd/misc.o
  573. CC lib/image-sparse.o
  574. CC lib/libfdt/fdt_region.o
  575. CC cmd/mmc.o
  576. CC lib/efi_loader/efi_bootmgr.o
  577. CC lib/initcall.o
  578. CC lib/lmb.o
  579. CC cmd/net.o
  580. CC lib/ldiv.o
  581. CC cmd/part.o
  582. LD drivers/usb/eth/built-in.o
  583. CC lib/efi_loader/efi_watchdog.o
  584. LD drivers/core/built-in.o
  585. CC lib/md5.o
  586. CC cmd/pcmcia.o
  587. CC lib/efi_loader/efi_disk.o
  588. CC lib/net_utils.o
  589. CC cmd/pxe.o
  590. CC lib/qsort.o
  591. In file included from lib/efi_loader/efi_file.c:10:
  592. lib/efi_loader/efi_file.c: In function ‘efi_file_from_path’:
  593. lib/efi_loader/efi_file.c:579:55: warning: taking address of packed member of ‘struct efi_device_path_file_path’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  594. 579 | EFI_CALL(ret = f->open(f, &f2, (s16 *)fdp->str,
  595. | ^~~
  596. include/efi_loader.h:52:16: note: in definition of macro ‘EFI_CALL’
  597. 52 | typeof(exp) _r = exp; \
  598. | ^~~
  599. lib/efi_loader/efi_file.c:579:55: warning: taking address of packed member of ‘struct efi_device_path_file_path’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  600. 579 | EFI_CALL(ret = f->open(f, &f2, (s16 *)fdp->str,
  601. | ^~~
  602. include/efi_loader.h:52:26: note: in definition of macro ‘EFI_CALL’
  603. 52 | typeof(exp) _r = exp; \
  604. | ^~~
  605. CC lib/efi_loader/efi_net.o
  606. CC lib/rc4.o
  607. lib/efi_loader/efi_device_path.c: In function ‘efi_dp_from_file’:
  608. lib/efi_loader/efi_device_path.c:841:24: warning: taking address of packed member of ‘struct efi_device_path_file_path’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  609. 841 | path_to_uefi(fp->str, path);
  610. | ~~^~~~~
  611. CC cmd/setexpr.o
  612. CC lib/efi_loader/efi_smbios.o
  613. AS lib/efi_loader/efi_crt0.o
  614. CC lib/efi_loader/efi_reloc.o
  615. CC lib/sha256.o
  616. CC lib/efi_loader/helloworld.o
  617. CC lib/list_sort.o
  618. LD disk/built-in.o
  619. CC lib/sha1.o
  620. LD env/built-in.o
  621. CC lib/gunzip.o
  622. LD lib/efi_driver/built-in.o
  623. CC cmd/time.o
  624. CC cmd/test.o
  625. CC lib/fdtdec.o
  626. CC cmd/unzip.o
  627. CC lib/hashtable.o
  628. CC cmd/lzmadec.o
  629. CC lib/errno.o
  630. CC cmd/usb.o
  631. CC cmd/disk.o
  632. CC lib/display_options.o
  633. CC lib/crc32.o
  634. CC cmd/fastboot.o
  635. CC lib/ctype.o
  636. CC lib/div64.o
  637. CC lib/hang.o
  638. CC cmd/usb_mass_storage.o
  639. CC lib/linux_compat.o
  640. CC cmd/ximg.o
  641. CC lib/linux_string.o
  642. CC cmd/gpt.o
  643. CC cmd/regulator.o
  644. CC cmd/nvedit.o
  645. CC lib/membuff.o
  646. CC lib/slre.o
  647. CC lib/string.o
  648. CC lib/tables_csum.o
  649. CC lib/time.o
  650. CC lib/hexdump.o
  651. CC lib/uuid.o
  652. CC lib/rand.o
  653. LD lib/efi_loader/helloworld_efi.so
  654. CC lib/panic.o
  655. CC lib/vsprintf.o
  656. aarch64-linux-gnu-ld.bfd: warning: lib/efi_loader/helloworld_efi.so has a LOAD segment with RWX permissions
  657. OBJCOPY lib/efi_loader/helloworld.efi
  658. CC lib/strto.o
  659. CC lib/strmhz.o
  660. LD drivers/usb/host/built-in.o
  661. LD fs/fat/built-in.o
  662. cmd/regulator.c: In function ‘constraint.isra’:
  663. cmd/regulator.c:115:26: warning: ‘%s’ directive argument is null [-Wformat-overflow=]
  664. 115 | printf(" %s (err: %d)\n", errno_str(val), val);
  665. | ^~
  666. cmd/regulator.c: In function ‘failure.isra’:
  667. cmd/regulator.c:20:28: warning: ‘%s’ directive argument is null [-Wformat-overflow=]
  668. 20 | printf("Error: %d (%s)\n", ret, errno_str(ret));
  669. | ^~
  670. LD net/built-in.o
  671. LD lib/libfdt/built-in.o
  672. LD common/built-in.o
  673. LD drivers/mmc/built-in.o
  674. LD drivers/usb/dwc3/built-in.o
  675. LD drivers/video/built-in.o
  676. LD cmd/built-in.o
  677. LD drivers/built-in.o
  678. LD drivers/usb/gadget/built-in.o
  679. LD lib/lzma/built-in.o
  680. LD fs/ext4/built-in.o
  681. LD fs/built-in.o
  682. LD lib/zlib/built-in.o
  683. LD lib/efi_loader/built-in.o
  684. rm lib/efi_loader/helloworld.o lib/efi_loader/helloworld_efi.so
  685. LD lib/built-in.o
  686. CC examples/standalone/stubs.o
  687. CC examples/standalone/hello_world.o
  688. LD examples/standalone/libstubs.o
  689. LD examples/standalone/hello_world
  690. OBJCOPY examples/standalone/hello_world.srec
  691. OBJCOPY examples/standalone/hello_world.bin
  692. LD u-boot
  693. aarch64-linux-gnu-ld.bfd: warning: u-boot has a LOAD segment with RWX permissions
  694. OBJCOPY u-boot-nodtb.bin
  695. DTC arch/arm/dts/imx8mn-ddr4-evk.dtb
  696. DTC arch/arm/dts/imx8mq-nitrogen8m.dtb
  697. DTC arch/arm/dts/imx8mq-bio.dtb
  698. start=$(aarch64-linux-gnu-nm u-boot | grep __rel_dyn_start | cut -f 1 -d ' '); end=$(aarch64-linux-gnu-nm u-boot | grep __rel_dyn_end | cut -f 1 -d ' '); tools/relocate-rela u-boot-nodtb.bin 0x40200000 $start $end
  699. TEE_LOAD_ADDR=0xfe000000 ATF_LOAD_ADDR=0x00910000 BL31=bl31-iMX8MQ.bin ./"arch/arm/mach-imx/mkimage_fit_atf.sh" \
  700. arch/arm/dts/imx8mq-nitrogen8m_som.dtb > u-boot.its
  701. DTC arch/arm/dts/imx8mq-nitrogen8m_som.dtb
  702. bl31-iMX8MQ.bin size:
  703. 36968
  704. u-boot-nodtb.bin size:
  705. 630288
  706. arch/arm/dts/imx8mq-nitrogen8m_som.dtb size:
  707. ls: cannot access 'arch/arm/dts/imx8mq-nitrogen8m_som.dtb': No such file or directory
  708. SHIPPED dts/dt.dtb
  709. FDTGREP dts/dt-spl.dtb
  710. MKIMAGE u-boot.itb
  711. u-boot.its:7.11-14.5: Warning (unit_address_vs_reg): /images/uboot@1: node has a unit name, but no reg or ranges property
  712. u-boot.its:15.9-23.5: Warning (unit_address_vs_reg): /images/atf@1: node has a unit name, but no reg or ranges property
  713. u-boot.its:24.9-29.5: Warning (unit_address_vs_reg): /images/fdt@1: node has a unit name, but no reg or ranges property
  714. u-boot.its:34.12-39.5: Warning (unit_address_vs_reg): /configurations/config@1: node has a unit name, but no reg or ranges property
  715. LD spl/arch/arm/cpu/built-in.o
  716. CC spl/common/init/board_init.o
  717. CC spl/board/boundary/common/eth.o
  718. LD spl/dts/built-in.o
  719. CC spl/cmd/nvedit.o
  720. CC spl/common/spl/spl.o
  721. CC spl/fs/fs_internal.o
  722. CC spl/common/spl/spl_fit.o
  723. CC spl/common/spl/spl_mmc.o
  724. CC spl/env/common.o
  725. CC spl/board/boundary/nitrogen8m_som/nitrogen8m_som.o
  726. CC spl/env/env.o
  727. LDS spl/u-boot-spl.lds
  728. CC spl/board/boundary/nitrogen8m_som/mmc.o
  729. CC spl/board/boundary/nitrogen8m_som/lcdif.o
  730. CC spl/board/boundary/nitrogen8m_som/spl.o
  731. CC spl/board/boundary/nitrogen8m_som/lpddr4_timing_8mq.o
  732. CC spl/arch/arm/cpu/armv8/cpu.o
  733. CC spl/arch/arm/cpu/armv8/generic_timer.o
  734. CC spl/arch/arm/cpu/armv8/cache_v8.o
  735. AS spl/arch/arm/cpu/armv8/exceptions.o
  736. AS spl/arch/arm/cpu/armv8/cache.o
  737. AS spl/arch/arm/cpu/armv8/tlb.o
  738. AS spl/arch/arm/cpu/armv8/transition.o
  739. AS spl/arch/arm/lib/crt0_64.o
  740. CC spl/arch/arm/cpu/armv8/fwcall.o
  741. AS spl/arch/arm/lib/setjmp_aarch64.o
  742. CC spl/arch/arm/cpu/armv8/cpu-dt.o
  743. AS spl/arch/arm/cpu/armv8/start.o
  744. CC spl/arch/arm/lib/spl.o
  745. CC spl/arch/arm/lib/zimage.o
  746. CC spl/arch/arm/lib/bootm-fdt.o
  747. CC spl/arch/arm/lib/sections.o
  748. CC spl/arch/arm/lib/stack.o
  749. CC spl/common/common_fit.o
  750. CC spl/common/fdt_support.o
  751. CC spl/common/console.o
  752. CC spl/arch/arm/lib/interrupts_64.o
  753. CC spl/arch/arm/lib/reset.o
  754. CC spl/common/dlmalloc.o
  755. CC spl/common/malloc_simple.o
  756. CC spl/arch/arm/lib/cache.o
  757. CC spl/common/image.o
  758. CC spl/arch/arm/lib/psci-dt.o
  759. CC spl/common/image-fdt.o
  760. AR spl/arch/arm/lib/lib.a
  761. CC spl/common/image-fit.o
  762. CC spl/arch/arm/lib/reloc_aarch64_efi.o
  763. AS spl/arch/arm/lib/crt0_aarch64_efi.o
  764. CC spl/common/memsize.o
  765. CC spl/common/stdio.o
  766. CC spl/common/cli.o
  767. CC spl/common/command.o
  768. CC spl/common/s_record.o
  769. CC spl/arch/arm/mach-imx/iomux-v3.o
  770. CC spl/common/xyzModem.o
  771. CC spl/arch/arm/mach-imx/mac.o
  772. CC spl/arch/arm/mach-imx/i2c-mxv7.o
  773. CC spl/arch/arm/mach-imx/cpu.o
  774. CC spl/arch/arm/mach-imx/misc.o
  775. CC spl/arch/arm/mach-imx/spl.o
  776. CC spl/arch/arm/mach-imx/sip.o
  777. CC spl/lib/sha1.o
  778. CC spl/lib/sha256.o
  779. CC spl/lib/hashtable.o
  780. CC spl/lib/errno.o
  781. CC spl/lib/display_options.o
  782. CC spl/lib/crc32.o
  783. CC spl/lib/ctype.o
  784. CC spl/lib/div64.o
  785. CC spl/lib/hang.o
  786. CC spl/lib/linux_compat.o
  787. CC spl/lib/linux_string.o
  788. AS spl/arch/arm/mach-imx/imx8m/lowlevel_init.o
  789. CC spl/lib/slre.o
  790. CC spl/lib/membuff.o
  791. CC spl/lib/string.o
  792. CC spl/arch/arm/mach-imx/imx8m/clock_slice.o
  793. CC spl/lib/tables_csum.o
  794. CC spl/drivers/block/blk_legacy.o
  795. LD spl/drivers/firmware/built-in.o
  796. CC spl/arch/arm/mach-imx/imx8m/soc.o
  797. CC spl/drivers/gpio/mxc_gpio.o
  798. CC spl/lib/time.o
  799. CC spl/lib/hexdump.o
  800. CC spl/drivers/misc/mxc_ocotp.o
  801. CC spl/drivers/i2c/i2c_core.o
  802. CC spl/arch/arm/mach-imx/imx8m/clock_imx8mq.o
  803. LD spl/drivers/power/pmic/built-in.o
  804. CC spl/drivers/ddr/imx/imx8m/helper.o
  805. LD spl/drivers/power/regulator/built-in.o
  806. LD spl/drivers/power/built-in.o
  807. CC spl/lib/libfdt/fdt.o
  808. CC spl/lib/libfdt/fdt_wip.o
  809. CC spl/drivers/mmc/mmc.o
  810. CC spl/lib/uuid.o
  811. CC spl/lib/libfdt/fdt_strerror.o
  812. CC spl/lib/rand.o
  813. CC spl/drivers/i2c/mxc_i2c.o
  814. CC spl/lib/panic.o
  815. CC spl/drivers/mmc/mmc_legacy.o
  816. CC spl/lib/libfdt/fdt_sw.o
  817. CC spl/drivers/ddr/imx/imx8m/ddrphy_utils.o
  818. common/command.c:505:20: warning: conflicting types for ‘cmd_process’ due to enum/integer mismatch; have ‘enum command_ret_t(int, int, char * const*, int *, ulong *)’ {aka ‘enum command_ret_t(int, int, char * const*, int *, long unsigned int *)’} [-Wenum-int-mismatch]
  819. 505 | enum command_ret_t cmd_process(int flag, int argc, char * const argv[],
  820. | ^~~~~~~~~~~
  821. In file included from include/image.h:44,
  822. from include/common.h:38,
  823. from common/command.c:11:
  824. include/command.h:143:5: note: previous declaration of ‘cmd_process’ with type ‘int(int, int, char * const*, int *, long unsigned int *)’
  825. 143 | int cmd_process(int flag, int argc, char * const argv[],
  826. | ^~~~~~~~~~~
  827. LD spl/common/init/built-in.o
  828. CC spl/drivers/ddr/imx/imx8m/ddrphy_train.o
  829. CC spl/lib/vsprintf.o
  830. CC spl/drivers/mmc/mmc_boot.o
  831. CC spl/lib/strmhz.o
  832. CC spl/lib/libfdt/fdt_rw.o
  833. CC spl/drivers/serial/serial.o
  834. CC spl/drivers/ddr/imx/imx8m/ddrphy_csr.o
  835. CC spl/lib/strto.o
  836. LD spl/drivers/sysreset/built-in.o
  837. board/boundary/nitrogen8m_som/spl.c: In function ‘hexdump’:
  838. CC spl/lib/libfdt/fdt_empty_tree.o
  839. CC spl/drivers/mmc/fsl_esdhc_imx.o
  840. board/boundary/nitrogen8m_som/spl.c:232:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  841. 232 | (unsigned int)&buf[i]);
  842. | ^
  843. board/boundary/nitrogen8m_som/spl.c: At top level:
  844. board/boundary/nitrogen8m_som/spl.c:238:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  845. 238 | int mx8mq_showclocks();
  846. | ^~~
  847. board/boundary/nitrogen8m_som/spl.c: In function ‘board_init_f’:
  848. board/boundary/nitrogen8m_som/spl.c:283:11: warning: passing argument 1 of ‘hexdump’ makes pointer from integer without a cast [-Wint-conversion]
  849. 283 | hexdump(0x42000000, 512);
  850. | ^~~~~~~~~~
  851. | |
  852. | int
  853. board/boundary/nitrogen8m_som/spl.c:225:36: note: expected ‘unsigned char *’ but argument is of type ‘int’
  854. 225 | static void hexdump(unsigned char *buf, int len)
  855. | ~~~~~~~~~~~~~~~^~~
  856. CC spl/drivers/mmc/rpmb.o
  857. board/boundary/nitrogen8m_som/spl.c:260:12: warning: ‘ret’ is used uninitialized [-Wuninitialized]
  858. 260 | if (ret) {
  859. | ^
  860. board/boundary/nitrogen8m_som/spl.c:242:13: note: ‘ret’ was declared here
  861. 242 | int ret;
  862. | ^~~
  863. LD spl/drivers/watchdog/built-in.o
  864. CC spl/drivers/ddr/imx/imx8m/lpddr4_init.o
  865. CC spl/lib/libfdt/fdt_addresses.o
  866. CC spl/drivers/serial/serial_mxc.o
  867. LD spl/arch/arm/cpu/armv8/built-in.o
  868. LD spl/fs/built-in.o
  869. CC spl/lib/libfdt/fdt_ro.o
  870. arch/arm/mach-imx/imx8m/clock_imx8mq.c:928:5: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  871. 928 | int mx8mq_showclocks() {
  872. | ^~~~~~~~~~~~~~~~
  873. CC spl/lib/libfdt/fdt_region.o
  874. In file included from arch/arm/mach-imx/imx8m/soc.c:10:
  875. arch/arm/mach-imx/imx8m/soc.c: In function ‘get_cpu_rev’:
  876. ./arch/arm/include/asm/io.h:44:42: warning: array subscript 0 is outside array bounds of ‘volatile unsigned int[0]’ [-Warray-bounds=]
  877. 44 | #define __arch_getl(a) (*(volatile unsigned int *)(a))
  878. | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  879. ./arch/arm/include/asm/io.h:122:38: note: in expansion of macro ‘__arch_getl’
  880. 122 | #define readl(c) ({ u32 __v = __arch_getl(c); __iormb(); __v; })
  881. | ^~~~~~~~~~~
  882. arch/arm/mach-imx/imx8m/soc.c:204:41: note: in expansion of macro ‘readl’
  883. 204 | readl((void __iomem *)ROM_VERSION_A0);
  884. | ^~~~~
  885. cc1: note: source object is likely at address zero
  886. ./arch/arm/include/asm/io.h:44:42: warning: array subscript 0 is outside array bounds of ‘volatile unsigned int[0]’ [-Warray-bounds=]
  887. 44 | #define __arch_getl(a) (*(volatile unsigned int *)(a))
  888. | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  889. ./arch/arm/include/asm/io.h:122:38: note: in expansion of macro ‘__arch_getl’
  890. 122 | #define readl(c) ({ u32 __v = __arch_getl(c); __iormb(); __v; })
  891. | ^~~~~~~~~~~
  892. arch/arm/mach-imx/imx8m/soc.c:206:55: note: in expansion of macro ‘readl’
  893. 206 | rom_version = readl((void __iomem *)ROM_VERSION_B0) & 0xff;
  894. | ^~~~~
  895. cc1: note: source object is likely at address zero
  896. arch/arm/mach-imx/cpu.c: In function ‘get_boot_device’:
  897. arch/arm/mach-imx/cpu.c:460:25: warning: array subscript 0 is outside array bounds of ‘struct bootrom_sw_info *[0]’ [-Warray-bounds=]
  898. 460 | u8 boot_type = (*p)->boot_dev_type;
  899. | ~^~~
  900. cc1: note: source object is likely at address zero
  901. cc1: note: source object is likely at address zero
  902. LD spl/arch/arm/lib/built-in.o
  903. LD spl/env/built-in.o
  904. LD spl/drivers/gpio/built-in.o
  905. LD spl/board/boundary/common/built-in.o
  906. LD spl/cmd/built-in.o
  907. LD spl/common/spl/built-in.o
  908. LD spl/drivers/misc/built-in.o
  909. LD spl/drivers/block/built-in.o
  910. LD spl/drivers/ddr/imx/imx8m/built-in.o
  911. LD spl/drivers/serial/built-in.o
  912. LD spl/arch/arm/mach-imx/imx8m/built-in.o
  913. LD spl/arch/arm/mach-imx/built-in.o
  914. LD spl/board/boundary/nitrogen8m_som/built-in.o
  915. LD spl/drivers/i2c/built-in.o
  916. LD spl/lib/libfdt/built-in.o
  917. LD spl/common/built-in.o
  918. LD spl/lib/built-in.o
  919. LD spl/drivers/mmc/built-in.o
  920. LD spl/drivers/built-in.o
  921. LD spl/u-boot-spl
  922. aarch64-linux-gnu-ld.bfd: warning: u-boot-spl has a LOAD segment with RWX permissions
  923. OBJCOPY spl/u-boot-spl-nodtb.bin
  924. COPY spl/u-boot-spl.bin
  925. CFGS spl/u-boot-spl.cfgout
  926. ./tools/imx8m_image.sh spl/u-boot-spl.cfgout 1
  927. MKIMAGE flash.bin
Advertisement
Add Comment
Please, Sign In to add comment