Hi everyone.
I'm trying to tweak linux/drivers/mtd/map/ar7_flash.c to allow for config partition to be located right after adam2 partition. That is not the common situation (nbd, thanks for telling me so) so I am tryting to recode the openwrt partition table gathering data from mtd variables directly instead of guessing what is which from the position in the flash.
For example, for Linksys ADSL2MUE, the partition table looks like this <adam2><config><linux><fs>, while WAG54G shows the following <adam2><linux><fs><config>.
Before nbd noticed the difference, the flash map resulted in kernel panic on ADSL2MUE, so I decided to make it work myself.
My modifications take partition data from mtd variables makeing the following assumptions:
-> mtd0 == filesystem
-> mtd1 == linux
-> mtd2 == adam2/pspboot/any_bootloader
-> mtd3 == configuration
But I need to be sure that those assumptions are correct on every piece of hardware based on AR7 that we may be dealing with.
And here is where I need your help: Could you please post if it is so for every piece of hardware you may know about detailing hardware and software revision?
Thanks for your valuable contribution.
Jose Angel