FreeBSD and the never ending saga of mips64

So, about three years ago I obtained a bunch of Ubiquiti EdgeRouter Lites since FreeBSD had grown support for it back around 10.0. It had several problems including the stack not being large enough and causing hilarious panics. Some were fixed which was nice, but forward 3 years… on the 11.x branch the panics still exist with the added benefit that the patch by Stacey Son no longer applies.

So given that the only real choice is to forego the convenience of some packages being available and use 10.3 (.4 seems to have changed parts that the patch touches), I’ve collected a few bits here for reference: