Hi Ronaldo, I am building firmware for IPQ806x platform. I have been able to reduce my firmware image from 22 MB to 10 MB by disabling unwanted kernel modules and libraries using make menuconfig.
But there are files in root-ipq806x/lib/fimrware directory of approx size 4.4 MB. I do not require any of the files present in this directory. I tried to remove those files by removing its entry from root-ipq806x/usr/lib/opkg/info/wigig-firmware.list assuming that on next build these files wont appear but still the files are there in /lib/firmware directory. By removing these files I can further reduce filesystem by 4 MB. On Wed, Mar 7, 2018 at 5:07 PM, Ronaldo Afonso <[email protected]> wrote: > Hi Arjav, > > Which kind of firmware are you using? An OpenWrt prebuilt (from > https://downloads.openwrt.org/releases/) or a firmware build by yourself? > > Well, in or case, I suggest you build your firmware ... using "make > menuconfig" is the first thing to try for removing unnecessary binaries. > > > > 2018-03-07 8:02 GMT-03:00 Arjav Parikh <[email protected]>: >> >> Hi, >> >> I want to reduce the root file system size for my project. Till now >> after removing the unnecessary kernel modules, libraries and using >> strip binary the file system size has been reduced to 8.3 MB. Bu there >> are still some files which are not required and I am unaware of how to >> prvent these files from being included in my file system using >> openwrt. >> >> For Ex: there are multiple binaries in /lib/firmware which are not >> required. This folder itself contains size of 4.4 MB, apart from these >> there are many libraries in /lib as well as /usr/lib which are not >> required. >> >> Can anyone please guide of how to remove firmware binaries and >> libraries in openwrt. >> >> -- >> Thanks & Regards, >> Arjav Parikh >> _______________________________________________ >> openwrt-devel mailing list >> [email protected] >> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel > > > > > -- > Ronaldo Afonso > 11 9 5252 0484 > www.ronaldoafonso.com.br -- Thanks & Regards, Arjav Parikh _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
