From 1d84b57163936dd77bccfa327388ce7c588d69d2 Mon Sep 17 00:00:00 2001 From: Dmitry Ilyin <6576495+widgetii@users.noreply.github.com> Date: Wed, 21 Oct 2026 21:14:38 +0300 Subject: [PATCH 1/3] nor-split: the Hi3516EV200 family, Hi3516EV300 split-only - nor-split-layout: Hi3516EV200, Hi3518EV300 and Hi3516DV200 ship the split package beside the fixed-slot one (OpenIPC/firmware#2655, on OpenIPC/linux#131 and OpenIPC/u-boot#48); Hi3516EV300 lite and ultimate ship the split package only, its kernel filling the 2 MiB kernel slot (neo keeps fixed slots). Going back to fixed slots lists them accordingly. - sysupgrade: `sysupgrade -k -r` installs the split layout on them. Checked in qemu-hisilicon (hi3516ev200, hi3518ev300, hi3516ev300; 8 and 16 MB). Not run on hardware. --- en/nor-split-layout.md | 10 +++++++--- en/sysupgrade.md | 4 ++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/en/nor-split-layout.md b/en/nor-split-layout.md index 54210b45..0367323d 100644 --- a/en/nor-split-layout.md +++ b/en/nor-split-layout.md @@ -17,6 +17,8 @@ and only their sum has to fit the chip. These SoCs use it: |-----|-----------|---------------|------------|----------| | GK7205V200, GK7205V300, GK7202V300, GK7605V100 | 256K boot + 64K env | `0x50000` | `u-boot--nor.bin` | `-split` and the fixed-slot one | | Hi3516CV300, Hi3516EV100 | 256K boot + 64K env | `0x50000` | `u-boot--nor.bin` | `-split` and the fixed-slot one | +| Hi3516EV200, Hi3518EV300, Hi3516DV200 | 256K boot + 64K env | `0x50000` | `u-boot--nor.bin` | `-split` and the fixed-slot one | +| Hi3516EV300 | 256K boot + 64K env | `0x50000` | `u-boot--nor.bin` | `-split` only (neo: fixed slots) | | Hi3516CV610, Hi3516CV608 | 256K boot + 64K env | `0x50000` | `boot-[-]-nor.bin` | `-split` only | | Hi3519DV500 | 512K boot + 256K env | `0xC0000` | `boot-hi3519dv500--nor.bin` | `-split` only | @@ -295,6 +297,8 @@ On the GK7205V200 family: write `uImage.` at `0x50000` and `rootfs.squashfs.` at the fixed rootfs slot, as in [Upgrade firmware](sysupgrade.md) (*From U-Boot*). On a U-Boot environment from this bootloader, `run ur; run uk` does the same. The bootloader sees the uImage -at `0x50000` and boots the fixed slots again. Hi3516CV300 and Hi3516EV100 go -back the same way. Hi3516CV6xx and Hi3519DV500 are built only for the split -layout. +at `0x50000` and boots the fixed slots again. Hi3516CV300, Hi3516EV100, +Hi3516EV200, Hi3518EV300 and Hi3516DV200 go back the same way. Hi3516CV6xx, +Hi3519DV500 and Hi3516EV300 (lite and ultimate) are built only for the split +layout: Hi3516EV300's kernel fills the 2 MiB kernel slot, so no fixed-slot +package of it can ship beside the split one. diff --git a/en/sysupgrade.md b/en/sysupgrade.md index 1a6f574e..1ce8d80f 100644 --- a/en/sysupgrade.md +++ b/en/sysupgrade.md @@ -23,8 +23,8 @@ __ATTENTION! Upgrading firmware can lead to "bricking" your camera. Make sure yo On GK7205V200, GK7205V300, GK7202V300 and GK7605V100 with the OpenIPC `u-boot--nor.bin` bootloader, on Hi3516CV300 and Hi3516EV100 (with that bootloader or the older OpenIPC U-Boot 2010.06, which boots the split image as -well), and on Hi3516CV610, Hi3516CV608 and Hi3519DV500, `sysupgrade -k -r` -installs the +well), on Hi3516EV200, Hi3516EV300, Hi3518EV300 and Hi3516DV200, and on +Hi3516CV610, Hi3516CV608 and Hi3519DV500, `sysupgrade -k -r` installs the [NOR split layout](nor-split-layout.md) from `openipc.-nor--split.tgz` and carries your settings across (Hi3516CV610 and Hi3516CV608 share one package, `openipc.hi3516cv6xx-nor--split.tgz`). The offsets in *From U-Boot* below From c3e23f92b1c67a9de9b8bec2b3b3308b13201867 Mon Sep 17 00:00:00 2001 From: Dmitry Ilyin <6576495+widgetii@users.noreply.github.com> Date: Fri, 23 Oct 2026 09:35:36 +0300 Subject: [PATCH 2/3] nor-split: the GK7205V500 family GK7205V500 ships the split package beside the fixed-slot one (OpenIPC/firmware#2658, on OpenIPC/linux#137 and OpenIPC/u-boot#52). GK7205V510 and GK7205V530 install that one gk7205v500 build, as defib (OpenIPC/defib#163) and the site's installer do. Each keeps its own u-boot--nor.bin. sysupgrade -k -r takes the split package on them too, and they go back to fixed slots the same way. Checked in qemu-hisilicon (gk7205v500 8 and 16 MB, gk7205v510/v530 16 MB). Not run on hardware. --- en/nor-split-layout.md | 4 +++- en/sysupgrade.md | 8 +++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/en/nor-split-layout.md b/en/nor-split-layout.md index 0367323d..1d993004 100644 --- a/en/nor-split-layout.md +++ b/en/nor-split-layout.md @@ -19,6 +19,7 @@ and only their sum has to fit the chip. These SoCs use it: | Hi3516CV300, Hi3516EV100 | 256K boot + 64K env | `0x50000` | `u-boot--nor.bin` | `-split` and the fixed-slot one | | Hi3516EV200, Hi3518EV300, Hi3516DV200 | 256K boot + 64K env | `0x50000` | `u-boot--nor.bin` | `-split` and the fixed-slot one | | Hi3516EV300 | 256K boot + 64K env | `0x50000` | `u-boot--nor.bin` | `-split` only (neo: fixed slots) | +| GK7205V500, GK7205V510, GK7205V530 | 256K boot + 64K env | `0x50000` | `u-boot--nor.bin` | `-split` and the fixed-slot one, both `gk7205v500` | | Hi3516CV610, Hi3516CV608 | 256K boot + 64K env | `0x50000` | `boot-[-]-nor.bin` | `-split` only | | Hi3519DV500 | 512K boot + 256K env | `0xC0000` | `boot-hi3519dv500--nor.bin` | `-split` only | @@ -298,7 +299,8 @@ On the GK7205V200 family: write `uImage.` at `0x50000` and [Upgrade firmware](sysupgrade.md) (*From U-Boot*). On a U-Boot environment from this bootloader, `run ur; run uk` does the same. The bootloader sees the uImage at `0x50000` and boots the fixed slots again. Hi3516CV300, Hi3516EV100, -Hi3516EV200, Hi3518EV300 and Hi3516DV200 go back the same way. Hi3516CV6xx, +Hi3516EV200, Hi3518EV300, Hi3516DV200 and the GK7205V500 family go back the +same way. Hi3516CV6xx, Hi3519DV500 and Hi3516EV300 (lite and ultimate) are built only for the split layout: Hi3516EV300's kernel fills the 2 MiB kernel slot, so no fixed-slot package of it can ship beside the split one. diff --git a/en/sysupgrade.md b/en/sysupgrade.md index 1ce8d80f..e3a28a02 100644 --- a/en/sysupgrade.md +++ b/en/sysupgrade.md @@ -23,11 +23,13 @@ __ATTENTION! Upgrading firmware can lead to "bricking" your camera. Make sure yo On GK7205V200, GK7205V300, GK7202V300 and GK7605V100 with the OpenIPC `u-boot--nor.bin` bootloader, on Hi3516CV300 and Hi3516EV100 (with that bootloader or the older OpenIPC U-Boot 2010.06, which boots the split image as -well), on Hi3516EV200, Hi3516EV300, Hi3518EV300 and Hi3516DV200, and on -Hi3516CV610, Hi3516CV608 and Hi3519DV500, `sysupgrade -k -r` installs the +well), on Hi3516EV200, Hi3516EV300, Hi3518EV300 and Hi3516DV200, on +GK7205V500, GK7205V510 and GK7205V530, and on Hi3516CV610, Hi3516CV608 and +Hi3519DV500, `sysupgrade -k -r` installs the [NOR split layout](nor-split-layout.md) from `openipc.-nor--split.tgz` and carries your settings across (Hi3516CV610 and Hi3516CV608 share one package, -`openipc.hi3516cv6xx-nor--split.tgz`). The offsets in *From U-Boot* below +`openipc.hi3516cv6xx-nor--split.tgz`; the GK7205V500 family shares +`openipc.gk7205v500-nor--split.tgz`). The offsets in *From U-Boot* below are for the fixed-slot layout. ### Using sysupgrade From 2e88306ed477970c9cd3dd8e8f7049c84a7aaf8a Mon Sep 17 00:00:00 2001 From: Dmitry Ilyin <6576495+widgetii@users.noreply.github.com> Date: Fri, 23 Oct 2026 10:15:53 +0300 Subject: [PATCH 3/3] sysupgrade: the split list is for NOR cameras, and Hi3516EV300 lite and ultimate From review: the list of SoCs whose sysupgrade -k -r installs the split package now says it is about NOR flash, and points NAND cameras to their own layout page. Hi3516EV300 is listed for lite and ultimate only: neo keeps fixed slots, as the layout page says. --- en/sysupgrade.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/en/sysupgrade.md b/en/sysupgrade.md index e3a28a02..2e92c489 100644 --- a/en/sysupgrade.md +++ b/en/sysupgrade.md @@ -20,17 +20,19 @@ There are other options available so you can use a local copy of the Linux kerne __ATTENTION! Upgrading firmware can lead to "bricking" your camera. Make sure you are prepared both morally and skill wise. Have your rescue SD card and/or UART adapter ready. Be prepared to de-solder and reprogram flash chip as the last resort. Do not upgrade production cameras unless you really have to!__ -On GK7205V200, GK7205V300, GK7202V300 and GK7605V100 with the OpenIPC -`u-boot--nor.bin` bootloader, on Hi3516CV300 and Hi3516EV100 (with that -bootloader or the older OpenIPC U-Boot 2010.06, which boots the split image as -well), on Hi3516EV200, Hi3516EV300, Hi3518EV300 and Hi3516DV200, on +On NOR flash: on GK7205V200, GK7205V300, GK7202V300 and GK7605V100 with the +OpenIPC `u-boot--nor.bin` bootloader, on Hi3516CV300 and Hi3516EV100 (with +that bootloader or the older OpenIPC U-Boot 2010.06, which boots the split image +as well), on Hi3516EV200, Hi3518EV300 and Hi3516DV200, on Hi3516EV300 lite and +ultimate (neo keeps fixed slots), on GK7205V500, GK7205V510 and GK7205V530, and on Hi3516CV610, Hi3516CV608 and Hi3519DV500, `sysupgrade -k -r` installs the [NOR split layout](nor-split-layout.md) from `openipc.-nor--split.tgz` and carries your settings across (Hi3516CV610 and Hi3516CV608 share one package, `openipc.hi3516cv6xx-nor--split.tgz`; the GK7205V500 family shares `openipc.gk7205v500-nor--split.tgz`). The offsets in *From U-Boot* below -are for the fixed-slot layout. +are for the fixed-slot layout. NAND cameras upgrade from the NAND package +instead, as in [NAND flash layouts](nand-rootfs-layouts.md). ### Using sysupgrade `sysupgrade -k -r` gives you the latest release for your camera, as described above; if you wish to revert to a previous image, or load your own updates, then use any of the options described below.