Could you please post more about the ramdisk specifications/filesystem requirements for the .img?
Linux can create ramdisk images but without knowing the filesystem, block size, and other details, it is of no use for me.
Max. 12MB for dsi, fat16 formatted.
I did it with:
dd if=/dev/zero of=SNES.img bs=1M count=11
losetup -P /dev/loop0 SNES.img
mkfs.fat -F16 /dev/loop0
You can skip the loopback mounting as you can format the image directly. Also count 11 will make the image decimal based 12 MB, where as count 12 will make it binary based 12 MiB.
dd if=/dev/zero of=SNES.img bs=1M count=12; mkfs.fat -F16 SNES.img
Is there anything more needed for this, or can it be closed out?
Perhaps instructions should be added somewhere to prevent this from happening again in the future? (Wiki may be a good spot)
is this still relevant?
Most helpful comment
You can skip the loopback mounting as you can format the image directly. Also count 11 will make the image decimal based 12 MB, where as count 12 will make it binary based 12 MiB.
dd if=/dev/zero of=SNES.img bs=1M count=12; mkfs.fat -F16 SNES.img