So what I did is that I copied the /etc/mke2fs.conf
from the bela to my own computer. Then I do this from my (linux) computer:
env MKE2FS_CONFIG=path/to/copied/mke2fs.conf
mkfs.ext4 -F /dev/path/to/partition
I don't know if this solves your problem necessarily. It just something I thought that might be worth sharing as it took me hours to figure out what went wrong.
giuliomoro If you cannot trace what's happening some other way, consider connecting a UART adapter to the 5x1 pin header (J1) on the BBB:
That will show the linux log as it boots and eventually provide a console to log in into the device. It could be useful to debug what's happening.
I would very much recommend doing this though as that likely points you in the right direction!