Lately a Raspberry Pi 2 running FreeBSD-current crashed hard during compilation. On restart, it tried to enter single-user mode, but then reported "out of memory" and became stuck in the "Enter full pathname of shell or RETURN for /bin/sh" loop. Power cycling was the only way out.
Thinking the kernel had become corrupted I tried a total of three others, two of which were known to work, and all reported "out of memory", despite the kernel reporting real memory = 989851648 (943 MB) avail memory = 953241600 (909 MB)
I'm starting to wonder if something is wrong with the Pi itself, or perhaps some firmware. It's hard to imagine software damaging hardware, but it does seem possible the crash might have scribbled on some on-board configuration flash if there is any (to the best of my knowledge there isn't).
Config.txt looks normal and all filesystems seem clean. U-boot behaves normally and the FreeBSD loader seems to work as it should. There are no error messages on the console until after the kernel boot.
Thanks for reading and any thoughts!
bob prohaska