[ar71xx] create firmware image for the RouterStation Pro, and add a profile for it...
[openwrt.git] / target / linux / gemini / image / Makefile
index 6fb7750..fc69ffc 100644 (file)
@@ -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
This page took 0.021484 seconds and 4 git commands to generate.