diff --git a/building.sh b/building.sh index 8ef55ceb..52080629 100755 --- a/building.sh +++ b/building.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# OpenIPC.org | v.20211025 +# OpenIPC.org | v.20211214 # clone() { @@ -37,6 +37,12 @@ rename_initramfs() { echo -e "\n\n$(cat /tmp/openipc_buildtime.txt)" } +autoup_rootfs() { + echo -e "\n\n" + cp -v ./output/images/uImage.initramfs.${soc} ./output/images/autoupdate-kernel.img + ./output/host/bin/mkimage -A arm -O linux -T filesystem -n 'OpenIPC v2.1' -a 0x000000250000 -e 0x000000750000 -d ./output/images/rootfs.squashfs.${soc} ./output/images/autoupdate-rootfs.img +} + upload() { server="zig@172.28.200.74:/sync/Archive/Incoming/Tftp/" echo -e "\n\nStart transferring files to the TFTP server...\n" @@ -100,6 +106,11 @@ hi3518ev200() { fresh && make PLATFORM=hisilicon BOARD=unknown_unknown_${soc}_openipc all && rename } +hi3518ev200_hs303v3() { + soc="hi3518ev200" + fresh && make PLATFORM=hisilicon BOARD=unknown_unknown_${soc}_openipc all && rename && autoup_rootfs +} + ################################################################################# hi3516cv300() { @@ -311,8 +322,9 @@ xm550() { # # hi3516cv200 # testing.. # hi3518ev200 # testing.. -hi3516cv200 # testing.. +# hi3516cv200 # testing.. # hi3518ev200 # testing.. +hi3518ev200_hs303v3 # testing.. # # hi3516av100 # OpenIPC # hi3516dv100 # OpenIPC diff --git a/general/package/ipctool/ipctool.mk b/general/package/ipctool/ipctool.mk index a4e237e4..de8426e5 100644 --- a/general/package/ipctool/ipctool.mk +++ b/general/package/ipctool/ipctool.mk @@ -9,7 +9,8 @@ IPCTOOL_SITE = $(call github,openipc,ipctool,$(IPCTOOL_VERSION)) IPCTOOL_LICENSE = MIT IPCTOOL_LICENSE_FILES = LICENSE -IPCTOOL_CONF_OPTS += -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -DSKIP_VERSION=ON +IPCTOOL_CONF_OPTS += -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release +# -DSKIP_VERSION=ON IPCTOOL_MAKE_OPTS += VERBOSE=1