workaround a bootloader bug on the WBD111

SVN-Revision: 15818
v19.07.3_mercusys_ac12_duma
Imre Kaloz 15 years ago
parent f8c315bb60
commit 92353181b5

@ -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

Loading…
Cancel
Save