Flashing D-Link DGS-1210-28 F2 revision with OpenWrt

do a cat /proc/mtd from in there.

1 Like

Thanks for reply. Output from cat /proc/mtd command:

root@OpenWrt:/# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00080000 00010000 "u-boot"
mtd1: 00040000 00010000 "u-boot-env"
mtd2: 00040000 00010000 "u-boot-env2"
mtd3: 00d80000 00010000 "firmware"
mtd4: 002b0000 00010000 "kernel"
mtd5: 00ad0000 00010000 "rootfs"
mtd6: 00860000 00010000 "rootfs_data"
mtd7: 00180000 00010000 "kernel2"
mtd8: 00040000 00010000 "sysinfo"
mtd9: 00c00000 00010000 "rootfs2"
mtd10: 003c0000 00010000 "jffs2"

add the dmesg part where the mtds are detected/listed.

1 Like

This is the part where mtds are detected:

[    1.577617] 8 fixed-partitions partitions found on MTD device rtl838x_nor
[    1.585299] Creating 8 MTD partitions on "rtl838x_nor":
[    1.591237] 0x000000000000-0x000000080000 : "u-boot"
[    1.599278] 0x000000080000-0x0000000c0000 : "u-boot-env"
[    1.607796] 0x0000000c0000-0x000000100000 : "u-boot-env2"
[    1.616432] 0x000000100000-0x000000e80000 : "firmware"
[    1.637710] 2 uimage-fw partitions found on MTD device firmware
[    1.644464] Creating 2 MTD partitions on "firmware":
[    1.650122] 0x000000000000-0x0000002b0000 : "kernel"
[    1.658216] 0x0000002b0000-0x000000d80000 : "rootfs"
[    1.666226] mtd: device 5 (rootfs) set to be root filesystem
[    1.672734] 1 squashfs-split partitions found on MTD device rootfs
[    1.679771] 0x000000520000-0x000000d80000 : "rootfs_data"
[    1.688404] 0x000000e80000-0x000001000000 : "kernel2"
[    1.696741] 0x000001000000-0x000001040000 : "sysinfo"
[    1.705028] 0x000001040000-0x000001c40000 : "rootfs2"
[    1.713284] 0x000001c40000-0x000002000000 : "jffs2"

I've uploaded full dmesg output to this link in case it would be needed.

After struggling I've decided to hard reset device via reset button located on the front of the switch. Surprisingly OpenWrt now works on DGS-1210-28 F2 revision!

2 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.