SAM9-L9260: nandwrite give error "not page aligned&quot

Here is the command I used to generate the mkfs.jffs2.img file,

mkfs.jff2 -s 4096 -r src_directory -e 0x20000 -o rootjffs.img

after that I was using the nandwrite utility using following command and the results,

sam9-l9260:/# nandwrite -a /dev/mtd1 rootme.img

Input file is not page aligned

Data was only partially written due to error

: Success

Anybody have idea to resolve this?

in this case a -p option in the mkfs.jffs2 command line would be useful