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://git.lede-project.org./?a=commitdiff_plain;h=84553bc3b3f9522348b33d7a897e768e506cf475;p=openwrt%2Fsvn-archive%2Farchive.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