| Both sides previous revision Previous revision Next revision | Previous revision |
| playground:faq:build_image_for_devices_with_only_4mb_flash [2019/06/13 21:04] – LEDE -> OpenWrt tmomas | faq:build_image_for_devices_with_only_4mb_flash [2022/11/07 10:43] (current) – replaced single line code formatting by code block, in order to avoid normal quotes being replaced by curly quotes tmomas |
|---|
| **Issue:** My device has only 4MB flash and I need to build a space optimized image. | **Issue:** My device has only 4MB flash and I need to build a space optimized image. |
| |
| **Solution:** Build your image with the [[docs:guide-user:additional-software:imagebuilder|imagebuilder]] as shown below.\\ See also [[playground:faq:which_packages_can_i_safely_remove_to_save_space|Which packages can i safely remove to save space?]] | **Solution:** Build your image with the [[docs:guide-user:additional-software:imagebuilder|imagebuilder]] as shown below.\\ |
| | See also -> [[faq:which_packages_can_i_safely_remove_to_save_space|Which packages can i safely remove to save space?]]\\ |
| | See also -> [[docs:guide-user:additional-software:saving_space|Saving firmware space]]\\ |
| | See also -> [[faq:build_image_for_devices_with_only_16_32mb_ram|Build image for devices with only 16/32MB RAM]]\\ |
| | See also -> [[supported_devices:openwrt_on_432_devices|OpenWrt on 4/32 devices]] |
| |
| **Example image builder command line**\\ | **Example image builder command line**\\ |
| |
| ^ LuCI ^ Action ^ Imagebuilder commandline ^ | ^ LuCI ^ Action ^ Imagebuilder commandline ^ |
| | with LuCI | - remove pppoe and IPv6\\ + include only needed luci components, not full luci package. | ''make image PROFILE=tl-wr941nd-v6 PACKAGES="uhttpd uhttpd-mod-ubus libiwinfo-lua luci-base luci-app-firewall luci-mod-admin-full luci-theme-bootstrap -ppp -ppp-mod-pppoe -ip6tables -odhcp6c -kmod-ipv6 -kmod-ip6tables"'' | | | with LuCI | - remove pppoe and IPv6\\ + include only needed luci components, not full luci package. | <code>make image PROFILE=tl-wr941nd-v6 PACKAGES="uhttpd uhttpd-mod-ubus libiwinfo-lua luci-base luci-app-firewall luci-mod-admin-full luci-theme-bootstrap -ppp -ppp-mod-pppoe -ip6tables -odhcp6c -kmod-ipv6 -kmod-ip6tables"</code> | |
| | without LuCI | - remove pppoe and IPv6 | ''make image PROFILE=tl-wr941nd-v6 PACKAGES="-ppp -ppp-mod-pppoe -ip6tables -odhcp6c -kmod-ipv6 -kmod-ip6tables"'' | | | without LuCI | - remove pppoe and IPv6 | <code>make image PROFILE=tl-wr941nd-v6 PACKAGES="-ppp -ppp-mod-pppoe -ip6tables -odhcp6c -kmod-ipv6 -kmod-ip6tables"</code> | |
| |
| |
| * [[https://forum.openwrt.org/t/make-image-problem/898]] | * [[https://forum.openwrt.org/t/make-image-problem/898]] |
| * [[https://forum.openwrt.org/t/tp-link-tl-mr-3420-v3-build/855/8]] | * [[https://forum.openwrt.org/t/tp-link-tl-mr-3420-v3-build/855/8]] |
| |
| |
| |
| {{tag>faq compile_openwrt imagebuilder low_flash free_space}} | {{tag>faq compile_openwrt imagebuilder low_flash free_space}} |
| |