summaryrefslogtreecommitdiff
path: root/target/linux/at91-2.6/image/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/at91-2.6/image/Makefile')
-rw-r--r--target/linux/at91-2.6/image/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/at91-2.6/image/Makefile b/target/linux/at91-2.6/image/Makefile
index e2ace42..73a281b 100644
--- a/target/linux/at91-2.6/image/Makefile
+++ b/target/linux/at91-2.6/image/Makefile
@@ -35,8 +35,8 @@ define Image/BuildKernel
endef
define Image/Build
- dd if=$(KDIR)/uImage of=$(KDIR)/uImage.block bs=1056k count=1 conv=sync
- dd if=$(KDIR)/root.squashfs of=$(KDIR)/root.block bs=2112k count=1 conv=sync
+ dd if=$(KDIR)/uImage of=$(KDIR)/uImage.block bs=8448 conv=sync
+ dd if=$(KDIR)/root.squashfs of=$(KDIR)/root.block bs=8448 conv=sync
cat $(KDIR)/uImage.block $(KDIR)/root.block > $(KDIR)/knlroot.bin
$(STAGING_DIR)/bin/trx -o $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL).trx -f $(KDIR)/romboot.bin -f$(KDIR)/u-boot.full -f$(KDIR)/knlroot.bin
cp $(KDIR)/rbptest.bin $(BIN_DIR)