workaround a bootloader bug on the WBD111

SVN-Revision: 15818
This commit is contained in:
Imre Kaloz 2009-05-13 10:59:59 +00:00
parent f8c315bb60
commit 92353181b5
1 changed files with 3 additions and 1 deletions

View File

@ -14,7 +14,9 @@ define Image/Prepare
endef
define Image/BuildKernel
cp $(KDIR)/openwrt-$(BOARD)-wbd111-zImage $(BIN_DIR)/openwrt-$(BOARD)-wbd111-zImage
# workaround the bootloader's bug with extra nops
echo -en "\x00\x00\xa0\xe1\x00\x00\xa0\xe1\x00\x00\xa0\xe1\x00\x00\xa0\xe1" > $(BIN_DIR)/openwrt-$(BOARD)-wbd111-zImage
cat $(KDIR)/openwrt-$(BOARD)-wbd111-zImage >> $(BIN_DIR)/openwrt-$(BOARD)-wbd111-zImage
endef
define Image/Build/jffs2-64k