Hey folks,
I am trying to find a way to implement an automated firmware upgrade process. I went through some of the "relevant" source code but cannot seem to pinpoint the exact mechanism of how AsusWRT handles upgrading firmware manually from the website.
If I am not mistaken, somewhere along this process it creates a /tmp/linux.trx. Is that correct? What happens next? Is there a tool for grabing this trx and using it to restructure the partitions? Or does it call mtd-erase / write directly in some succession?
I am going to keep looking but if you know the answer to any of these question, please shoot.
Thanks!
I am trying to find a way to implement an automated firmware upgrade process. I went through some of the "relevant" source code but cannot seem to pinpoint the exact mechanism of how AsusWRT handles upgrading firmware manually from the website.
If I am not mistaken, somewhere along this process it creates a /tmp/linux.trx. Is that correct? What happens next? Is there a tool for grabing this trx and using it to restructure the partitions? Or does it call mtd-erase / write directly in some succession?
I am going to keep looking but if you know the answer to any of these question, please shoot.
Thanks!