Repository navigation
install: gk7201v200 installs its own U-Boot and firmware, on the split layout - #164
Conversation
…t layout CHIP_TO_FIRMWARE mapped gk7201v200 to gk7205v200 since #4, when it had nothing published of its own, so install wrote gk7205v200's U-Boot and firmware onto it. OpenIPC now publishes u-boot-gk7201v200-nor.bin and -nand.bin (OpenIPC/u-boot, xm72010200) and openipc.gk7201v200-nor-lite.tgz, built on the gk7205v500 kernel tree with gk7201v200's own vendor modules (OpenIPC/firmware#2478). The alias is dropped: gk7201v200 takes its -nor/-nand U-Boot (PER_FLASH_TYPE_UBOOT) and its own firmware. It also joins NOR_SPLIT_SOCS. Its kernel finds the split layout since OpenIPC/linux#140, its U-Boot scans it since OpenIPC/u-boot#61, and its firmware ships the -split package beside the fixed-slot one since OpenIPC/firmware#2668. gk7201v300 keeps its alias: it has U-Boot builds of its own but no firmware package. Tests: test_gk7201v200_installs_its_own_build (no alias, its own nor/nand U-Boot names, split, its own package board) and the per-flash-type U-Boot list. pytest (1087 passed), ruff and mypy clean. The firmware side was checked in qemu-hisilicon (gk7201v200, 8 MB; OpenIPC/firmware#2668). Not run on hardware.
PR Summary by QodoInstall gk7201v200’s own U-Boot and split NOR firmware
AI Description
Diagram
High-Level Assessment
Files changed (5)
|
Code Review by Qodo
1. Existing NAND packages are rejected
|
CHIP_TO_FIRMWAREhas mapped gk7201v200 to gk7205v200 since #4, when gk7201v200 had nothing published of its own. Sodefib install -c gk7201v200wrote gk7205v200's U-Boot and firmware onto it.OpenIPC now publishes gk7201v200's own builds:
u-boot-gk7201v200-nor.binand-nand.bin(OpenIPC/u-boot,xm72010200);openipc.gk7201v200-nor-lite.tgz, built on the gk7205v500 kernel tree with gk7201v200's own vendor modules (gk7201v200: stream -- vendor modules rebuilt from the XMedia SDK firmware#2478).This PR:
-nor/-nandU-Boot (PER_FLASH_TYPE_UBOOT) and its own firmware.NOR_SPLIT_SOCS. Its kernel finds the split layout since gk7201v200: the split NOR layout, from the device tree linux#140, its U-Boot scans it since nor: split layout on gk7201v200 and the hi3516cv200 family u-boot#61, and its firmware ships-splitbeside the fixed-slot package since gk7201v200, hi3516cv200 family: the split NOR image firmware#2668.Not in this PR: hi3516cv200 and hi3518ev200 also ship
-splitsince OpenIPC/firmware#2668, but defib keeps installing them on fixed slots for now.-universalU-Boot. Its default environment describes the lite fixed slots, so installing the split layout with it would break the hi3518ev200 ultimate fixed-slot install.-nor.binU-Boot, as install: the split NOR layout for hi3516cv300 and hi3516ev100 #158 did for hi3516cv300, needs a NAND U-Boot build for hi3518ev200's NAND package and a decision on its DDR3 boards. Neither exists yet.Tests:
test_gk7201v200_installs_its_own_buildchecks there's no alias, that gk7201v200 uses its own NOR/NAND U-Boot names, that it's split-capable, and that it has its own package board. The per-flash-type U-Boot list includes it too. pytest, ruff and mypy are clean.The firmware side was checked in qemu-hisilicon (gk7201v200, 8 MB; see OpenIPC/firmware#2668). Not run on hardware.