Browse Source

bcm63xx: pad Speedport W303 V images to 4 MiB

Prevents CFE from flashing to the second image offset. Fix up the rootfs
length on first boot else CFE will complain.

SVN-Revision: 31876
Jonas Gorski 13 years ago
parent
commit
b0ffeb0021
1 changed files with 1 additions and 1 deletions
  1. 1 1
      target/linux/brcm63xx/image/Makefile

+ 1 - 1
target/linux/brcm63xx/image/Makefile

@@ -93,7 +93,7 @@ define Image/Build/SPW303V
 		--output $(BIN_DIR)/openwrt-$(4)-$(1)-cfe.bin.tmp \
 		--output $(BIN_DIR)/openwrt-$(4)-$(1)-cfe.bin.tmp \
 		--boardid $(2) --chipid $(3) --entry $(KERNEL_ENTRY) \
 		--boardid $(2) --chipid $(3) --entry $(KERNEL_ENTRY) \
 		--load-addr $(LOADADDR) --rsa-signature "$(5)" \
 		--load-addr $(LOADADDR) --rsa-signature "$(5)" \
-		$(6) $(7) $(8) $(9)
+		--pad 4 $(6) $(7) $(8) $(9)
 	# Fix up header
 	# Fix up header
 	$(STAGING_DIR_HOST)/bin/spw303v -i $(BIN_DIR)/openwrt-$(4)-$(1)-cfe.bin.tmp \
 	$(STAGING_DIR_HOST)/bin/spw303v -i $(BIN_DIR)/openwrt-$(4)-$(1)-cfe.bin.tmp \
 		-o $(BIN_DIR)/openwrt-$(4)-$(1)-cfe-sysupgrade.bin
 		-o $(BIN_DIR)/openwrt-$(4)-$(1)-cfe-sysupgrade.bin