https://forum.openwrt.org/t/support-for-rtl838x-based-managed-switches
https://svanheule.net/switches/
Ok, if you want to try your wings in development feel free to roll the dice with your dual boot.
If you want to know how it works in real life, I have linked to some literature so feel free to read my links above.
If you want a working lifeline in this project, get a working serial connection to this device.