This is a simple framework that will be used to bootstrap PortMaster. But like everything it has spiraled out of control...
No seriously, a blank one. I mean it.
Copy the following to the root of the blank sdcard:
- TrimUI Firmware: trimui_tg5040.awimg: Download trimui_tg5040_20240401_v1.0.4.7z and extract
trimui_tg5040.awimg
and place it at the root of sdcard. - PortMaster TrimUI Beta: trimui.portmaster.zip, place it simply in the root of the sdcard. Do not unzip.
Then download and unzip the TRIMUI_EX.zip to the root of the sdcard.
Your SDCARD should look like this:
SDCARD/
├── Emus/
├── Imgs/
├── Roms/
├── System/
├── trimui_tg5040.awimg
└── trimui.portmaster.zip
We need to flash a fresh firmware, I am going to fuck shit up to make it better.
With the device off, HOLD POWER + VOL DOWN until you see the logo, release POWER, when you see the green progress bar release VOL DOWN.
This will flash fresh firmware. Your device will boot and then it will hopefully show a fancy splash screen. This is my scripts doing its magic. Eventually it will turn on and everything is setup.
This process can take a minute or two. 😄
Download the latest TRIMUI_EX.zip and unzip it over the existing contents on your SDCAARD. It should just work.
From there it should be all setup, PortMaster is under apps, Ports get installed into Roms.
I have added SFTPgo so you can access your files from the web browser, the url is http://<ipaddress>:8080/
, you can also sftp on port 2022
.
- Username:
trimui
- Password:
trimui
We now have working scp (via /usr/libexec/sftp-server) so you can also do:
scp <filehere> root@<ipaddress>:
the password will be tina
(not my choice)
The device will keep it's mac address too so you can give it a static ip address.
You can check PortMaster under options for your devices IP Address (on the default theme).
If you enjoy this send me a few dollars or consider donating to PortMaster's open collective which helps us buy devices like the TrimUI Smart Pro for development.
I have provided my own updated version of busybox, I then link any busybox applets that are missing to /usr/bin
. We then link /usr/trimui/lib/libSDL*
to /usr/lib
, so that regular programs can find it.
I have then included my own compiled version of python 3.11.8, and various programs that PortMaster scripts require.
Anyone can, please cut up and use whatever you want or need. I however will provide no support outside of PortMaster.
- bash*
- nano
- pkill
- python3
- scp/sftp
- ssh/dropbear
- wget
- zip
* Not actually bash, but is busybox ash
, but it aliases correctly and mostly works.
- busybox
- dropbear for ssh
- graphicsmagick
- greenend sftp server for scp
- ldd
- micro
- nano
- python3
- sdl2imgshow for displaying splashscreens
- sftpgo for sftp/webserver
- wget
- xz
- zip
Thanks to:
- tGecko with their guide to the startup scripts and setting the mac address.
@_xk_
on the RGH discord for their compiled version of dropbear- Cebion for testing everything.
- Tech Toy Tinker for helping out with the device and testing.
- Sleepy for pointing out the device and help with funding dev devices ❤️.
- PortMaster - The whole crew for being so awesome and supportive.
Another fairly big update to PortMaster on TrimUI, we now have optional support for the Ports tab.
- Port files are moved to
Data/ports
- Ports can either live in
Roms/PORTS/
orApps/
. - Autoinstall now works, place port zips into
Apps/PortMaster/PortMaster/autoinstall
and it will install them correctly.
You can swap back and forth whenever you like, PortMaster will do the magic necessary to move everything back. In PortMaster go to Options
-> Ports Location:
to toggle the location.
PortMaster will ask to update, in older versions you have press "b" to accept the update, this makes appear like the program isnt updating.
PortMaster should just update by itself, but TRIMUI_EX
has been updated to v0.0.2c
, it includes a few extra libs and gdb
. Download the latest TRIMUI_EX.zip here and unzip it over your install on the SDCARD.
For full installation instructions head here: https://github.com/kloptops/TRIMUI_EX/