X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ad3938bbd95b3c038c76b92bcc1df2fdace3123d..b95c73db7f5fb48cbbd2b7c711bf61e8e1391d67:/target/linux/at91-2.6/image/Makefile?ds=inline diff --git a/target/linux/at91-2.6/image/Makefile b/target/linux/at91-2.6/image/Makefile index e2ace4251..73a281b80 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)