I have compiled a new firmware for the RT-AC68P - based on Merlin version 378.56_2.
( https://github.com/RMerl/asuswrt-merlin/wiki/Compile-Firmware-from-source-using-Ubuntu )
Is it correct to use the "make rt-ac68u" switch .. also for the rt-ac68p version ?
The 4709 chip which seems to be used in the rt-ac68p is also supported with the "make rt-ac68u" parameter ?
Just to confirm
The purpose of the own compilation is a problem with dms_rescan which is deleting the complete .minidlna folder on every restart/reboot.
If you set "nvram set dms_rescan=0" the .minidlna "files.db" should not be deleted while restarting/rebooting.
I hope the code change below will fix this problem permanently ..
If you a big USB-disk attached with a lot of files .. minidlna is scanning for ages.
To (hopefully) fix this .. I have changed 2 lines in the following file :
https://github.com/RMerl/asuswrt-merlin/blob/master/release/src/router/rc/usb.c
// it is called by rc only
void force_stop_dms(void)
{
killall_tk(MEDIA_SERVER_APP);
// fix dms_rescan=0
// eval("rm", "-rf", nvram_safe_get("dms_dbdir"));
}
Then I have compiled the new image .. RT-AC68U_378.56_2.trx
But the file size differs to the original build from merlin.
31903744 bytes -> original Merlin .trx
31907840 bytes -> my "special version" .trx
The file size difference (4096 bytes) seems a little bit too much for the small changes I have done.
Is this file size difference normal ?
Did I screw up my compilation ?
I dont´t want to brick the device straight on the first run
Thanks for your comments !
( https://github.com/RMerl/asuswrt-merlin/wiki/Compile-Firmware-from-source-using-Ubuntu )
Is it correct to use the "make rt-ac68u" switch .. also for the rt-ac68p version ?
The 4709 chip which seems to be used in the rt-ac68p is also supported with the "make rt-ac68u" parameter ?
Just to confirm
The purpose of the own compilation is a problem with dms_rescan which is deleting the complete .minidlna folder on every restart/reboot.
If you set "nvram set dms_rescan=0" the .minidlna "files.db" should not be deleted while restarting/rebooting.
I hope the code change below will fix this problem permanently ..
If you a big USB-disk attached with a lot of files .. minidlna is scanning for ages.
To (hopefully) fix this .. I have changed 2 lines in the following file :
https://github.com/RMerl/asuswrt-merlin/blob/master/release/src/router/rc/usb.c
// it is called by rc only
void force_stop_dms(void)
{
killall_tk(MEDIA_SERVER_APP);
// fix dms_rescan=0
// eval("rm", "-rf", nvram_safe_get("dms_dbdir"));
}
Then I have compiled the new image .. RT-AC68U_378.56_2.trx
But the file size differs to the original build from merlin.
31903744 bytes -> original Merlin .trx
31907840 bytes -> my "special version" .trx
The file size difference (4096 bytes) seems a little bit too much for the small changes I have done.
Is this file size difference normal ?
Did I screw up my compilation ?
I dont´t want to brick the device straight on the first run
Thanks for your comments !