From: Imre Kaloz Date: Wed, 13 May 2009 10:59:59 +0000 (+0000) Subject: workaround a bootloader bug on the WBD111 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=92353181b56770605d7c0a50a21f0f98d66f29b6;p=lede.git workaround a bootloader bug on the WBD111 SVN-Revision: 15818 --- diff --git a/target/linux/gemini/image/Makefile b/target/linux/gemini/image/Makefile index 6fb7750649..fc69ffcc81 100644 --- a/target/linux/gemini/image/Makefile +++ b/target/linux/gemini/image/Makefile @@ -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