Flash Layout of Asus RT-58U

Hi there,

I have asus RT-58U model and i trying to find out

  1. mtd method to write my factory image
  2. sysupgrade method
  3. tftp method

I don't want to brick my router and because of it help me before i mess up things.

MTD partition is mentioned below
cat /proc/mtd
dev: size erasesize name
mtd0: 00040000 00001000 "SBL1"
mtd1: 00020000 00001000 "MIBIB"
mtd2: 00060000 00001000 "QSEE"
mtd3: 00010000 00001000 "CDT"
mtd4: 00010000 00001000 "DDRPARAMS"
mtd5: 00010000 00001000 "APPSBLENV"
mtd6: 00080000 00001000 "APPSBL"
mtd7: 00010000 00001000 "ART"
mtd8: 08000000 00020000 "UBI_DEV"
mtd9: 0005d000 0001f000 "nvram"
mtd10: 0001f000 0001f000 "Factory"
mtd11: 0001f000 0001f000 "Factory2"
mtd12: 03013000 0001f000 "linux"
mtd13: 03013000 0001f000 "linux2"
mtd14: 015eb000 0001f000 "jffs2"

There is unofficial support here, maybe that helps?


i have used this branch for creating image and but only factory image is working fine. sysupgrade has problem and it left a bricked router.

Because of it i am trying to understand BSP level stuff like

  1. flash layout
  2. led supports
  3. wifi drivers to be selected in make menuconfig
  4. jffs internals as after reboot config is not saved.