I'm at that point where I could build my custom firmware for the Deco M4R, but I just don't understand what partitions to put into the .dts file based on the information I've got.
I have tried looking at how it's been done for other devices and just don't see how they get to what they write in their .dts file.
For example the TP-Link RE455 v1: (.dts file is right at the beginning of the commit)
There are 7 partitions in the .dts.
If I open up the oem firmware .bin from tp-link with a text editor then I'm presented with this:
partition fs-uboot base 0x00000 size 0x20000 partition os-image base 0x20000 size 0xc0000 partition file-system base 0xe0000 size 0x520000 partition partition-table base 0x600000 size 0x02000 partition default-mac base 0x610000 size 0x00020 partition pin base 0x610100 size 0x00020 partition product-info base 0x611100 size 0x01000 partition soft-version base 0x620000 size 0x01000 partition support-list base 0x621000 size 0x01000 partition profile base 0x622000 size 0x08000 partition user-config base 0x630000 size 0x10000 partition default-config base 0x640000 size 0x10000 partition radio base 0x7f0000 size 0x10000
I can see that the first and last partition in the .dts and the .bin match, but apart from that I don't understand how he comes up with that "info" partition. And in the .bin there is no partition that starts at 0x050000, so I've got no clue how he found that out for the "firmware" partition. In the .bin the partition-table starts at 0x600000, but in the .dts it's at 0x022000. Basically everything that happens between the first and last partition is a mystery to me.
Am I missing something obvious here? Am I looking in the wrong places for the needed info?