Repository navigation
nt98566_lite_xm-ivg-n8s: the split NOR layout - #299
Conversation
The profile copied firmware's nt98566_lite before OpenIPC/firmware#3049 moved it to the split layout, and so still built the fixed-slot image. It now packages with post-image-split.sh and reads the kernel for 0x3B0000, as firmware's nt98566_lite does, so OpenIPC's Novatek U-Boot (which scans only up to 0x400000) boots it.
PR Summary by Qodont98566_lite_xm-ivg-n8s: move to split NOR layout
AI Description
Merge Risk
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can open the rule or relationship behind a finding in one click |
The profile copied firmware's nt98566_lite before OpenIPC/firmware#3049 moved it to the split layout, and so still built the fixed-slot image. It now packages with post-image-split.sh and reads the kernel for 0x3B0000, as firmware's nt98566_lite does, so OpenIPC's Novatek U-Boot (which scans only up to 0x400000) boots it.
nt98566_lite_xm-ivg-n8s(#279) copied firmware'snt98566_litedefconfig a few days before OpenIPC/firmware#3049 moved the NT98566 NOR boards to the split layout, so it still builds the fixed-slot image. It is the only 8 MB NOR profile here not on the split layout.This adds the two lines #3049 gave
nt98566_lite:BR2_ROOTFS_POST_IMAGE_SCRIPT=…/post-image-split.sh: the uImage, then the squashfs at the next 64 KiB, bounded only as a whole (7616K on this chip's 8 MB layout).BR2_OPENIPC_NOR_KERNEL_READ_SIZE=0x3B0000: OpenIPC's Novatek U-Boot reads the kernel for the size its layout scan finds, and its published builds scan only up to 0x400000.With these, the defconfig is firmware's
nt98566_liteagain, apart from the board's comment.The owner's camera runs firmware's nightly
nt98566_litelayout, which is already split since #3049. Per #3049, the published Novatek U-Boot boots this image, andsysupgrade --archivewith the split package moves a camera off the fixed layout. So this board gets the same move its firmware nightly made.ci-matrix.py --self-test: ok (152 devices). CI builds this one device.