Browse Source

install image padded to bindir

Waldemar Brodkorb 15 years ago
parent
commit
4b9dfa69fd
1 changed files with 2 additions and 0 deletions
  1. 2 0
      target/foxboard/Makefile

+ 2 - 0
target/foxboard/Makefile

@@ -22,6 +22,8 @@ kernel-install: tools-compile
 
 ifeq ($(FS),squashfs)
 imageinstall: $(BIN_DIR)/$(ROOTFSSQUASHFS)
+	dd if=${BUILD_DIR}/${ROOTFSSQUASHFS} of=${BIN_DIR}/${ROOTFSSQUASHFS} \
+		bs=4063232 conv=sync $(MAKE_TRACE)
 	@echo 
 	@echo Use sudo ./boot_linux -F -i $(ROOTFSSQUASHFS) to flash
 	@echo Do not forget to set network boot jumper, before you start the foxboard