10 #These to offsets are relative to the absolute location of the kernel on the mmc
11 #(0xA00), so their position in the image is -2560 blocks
15 dd bs
="$BS" of
="$OUTPUT_FILE" if="$KERNEL_FILE"
16 dd bs
="$BS" of
="$OUTPUT_FILE" if="$RECOVERY_FILE" seek
="$RECOVERY_OFFSET"
17 dd bs
="$BS" of
="$OUTPUT_FILE" if="$ROOTFS_FILE" seek
="$ROOTFS_OFFSET"
18 dd if=/dev
/zero of
="$OUTPUT_FILE" bs
=128k count
=1 oflag
=append conv
=notrunc