pali
|
2012-01-17
, 21:43
|
Posts: 2,154 |
Thanked: 8,464 times |
Joined on May 2010
|
#51
|
|
2012-01-17
, 21:44
|
Posts: 2,154 |
Thanked: 8,464 times |
Joined on May 2010
|
#52
|
Pali, could you double check whether your dd is provided by /bin/busybox? On my device, both the stock BusyBox' dd as well as busybox-power's dd don't support the oflag parameter. Also, the conv parameter shouldn't be supported by the stock BusyBox' dd (it is by busybox-power's dd though).
|
2012-01-24
, 15:37
|
Posts: 2,154 |
Thanked: 8,464 times |
Joined on May 2010
|
#53
|
The Following 9 Users Say Thank You to pali For This Useful Post: | ||
|
2012-01-26
, 01:13
|
Posts: 362 |
Thanked: 426 times |
Joined on Nov 2010
@ Italy, Lombardia
|
#54
|
Has somebody idea how to rewrite that script to work with default busybox?
... uboot_size=$(wc -c "$uboot" | cut -f1 -d' ') kernel_size=$(wc -c "$kernel" | cut -f1 -d' ') ... dd if="/dev/zero" of="$output" bs=1 count="$uboot_append" conv=notrunc oflag=append 2>/dev/null dd if="$kernel" of="$output" conv=notrunc oflag=append 2>/dev/null ...
... uboot_size=$(ls -l "$uboot" | tr -s ' ' | cut -f5 -d' ') kernel_size=$(ls -l "$kernel" | tr -s ' ' | cut -f5 -d' ') ... dd if="/dev/zero" of="$output" bs=1 count="$uboot_append" seek="$uboot_size" 2>/dev/null dd if="$kernel" of="$output" bs=512 seek="$(($uboot_max / 512))" 2>/dev/null ...
The Following 6 Users Say Thank You to Fabry For This Useful Post: | ||
|
2012-01-26
, 19:07
|
Posts: 539 |
Thanked: 518 times |
Joined on May 2010
@ nanaurbusiness
|
#55
|
|
2012-01-29
, 13:08
|
Posts: 78 |
Thanked: 24 times |
Joined on Mar 2010
|
#56
|
|
2012-01-29
, 13:29
|
Posts: 2,154 |
Thanked: 8,464 times |
Joined on May 2010
|
#57
|
The Following 2 Users Say Thank You to pali For This Useful Post: | ||
|
2012-01-29
, 17:58
|
Posts: 78 |
Thanked: 24 times |
Joined on Mar 2010
|
#58
|
|
2012-01-29
, 18:02
|
Posts: 2,154 |
Thanked: 8,464 times |
Joined on May 2010
|
#59
|
|
2012-01-29
, 19:11
|
Posts: 78 |
Thanked: 24 times |
Joined on Mar 2010
|
#60
|