Rebuild ipctool and add new profile

pull/110/head
Igor Zalatov (from Citadel PC) 2021-12-14 19:28:56 +03:00
parent 4207738fb6
commit 0bca1e566a
2 changed files with 16 additions and 3 deletions

View File

@ -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

View File

@ -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