Update: it appears the config for g_mass_storage isn't loading correctly, the following error is shown:
g_mass_storage gadget: no file given for LUN0
g_mass_storage ci_hdrc.0: failed to start g_mass_storage: -22
What is the expected default settings?
Ok, I've gotten g_mass_storage to not show anymore errors, but my USB device isn't being deteted by my PC.
I have reverted all changes I did to the mfg image, and am building the reference image now, and it is still not working.