Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/scripts/test_sysupgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3546,7 +3546,14 @@ default_url_is "$F/openipc.gk7205v200-nor-lite-split.tgz" \
eval 'set_platform gk7205v200_lite; STUB_SOC=gk7205v200; STUB_SPLIT_PUBLISHED=1'
default_url_is "$F/openipc.hi3516cv6xx-nor-lite-split.tgz" \
eval 'set_platform hi3516cv6xx_lite; STUB_SOC=hi3516cv6xx; STUB_SPLIT_PUBLISHED=1'
# dev and glibc live in the builder repo; a split-only board publishes -split
# there too (hi3516ev300, hi3518ev300), and the camera must ask for it.
default_url_is "$B/openipc.hi3516ev300-nor-dev-split.tgz" \
eval 'set_platform hi3516ev300_dev dev; STUB_SOC=hi3516ev300; STUB_SPLIT_PUBLISHED=1'
unset STUB_SPLIT_PUBLISHED
default_url_is "$B/openipc.hi3516ev300-nor-dev.tgz" \
eval 'set_platform hi3516ev300_dev dev; STUB_SOC=hi3516ev300'

default_url_is "$F/openipc.ssc338q-nor-lite.tgz" true
# --channel resolves the plain package from the manifest; the family fetches
# the -split one beside it. A board that publishes only the split package
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -892,6 +892,11 @@ CONFIG_MTD=y
CONFIG_MTD_CMDLINE_PARTS=y
# CONFIG_MTD_AFS_PARTS is not set
CONFIG_MTD_OF_PARTS=y
CONFIG_MTD_ROOTFS_ROOT_DEV=y
CONFIG_MTD_SPLIT_FIRMWARE=y
CONFIG_MTD_SPLIT_FIRMWARE_NAME="firmware"
CONFIG_MTD_SPLIT_SQUASHFS_ROOT=y
CONFIG_MTD_SPLIT_UIMAGE_FW=y
Comment thread
widgetii marked this conversation as resolved.
# CONFIG_MTD_AR7_PARTS is not set

#
Expand Down
1 change: 1 addition & 0 deletions br-ext-chip-hisilicon/configs/hi3516ev300_dev_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,4 @@ BR2_PACKAGE_RTW_HOSTAPD=y
BR2_PACKAGE_UACME_OPENIPC=y
BR2_PACKAGE_VTUND_OPENIPC=y
BR2_PACKAGE_YAML_CLI=y
BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_GENERAL_PATH)/scripts/post-image-split.sh"
Comment thread
widgetii marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,4 @@ BR2_PACKAGE_OPUS_OPENIPC_FIXED_POINT=y
BR2_PACKAGE_UACME_OPENIPC=y
BR2_PACKAGE_VTUND_OPENIPC=y
BR2_PACKAGE_YAML_CLI=y
BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_GENERAL_PATH)/scripts/post-image-split.sh"
1 change: 1 addition & 0 deletions br-ext-chip-hisilicon/configs/hi3516ev300_lite_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,4 @@ BR2_PACKAGE_OPUS_OPENIPC=y
BR2_PACKAGE_OPUS_OPENIPC_FIXED_POINT=y
BR2_PACKAGE_VTUND_OPENIPC=y
BR2_PACKAGE_YAML_CLI=y
BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_GENERAL_PATH)/scripts/post-image-split.sh"
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,4 @@ BR2_PACKAGE_UACME_OPENIPC=y
BR2_PACKAGE_VTUND_OPENIPC=y
BR2_PACKAGE_YAML_CLI=y
BR2_PACKAGE_ZEROTIER_ONE=y
BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_GENERAL_PATH)/scripts/post-image-split.sh"
1 change: 0 additions & 1 deletion br-ext-chip-hisilicon/configs/hi3518ev300_lite_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,3 @@ BR2_PACKAGE_OPUS_OPENIPC=y
BR2_PACKAGE_OPUS_OPENIPC_FIXED_POINT=y
BR2_PACKAGE_YAML_CLI=y
BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_GENERAL_PATH)/scripts/post-image-split.sh"
BR2_OPENIPC_NOR_FIXED_PACKAGE=y
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,3 @@ BR2_PACKAGE_VTUND_OPENIPC=y
BR2_PACKAGE_YAML_CLI=y
BR2_PACKAGE_ZEROTIER_ONE=y
BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_GENERAL_PATH)/scripts/post-image-split.sh"
BR2_OPENIPC_NOR_FIXED_PACKAGE=y
4 changes: 3 additions & 1 deletion general/overlay/usr/sbin/sysupgrade
Original file line number Diff line number Diff line change
Expand Up @@ -3105,7 +3105,9 @@ default_upgrade_url() {
# own archive: the plain one keeps the fixed-slot images every older
# camera and installer expects.
local u="https://github.com/OpenIPC/$repo/releases/download/latest/openipc.$model-$(pkg_flash)-$osr.tgz"
[ "$repo" = firmware ] && u=$(nor_split_url "$u")
# Wherever the archive lives: a board built split-only (hi3516ev300,
# hi3518ev300, hi3516cv6xx) publishes -split for dev and glibc too.
u=$(nor_split_url "$u")
echo "$u"
}

Expand Down
Loading