There is a solution without cutting features. I own hAP ac2 and out of curiosity I looked at drivers section of ARM RouterOS. There is for example prestera_dx_max.ko file taking 687 KB of space. Then quectel_mhi.ko of 148 KB. These drivers are not needed for hAP ac2. How about making a list of drivers (files?) not needed for each device. Then during install procedure, installer using this list, would not install unnecessary files onto "precious" 15.3 MB flash. I'm not sure how simple that would be as the npk file is compressed and it would need to be repacked in RAM before install. Also space savings would be less than 687+148 KB due to compression. But probably more than these two files are unnecessary for hAP ac2, so maybe it would do the job.
Another solution would be allowing to install optional packages onto (encrypted?) partition on USB drive. Moving wifi-qcom-ac there would save almost 3 MB.
Another solution would be allowing to install optional packages onto (encrypted?) partition on USB drive. Moving wifi-qcom-ac there would save almost 3 MB.
Statistics: Posted by KarMarMur — Mon Mar 18, 2024 2:33 am