2008/3/14, Tim Chen <[EMAIL PROTECTED]>:
> Hi,
>  I'm using dd to generate the u-boot+kernel+rootfs image.
>  I executed command like..
>  dd if=rootfs.jffs2 of=kernel.img bs=1 seek=ROOTFS_OFFSET
>  But dd is quite slow, generating a 64MB image spends about 5 minutes.
>  I have changed bs=1 to bs=1024 or bigger, but the outputted image size
>  is wrong, too big.

try dd if=rootfs.jffs2 of=kernel.img bs=ROOTFS_OFFSET seek=1

(bs is the block size and seek is counted in block size)

--
Richard Genoud - Adeneo

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
U-Boot-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to