Xiaomi AC2350 IoT 32mb chip

Hello Dear fellow nerds/developers/tinkerer's,
I successfully put 32MB spi chip in the router mx25l25635e (32768 Kbytes)
But the router is not taking all the space it takes only 16MB like the stock chip that's is inside there when you buy it :frowning: .
I tru to build a custom image but i got totally stock

How can i use all the 32MB?

Thanks
Adrian

0.329497] spi-nor spi0.0: mx25l25635e (32768 Kbytes)

[ 0.334917] 8 fixed-partitions partitions found on MTD device spi0.0
[ 0.341493] Creating 8 MTD partitions on "spi0.0":
[ 0.346470] 0x000000000000-0x000000030000 : "Bootloader"
[ 0.352838] 0x000000030000-0x000000040000 : "Nvram"
[ 0.358726] 0x000000040000-0x000000050000 : "Bdata"
[ 0.364641] 0x000000050000-0x000000060000 : "crash"
[ 0.370555] 0x000000060000-0x000000070000 : "art"
[ 0.376305] 0x000000070000-0x000000090000 : "cfg_bak"
[ 0.382400] 0x000000090000-0x000000200000 : "overlay"
[ 0.388488] 0x000000200000-0x000001000000 : "firmware"
[ 0.401556] 2 uimage-fw partitions found on MTD device firmware
[ 0.407722] Creating 2 MTD partitions on "firmware":
[ 0.412873] 0x000000000000-0x000000200000 : "kernel"
[ 0.418840] 0x000000200000-0x000000e00000 : "rootfs"
[ 0.424831] mtd: device 9 (rootfs) set to be root filesystem
[ 0.432457] 1 squashfs-split partitions found on MTD device rootfs
[ 0.438902] 0x0000005b0000-0x000000e00000 : "rootfs_data"

ath79 target can only support max 16 MiB flash.

we have ath79 devices with 64 and 128MB flash supported ...

qca9563_xiaomi_aiot-ac2350.dts have mtd size fixed to 16MB 0x1000000. You have to define it by extend partition You need like firmware up to 32MB 0x2000000

1 Like

Increasing flash size without build my own firmware might help too.

Not really, this is hardware limitation. 64M + should be NAND Flash.

1 Like