diff options
author | John Crispin <john@openwrt.org> | 2014-04-03 14:26:54 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-04-03 14:26:54 +0000 |
commit | 709cab91d217a3ba31629b312a28cd6daef77319 (patch) | |
tree | 05119562d83e4678b8ffcd59e60c8f7637ade9ec /target/linux/lantiq/image | |
parent | 469b8297fab3a589da4e598cb915e75dfd87dcba (diff) | |
download | mtk-20170518-709cab91d217a3ba31629b312a28cd6daef77319.zip mtk-20170518-709cab91d217a3ba31629b312a28cd6daef77319.tar.gz mtk-20170518-709cab91d217a3ba31629b312a28cd6daef77319.tar.bz2 |
lantiq: BT Home Hub 2B support - board support
Board support patch for BT Home Hub 2B
Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
SVN-Revision: 40370
Diffstat (limited to 'target/linux/lantiq/image')
-rw-r--r-- | target/linux/lantiq/image/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/target/linux/lantiq/image/Makefile b/target/linux/lantiq/image/Makefile index 34591c7..9b3b98f 100644 --- a/target/linux/lantiq/image/Makefile +++ b/target/linux/lantiq/image/Makefile @@ -6,12 +6,13 @@ # # boards missing since devicetree update -#EASY50712 ARV3527P BTHOMEHUBV2B BTHOMEHUBV2BOPENRG +#EASY50712 ARV3527P include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk JFFS2_BLOCKSIZE = 64k 128k 256k +NAND_BLOCKSIZE = 512:16k LOADER_MAKE := $(NO_TRACE_MAKE) -C lzma-loader KDIR=$(KDIR) @@ -133,6 +134,13 @@ define Image/Build/jffs2-256k cat $(KDIR)/uImage-$(2)-$(1) $(KDIR)/root.$(1) > $(BIN_DIR)/$(IMG_PREFIX)-$(2)-$(1).image endef +define Image/Build/jffs2-nand-512-16k + dd if=$(KDIR)/uImage-$(2) of=$(KDIR)/uImage-$(2)-$(1) bs=16k conv=sync + $(CP) $(KDIR)/uImage-$(2)-$(1) $(BIN_DIR)/uImage-$(2)-$(1) + $(CP) $(KDIR)/root.$(1) $(BIN_DIR)/root-$(2)-$(1) + cat $(KDIR)/uImage-$(2)-$(1) $(KDIR)/root.$(1) > $(BIN_DIR)/$(IMG_PREFIX)-$(2)-$(1).image +endef + define Image/Build/ubifs ifneq ($($(PROFILE)_UBIFS_OPTS),) @@ -254,6 +262,9 @@ endif ifeq ($(CONFIG_TARGET_lantiq_xway),y) # Danube +Image/BuildKernel/Profile/BTHOMEHUBV2B=$(call Image/BuildKernel/Template,BTHOMEHUBV2B) +Image/Build/Profile/BTHOMEHUBV2B=$(call Image/Build/$(1),$(1),BTHOMEHUBV2B) + Image/BuildKernel/Profile/EASY50712=$(call Image/BuildKernel/Template,EASY50712) Image/Build/Profile/EASY50712=$(call Image/Build/$(1),$(1),EASY50712) |