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
8 changes: 4 additions & 4 deletions .github/scripts/ci-matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
# Hisilicon [HI3516CV500]
"hi3516av300_lite", "hi3516av300_neo", "hi3516cv500_lite", "hi3516dv300_lite",
# Hisilicon [HI3516CV6XX]
"hi3516cv6xx_ultimate",
"hi3516cv6xx_lite", "hi3516cv6xx_ultimate",
Comment thread
openipc-ai marked this conversation as resolved.
# Hisilicon [HI3519DV500]
"hi3519dv500_ultimate",
# Hisilicon [HI3516EV200]
Expand Down Expand Up @@ -754,7 +754,7 @@ def self_test():
(["general/package/hisilicon-osdrv-hi3516ev200/files/script/load_hisilicon"],
8, "osdrv narrows to its family"),
(["general/package/hisilicon-opensdk/hisilicon-opensdk.mk"],
43, "opensdk spans HiSilicon and Goke"),
44, "opensdk spans HiSilicon and Goke"),
(["general/package/goke-osdrv-gk7205v200/Config.in"], 7, "goke osdrv"),
(["general/package/hisilicon-osdrv-hi3520dv200/files/script/load_hisilicon"],
1, "single-board osdrv"),
Expand All @@ -766,7 +766,7 @@ def self_test():
(["general/package/sigmastar-osdrv-sensors/Config.in"],
24, "reached via Config.in select"),
# Shared packages narrow too, just barely.
(["general/package/majestic/majestic.mk"], 87, "majestic is nearly everywhere"),
(["general/package/majestic/majestic.mk"], 88, "majestic is nearly everywhere"),
# Board configs and kernel configs.
(["br-ext-chip-goke/configs/gk7205v200_lite_defconfig"], 1, "one defconfig"),
(["br-ext-chip-hisilicon/board/hi3516ev200/hi3516ev300.generic.config"],
Expand Down Expand Up @@ -832,7 +832,7 @@ def self_test():
(["LICENSES/vendor.txt"], full, "LICENSES/ is not the licence file"),
(["READMEgenerator.c"], full, "README prefix is not a readme"),
(["general/package/majestic/README.md"],
87, "markdown inside a package is that package"),
88, "markdown inside a package is that package"),
(["br-ext-chip-hisilicon/board/hi3516ev200/NOTES.md"],
8, "markdown inside a board dir is that family"),
(["general/scripts/pr_compliance_checklist.yaml"],
Expand Down
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,16 @@ else
endif
else
ifeq ($(BR2_OPENIPC_SOC_FAMILY),"hi3516cv6xx")
# The cv610 u-boot boots from a fixed table: 2048K(kernel) read whole by
# `sf read ${kernaddr} ${kernsize}`, then 5120K(rootfs) at a fixed offset. The
# combined firmware.bin hides both bounds, so on the 8 MiB part measure the two
# halves against their slots here, where a PR sees it. 16 MiB is left on the
# whole-blob figure: its kernel already overruns 2048K on master, and that is a
# u-boot table question, not one a size check here can settle.
ifeq ($(BR2_OPENIPC_FLASH_SIZE),"8")
@$(call CHECK_SIZE,fitImage,2048)
@$(call CHECK_SIZE,rootfs.squashfs,5120)
endif
@$(call PREPARE_REPACK,firmware.bin,$(shell expr $(subst ",,$(BR2_OPENIPC_FLASH_SIZE)) \* 1024),,,nor)
else ifeq ($(BR2_OPENIPC_SOC_FAMILY),"hi3519dv500")
@$(call PREPARE_REPACK,firmware.bin,$(shell expr $(subst ",,$(BR2_OPENIPC_FLASH_SIZE)) \* 1024),,,nor)
Expand Down
Loading
Loading