can Debian mkswap make swap in an ordinary file?

Yes, Linux can use swap files too. I see no reason that that functionality would have been removed from mkswap for arm.

Normally you avoid them as they're slower than a separate partition.

/Michael

_________________________
/Michael