add new flash map driver, jffs2 is found, squashfs not.

SVN-Revision: 1829
This commit is contained in:
Waldemar Brodkorb
2005-09-03 17:57:21 +00:00
parent 8c8b4bafe1
commit 6997e7de28
3 changed files with 163 additions and 47 deletions

View File

@@ -31,7 +31,7 @@ ifeq ($(KERNEL),2.6)
FSNAME:=$(patsubst jffs2-%,jffs2,$(FS))
$(BIN_DIR)/openwrt-wgt634u-2.6-$(FSNAME).bin: $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(FS).trx
dd if=$(BUILD_DIR)/loader-0.04/loader.o of=$@ bs=65536 conv=sync
dd if=$(BUILD_DIR)/loader.elf of=$@ bs=131072 conv=sync
cat $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(FS).trx >> $@
install: $(BIN_DIR)/openwrt-wgt634u-2.6-$(FSNAME).bin