Quote:
Originally Posted by arooni
I know that I would do this with dd, but I'd love some help with the command to do it.
-rw-r--r-- 1 david david 2115008 Jun 6 2011 uImage
|
Well,
2115008 is NOT a multiple of 512, so it DOES need some padding.
Using integer arithmetic:
(2115008+511)/512)*512-2115008 = 64
So you need to append another 64 bytes to your uImage file:
dd if=/dev/zero bs=64 count=1 >> uImage
Then try flashing that...
@hawhill: How about having k3flasher append zeros to the next 512 byte boundary to avoid this problem?