Toolkit: split and reassemble flash images from a dump
split.sh carves a dump into partitions using a layout file, build-image.sh reassembles them (reproduces the stock dump byte-for-byte), repack-fs.sh rebuilds squashfs/jffs2 partitions, extract-src.sh unpacks the stock APP/rootfs from the user's own dump. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
No files matched your search
@@ -0,0 +1,12 @@
|
||||
# Anyka AK3918AV130 — 8 MiB SPI-NOR map (from stock U-Boot mtdparts)
|
||||
# Chip: ZB25VQ64, 8 MiB, 4 KiB erase. NOTE: stock mtdparts claims APP=13312K,
|
||||
# but the chip is only 8 MiB, so APP is physically clamped to 5120K (end of flash).
|
||||
# name offset size kind file
|
||||
UBOOT 0x000000 0x032000 raw uboot.bin
|
||||
ENV 0x032000 0x001000 raw env.bin
|
||||
ENVBK 0x033000 0x001000 raw envbk.bin
|
||||
DTB 0x034000 0x010000 raw dtb.bin
|
||||
KERNEL 0x044000 0x180000 raw kernel.bin
|
||||
ROOTFS 0x1c4000 0x0fc000 fs rootfs.bin
|
||||
CONFIG 0x2c0000 0x040000 fs config.bin
|
||||
APP 0x300000 0x500000 fs app.bin
|
||||
Reference in New Issue
Block a user