[ramips] add image build for ALL5002
add image build for ALL5002 Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32814 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
bc1e4be7d4
commit
cd51bb7747
|
@ -129,6 +129,15 @@ define BuildFirmware/3G6200N
|
||||||
$(call BuildFirmware/Generic,$(1),$(2),$(call mkcmdline,$(3),$(4),$(5)) $(call mkmtd/$(6),$(mtdlayout_edimax_3g6200n)),917504,2818048)
|
$(call BuildFirmware/Generic,$(1),$(2),$(call mkcmdline,$(3),$(4),$(5)) $(call mkmtd/$(6),$(mtdlayout_edimax_3g6200n)),917504,2818048)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
mtdlayout_allnet_all5002=192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,1024k(kernel),31424k(rootfs),32448k@0x50000(firmware)
|
||||||
|
define BuildFirmware/ALL5002
|
||||||
|
$(call BuildFirmware/Generic,$(1),$(2),$(call mkcmdline,$(3),$(4),$(5)) $(call mkmtd/$(6),$(mtdlayout_allnet_all5002)),1048576,32178176)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define BuildFirmware/ALL5002/initramfs
|
||||||
|
$(call BuildFirmware/Generic/initramfs,$(1),$(2),$(call mkcmdline,$(3),$(4),$(5)) $(call mkmtd/$(6),$(mtdlayout_allnet_all5002)))
|
||||||
|
endef
|
||||||
|
|
||||||
mtdlayout_argus_atp52b=192k(bootloader)ro,64k(config),64k(factory),1152k(kernel),6656k(rootfs),7808k@0x50000(firmware)
|
mtdlayout_argus_atp52b=192k(bootloader)ro,64k(config),64k(factory),1152k(kernel),6656k(rootfs),7808k@0x50000(firmware)
|
||||||
mtd_argus_atp52b_kernel_part_size=1179648
|
mtd_argus_atp52b_kernel_part_size=1179648
|
||||||
mtd_argus_atp52b_rootfs_part_size=6815744
|
mtd_argus_atp52b_rootfs_part_size=6815744
|
||||||
|
@ -325,6 +334,10 @@ define Image/Build/Profile/ALL0256N
|
||||||
$(call Image/Build/Template/$(fs_squash)/$(1),GENERIC_4M,all0256n,ALL0256N,ttyS1,57600,spi)
|
$(call Image/Build/Template/$(fs_squash)/$(1),GENERIC_4M,all0256n,ALL0256N,ttyS1,57600,spi)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Image/Build/Profile/ALL5002
|
||||||
|
$(call Image/Build/Template/$(fs_squash)/$(1),ALL5002,all5002,ALL5002,ttyS1,57600,spi)
|
||||||
|
endef
|
||||||
|
|
||||||
define Image/Build/Profile/ARGUS_ATP52B
|
define Image/Build/Profile/ARGUS_ATP52B
|
||||||
$(call Image/Build/Template/$(fs_squash)/$(1),ARGUS_ATP52B,argus_atp52b,ARGUS_ATP52B)
|
$(call Image/Build/Template/$(fs_squash)/$(1),ARGUS_ATP52B,argus_atp52b,ARGUS_ATP52B)
|
||||||
endef
|
endef
|
||||||
|
@ -455,6 +468,7 @@ ifeq ($(CONFIG_RALINK_RT305X),y)
|
||||||
define Image/Build/Profile/Default
|
define Image/Build/Profile/Default
|
||||||
$(call Image/Build/Profile/3G6200N,$(1))
|
$(call Image/Build/Profile/3G6200N,$(1))
|
||||||
$(call Image/Build/Profile/ALL0256N,$(1))
|
$(call Image/Build/Profile/ALL0256N,$(1))
|
||||||
|
$(call Image/Build/Profile/ALL5002,$(1))
|
||||||
$(call Image/Build/Profile/ARGUS_ATP52B,$(1))
|
$(call Image/Build/Profile/ARGUS_ATP52B,$(1))
|
||||||
$(call Image/Build/Profile/BC2,$(1))
|
$(call Image/Build/Profile/BC2,$(1))
|
||||||
$(call Image/Build/Profile/DIR300B1,$(1))
|
$(call Image/Build/Profile/DIR300B1,$(1))
|
||||||
|
|
Loading…
Reference in New Issue