View Single Post
Posts: 362 | Thanked: 426 times | Joined on Nov 2010 @ Italy, Lombardia
#34
Originally Posted by Fabry View Post
It seems that these commands:
dd if=/dev/zero of=zImage3 bs=1 count=70544 conv=notrunc oflag=append
dd if=uImage1 of=zImage3 conv=notrunc oflag=append
have no effect
I have found the problem!
oflag option is not supported by maemo's dd command (at least on busybox power4 version)

The correct dd commands should be:
dd if="/dev/zero" of="$output" bs=1 count="$uboot_append" conv=notrunc seek="$uboot_size" 2>/dev/null
dd if="$kernel" of="$output" conv=notrunc bs=1024 seek="$(($uboot_max / 1024))" 2>/dev/null

Last edited by Fabry; 2012-01-16 at 18:08.
 

The Following 3 Users Say Thank You to Fabry For This Useful Post: