[Bug 5882] flashcp not padding file image

bugzilla at busybox.net bugzilla at busybox.net
Wed Jan 23 10:19:55 UTC 2013


https://bugs.busybox.net/show_bug.cgi?id=5882

--- Comment #1 from Denys Vlasenko <vda.linux at googlemail.com> 2013-01-23 10:20:16 UTC ---
(In reply to comment #0)
> Busybox 1.20.2 built using buildroot on a mini2440 FriendlyArm board.
> 
> When using flashcp to flash a kernel image to an MTD device, the kernel sends
> the following via kmesg:
> nand_do_write_ops: Attempt to write not page aligned data

Can you show strace output of such flashcp run?

> Padding the image file to 128KB (this flash's erase size) works.  Seems like
> flashcp should do this or have an option to do so.

Looking at code, I'd guess padding to 8kb should be enough. But I need to see
strace output to be sure.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list