Changeset 30706


Ignore:
Timestamp:
2012-02-23T20:58:16+01:00 (6 years ago)
Author:
juhosg
Message:

ramips: image: increase minimum kernel partition size to 896k

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ramips/image/Makefile

    r30705 r30706  
    105105endef 
    106106 
    107 mtdlayout_4M=192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,832k(kernel),2944k(rootfs),3776k@0x50000(firmware) 
     107mtdlayout_4M=192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,896k(kernel),2880k(rootfs),3776k@0x50000(firmware) 
    108108define BuildFirmware/GENERIC_4M 
    109         $(call BuildFirmware/Generic,$(1),$(2),$(call mkcmdline,$(3),$(4),$(5)) $(call mkmtd/$(6),$(mtdlayout_4M)),851968,3014656) 
     109        $(call BuildFirmware/Generic,$(1),$(2),$(call mkcmdline,$(3),$(4),$(5)) $(call mkmtd/$(6),$(mtdlayout_4M)),917504,2949120) 
    110110endef 
    111111 
     
    183183endef 
    184184 
    185 mtdlayout_nw718=192k(u-boot)ro,128k(config)ro,64k(factory)ro,832k(kernel),2880k(rootfs),3712k@0x60000(firmware) 
    186 kernel_size_nw718=851968 
    187 rootfs_size_nw718=2949120 
     185mtdlayout_nw718=192k(u-boot)ro,128k(config)ro,64k(factory)ro,896k(kernel),2816k(rootfs),3712k@0x60000(firmware) 
     186kernel_size_nw718=917504 
     187rootfs_size_nw718=2883584 
    188188cmdline_nw718=$(call mkcmdline,NW718,ttyS1,57600) $(call mkmtd/spi,$(mtdlayout_nw718)) 
    189189define BuildFirmware/NW718 
     
    197197endef 
    198198 
    199 mtdlayout_rtg32b1=192k(u-boot)ro,64k(devdata)ro,64k(devconf)ro,832k(kernel),2944k(rootfs),3776k@0x50000(firmware) 
    200 mtd_rtg32b1_kernel_part_size=851968 
    201 mtd_rtg32b1_rootfs_part_size=3014656 
     199mtdlayout_rtg32b1=192k(u-boot)ro,64k(devdata)ro,64k(devconf)ro,896k(kernel),2880k(rootfs),3776k@0x50000(firmware) 
     200mtd_rtg32b1_kernel_part_size=917504 
     201mtd_rtg32b1_rootfs_part_size=2949120 
    202202define BuildFirmware/RTG32B1 
    203203        $(call BuildFirmware/Generic,$(1),$(2),board=$(3) $(call mkmtd/spi,$(mtdlayout_rtg32b1)),$(mtd_rtg32b1_kernel_part_size),$(mtd_rtg32b1_rootfs_part_size)) 
     
    217217endef 
    218218 
    219 mtdlayout_wl341v3=128k(u-boot)ro,64k(board-nvram)ro,64k(u-boot-env)ro,832k(kernel),2944k(rootfs),64k(signature-eRcOmM),3776k@0x40000(firmware),4096k@0x0(fullflash) 
    220 kernel_size_wl341v3=851968 
    221 rootfs_size_wl341v3=3014656 
     219mtdlayout_wl341v3=128k(u-boot)ro,64k(board-nvram)ro,64k(u-boot-env)ro,896k(kernel),2880k(rootfs),64k(signature-eRcOmM),3776k@0x40000(firmware),4096k@0x0(fullflash) 
     220kernel_size_wl341v3=917504 
     221rootfs_size_wl341v3=2949120 
    222222define BuildFirmware/WL341V3 
    223223        $(call BuildFirmware/Generic,$(1),$(2),board=$(3) $(call mkmtd/phys,$(mtdlayout_wl341v3)),$(kernel_size_wl341v3),$(rootfs_size_wl341v3)) 
     
    237237endef 
    238238 
    239 mtdlayout_wlitx4ag300n=192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,832k(kernel),2880k(rootfs),64k(user)ro,3712k@0x50000(firmware) 
     239mtdlayout_wlitx4ag300n=192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,896k(kernel),2816k(rootfs),64k(user)ro,3712k@0x50000(firmware) 
    240240define BuildFirmware/WLITX4AG300N 
    241         $(call BuildFirmware/Buffalo2,$(1),wli-tx4-ag300n,WLI-TX4-AG300N,$(call mkmtd/phys,$(mtdlayout_wlitx4ag300n)),851968,2949120) 
     241        $(call BuildFirmware/Buffalo2,$(1),wli-tx4-ag300n,WLI-TX4-AG300N,$(call mkmtd/phys,$(mtdlayout_wlitx4ag300n)),917504,2883584) 
    242242endef 
    243243 
Note: See TracChangeset for help on using the changeset viewer.