workaround a bootloader bug on the WBD111
SVN-Revision: 15818
This commit is contained in:
parent
f8c315bb60
commit
92353181b5
1 changed files with 3 additions and 1 deletions
|
@ -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…
Reference in a new issue