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) | ~~~~~~~~~~~~~~~^~~~ /home/buildroot/autobuild/instance-2/output-1/host/bin/riscv64-unknown-elf-gcc -O2 -g -c -Wall -DVERSION=\"buildroot-e17302063c9a4b74475b18ff24dd149c27257354\" -DJH7100 -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 ../spi/spi_flash.c: In function 'spi_flash_cmd_write_mode': ../spi/spi_flash.c:379:6: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] 379 | int ret; | ^~~ ================================================================================ /home/buildroot/autobuild/instance-2/output-1/host/bin/riscv64-unknown-elf-gcc -o bootloader-JH7100-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-JH7100-buildroot.elf LINK SUCCEED! /home/buildroot/autobuild/instance-2/output-1/host/bin/riscv64-unknown-elf-objcopy -O binary bootloader-JH7100-buildroot.elf bootloader-JH7100-buildroot.bin /home/buildroot/autobuild/instance-2/output-1/host/bin/riscv64-unknown-elf-objdump -S bootloader-JH7100-buildroot.elf > bootloader-JH7100-buildroot.asm inFile: bootloader-JH7100-buildroot.bin inSize: 9492 (0x00002514, LE:0x14250000) outFile: bootloader-JH7100-buildroot.bin.out outSize: 9496 (0x00002518) make[1]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/beaglev-secondboot-e17302063c9a4b74475b18ff24dd149c27257354/build' >>> beaglev-secondboot e17302063c9a4b74475b18ff24dd149c27257354 Installing to images directory /usr/bin/install -D -m 0644 /home/buildroot/autobuild/instance-2/output-1/build/beaglev-secondboot-e17302063c9a4b74475b18ff24dd149c27257354/build/bootloader-JH7100-buildroot.bin.out /home/buildroot/autobuild/instance-2/output-1/images/bootloader-JH7100-buildroot.bin.out >>> Finalizing host directory >>> Finalizing target directory mkdir -p /home/buildroot/autobuild/instance-2/output-1/host/etc/meson sed -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Og', '-g0', '-D_FORTIFY_SOURCE=1'@PKG_TARGET_CFLAGS@%g" -e "s%@TARGET_LDFLAGS@%@PKG_TARGET_LDFLAGS@%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Og', '-g0', '-D_FORTIFY_SOURCE=1'@PKG_TARGET_CXXFLAGS@%g" -e "s%@TARGET_CC@%/home/buildroot/autobuild/instance-2/output-1/host/bin/riscv32-buildroot-linux-gnu-gcc%g" -e "s%@TARGET_CXX@%/home/buildroot/autobuild/instance-2/output-1/host/bin/riscv32-buildroot-linux-gnu-g++%g" -e "s%@TARGET_AR@%/home/buildroot/autobuild/instance-2/output-1/host/bin/riscv32-buildroot-linux-gnu-gcc-ar%g" -e "s%@TARGET_STRIP@%/home/buildroot/autobuild/instance-2/output-1/host/bin/riscv32-buildroot-linux-gnu-strip%g" -e "s%@TARGET_ARCH@%riscv32%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@%/home/buildroot/autobuild/instance-2/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/home/buildroot/autobuild/instance-2/output-1/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/home/buildroot/autobuild/instance-2/output-1/host%g" -e "s%@STAGING_DIR@%/home/buildroot/autobuild/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot%g" -e "s%@STATIC@%false%g" /home/buildroot/autobuild/instance-2/buildroot/support/misc/cross-compilation.conf.in > /home/buildroot/autobuild/instance-2/output-1/host/etc/meson/cross-compilation.conf.in sed -e "s%@TARGET_CC@%/home/buildroot/autobuild/instance-2/output-1/host/bin/riscv32-buildroot-linux-gnu-gcc%g" -e "s%@TARGET_CXX@%/home/buildroot/autobuild/instance-2/output-1/host/bin/riscv32-buildroot-linux-gnu-g++%g" -e "s%@TARGET_AR@%/home/buildroot/autobuild/instance-2/output-1/host/bin/riscv32-buildroot-linux-gnu-gcc-ar%g" -e "s%@TARGET_STRIP@%/home/buildroot/autobuild/instance-2/output-1/host/bin/riscv32-buildroot-linux-gnu-strip%g" -e "s%@TARGET_ARCH@%riscv32%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', '-Og', '-g0', '-D_FORTIFY_SOURCE=1'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Og', '-g0', '-D_FORTIFY_SOURCE=1'%g" -e "s%@BR2_CMAKE@%/home/buildroot/autobuild/instance-2/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/home/buildroot/autobuild/instance-2/output-1/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/home/buildroot/autobuild/instance-2/output-1/host%g" -e "s%@STAGING_DIR@%/home/buildroot/autobuild/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot%g" -e "s%@STATIC@%false%g" /home/buildroot/autobuild/instance-2/buildroot/support/misc/cross-compilation.conf.in > /home/buildroot/autobuild/instance-2/output-1/host/etc/meson/cross-compilation.conf /bin/sed -i -e '/# GENERIC_SERIAL$/s~^.*#~console::respawn:/sbin/getty -L console 0 vt100 #~' /home/buildroot/autobuild/instance-2/output-1/target/etc/inittab /bin/sed -i -e '/^#.*-o remount,rw \/$/s~^#\+~~' /home/buildroot/autobuild/instance-2/output-1/target/etc/inittab if grep -q CONFIG_ASH=y /home/buildroot/autobuild/instance-2/output-1/build/busybox-1.35.0/.config; then grep -qsE '^/bin/ash$' /home/buildroot/autobuild/instance-2/output-1/target/etc/shells || echo "/bin/ash" >> /home/buildroot/autobuild/instance-2/output-1/target/etc/shells; fi if grep -q CONFIG_HUSH=y /home/buildroot/autobuild/instance-2/output-1/build/busybox-1.35.0/.config; then grep -qsE '^/bin/hush$' /home/buildroot/autobuild/instance-2/output-1/target/etc/shells || echo "/bin/hush" >> /home/buildroot/autobuild/instance-2/output-1/target/etc/shells; fi mkdir -p /home/buildroot/autobuild/instance-2/output-1/target/etc echo "buildroot" > /home/buildroot/autobuild/instance-2/output-1/target/etc/hostname /bin/sed -i -e '$a \127.0.1.1\tbuildroot' -e '/^127.0.1.1/d' /home/buildroot/autobuild/instance-2/output-1/target/etc/hosts mkdir -p /home/buildroot/autobuild/instance-2/output-1/target/etc echo "Welcome to Buildroot" > /home/buildroot/autobuild/instance-2/output-1/target/etc/issue /bin/sed -i -e s,^root:[^:]*:,root::, /home/buildroot/autobuild/instance-2/output-1/target/etc/shadow grep -qsE '^/bin/sh$' /home/buildroot/autobuild/instance-2/output-1/target/etc/shells || echo "/bin/sh" >> /home/buildroot/autobuild/instance-2/output-1/target/etc/shells if [ -x /home/buildroot/autobuild/instance-2/output-1/target/sbin/swapon -a -x /home/buildroot/autobuild/instance-2/output-1/target/sbin/swapoff ]; then /bin/sed -i -e '/^#.*\/sbin\/swap/s/^#\+[[:blank:]]*//' /home/buildroot/autobuild/instance-2/output-1/target/etc/inittab; else /bin/sed -i -e '/^[^#].*\/sbin\/swap/s/^/#/' /home/buildroot/autobuild/instance-2/output-1/target/etc/inittab; fi rm -rf /home/buildroot/autobuild/instance-2/output-1/target/usr/include /home/buildroot/autobuild/instance-2/output-1/target/usr/share/aclocal \ /home/buildroot/autobuild/instance-2/output-1/target/usr/lib/pkgconfig /home/buildroot/autobuild/instance-2/output-1/target/usr/share/pkgconfig \ /home/buildroot/autobuild/instance-2/output-1/target/usr/lib/cmake /home/buildroot/autobuild/instance-2/output-1/target/usr/share/cmake \ /home/buildroot/autobuild/instance-2/output-1/target/usr/lib/rpm /home/buildroot/autobuild/instance-2/output-1/target/usr/doc find /home/buildroot/autobuild/instance-2/output-1/target/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f find /home/buildroot/autobuild/instance-2/output-1/target/lib/ /home/buildroot/autobuild/instance-2/output-1/target/usr/lib/ /home/buildroot/autobuild/instance-2/output-1/target/usr/libexec/ \ \( -name '*.a' -o -name '*.la' -o -name '*.prl' \) -print0 | xargs -0 rm -f find: '/home/buildroot/autobuild/instance-2/output-1/target/usr/libexec/': No such file or directory rm -rf /home/buildroot/autobuild/instance-2/output-1/target/usr/share/gdb rm -rf /home/buildroot/autobuild/instance-2/output-1/target/usr/share/bash-completion rm -rf /home/buildroot/autobuild/instance-2/output-1/target/etc/bash_completion.d rm -rf /home/buildroot/autobuild/instance-2/output-1/target/usr/share/zsh rm -rf /home/buildroot/autobuild/instance-2/output-1/target/usr/man /home/buildroot/autobuild/instance-2/output-1/target/usr/share/man rm -rf /home/buildroot/autobuild/instance-2/output-1/target/usr/info /home/buildroot/autobuild/instance-2/output-1/target/usr/share/info rm -rf /home/buildroot/autobuild/instance-2/output-1/target/usr/doc /home/buildroot/autobuild/instance-2/output-1/target/usr/share/doc rm -rf /home/buildroot/autobuild/instance-2/output-1/target/usr/share/gtk-doc rmdir /home/buildroot/autobuild/instance-2/output-1/target/usr/share 2>/dev/null || true rm -rf /home/buildroot/autobuild/instance-2/output-1/target/lib/debug /home/buildroot/autobuild/instance-2/output-1/target/usr/lib/debug find /home/buildroot/autobuild/instance-2/output-1/target -type f \( -perm /111 -o -name '*.so*' \) -not \( -name 'libpthread*.so*' -o -name 'ld-*.so*' -o -name '*.ko' \) -print0 | xargs -0 /home/buildroot/autobuild/instance-2/output-1/host/bin/riscv32-buildroot-linux-gnu-strip --remove-section=.comment --remove-section=.note 2>/dev/null || true find /home/buildroot/autobuild/instance-2/output-1/target \( -name 'ld-*.so*' -o -name 'libpthread*.so*' \) -print0 | xargs -0 -r /home/buildroot/autobuild/instance-2/output-1/host/bin/riscv32-buildroot-linux-gnu-strip --remove-section=.comment --remove-section=.note --strip-debug 2>/dev/null || true test -f /home/buildroot/autobuild/instance-2/output-1/target/etc/ld.so.conf && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf file"; exit 1; } || true test -d /home/buildroot/autobuild/instance-2/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 /home/buildroot/autobuild/instance-2/output-1/target/etc ( \ echo "NAME=Buildroot"; \ echo "VERSION=2022.05-1003-g466d65d73e"; \ echo "ID=buildroot"; \ echo "VERSION_ID=2022.08-git"; \ echo "PRETTY_NAME=\"Buildroot 2022.08-git\"" \ ) > /home/buildroot/autobuild/instance-2/output-1/target/usr/lib/os-release ln -sf ../usr/lib/os-release /home/buildroot/autobuild/instance-2/output-1/target/etc >>> Sanitizing RPATH in target tree PER_PACKAGE_DIR=/home/buildroot/autobuild/instance-2/output-1/per-package /home/buildroot/autobuild/instance-2/buildroot/support/scripts/fix-rpath target touch /home/buildroot/autobuild/instance-2/output-1/target/usr ln -snf /home/buildroot/autobuild/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot /home/buildroot/autobuild/instance-2/output-1/staging make: Leaving directory '/home/buildroot/autobuild/instance-2/buildroot' make: Entering directory '/home/buildroot/autobuild/instance-2/buildroot' >>> Buildroot 2022.05-1003-g466d65d73e Collecting legal info COPYING: OK (sha256: 9755181e27175cb3510b4da8629caa406fb355a19aa8e7d55f06bf8ab33323c4) >>> bdwgc 8.0.6 Collecting legal info README.QUICK: OK (sha256: 0aab7a56a92ed878c4a5464cf282d65f38bcdee64fe9cf213e26254bddb3f340) >>> host-pkgconf 1.6.3 Collecting legal info COPYING: OK (sha256: 07ee94b50a41ee3fc4e13a9b9c60b26fc28488494c465639f7e5f07a3952ec04) >>> host-skeleton Collecting legal info >>> libatomic_ops 7.6.12 Collecting legal info doc/LICENSING.txt: OK (sha256: f0e630c0ca489767033da5a0c869fb4231db522c5ff479ce55a853a923a00f69) COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) >>> 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) >>> 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.4.0 Collecting legal info >>> glibc 2.35-134-gb6aade18a7e5719c942aa2da6cf3157aca993fa4 Collecting legal info COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) COPYING.LIB: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) LICENSES: OK (sha256: b33d0bd9f685b46853548814893a6135e74430d12f6d94ab3eba42fc591f83bc) >>> host-bison 3.8.2 Collecting legal info COPYING: OK (sha256: 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986) >>> host-gawk 5.1.1 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> host-gcc-initial 10.4.0 Collecting legal info >>> host-binutils 2.37 Collecting legal info COPYING3: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) COPYING.LIB: OK (sha256: 56bdea73b6145ef6ac5259b3da390b981d840c24cb03b8e1cbc678de7ecfa18d) >>> 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) >>> linux-headers 5.4.204 Collecting legal info >>> busybox 1.35.0 Collecting legal info LICENSE: OK (sha256: bbfc9843646d483c334664f651c208b9839626891d8f17604db2146962f43548) archival/libarchive/bz/LICENSE: OK (sha256: b5a136ed67798e51fe2e0ca0b2a21cb01b904ff0c9f7d563a6292e276607e58f) >>> host-e2fsprogs 1.46.5 Collecting legal info NOTICE: OK (sha256: 5da5ef153e559c1d990d4c3eedbedd4442db892d37eae1f35fff069de8ec9020) lib/ss/mit-sipb-copyright.h: OK (sha256: 032989b508f1a72ebee5b3417e55d06d473f9ee203e45ab11864a7e49cdec63d) lib/et/internal.h: OK (sha256: 47182fe6631a32f271a15bbe210751b3825b7199f588879aac7d4804fc8b4b8f) >>> host-util-linux 2.38 Collecting legal info README.licensing: OK (sha256: 869660b5269f4f40a8a679da7f403ea3a6e71d46087aab5e14871b09bcb55955) Documentation/licenses/COPYING.BSD-3-Clause: OK (sha256: 9b718a9460fed5952466421235bc79eb49d4e9eacc920d7a9dd6285ab8fd6c6d) Documentation/licenses/COPYING.BSD-4-Clause-UC: OK (sha256: ba7640f00d93e72e92b94b9d71f25ec53bac2f1682f5c4adcccb0018359f60f8) Documentation/licenses/COPYING.GPL-2.0-or-later: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) Documentation/licenses/COPYING.ISC: OK (sha256: e53348ce276358e9997014071c5294b36a18c4b34f32f00ee57b9acce0aafd63) Documentation/licenses/COPYING.LGPL-2.1-or-later: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> host-zlib Collecting legal info >>> host-libzlib 1.2.12 Collecting legal info README: OK (sha256: fc2c3368901700f0acdeb1d8afeaca5923296768ec6824ecdf627aac396001fd) >>> host-e2tools 0.0.16.4 Collecting legal info COPYING: OK (sha256: 0e79fd282723e1eb3f7381d41233a83ed20cf3e8c83aa53e6847bf7ffe781583) >>> easy-rsa 3.1.0 Collecting legal info COPYING.md: OK (sha256: 7c4a4fc71745d93a87278801f1bca555562ca23f21e18293add64b9e6f6b7bf1) gpl-2.0.txt: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) >>> faad2 2.10.0 Collecting legal info COPYING: OK (sha256: d3baf3a54943cf12a994c85867a18dec84f810901b2f2878ddfd77efcc3c150f) >>> gettext-tiny 0.3.2 Collecting legal info LICENSE: OK (sha256: 4c938aa3d8fa3c184bba5e87a8a2febc89560627c9d0567536879e3eca1a7b4f) >>> google-material-design-icons 2.2.3 Collecting legal info LICENSE: OK (sha256: 8ae9438818c26e4873b91d8c6ad620526c011e27e125677f13031eda903f007c) >>> inih 55 Collecting legal info LICENSE.txt: OK (sha256: 9ae3b39e83e9158e44b67733baa3bb2d84e80efdcfb14a5820210a42c7abdf7f) >>> host-meson 0.63.0 Collecting legal info COPYING: OK (sha256: cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30) >>> host-ninja 1.10.2.g51db2.kitware.jobserver-1 Collecting legal info COPYING: OK (sha256: eb7e9ab9690124c5c9f42bdc81383d886a3dede26345b6ed15bbad7caf81f7ea) >>> host-cmake 3.22.3 Collecting legal info Copyright.txt: OK (sha256: f1a4326266aada65b307dac05161a9d02d3dba4fb08b50cb26e3c24cc8a86e97) >>> host-python-setuptools 63.2.0 Collecting legal info LICENSE: OK (sha256: db3f0246b1f9278f15845b99fec478b8b506eb76487993722f8c6e254285faf8) >>> host-python3 3.10.5 Collecting legal info LICENSE: OK (sha256: f03e17cd594c2085f66a454e695c7ebe5b4d3c0eff534f4f194abc2fd164621b) >>> host-autoconf-archive 2021.02.19 Collecting legal info COPYING: OK (sha256: e6037104443f9a7829b2aa7c5370d0789a7bda3ca65a0b904cdc0c2e285d9195) COPYING.EXCEPTION: OK (sha256: 23ed0b84fa023bfa33433b498192cd08a3bfb1f4864a8ed791a84f3eb48b2dd2) >>> host-expat 2.4.8 Collecting legal info COPYING: OK (sha256: 8c6b5b6de8fae20b317f4992729abc0e520bfba4c7606cd1e9eeb87418eebdec) >>> host-libffi 3.4.2 Collecting legal info LICENSE: OK (sha256: a61d06e8f7be57928e71e800eb9273b05cb8868c484108afe41e4305bb320dde) >>> initscripts Collecting legal info >>> libconfig 1.7.3 Collecting legal info COPYING.LIB: OK (sha256: d80c9d084ebfb50ea1ed91bfbc2410d6ce542097a32c43b00781b83adcb8c77f) >>> libdvdcss 1.4.3 Collecting legal info COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) >>> libldns 1.8.1 Collecting legal info LICENSE: OK (sha256: 9e0b1505c358d1a7c79555ee8bd1acbe2985dbc74dd81f3697cebf2161e922e6) >>> openssl Collecting legal info >>> libopenssl 1.1.1q Collecting legal info LICENSE: OK (sha256: c32913b33252e71190af2066f08115c69bc9fddadf3bf29296e20c835389841c) >>> zlib Collecting legal info >>> libzlib 1.2.12 Collecting legal info README: OK (sha256: fc2c3368901700f0acdeb1d8afeaca5923296768ec6824ecdf627aac396001fd) >>> libmnl 1.0.5 Collecting legal info COPYING: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> liboauth 1.0.3 Collecting legal info COPYING.MIT: OK (sha256: c30608672733bf3abd2ccf6f3206be8d91b7ee58b007b2fdbcfbc61c655e7fb7) >>> libreplaygain r475 Collecting legal info src/gain_analysis.c: OK (sha256: 511e7b63ce6530b93932d19da3471a6672586339bc131b2699ad4e9b0ee6c9bb) >>> libsndfile 1.1.0 Collecting legal info COPYING: OK (sha256: ad01ea5cd2755f6048383c8d54c88459cd6fcb17757c5c8892f8c5ea060f6140) >>> open2300 f21982e0b1f8321561e5ad1668307fde97700e1b Collecting legal info COPYING: OK (sha256: 91df39d1816bfb17a4dda2d3d2c83b1f6f2d38d53e53e41e8f97ad5ac46a0cad) >>> host-opkg-utils 0.4.5 Collecting legal info COPYING: OK (sha256: 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670) >>> host-lz4 1.9.3 Collecting legal info lib/LICENSE: OK (sha256: d15d99c8dc6b0ec22174c0e563a95bc40f9363ca7f9d9d793bb5c5a8e8d0af71) programs/COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) >>> host-xz 5.2.5 Collecting legal info COPYING: OK (sha256: bcb02973ef6e87ea73d331b3a80df7748407f17efdb784b61b47e0e610d3bb5c) COPYING.GPLv2: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) COPYING.GPLv3: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) COPYING.LGPLv2.1: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> host-patchelf 0.13 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> scrub 2.6.1 Collecting legal info COPYING: OK (sha256: 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994) DISCLAIMER: OK (sha256: f76abbfb80cde1036cb553cdecb08bb846a48e33c91ef56c0f494172fd407f33) >>> sqlite 3.39.0 Collecting legal info tea/license.terms: OK (sha256: 66e056b6e8687f32af30d5187611b98b12a8f46f07aaf62f43585f276e8f0ac9) >>> tio 1.40 Collecting legal info LICENSE: OK (sha256: 9248dee77ee136321f24556a96e07ff8f90461013941884a9defd0ac825ef131) >>> host-uboot-tools 2021.07 Collecting legal info Licenses/gpl-2.0.txt: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) >>> ux500-firmware 1.1.3-6 Collecting legal info license.txt: OK (sha256: b5bbc3fb3ff2f8e165b3bf60b25702d8970b3d7fe88b1c883f20615d550a7cb2) >>> beaglev-secondboot e17302063c9a4b74475b18ff24dd149c27257354 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.4.0: cannot save license (HOST_GCC_FINAL_LICENSE_FILES not defined) WARNING: gcc-initial-10.4.0: cannot save license (HOST_GCC_INITIAL_LICENSE_FILES not defined) WARNING: linux-headers-5.4.204: cannot save license (LINUX_HEADERS_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 /home/buildroot/autobuild/instance-2/output-1/legal-info make: Leaving directory '/home/buildroot/autobuild/instance-2/buildroot'