mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-08-20 01:39:20 +03:00
workaround a bootloader bug on the WBD111
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15818 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
d1124ffc0e
commit
ff3e388607
@ -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 New Issue
Block a user