This adds image generation for the following boards to the brcm63xx target:
BCM96335: 96335(R) BCM96338: 96338(L-2M-8M|SV) BCM96345: 96345(R|R0|RS|GW) BCM96348: 96348(R|GW|GW-10|GW-11|GW-DualDSP|SV|LV) The problem is that CFE checks for a matching board id before executing the image, even if the image would run on all the devices using runtime detection. We either need some kind of way to either patch CFE or find some loophole in it. Otherwise we have to add every board id by hand, which wastes lots of space in the image Makefile as well as on the filesystem for the generated images. We also need a way to handle the flash block size for the generated image, but so far I only had boards with a 64k erase block size. Signed-off-by: Axel Gembe <[EMAIL PROTECTED]> --- target/linux/brcm63xx/image/Makefile | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile index 47c1df7..bb91310 100644 --- a/target/linux/brcm63xx/image/Makefile +++ b/target/linux/brcm63xx/image/Makefile @@ -72,7 +72,25 @@ endef define Image/Build $(STAGING_DIR_HOST)/bin/trx -o $(BIN_DIR)/openwrt-$(BOARD)-$(1).trx -f $(KDIR)/loader.gz -f $(KDIR)/vmlinux.lzma $(call trxalign/$(1)) -f $(KDIR)/root.$(1) + # 6335 devices + $(call Image/Build/CFE,$(1),96335R,6335) + # 6338 devices + $(call Image/Build/CFE,$(1),96338L-2M-8M,6338) + $(call Image/Build/CFE,$(1),96338SV,6338) + # 6345 devices + $(call Image/Build/CFE,$(1),96345GW,6345) $(call Image/Build/CFE,$(1),96345GW2,6345) + $(call Image/Build/CFE,$(1),96345R,6345) + $(call Image/Build/CFE,$(1),96345R0,6345) + $(call Image/Build/CFE,$(1),96345RS,6345) + # 6348 devices + $(call Image/Build/CFE,$(1),96348GW,6348) + $(call Image/Build/CFE,$(1),96348GW-10,6348) + $(call Image/Build/CFE,$(1),96348GW-11,6348) + $(call Image/Build/CFE,$(1),96348GW-DualDSP,6348) + $(call Image/Build/CFE,$(1),96348LV,6348) + $(call Image/Build/CFE,$(1),96348R,6348) + $(call Image/Build/CFE,$(1),96348SV,6348) endef $(eval $(call BuildImage)) -- 1.5.5.1 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel