-
Notifications
You must be signed in to change notification settings - Fork 45
Gadgets
The Linux kernel provides a "gadget" mode a device (e.g. rpi zero) can be turned into an On-The-Go (OTG) device emulating a serial, ethernet or mass storage device. This can be useful for adding additional support to systems easily.
The device with RetroNAS will need to support OTG mode, refer to the Vendor documentation for how to configure it.
Gadget support is generally baked into linux, so there is not additional installation to use the functionality. RetroNAS provides some script to easy setup of gadgets and these script do need to be installed; Use the Install options from the linux-gadgets
menu item
Run the Mass Storage option, you will be presented with a listing of available disks (block devices), partitions and roms on the system.
WARNING selecting the wrong disk here may nuke your installation on reboot WARNING
Once you have select the correct disk, systemd units will be created to mount these at boot time using the gadget. The disks will no longer be available to the OS.
Configure any Vendor specific requirements to enable OTG mode on your device
Plug the device in OTG mode and you the block storage will be made available. You can combine this with iSCSI support to enable access to Network Attached Storage for devices that may not support it.
Known devices with OTG support
- RPI Zero(W) (USB2.0)
- RPI 4B (USB2.0)
- RockPI 4B (USB3.0)
- dwc2 module may crash on rpi
- There is no fix for this, rpi need to move to dwc3 or fix the broken support
- https://www.kernel.org/doc/html/latest/driver-api/usb/gadget.html
- https://matt.olan.me/making-a-piscsi-usb-drive-part-1/
- https://matt.olan.me/making-a-piscsi-usb-drive-part-2/
- https://gist.github.com/gbaman/50b6cca61dd1c3f88f41
- https://github.com/retronas/retronas/discussions/287
- https://github.com/retronas/retronas/issues/288
Getting started:
Contributing
- Bugs
- Structure
- Testing RetroNAS
- Ideas potential future state stuff
Multi-system protocols:
- ADTPro Apple // era
- EtherDFS MS-DOS/FreeDOS
- ethflop MS-DOS/FreeDOS L2 floppy emulator
- FTP File Transfer Protocol
- HTTP Hyper Text Transfer Protocol
- Kermit
- NFS UNIX Network File system
- Netatalk AppleTalk/AFP
- PiSCSi Convert RPI to SCSI device (RASCSI)
- Samba SMB/CIFS
- TNFS Atari 8-bit and ZX Spectrum
- Telnet
- ZeroConf, Bonjour, Avahi
- pyGopherd a HTTP alternative
- zterm Serial Comms Zmodem Transfer
Specific system configurations:
- Supported Clients
- 3DS QR codes Nintendo 3DS and 2DS
- Batocera
- EmuELEC and derivatives
- RecalBox
- EmuDeck
- Analogue Pocket (OpenFPGA)
- FSP Nintendo GameCube
- Fenrir-ODE Webserver Sega Saturn
- MiSTer FPGA
- NABU Internet Adapter
- Netlink Sega Saturn Netlink online play
- OpenPS2Loader PlayStation 2
- XBox360
- dreampi dreampi project for Dreamcast (and others) online
- hb-store-cdn PlayStation 4 Homebrew Store CDN
- ps3netsrv PlayStation 3
- linux-dexdrive Dump/Write PS1 memory card images
- sidecart Atari ST Sidecart
Services:
- WaybackProxy Web Proxy through the Wayback Machine
- WebOne Web Proxy
- macproxy Web Proxy
- wrp Web Proxy
- Cockpit Web management
- Syncthing file synchronization
- ROM import Smokemonsters SMDB
- TCPser software Hayes Modem
- BitTorrent
- aria2 lightweight download utility.
- megatools mega.nz suite
- XLink Kai multi-platform
Tools:
- gogrepo Sync your GOG installers
- SabreTools DAT management tool
- mc Midnight Commander (Norton clone)
- ytree filemanger XTree clone
- far2l far2l filemanager
- Gadgets Linux gadgets (OTG) mode
- affstools
- amitools
Physical Media:
- DiscImageCreator dump redump.org compatible images
- Redumper advance disc dumper
On-Device Management:
- cue2pops BIN/CUE to VCD conversion
- extract-xiso Manage XISOs
- hdl-dump PS2 HDD device management
- nbd-client Network Block Device
- pfsshell PFS shell / PFS fuse
- ucon64 A multi-purpose copier device tool
- xboxmanager An experimental XBOX Manager
- pi1541 setup a pi1541 compatible device
Advanced Topics:
- Storage
- BtrFS RAID, Snapshots, Compression, Deduplication
- FAT Advanced guide to using FAT loopback mounts for EtherDFS
- TBA
- SMR Shingled Magnetic Recording hard drives (TBA)
- NTFS Advanced guide for NTFS formatted disks
- SMB Loopback Mounting an existing SMB NAS
- NFS Loopback Mounting an existing NFS NAS
- MDRAID (TBA)
- LVM (TBA)
- iSCSI Configuring iSCSI
- Networking
- Standalone Independent standalone network
- Zoned Firewall zones for retro and modern networks
- DHCP Basic DHCP on the Ethernet device
- Installation Profiles
- Generic ROMs folder
- Other projects and sites
- laptop-ao
- Local Module
- Docker and why it's not optimal for a network storage system