[U-Boot-Users] dd to generate image.
Richard Genoud
richard.genoud at gmail.com
Fri Mar 14 10:21:27 CET 2008
2008/3/14, Tim Chen <tim.chen.86 at gmail.com>:
> 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
More information about the U-Boot
mailing list