Module g_mass_storage missing on Rock Pi 4C+


I’m trying to build a piSCSI storage device to use as a backup device for our playstation.

What I need is access to the overlay to enable OTG as a peripheral device and a g_mass_storage module.

But it can’t be found in any of the following distributions. Either the OTG overlay is missing or the g_mass_storage module:

  • Official Debian CLI
  • Armbian
  • OpenWRT

When I try to activate the iSCSI storage device for USB on Debian, I get the following error:
modprobe: FATAL: Module g_mass_storage not found in directory /lib/modules/5.10.110-38-rockchip

How can I get this g_mass_storage installed?