goke: add GK7205V500 ultimate NAND (UBI) board#2200
Merged
Conversation
Add gk7205v500_ultimate_defconfig targeting 128 MB SPI-NAND (GigaDevice GD5F1GM7UEYIG: 2 KB page / 128 KB erase block, SLC). Layout follows OpenIPC's standard UBI scheme: read-only ubifs `rootfs` volume + autoresize `rootfs_data` overlay volume, mounted by general/overlay/init. Reuses the proven NAND geometry knobs (BR2_TARGET_ROOTFS_UBI_SUBSIZE=2048, UBIFS_LEBSIZE=0x1f000) which match the GD5F1GM7 page/block sizes; ubinize emits -m 0x800 -p 0x20000 -s 2048 as expected. Ultimate package set modeled on gk7205v300_ultimate, keeping the v500-specific GOKE_OSDRV_GK7205V500 and PTZ GPIO stepper packages. HISILICON_OPENSDK left disabled (no mkp_isp.h for the v500 family, matching gk7205v500_lite). Kernel: enable CONFIG_UBIFS_FS (+LZO/ZLIB) in gk7205v500.generic.config so the rootfs_data overlay can mount as ubifs (driver/UBI/MTD-SPI-NAND were already enabled). Built locally: rootfs.ubi 13056KB/16384KB, uImage 1931KB/4096KB. Pair with u-boot-gk7205v500-nand.bin from the OpenIPC/firmware release assets. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds
gk7205v500_ultimate_defconfigfor the 128 MB SPI-NAND variant of the GK7205V500, using OpenIPC's standard UBI layout.Target flash on the lab cameras: GigaDevice GD5F1GM7UEYIG SPI-NAND — JEDEC
0xC8 0x91, 1 Gbit / 128 MiB SLC, 2 KB page, 128 KB erase block, 128 B OOB, on-die 24-bit/1K ECC.Layout (Option B — UBI)
bootbootenvkernelubirootfs(ubifs, ro) +rootfs_data(ubifs, autoresize)Follows the existing OpenIPC UBI convention (
hi3518ev300_ultimateet al.): read-onlyrootfsvolume + autoresizerootfs_dataoverlay, mounted bygeneral/overlay/init. Partition nameskernel/rootfs/rootfs_dataare the load-bearing contract used byinitandsysupgrade.Changes
br-ext-chip-goke/configs/gk7205v500_ultimate_defconfigBR2_TARGET_ROOTFS_UBIwithSUBSIZE=2048/UBIFS_LEBSIZE=0x1f000— match the GD5F1GM7 page/block geometry. ubinize emits-m 0x800 -p 0x20000 -s 2048as expected.gk7205v300_ultimate, retaining the v500-specificGOKE_OSDRV_GK7205V500and the PTZ GPIO stepper packages.HISILICON_OPENSDKleft disabled — that SDK has nomkp_isp.hfor the v500 family (matchesgk7205v500_lite); enabling it breaks the build.gk7205v500.generic.config: enableCONFIG_UBIFS_FS(+LZO/ZLIB) so therootfs_dataoverlay can mount as ubifs. The XMedia FMC100 SPI-NAND driver,MTD_UBI,MTD_UBI_BLOCK, andMTD_CMDLINE_PARTSwere already enabled.Build / test
Built locally on this branch (toolchain + kernel from GitHub release assets):
rootfs.ubi: 13056KB / 16384KBuImage: 1931KB / 4096KBopenipc.gk7205v500-nand-ultimate.tgz.Pair with
u-boot-gk7205v500-nand.binfrom theOpenIPC/firmwarerelease assets. Not yet flash-validated on hardware — QEMU/board bring-up to follow.🤖 Generated with Claude Code