| ~~~~~~~~~~~~~~~^~~~ ../spi/cadence_qspi_apb.c: In function 'cadence_qspi_apb_command_write': ../spi/cadence_qspi_apb.c:711:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 711 | writel(addr_value, (u32)reg_base + CQSPI_REG_CMDADDRESS); | ^ ../spi/cadence_qspi_apb.c:711:36: warning: passing argument 2 of 'writel' makes pointer from integer without a cast [-Wint-conversion] 711 | writel(addr_value, (u32)reg_base + CQSPI_REG_CMDADDRESS); | ^ | | | unsigned int In file included from ../spi/cadence_qspi_apb.c:28: ../common/comdef.h:125:51: note: expected 'volatile void *' but argument is of type 'unsigned int' 125 | static inline void writel(u32 val, volatile void *addr) | ~~~~~~~~~~~~~~~^~~~ ../spi/cadence_qspi_apb.c:722:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 722 | writel(wr_data, (u32)reg_base + | ^ ../spi/cadence_qspi_apb.c:722:33: warning: passing argument 2 of 'writel' makes pointer from integer without a cast [-Wint-conversion] 722 | writel(wr_data, (u32)reg_base + | ^ | | | unsigned int In file included from ../spi/cadence_qspi_apb.c:28: ../common/comdef.h:125:51: note: expected 'volatile void *' but argument is of type 'unsigned int' 125 | static inline void writel(u32 val, volatile void *addr) | ~~~~~~~~~~~~~~~^~~~ ../spi/cadence_qspi_apb.c:729:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 729 | writel(wr_data, (u32)reg_base + | ^ ../spi/cadence_qspi_apb.c:729:34: warning: passing argument 2 of 'writel' makes pointer from integer without a cast [-Wint-conversion] 729 | writel(wr_data, (u32)reg_base + | ^ | | | unsigned int In file included from ../spi/cadence_qspi_apb.c:28: ../common/comdef.h:125:51: note: expected 'volatile void *' but argument is of type 'unsigned int' 125 | static inline void writel(u32 val, volatile void *addr) | ~~~~~~~~~~~~~~~^~~~ ../spi/cadence_qspi_apb.c:735:41: warning: passing argument 1 of 'cadence_qspi_apb_exec_flash_cmd' makes integer from pointer without a cast [-Wint-conversion] 735 | return cadence_qspi_apb_exec_flash_cmd(reg_base, reg); | ^~~~~~~~ | | | void * ../spi/cadence_qspi_apb.c:612:48: note: expected 'u32' {aka 'unsigned int'} but argument is of type 'void *' 612 | static int cadence_qspi_apb_exec_flash_cmd(u32 reg_base, | ~~~~^~~~~~~~ ../spi/cadence_qspi_apb.c: In function 'cadence_qspi_apb_indirect_read_setup': ../spi/cadence_qspi_apb.c:764:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 764 | writel(((u32)plat->ahbbase & CQSPI_INDIRECTTRIGGER_ADDR_MASK), | ^ ../spi/cadence_qspi_apb.c:765:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 765 | (u32)plat->regbase + CQSPI_REG_INDIRECTTRIGGER); | ^ ../spi/cadence_qspi_apb.c:765:28: warning: passing argument 2 of 'writel' makes pointer from integer without a cast [-Wint-conversion] 765 | (u32)plat->regbase + CQSPI_REG_INDIRECTTRIGGER); | ^ | | | unsigned int In file included from ../spi/cadence_qspi_apb.c:28: ../common/comdef.h:125:51: note: expected 'volatile void *' but argument is of type 'unsigned int' 125 | static inline void writel(u32 val, volatile void *addr) | ~~~~~~~~~~~~~~~^~~~ ../spi/cadence_qspi_apb.c:780:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 780 | writel(addr_value, (u32)plat->regbase + CQSPI_REG_INDIRECTRDSTARTADDR); | ^ ../spi/cadence_qspi_apb.c:780:40: warning: passing argument 2 of 'writel' makes pointer from integer without a cast [-Wint-conversion] 780 | writel(addr_value, (u32)plat->regbase + CQSPI_REG_INDIRECTRDSTARTADDR); | ^ | | | unsigned int In file included from ../spi/cadence_qspi_apb.c:28: ../common/comdef.h:125:51: note: expected 'volatile void *' but argument is of type 'unsigned int' 125 | static inline void writel(u32 val, volatile void *addr) | ~~~~~~~~~~~~~~~^~~~ ../spi/cadence_qspi_apb.c:792:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 792 | writel(0xFF, (u32)plat->regbase + CQSPI_REG_MODE_BIT); | ^ ../spi/cadence_qspi_apb.c:792:35: warning: passing argument 2 of 'writel' makes pointer from integer without a cast [-Wint-conversion] 792 | writel(0xFF, (u32)plat->regbase + CQSPI_REG_MODE_BIT); | ^ | | | unsigned int In file included from ../spi/cadence_qspi_apb.c:28: ../common/comdef.h:125:51: note: expected 'volatile void *' but argument is of type 'unsigned int' 125 | static inline void writel(u32 val, volatile void *addr) | ~~~~~~~~~~~~~~~^~~~ ../spi/cadence_qspi_apb.c:805:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 805 | writel(rd_reg, (u32)plat->regbase + CQSPI_REG_RD_INSTR); | ^ ../spi/cadence_qspi_apb.c:805:36: warning: passing argument 2 of 'writel' makes pointer from integer without a cast [-Wint-conversion] 805 | writel(rd_reg, (u32)plat->regbase + CQSPI_REG_RD_INSTR); | ^ | | | unsigned int In file included from ../spi/cadence_qspi_apb.c:28: ../common/comdef.h:125:51: note: expected 'volatile void *' but argument is of type 'unsigned int' 125 | static inline void writel(u32 val, volatile void *addr) | ~~~~~~~~~~~~~~~^~~~ ../spi/cadence_qspi_apb.c:809:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 809 | reg = readl((u32)plat->regbase + CQSPI_REG_SIZE); | ^ ../spi/cadence_qspi_apb.c:809:33: warning: passing argument 1 of 'readl' makes pointer from integer without a cast [-Wint-conversion] 809 | reg = readl((u32)plat->regbase + CQSPI_REG_SIZE); | ^ | | | unsigned int In file included from ../spi/cadence_qspi_apb.c:28: ../common/comdef.h:132:40: note: expected 'volatile void *' but argument is of type 'unsigned int' 132 | static inline u32 readl(volatile void *addr) | ~~~~~~~~~~~~~~~^~~~ ../spi/cadence_qspi_apb.c:812:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 812 | writel(reg, (u32)plat->regbase + CQSPI_REG_SIZE); | ^ ../spi/cadence_qspi_apb.c:812:33: warning: passing argument 2 of 'writel' makes pointer from integer without a cast [-Wint-conversion] 812 | writel(reg, (u32)plat->regbase + CQSPI_REG_SIZE); | ^ | | | unsigned int In file included from ../spi/cadence_qspi_apb.c:28: ../common/comdef.h:125:51: note: expected 'volatile void *' but argument is of type 'unsigned int' 125 | static inline void writel(u32 val, volatile void *addr) | ~~~~~~~~~~~~~~~^~~~ ../spi/cadence_qspi_apb.c: In function 'cadence_qspi_apb_indirect_read_execute': ../spi/cadence_qspi_apb.c:821:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 821 | writel(rxlen, (u32)plat->regbase + CQSPI_REG_INDIRECTRDBYTES); | ^ ../spi/cadence_qspi_apb.c:821:35: warning: passing argument 2 of 'writel' makes pointer from integer without a cast [-Wint-conversion] 821 | writel(rxlen, (u32)plat->regbase + CQSPI_REG_INDIRECTRDBYTES); | ^ | | | unsigned int In file included from ../spi/cadence_qspi_apb.c:28: ../common/comdef.h:125:51: note: expected 'volatile void *' but argument is of type 'unsigned int' 125 | static inline void writel(u32 val, volatile void *addr) | ~~~~~~~~~~~~~~~^~~~ ../spi/cadence_qspi_apb.c:825:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 825 | (u32)plat->regbase + CQSPI_REG_INDIRECTRD); | ^ ../spi/cadence_qspi_apb.c:825:28: warning: passing argument 2 of 'writel' makes pointer from integer without a cast [-Wint-conversion] 825 | (u32)plat->regbase + CQSPI_REG_INDIRECTRD); | ^ | | | unsigned int In file included from ../spi/cadence_qspi_apb.c:28: ../common/comdef.h:125:51: note: expected 'volatile void *' but argument is of type 'unsigned int' 125 | static inline void writel(u32 val, volatile void *addr) | ~~~~~~~~~~~~~~~^~~~ ../spi/cadence_qspi_apb.c:832:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 832 | reg = readl((u32)plat->regbase + CQSPI_REG_INDIRECTRD); | ^ ../spi/cadence_qspi_apb.c:832:33: warning: passing argument 1 of 'readl' makes pointer from integer without a cast [-Wint-conversion] 832 | reg = readl((u32)plat->regbase + CQSPI_REG_INDIRECTRD); | ^ | | | unsigned int In file included from ../spi/cadence_qspi_apb.c:28: ../common/comdef.h:132:40: note: expected 'volatile void *' but argument is of type 'unsigned int' 132 | static inline u32 readl(volatile void *addr) | ~~~~~~~~~~~~~~~^~~~ ../spi/cadence_qspi_apb.c:834:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 834 | reg = readl((u32)plat->regbase + CQSPI_REG_INDIRECTRD); | ^ ../spi/cadence_qspi_apb.c:834:34: warning: passing argument 1 of 'readl' makes pointer from integer without a cast [-Wint-conversion] 834 | reg = readl((u32)plat->regbase + CQSPI_REG_INDIRECTRD); | ^ | | | unsigned int In file included from ../spi/cadence_qspi_apb.c:28: ../common/comdef.h:132:40: note: expected 'volatile void *' but argument is of type 'unsigned int' 132 | static inline u32 readl(volatile void *addr) | ~~~~~~~~~~~~~~~^~~~ ../spi/cadence_qspi_apb.c:842:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 842 | (u32)plat->regbase + CQSPI_REG_INDIRECTRD); | ^ ../spi/cadence_qspi_apb.c:842:28: warning: passing argument 2 of 'writel' makes pointer from integer without a cast [-Wint-conversion] 842 | (u32)plat->regbase + CQSPI_REG_INDIRECTRD); | ^ | | | unsigned int In file included from ../spi/cadence_qspi_apb.c:28: ../common/comdef.h:125:51: note: expected 'volatile void *' but argument is of type 'unsigned int' 125 | static inline void writel(u32 val, volatile void *addr) | ~~~~~~~~~~~~~~~^~~~ ../spi/cadence_qspi_apb.c:848:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 848 | (u32)plat->regbase + CQSPI_REG_INDIRECTRD); | ^ ../spi/cadence_qspi_apb.c:848:28: warning: passing argument 2 of 'writel' makes pointer from integer without a cast [-Wint-conversion] 848 | (u32)plat->regbase + CQSPI_REG_INDIRECTRD); | ^ | | | unsigned int In file included from ../spi/cadence_qspi_apb.c:28: ../common/comdef.h:125:51: note: expected 'volatile void *' but argument is of type 'unsigned int' 125 | static inline void writel(u32 val, volatile void *addr) | ~~~~~~~~~~~~~~~^~~~ ../spi/cadence_qspi_apb.c: In function 'cadence_qspi_apb_indirect_write_setup': ../spi/cadence_qspi_apb.c:865:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 865 | writel(((u32)plat->ahbbase & CQSPI_INDIRECTTRIGGER_ADDR_MASK), | ^ ../spi/cadence_qspi_apb.c:866:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 866 | (u32)plat->regbase + CQSPI_REG_INDIRECTTRIGGER); | ^ ../spi/cadence_qspi_apb.c:866:28: warning: passing argument 2 of 'writel' makes pointer from integer without a cast [-Wint-conversion] 866 | (u32)plat->regbase + CQSPI_REG_INDIRECTTRIGGER); | ^ | | | unsigned int In file included from ../spi/cadence_qspi_apb.c:28: ../common/comdef.h:125:51: note: expected 'volatile void *' but argument is of type 'unsigned int' 125 | static inline void writel(u32 val, volatile void *addr) | ~~~~~~~~~~~~~~~^~~~ ../spi/cadence_qspi_apb.c:879:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 879 | writel(reg, (u32)plat->regbase + CQSPI_REG_WR_INSTR); | ^ ../spi/cadence_qspi_apb.c:879:33: warning: passing argument 2 of 'writel' makes pointer from integer without a cast [-Wint-conversion] 879 | writel(reg, (u32)plat->regbase + CQSPI_REG_WR_INSTR); | ^ | | | unsigned int In file included from ../spi/cadence_qspi_apb.c:28: ../common/comdef.h:125:51: note: expected 'volatile void *' but argument is of type 'unsigned int' 125 | static inline void writel(u32 val, volatile void *addr) | ~~~~~~~~~~~~~~~^~~~ ../spi/cadence_qspi_apb.c:884:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 884 | writel(reg, (u32)plat->regbase + CQSPI_REG_INDIRECTWRSTARTADDR); | ^ ../spi/cadence_qspi_apb.c:884:33: warning: passing argument 2 of 'writel' makes pointer from integer without a cast [-Wint-conversion] 884 | writel(reg, (u32)plat->regbase + CQSPI_REG_INDIRECTWRSTARTADDR); | ^ | | | unsigned int In file included from ../spi/cadence_qspi_apb.c:28: ../common/comdef.h:125:51: note: expected 'volatile void *' but argument is of type 'unsigned int' 125 | static inline void writel(u32 val, volatile void *addr) | ~~~~~~~~~~~~~~~^~~~ ../spi/cadence_qspi_apb.c:886:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 886 | reg = readl((u32)plat->regbase + CQSPI_REG_SIZE); | ^ ../spi/cadence_qspi_apb.c:886:33: warning: passing argument 1 of 'readl' makes pointer from integer without a cast [-Wint-conversion] 886 | reg = readl((u32)plat->regbase + CQSPI_REG_SIZE); | ^ | | | unsigned int In file included from ../spi/cadence_qspi_apb.c:28: ../common/comdef.h:132:40: note: expected 'volatile void *' but argument is of type 'unsigned int' 132 | static inline u32 readl(volatile void *addr) | ~~~~~~~~~~~~~~~^~~~ ../spi/cadence_qspi_apb.c:889:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 889 | writel(reg, (u32)plat->regbase + CQSPI_REG_SIZE); | ^ ../spi/cadence_qspi_apb.c:889:33: warning: passing argument 2 of 'writel' makes pointer from integer without a cast [-Wint-conversion] 889 | writel(reg, (u32)plat->regbase + CQSPI_REG_SIZE); | ^ | | | unsigned int In file included from ../spi/cadence_qspi_apb.c:28: ../common/comdef.h:125:51: note: expected 'volatile void *' but argument is of type 'unsigned int' 125 | static inline void writel(u32 val, volatile void *addr) | ~~~~~~~~~~~~~~~^~~~ ../spi/cadence_qspi_apb.c: In function 'cadence_qspi_apb_indirect_write_execute': ../spi/cadence_qspi_apb.c:900:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 900 | writel(txlen, (u32)plat->regbase + CQSPI_REG_INDIRECTWRBYTES); | ^ ../spi/cadence_qspi_apb.c:900:35: warning: passing argument 2 of 'writel' makes pointer from integer without a cast [-Wint-conversion] 900 | writel(txlen, (u32)plat->regbase + CQSPI_REG_INDIRECTWRBYTES); | ^ | | | unsigned int In file included from ../spi/cadence_qspi_apb.c:28: ../common/comdef.h:125:51: note: expected 'volatile void *' but argument is of type 'unsigned int' 125 | static inline void writel(u32 val, volatile void *addr) | ~~~~~~~~~~~~~~~^~~~ ../spi/cadence_qspi_apb.c:904:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 904 | (u32)plat->regbase + CQSPI_REG_INDIRECTWR); | ^ ../spi/cadence_qspi_apb.c:904:28: warning: passing argument 2 of 'writel' makes pointer from integer without a cast [-Wint-conversion] 904 | (u32)plat->regbase + CQSPI_REG_INDIRECTWR); | ^ | | | unsigned int In file included from ../spi/cadence_qspi_apb.c:28: ../common/comdef.h:125:51: note: expected 'volatile void *' but argument is of type 'unsigned int' 125 | static inline void writel(u32 val, volatile void *addr) | ~~~~~~~~~~~~~~~^~~~ ../spi/cadence_qspi_apb.c:912:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 912 | reg = CQSPI_GET_WR_SRAM_LEVEL((u32)plat->regbase); | ^ ../spi/cadence_qspi_apb.c:196:11: note: in definition of macro 'CQSPI_GET_WR_SRAM_LEVEL' 196 | (((readl(reg_base + CQSPI_REG_SDRAMLEVEL)) >> \ | ^~~~~~~~ ../spi/cadence_qspi_apb.c:196:20: warning: passing argument 1 of 'readl' makes pointer from integer without a cast [-Wint-conversion] 196 | (((readl(reg_base + CQSPI_REG_SDRAMLEVEL)) >> \ | ^ | | | unsigned int ../spi/cadence_qspi_apb.c:912:9: note: in expansion of macro 'CQSPI_GET_WR_SRAM_LEVEL' 912 | reg = CQSPI_GET_WR_SRAM_LEVEL((u32)plat->regbase); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../spi/cadence_qspi_apb.c:28: ../common/comdef.h:132:40: note: expected 'volatile void *' but argument is of type 'unsigned int' 132 | static inline u32 readl(volatile void *addr) | ~~~~~~~~~~~~~~~^~~~ ../spi/cadence_qspi_apb.c:927:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 927 | reg = readl((u32)plat->regbase + CQSPI_REG_INDIRECTWR); | ^ ../spi/cadence_qspi_apb.c:927:34: warning: passing argument 1 of 'readl' makes pointer from integer without a cast [-Wint-conversion] 927 | reg = readl((u32)plat->regbase + CQSPI_REG_INDIRECTWR); | ^ | | | unsigned int In file included from ../spi/cadence_qspi_apb.c:28: ../common/comdef.h:132:40: note: expected 'volatile void *' but argument is of type 'unsigned int' 132 | static inline u32 readl(volatile void *addr) | ~~~~~~~~~~~~~~~^~~~ ../spi/cadence_qspi_apb.c:941:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 941 | (u32)plat->regbase + CQSPI_REG_INDIRECTWR); | ^ ../spi/cadence_qspi_apb.c:941:28: warning: passing argument 2 of 'writel' makes pointer from integer without a cast [-Wint-conversion] 941 | (u32)plat->regbase + CQSPI_REG_INDIRECTWR); | ^ | | | unsigned int In file included from ../spi/cadence_qspi_apb.c:28: ../common/comdef.h:125:51: note: expected 'volatile void *' but argument is of type 'unsigned int' 125 | static inline void writel(u32 val, volatile void *addr) | ~~~~~~~~~~~~~~~^~~~ ../spi/cadence_qspi_apb.c:948:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 948 | (u32)plat->regbase + CQSPI_REG_INDIRECTWR); | ^ ../spi/cadence_qspi_apb.c:948:28: warning: passing argument 2 of 'writel' makes pointer from integer without a cast [-Wint-conversion] 948 | (u32)plat->regbase + CQSPI_REG_INDIRECTWR); | ^ | | | unsigned int In file included from ../spi/cadence_qspi_apb.c:28: ../common/comdef.h:125:51: note: expected 'volatile void *' but argument is of type 'unsigned int' 125 | static inline void writel(u32 val, volatile void *addr) | ~~~~~~~~~~~~~~~^~~~ /nvmedata/autobuild/instance-13/output-1/host/bin/riscv64-unknown-elf-gcc -O2 -g -c -Wall -DVERSION=\"buildroot-2d20047960044308126117ad56bc08a1164e82b2\" -DBEAGLEV -march=rv64imafdc -mabi=lp64d -mcmodel=medany -I. -I../boot -I../common -I../gpio -I../spi -I../system -I../uart -I../timer -o ../timer/timer.o -c ../timer/timer.c ================================================================================ /nvmedata/autobuild/instance-13/output-1/host/bin/riscv64-unknown-elf-gcc -o bootloader-BEAGLEV-buildroot.elf -march=rv64imafdc -mabi=lp64d -T bootloader.lds -nostartfiles --specs=nano.specs -Wl,-Map,bootloader.map ../boot/start.o ../boot/bootmain.o ../boot/trap.o ../uart/uart.o ../common/util.o ../spi/spi.o ../spi/spi_probe.o ../spi/cadence_qspi.o ../spi/spi_flash.o ../spi/cadence_qspi_apb.o ../timer/timer.o bootloader-BEAGLEV-buildroot.elf LINK SUCCEED! /nvmedata/autobuild/instance-13/output-1/host/bin/riscv64-unknown-elf-objcopy -O binary bootloader-BEAGLEV-buildroot.elf bootloader-BEAGLEV-buildroot.bin inFile: bootloader-BEAGLEV-buildroot.bin inSize: 9452 (0x000024ec, LE:0xec240000) outFile: bootloader-BEAGLEV-buildroot.bin.out outSize: 9456 (0x000024f0) /nvmedata/autobuild/instance-13/output-1/host/bin/riscv64-unknown-elf-objdump -S bootloader-BEAGLEV-buildroot.elf > bootloader-BEAGLEV-buildroot.asm make[1]: Leaving directory '/nvmedata/autobuild/instance-13/output-1/build/beaglev-secondboot-2d20047960044308126117ad56bc08a1164e82b2/build' >>> beaglev-secondboot 2d20047960044308126117ad56bc08a1164e82b2 Installing to images directory /usr/bin/install -D -m 0644 /nvmedata/autobuild/instance-13/output-1/build/beaglev-secondboot-2d20047960044308126117ad56bc08a1164e82b2/build/bootloader-BEAGLEV-buildroot.bin.out /nvmedata/autobuild/instance-13/output-1/images/bootloader-BEAGLEV-buildroot.bin.out >>> Finalizing host directory >>> Finalizing target directory mkdir -p /nvmedata/autobuild/instance-13/output-1/host/etc/meson sed -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Ofast', '-g0', '-fPIC', '-Wl,-elf2flt=-r', '-static'@PKG_TARGET_CFLAGS@%g" -e "s%@TARGET_LDFLAGS@%'-Wl,-elf2flt=-r', '-static'@PKG_TARGET_LDFLAGS@%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Ofast', '-g0', '-fPIC', '-Wl,-elf2flt=-r', '-static', '-Wl,-elf2flt=-r', '-static'@PKG_TARGET_CXXFLAGS@%g" -e "s%@TARGET_CC@%/nvmedata/autobuild/instance-13/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc%g" -e "s%@TARGET_CXX@%/nvmedata/autobuild/instance-13/output-1/host/bin/riscv64-buildroot-linux-uclibc-g++%g" -e "s%@TARGET_AR@%/nvmedata/autobuild/instance-13/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc-ar%g" -e "s%@TARGET_STRIP@%/bin/true%g" -e "s%@TARGET_ARCH@%riscv64%g" -e "s%@TARGET_CPU@%%g" -e "s%@TARGET_ENDIAN@%little%g" -e "s%@TARGET_CFLAGS@%%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%%g" -e "s%@BR2_CMAKE@%/nvmedata/autobuild/instance-13/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/nvmedata/autobuild/instance-13/output-1/host/bin/pkgconf%g" -e "s%@STAGING_DIR@%/nvmedata/autobuild/instance-13/output-1/host/riscv64-buildroot-linux-uclibc/sysroot%g" -e "s%@STATIC@%true%g" /nvmedata/autobuild/instance-13/buildroot/support/misc/cross-compilation.conf.in > /nvmedata/autobuild/instance-13/output-1/host/etc/meson/cross-compilation.conf.in sed -e "s%@TARGET_CC@%/nvmedata/autobuild/instance-13/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc%g" -e "s%@TARGET_CXX@%/nvmedata/autobuild/instance-13/output-1/host/bin/riscv64-buildroot-linux-uclibc-g++%g" -e "s%@TARGET_AR@%/nvmedata/autobuild/instance-13/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc-ar%g" -e "s%@TARGET_STRIP@%/bin/true%g" -e "s%@TARGET_ARCH@%riscv64%g" -e "s%@TARGET_CPU@%%g" -e "s%@TARGET_ENDIAN@%little%g" -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Ofast', '-g0', '-fPIC', '-Wl,-elf2flt=-r', '-static'%g" -e "s%@TARGET_LDFLAGS@%'-Wl,-elf2flt=-r', '-static'%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Ofast', '-g0', '-fPIC', '-Wl,-elf2flt=-r', '-static', '-Wl,-elf2flt=-r', '-static'%g" -e "s%@BR2_CMAKE@%/nvmedata/autobuild/instance-13/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/nvmedata/autobuild/instance-13/output-1/host/bin/pkgconf%g" -e "s%@STAGING_DIR@%/nvmedata/autobuild/instance-13/output-1/host/riscv64-buildroot-linux-uclibc/sysroot%g" -e "s%@STATIC@%true%g" /nvmedata/autobuild/instance-13/buildroot/support/misc/cross-compilation.conf.in > /nvmedata/autobuild/instance-13/output-1/host/etc/meson/cross-compilation.conf /bin/sed -i -e '/# GENERIC_SERIAL$/s~^.*#~console::respawn:/sbin/getty -L console 0 vt100 #~' /nvmedata/autobuild/instance-13/output-1/target/etc/inittab /bin/sed -i -e '/^#.*-o remount,rw \/$/s~^#\+~~' /nvmedata/autobuild/instance-13/output-1/target/etc/inittab if grep -q CONFIG_ASH=y /nvmedata/autobuild/instance-13/output-1/build/busybox-1.35.0/.config; then grep -qsE '^/bin/ash$' /nvmedata/autobuild/instance-13/output-1/target/etc/shells || echo "/bin/ash" >> /nvmedata/autobuild/instance-13/output-1/target/etc/shells; fi if grep -q CONFIG_HUSH=y /nvmedata/autobuild/instance-13/output-1/build/busybox-1.35.0/.config; then grep -qsE '^/bin/hush$' /nvmedata/autobuild/instance-13/output-1/target/etc/shells || echo "/bin/hush" >> /nvmedata/autobuild/instance-13/output-1/target/etc/shells; fi mkdir -p /nvmedata/autobuild/instance-13/output-1/target/etc echo "buildroot" > /nvmedata/autobuild/instance-13/output-1/target/etc/hostname /bin/sed -i -e '$a \127.0.1.1\tbuildroot' -e '/^127.0.1.1/d' /nvmedata/autobuild/instance-13/output-1/target/etc/hosts mkdir -p /nvmedata/autobuild/instance-13/output-1/target/etc echo "Welcome to Buildroot" > /nvmedata/autobuild/instance-13/output-1/target/etc/issue /bin/sed -i -e s,^root:[^:]*:,root::, /nvmedata/autobuild/instance-13/output-1/target/etc/shadow grep -qsE '^/bin/sh$' /nvmedata/autobuild/instance-13/output-1/target/etc/shells || echo "/bin/sh" >> /nvmedata/autobuild/instance-13/output-1/target/etc/shells if [ -x /nvmedata/autobuild/instance-13/output-1/target/sbin/swapon -a -x /nvmedata/autobuild/instance-13/output-1/target/sbin/swapoff ]; then /bin/sed -i -e '/^#.*\/sbin\/swap/s/^#\+[[:blank:]]*//' /nvmedata/autobuild/instance-13/output-1/target/etc/inittab; else /bin/sed -i -e '/^[^#].*\/sbin\/swap/s/^/#/' /nvmedata/autobuild/instance-13/output-1/target/etc/inittab; fi rm -rf /nvmedata/autobuild/instance-13/output-1/target/usr/include /nvmedata/autobuild/instance-13/output-1/target/usr/share/aclocal \ /nvmedata/autobuild/instance-13/output-1/target/usr/lib/pkgconfig /nvmedata/autobuild/instance-13/output-1/target/usr/share/pkgconfig \ /nvmedata/autobuild/instance-13/output-1/target/usr/lib/cmake /nvmedata/autobuild/instance-13/output-1/target/usr/share/cmake \ /nvmedata/autobuild/instance-13/output-1/target/usr/doc find /nvmedata/autobuild/instance-13/output-1/target/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f find /nvmedata/autobuild/instance-13/output-1/target/lib/ /nvmedata/autobuild/instance-13/output-1/target/usr/lib/ /nvmedata/autobuild/instance-13/output-1/target/usr/libexec/ \ \( -name '*.a' -o -name '*.la' -o -name '*.prl' \) -print0 | xargs -0 rm -f find: '/nvmedata/autobuild/instance-13/output-1/target/usr/libexec/': No such file or directory rm -rf /nvmedata/autobuild/instance-13/output-1/target/usr/share/gdb rm -rf /nvmedata/autobuild/instance-13/output-1/target/usr/share/bash-completion rm -rf /nvmedata/autobuild/instance-13/output-1/target/etc/bash_completion.d rm -rf /nvmedata/autobuild/instance-13/output-1/target/usr/share/zsh rm -rf /nvmedata/autobuild/instance-13/output-1/target/usr/man /nvmedata/autobuild/instance-13/output-1/target/usr/share/man rm -rf /nvmedata/autobuild/instance-13/output-1/target/usr/info /nvmedata/autobuild/instance-13/output-1/target/usr/share/info rm -rf /nvmedata/autobuild/instance-13/output-1/target/usr/doc /nvmedata/autobuild/instance-13/output-1/target/usr/share/doc rm -rf /nvmedata/autobuild/instance-13/output-1/target/usr/share/gtk-doc rmdir /nvmedata/autobuild/instance-13/output-1/target/usr/share 2>/dev/null || true rm -rf /nvmedata/autobuild/instance-13/output-1/target/lib/debug /nvmedata/autobuild/instance-13/output-1/target/usr/lib/debug find /nvmedata/autobuild/instance-13/output-1/target -type f \( -perm /111 -o -name '*.so*' \) -not \( -name 'libpthread*.so*' -o -name 'ld-*.so*' -o -name '*.ko' \) -print0 | xargs -0 /bin/true 2>/dev/null || true find /nvmedata/autobuild/instance-13/output-1/target \( -name 'ld-*.so*' -o -name 'libpthread*.so*' \) -print0 | xargs -0 -r /bin/true 2>/dev/null || true test -f /nvmedata/autobuild/instance-13/output-1/target/etc/ld.so.conf && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf file"; exit 1; } || true test -d /nvmedata/autobuild/instance-13/output-1/target/etc/ld.so.conf.d && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf.d directory"; exit 1; } || true mkdir -p /nvmedata/autobuild/instance-13/output-1/target/etc ( \ echo "NAME=Buildroot"; \ echo "VERSION=2022.02-438-gac91235797"; \ echo "ID=buildroot"; \ echo "VERSION_ID=2022.05-git"; \ echo "PRETTY_NAME=\"Buildroot 2022.05-git\"" \ ) > /nvmedata/autobuild/instance-13/output-1/target/usr/lib/os-release ln -sf ../usr/lib/os-release /nvmedata/autobuild/instance-13/output-1/target/etc >>> Sanitizing RPATH in target tree PER_PACKAGE_DIR=/nvmedata/autobuild/instance-13/output-1/per-package /nvmedata/autobuild/instance-13/buildroot/support/scripts/fix-rpath target touch /nvmedata/autobuild/instance-13/output-1/target/usr ln -snf /nvmedata/autobuild/instance-13/output-1/host/riscv64-buildroot-linux-uclibc/sysroot /nvmedata/autobuild/instance-13/output-1/staging make: Leaving directory '/nvmedata/autobuild/instance-13/buildroot' make: Entering directory '/nvmedata/autobuild/instance-13/buildroot' >>> Buildroot 2022.02-438-gac91235797 Collecting legal info COPYING: OK (sha256: 9755181e27175cb3510b4da8629caa406fb355a19aa8e7d55f06bf8ab33323c4) >>> attr 2.5.1 Collecting legal info doc/COPYING: OK (sha256: 98f318493be6b08bff3cd295791cde06c54e17882a3c74a1ed245eaa02533d52) doc/COPYING.LGPL: OK (sha256: 5decad7e58d90d44335bf2f45ce27563bd911065c6a1a02dfa7647c4efee75c8) >>> host-skeleton Collecting legal info >>> skeleton Collecting legal info >>> skeleton-init-sysv Collecting legal info >>> skeleton-init-common Collecting legal info >>> toolchain Collecting legal info >>> toolchain-buildroot Collecting legal info >>> host-gcc-final 10.3.0 Collecting legal info >>> host-binutils 2.32 Collecting legal info COPYING3: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) COPYING.LIB: OK (sha256: 56bdea73b6145ef6ac5259b3da390b981d840c24cb03b8e1cbc678de7ecfa18d) >>> host-elf2flt 7e33f28df198c46764021ed14408bd262751e148 Collecting legal info LICENSE.TXT: OK (sha256: f20bc5007904094e3a4e9fbcc3526cdd40893f91d458c3139b308e5c4c0899c6) >>> host-autoconf 2.71 Collecting legal info COPYINGv3: OK (sha256: 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986) COPYING.EXCEPTION: OK (sha256: 1f1cde9fb68b9b3cff18c420894bec5bd4defacd700b7d13df54a887301e5350) >>> host-libtool 2.4.6 Collecting legal info COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) libltdl/COPYING.LIB: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> host-m4 1.4.19 Collecting legal info COPYING: OK (sha256: 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986) >>> host-automake 1.16.5 Collecting legal info COPYING: OK (sha256: ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6) >>> host-zlib Collecting legal info >>> host-libzlib 1.2.12 Collecting legal info README: OK (sha256: fc2c3368901700f0acdeb1d8afeaca5923296768ec6824ecdf627aac396001fd) >>> host-gmp 6.2.1 Collecting legal info COPYING.LESSERv3: OK (sha256: a853c2ffec17057872340eee242ae4d96cbf2b520ae27d903e1b2fef1a5f9d1c) COPYINGv2: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) >>> host-mpc 1.2.1 Collecting legal info COPYING.LESSER: OK (sha256: da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768) >>> host-mpfr 4.1.0 Collecting legal info COPYING.LESSER: OK (sha256: e3a994d82e644b03a792a930f574002658412f62407f5fee083f2555c5f23118) >>> uclibc 1.0.40 Collecting legal info COPYING.LIB: OK (sha256: 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3) >>> host-gcc-initial 10.3.0 Collecting legal info >>> linux-headers 5.15.30 Collecting legal info >>> busybox 1.35.0 Collecting legal info LICENSE: OK (sha256: bbfc9843646d483c334664f651c208b9839626891d8f17604db2146962f43548) archival/libarchive/bz/LICENSE: OK (sha256: b5a136ed67798e51fe2e0ca0b2a21cb01b904ff0c9f7d563a6292e276607e58f) >>> cjson 1.7.15 Collecting legal info LICENSE: OK (sha256: a36dda207c36db5818729c54e7ad4e8b0c6fba847491ba64f372c1a2037b6d5c) >>> host-cmake 3.18.6 Collecting legal info Copyright.txt: OK (sha256: 131b9ff756b64a25b7461c3c1382e70b16c70a5b4833a1577897fa3ea6d88f8d) >>> host-pkgconf 1.6.3 Collecting legal info COPYING: OK (sha256: 07ee94b50a41ee3fc4e13a9b9c60b26fc28488494c465639f7e5f07a3952ec04) >>> genpart 1.0.2 Collecting legal info >>> initscripts Collecting legal info >>> libid3tag 0.15.1b Collecting legal info COPYING: OK (sha256: 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670) COPYRIGHT: OK (sha256: 7f12ad28dc075763e91b91bfa60fad04062380011ddad8f6bac21dd7b1f44367) >>> host-gperf 3.1 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> zlib Collecting legal info >>> libzlib 1.2.12 Collecting legal info README: OK (sha256: fc2c3368901700f0acdeb1d8afeaca5923296768ec6824ecdf627aac396001fd) >>> libmad 0.15.1b Collecting legal info COPYING: OK (sha256: 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670) >>> lz4 1.9.3 Collecting legal info lib/LICENSE: OK (sha256: d15d99c8dc6b0ec22174c0e563a95bc40f9363ca7f9d9d793bb5c5a8e8d0af71) programs/COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) >>> madplay 0.15.2b Collecting legal info COPYING: OK (sha256: 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670) COPYRIGHT: OK (sha256: 915bfd70548f31d11f9b4ffb21f343d1196af96c79d6aaac5663ea46c39dd3a3) >>> openjpeg 2.4.0 Collecting legal info LICENSE: OK (sha256: a6af136f3e15038a666b61f376612a07d9a4e48cb7c01adbf3e33b3f14ab49b6) >>> host-patchelf 0.9 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> pcre 8.45 Collecting legal info LICENCE: OK (sha256: 51b3dea44f63338b84b9c97b3d793826a8397309068cf9379a423216ab8ea5b2) >>> sdl 1.2.15 Collecting legal info COPYING: OK (sha256: bb117c0fbd7f57f64170b690285d7df07c2371b578e3b3cd3aa2e1155ef461a0) >>> uboot-tools 2021.07 Collecting legal info Licenses/gpl-2.0.txt: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) >>> wireless-regdb 2022.02.18 Collecting legal info LICENSE: OK (sha256: 678b0df753c86198fc496d1f1033429bbd57f101472132ee7eaaf9f5e0a7fae1) >>> zd1211-firmware 1.5 Collecting legal info COPYING: OK (sha256: e6d6a009505e345fe949e1310334fcb0747f28dae2856759de102ab66b722cb4) >>> beaglev-secondboot 2d20047960044308126117ad56bc08a1164e82b2 Collecting legal info LICENSE: OK (sha256: 284d26192537710910ec1f112ec5f4c981601ae23702391986d6ce0b8ba90813) >>> host-riscv64-elf-toolchain 2020.12.8 Collecting legal info WARNING: the Buildroot source code has not been saved WARNING: gcc-final-10.3.0: cannot save license (HOST_GCC_FINAL_LICENSE_FILES not defined) WARNING: gcc-initial-10.3.0: cannot save license (HOST_GCC_INITIAL_LICENSE_FILES not defined) WARNING: linux-headers-5.15.30: cannot save license (LINUX_HEADERS_LICENSE_FILES not defined) WARNING: genpart-1.0.2: cannot save license (GENPART_LICENSE_FILES not defined) WARNING: riscv64-elf-toolchain-2020.12.8: cannot save license (HOST_RISCV64_ELF_TOOLCHAIN_LICENSE_FILES not defined) Legal info produced in /nvmedata/autobuild/instance-13/output-1/legal-info make: Leaving directory '/nvmedata/autobuild/instance-13/buildroot'