In message <[EMAIL PROTECTED]> you wrote: > > 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.
Hm... you must be on a very slow machine, then. > I have changed bs=1 to bs=1024 or bigger, but the outputted image size > is wrong, too big. Perhaps you forgot that "seek" is counting in units of "bs"; i.e. if you change from "bs=1" to "bs=1024" you also have to change from "seek=ROOTFS_OFFSET" to "seek=$(expr ROOTFS_OFFSET / 1024)" > dd manpage says that bs is the size of read/write one time. > Doesn't it make dd faster? Yes, it does. > How do make dd faster? See above. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] Nothing ever becomes real till it is experienced -- even a proverb is no proverb to you till your life has illustrated it. - John Keats ------------------------------------------------------------------------- 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
