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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31876 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
6111884b1c
commit
afb39de7d0
|
@ -93,7 +93,7 @@ define Image/Build/SPW303V
|
|||
--output $(BIN_DIR)/openwrt-$(4)-$(1)-cfe.bin.tmp \
|
||||
--boardid $(2) --chipid $(3) --entry $(KERNEL_ENTRY) \
|
||||
--load-addr $(LOADADDR) --rsa-signature "$(5)" \
|
||||
$(6) $(7) $(8) $(9)
|
||||
--pad 4 $(6) $(7) $(8) $(9)
|
||||
# Fix up header
|
||||
$(STAGING_DIR_HOST)/bin/spw303v -i $(BIN_DIR)/openwrt-$(4)-$(1)-cfe.bin.tmp \
|
||||
-o $(BIN_DIR)/openwrt-$(4)-$(1)-cfe-sysupgrade.bin
|
||||
|
|
Loading…
Reference in New Issue