Tuya-free image with a writable DATA partition
Strips the Tuya stack from APP and repartitions via mtdparts (the DTB has no partition table), adding a jffs2 DATA partition for settings and the overlay. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
No files matched your search
@@ -0,0 +1,15 @@
|
||||
# Anyka AK3918AV130 — 8 MiB SPI-NOR, REPARTITIONED (Tuya-free + writable DATA)
|
||||
# APP shrunk to hold the stripped (Tuya-free) squashfs; freed space becomes a
|
||||
# writable jffs2 DATA partition. Requires a one-time U-Boot mtdparts change:
|
||||
# setenv mtdparts 'mtdparts=spi-nor:200k@0x0(UBOOT),4k@0x32000(ENV),4k@0x33000(ENVBK),64k@0x34000(DTB),1536k@0x44000(KERNEL),1008k@0x1c4000(ROOTFS),256k@0x2c0000(CONFIG),2176k@0x300000(APP),2944k@0x520000(DATA)'
|
||||
# saveenv
|
||||
# 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 0x220000 fs app.bin
|
||||
DATA 0x520000 0x2e0000 fs data.bin
|
||||
Reference in New Issue
Block a user