FIP for ZBT-Z8103ax-cde/128MB ROM upgrade RAM to 512MB or more

I'm sharing a set of FIP (ATF + U-Boot) binaries specifically optimized for the ZBT-Z8103Ax-C/D/E 128MB NAND ROM (MediaTek MT7981B / Filogic 820) for upgrade 256MB DDR3 RAM, this file features automatic RAM size detection up to 1GB.

Key Technical Details:
​Target SoC: MT7981B (BGA Package) - Compiled with BOARD_BGA=1.
​Memory Support: Optimized for DDR3/DDR3L with 512MB address space enabled.
​Flash Partitioning: Custom layout for 128MB SPI NAND.
​UBI Offset: 0x580000
​UBI Length: 0x7a80000 (122.5MB) to ensure the Factory (Calibration) data remains untouched.

Partition Map for u-boot DTS:

partition@0 {
label = "bl2";
reg = <0x0000000 0x0100000>;
read-only;
};

partition@100000 {
label = "u-boot-env";
reg = <0x100000 0x80000>;
};

partition@180000 {
label = "Factory";
reg = <0x180000 0x200000>;
read-only;
};

partition@380000 {
label = "fip";
reg = <0x380000 0x200000>; 
};

partition@580000 { 
label = "ubi"; 
reg = <0x580000 0x7a80000>; //122.5MB
};

also change openwrt dts

line 25 memory {
reg = <0 0x40000000 0 0x00000000>; }; //automatic detection

Warning:
This is for MT7981B (BGA) only. Do NOT flash this on MT7981A or other packages unless you have a TTL cable for recovery.

Please backup your unique factory partition before flashing to preserve your Wi-Fi calibration and MAC addresses.

https://drive.google.com/file/d/1PcCbDQ19VsjM9aB59fzi4abE-sSgPkDP/view?usp=sharing

2 Likes

Do you have a chance to publish your code on github?

I seem to get that your proposed changes is a so called u-boot mod. As such it will take an additional entry into filogic.mk together with code to compile a modified u-boot module. Is that about right?

yes, just modified these two dts files partition, u-boot DTS and openwrt dts