I am trying load a file system ram disk and it keeps failing with the error:
RAMDISK gzip image found at block 0
RAMDISK: incomplete write (7993 != 32768)
I am creating the ram disk via the following commands:
#!/bin/sh
dd if=/dev/zero of=ramdisk/ramdisk bs=1k count=32768
mke2fs -F -v -m0 ramdisk/ramdisk
sudo mount -o loop ramdisk/ramdisk /mnt/ramdisk
sudo cp -av tmp/* /mnt/ramdisk
/root/images
sudo umount /mnt/ramdisk
cd ramdisk
gzip -9v ramdisk
I'm using SAM-BA to transfer the file to memory and then UBOOT to save into flash.
Linux kernel 2.6.36
AT91SAM9261 uP
I using a shareed drive between my linux distro and the XP machine. Both are VMs.
Does anybody have any suggestions?
I have tried it on a 8MB file image and it loads correctly.
