diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-02-02 17:21:06 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-02-02 17:21:06 +0000 |
commit | 9ed81a91f3fc0c8ac05a9515bdd276c1c823ad3a (patch) | |
tree | 220c77d3433515a5667c901947433b1c715123ae /target/linux/ramips | |
parent | 813aec6796c4345fcd43a4862e1ed5792699c478 (diff) | |
download | mtk-20170518-9ed81a91f3fc0c8ac05a9515bdd276c1c823ad3a.zip mtk-20170518-9ed81a91f3fc0c8ac05a9515bdd276c1c823ad3a.tar.gz mtk-20170518-9ed81a91f3fc0c8ac05a9515bdd276c1c823ad3a.tar.bz2 |
ramips: build image for the Omnima EMB HPM board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35468
Diffstat (limited to 'target/linux/ramips')
-rw-r--r-- | target/linux/ramips/image/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index daceb15..75f0e50 100644 --- a/target/linux/ramips/image/Makefile +++ b/target/linux/ramips/image/Makefile @@ -291,6 +291,17 @@ define BuildFirmware/NW718 $(call BuildFirmware/Generic,$(1),$(2),$(cmdline_nw718),$(kernel_size_nw718),$(rootfs_size_nw718)) endef +mtdlayout_omniembhpm=192k(u-boot)ro,64k(config)ro,64k(factory)ro,1024k(kernel),15040k(rootfs),16064k@0x50000(firmware) +kernel_size_omniembhpm=1048576 +rootfs_size_omniembhpm=15400960 +define BuildFirmware/OMNIEMBHPM + $(call BuildFirmware/Generic,$(1),$(2),$(call mkcmdline,$(3),ttyS1,115200) $(call mkmtd/spi,$(mtdlayout_omniembhpm)),$(kernel_size_omniembhpm),$(rootfs_size_omniembhpm)) +endef + +define BuildFirmware/OMNIEMBHPM/initramfs + $(call BuildFirmware/Generic/initramfs,$(1),$(2),$(call mkcmdline,$(3),ttyS1,115200) $(call mkmtd/spi,$(mtdlayout_omniembhpm))) +endef + mtdlayout_rtg32b1=192k(u-boot)ro,64k(devdata)ro,64k(devconf)ro,896k(kernel),2880k(rootfs),3776k@0x50000(firmware) mtd_rtg32b1_kernel_part_size=917504 mtd_rtg32b1_rootfs_part_size=2949120 @@ -688,6 +699,10 @@ define Image/Build/Profile/DIR645 $(call Image/Build/Template/$(fs_squash)/$(1),DIR645,dir-645,DIR-645,ttyS1,57600,spi,wrgn39_dlob.hans_dir645) endef +define Image/Build/Profile/OMNIEMBHPM + $(call Image/Build/Template/$(fs_squash)/$(1),OMNIEMBHPM,omni-emb-hpm,OMNI-EMB-HPM) +endef + define Image/Build/Profile/RTN56U $(call Image/Build/Template/$(fs_squash)/$(1),GENERIC_8M,rt-n56u,RT-N56U,ttyS1,57600,phys) endef @@ -703,6 +718,7 @@ endef ifeq ($(CONFIG_RALINK_RT3883),y) define Image/Build/Profile/Default $(call Image/Build/Profile/DIR645,$(1)) + $(call Image/Build/Profile/OMNIEMBHPM,$(1)) $(call Image/Build/Profile/RTN56U,$(1)) $(call Image/Build/Profile/TEW691GR,$(1)) $(call Image/Build/Profile/TEW692GR,$(1)) |