From 92353181b56770605d7c0a50a21f0f98d66f29b6 Mon Sep 17 00:00:00 2001 From: Imre Kaloz Date: Wed, 13 May 2009 10:59:59 +0000 Subject: workaround a bootloader bug on the WBD111 SVN-Revision: 15818 --- target/linux/gemini/image/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'target') 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 -- cgit v1.2.3