diff options
author | John Crispin <blogic@openwrt.org> | 2014-04-03 14:26:54 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-04-03 14:26:54 +0000 |
commit | 8d8017f9796ed12ac1212ed663582f0678c44611 (patch) | |
tree | 54c4475cfb0bc0296c913e7babbd0d30c0df57ae /target/linux/lantiq/image | |
parent | bb51a39fa794e0df497a3d12da1e5493cb4ae8df (diff) | |
download | master-187ad058-8d8017f9796ed12ac1212ed663582f0678c44611.tar.gz master-187ad058-8d8017f9796ed12ac1212ed663582f0678c44611.tar.bz2 master-187ad058-8d8017f9796ed12ac1212ed663582f0678c44611.zip |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40370 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 34591c7b50..9b3b98fd15 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) |