Repository navigation
Wizard: the GK7205V200 family on OpenIPC/u-boot, and the split NOR layout - #482
Conversation
…yout GK7202V300, GK7205V200, GK7205V210, GK7205V300 and GK7605V100 now install OpenIPC/u-boot's u-boot-<soc>-nor.bin (OpenIPC/u-boot#18, #19), published in latest, in place of the -universal.bin of the retired u-boot-gk7205v200 repository. That bootloader scans the NOR layout at boot, so these SoCs take the #477 install: each image written at its offset, no uknor/urnor macros, no sf lock. The same bootloader boots the split NOR layout (OpenIPC/linux#96, OpenIPC/firmware#2617, #2621): one firmware.bin -- a hashed FIT, then the squashfs at the next 64 KiB -- at 0x50000, which the kernel divides into kernel, rootfs and rootfs_data at boot. Their firmware publishes it as openipc.<board>-nor-<edition>-split.tgz beside the fixed-slot package. The catalogue marks these SoCs nor_split; where the -split package is published for the board and edition, the Linux step writes that one image at 0x50000 and erases to the end of the chip in the same guarded line (0x7b0000 on 8 MB, 0xfb0000 on 16 MB), and the page links the -split package. Where it is not, the two-image install stays. The full image and the backup/restore steps are unchanged: the bootloader boots the fixed slots the full image carries. The fixture index gains the four published u-boot-<soc>-nor.bin, so the availability reference stands; boards.json and the documents golden are regenerated for the five SoCs. TestSplitNORInstall covers the split lines, gk7205v210 through its gk7205v200 build, the SD path, and the fall-back when no -split package is published. The split install was verified on the lab GK7205V200 (8 MB) and GK7205V300 (16 MB) with these bootloaders and the 2026-10-17 nightly's images, by the same U-Boot write: boots with the FIT hashes checked and kernel, rootfs and rootfs_data where the image puts them.
PR Summary by QodoSupport OpenIPC NOR bootloaders and split firmware installs for Goke SoCs
AI Description
Diagram
High-Level Assessment
Files changed (9)
|
Code Review by Qodo
1.
|
…nand.bin
Review of the previous commit: Bootloader("nand") falls back to
uboot_filename, so moving these SoCs to u-boot-<soc>-nor.bin handed that
NOR build to NAND installs and NAND full images.
OpenIPC/u-boot publishes a NAND build for each of them too,
u-boot-<soc>-nand.bin in latest, and that build is the UBI-only layout
(768k boot, 256k env, the rest one UBI device), the same as u-boot-xmedia's.
So the catalogue names it as uboot_nand_filename, which is what moves a
SoC's NAND installs onto that layout; defib (OpenIPC/defib#154) installs
these SoCs on NAND the same way. The retired -universal.bin, and its split
NAND layout, is not offered for them again.
The fixture index gains the four published -nand.bin. boards.json carries
them; the gk7202v300 NAND row of the image reference is dropped, since it
is the split NAND layout this SoC no longer installs (hi3516av100's row
still covers that layout). The documents golden is regenerated.
…too (#606) openipc.org now installs the GK7205V200 family with the u-boot-<soc>-nor.bin bootloader and, where the -split package is published for the edition, writes firmware.bin at 0x50000 with the rest of the chip erased (OpenIPC/website#482, deployed). Builder's FPV editions publish no -split package and keep the two-image install.
Bootloader
GK7202V300, GK7205V200, GK7205V210, GK7205V300 and GK7605V100 now install OpenIPC/u-boot's
u-boot-<soc>-nor.bin(OpenIPC/u-boot#18, #19; published inlatest). It replaces the-universal.binfrom the retired u-boot-gk7205v200 repository. That bootloader scans the NOR layout at boot, so these SoCs take the #477 install: each image written at its offset, no uknor/urnor macros, nosf lock.Split NOR layout
The same bootloader boots the split NOR layout (OpenIPC/linux#96, OpenIPC/firmware#2617, #2621). That layout is one
firmware.binat 0x50000, which the kernel divides into kernel, rootfs and rootfs_data at boot. The firmware publishes it asopenipc.<board>-nor-<edition>-split.tgz, beside the fixed-slot package. The 2026-10-17 nightly is the first one with it.The catalogue marks these SoCs
nor_split. The install steps now depend on whether the-splitpackage is published for the board and edition:-splitpackage:The full image and the backup/restore steps are unchanged; the bootloader also boots the fixed slots that the full image carries. The frontend needs no change. The page's text ("download the firmware bundle and unpack it into your TFTP root") holds for both packages.
Tests
u-boot-<soc>-nor.bin, so the availability reference stands.boards.jsonand the documents golden are regenerated for the five SoCs.TestSplitNORInstallcovers:-splitpackage is published.service/run.sh testpasses.Verified on hardware
The same writes, made from the U-Boot console on the lab GK7205V200 (8 MB) and GK7205V300 (16 MB) with the published bootloaders, boot with the FIT hashes checked, and kernel, rootfs and rootfs_data where the image puts them.
After merge it needs a dev.openipc.org check before prod. It's a Go service change only, so no static bundle.