GPi Zero 2 v1.52 & GPi Zero v1.15(Retropie Images for Pi Zero/Zero2 + GPi Case 1 & GPi Case 2W)
-
The OSK is really nice, thanks for letting me know about it. Now if I can figure out why putting ssh on the boot partition doesn't enable SSH after doing it once and why the sound "card" the GPi case emulates over the gpio pins vanishes after doing an OS update I think I'll be close to having this image completely to the point where I'm happy with it.
-
@sliver-x said in GPi Zero 2 v1.18 (Retroflag GPi Image for Pi Zero 2 W):
Now if I can figure out why putting ssh on the boot partition doesn't enable SSH after doing it once.
That is handled by the
sshswitch
service. If you disabled/removed the service, then SSH won't be enabled. -
Thank you, yeah, I didn't realize I'd disabled that near the beginning of working on this: Enabling it makes it work (So now I can strip the SSH host keys/etc out of the image before distributing it).
Also, excellent work on the OSK you made recently : It makes using a device with no keyboard infinitely nicer to deal with.
-
Yes, thanks so much @mitu! I've been hoping for this one for a while.
@Sliver-X here has some great scripts that further help with toggling control of Bluetooth, Samba, Wifi, cores, and logging. I took the lead and stole them and placed them into the RetroPie-Setup folder directly and they are picked up nicely by the UI.
As for the updates as I'm sure you know it's just the dpi24 file that you have to noermally replace and it might be hard for setup scripts to understand that it's customized and it doesn't even know the user has a RetroFlag Gpi case. It's super annoying but I'm not sure what can be done to streamline.
-
@paradoxgbb said in GPi Zero 2 v1.18 (Retroflag GPi Image for Pi Zero 2 W):
As for the updates as I'm sure you know it's just the dpi24 file that you have to noermally replace and it might be hard for setup scripts to understand that it's customized and it doesn't even know the user has a RetroFlag Gpi case. It's super annoying but I'm not sure what can be done to streamline.
The issue - I think - is that the
.dtbo
file used is using a filename already shipped with the Raspberry Pi OS kernel, so it's normal that's overwritten on upgrade. Rename the.dtbo
file and update theconfig.txt
accordingly, IF the overlays are not compatible. -
<edit>
This post had dead links to obsolete files and has been removed. -
@Sliver-X I just installed this and wanted to say Thank You!
I do have a question. You did have the safe shutdown script preinstalled on the image correct?
I just installed it today from your drop box link. I have the switch turned on under the battery, but it seems like its not doing the safe shutdown. Is there a way for me to verify it is? Also if its not working, can I just install the script from the retroflag gpi site? or do you have any recommendations ? -
You're welcome, I'm glad others are finding it useful.
Safe Shutdown is installed, and tied to a shell script in /opt/Retroflag that is a minimal, stripped down version of a script written by crcerror:
https://github.com/crcerror/ES-generic-shutdown/blob/master/multi_switch.shIt's silent VS the original, and also gracefully shuts down EmulationStation and any running emulators so you don't lose metadata/save data. You can tell it's working if, when you flip the power switch, there is about a 2 second delay before the unit turns off. If it's not working, shutdown is instantaneous or doesn't happen at all, depending on why it wouldn't be working.
Installing the original Retroflag script would revert it back to the original behavior of simply initiating a reboot when the power switch is thrown (It does this instead of an actual shutdown: Since the power switch is off rebooting has the same effect, though I'm not really sure why they chose to do it that way?).
If it isn't working, the only thing I can think of is the one time I corrupted the filesystem testing CPU overclocks and it stopped working. A reflash would fix that if it's the case.
-
Thank you for sharing your work on this! This has saved me a lot of time.
-
You're welcome. Please let me know if you find any bugs/etc.
I've actually gotten to the point of actually using it to play games instead of just test them, lol, and about 40 hours of use in I've not run into any issues, but I don't use a lot of stuff like scrapers others do so there may be things I'm missing.
-
@sliver-x Is the link in the top message up to date? I am going to look to install your setup on my RetroFlag, it seems very polished. Thank you!
-
v1.2 is the current version, yes.
-
@sliver-x Superb. Thank you!
Edit: I seem to just be getting a blank screen when I boot up. The image seems to have written okay, the drive is named "boot". I can't see what I could have messed up at this stage!
-
The image is set up to pipe the display through the GPIO pins out of the box, so it should be working. Have you tried reseating the Pi in the cartridge? Have you checked the connection between the pogo board and the Pi via the micro USB cable on the board?
-
@sliver-x It is really strange. I don't think it's anything to do with connection, as I've got my existing SD Card and I tried that and it works without problem. I've tried a few times now.
The screen lights up but it is just blank. I thought it may be something to do with the way the card is formatted or something like that, but I can't see any difference with my existing SD Card.
-
Have you tried reflashing the image? How big is the card? Do you have the Safe Shutdown switch set to "On" in the battery compartment/have you been shutting it down with the power switch?
-
@sliver-x said in GPi Zero 2 v1.2 (Retroflag GPi Image for Pi Zero 2 W):
Have you tried reflashing the image? How big is the card? Do you have the Safe Shutdown switch set to "On" in the battery compartment/have you been shutting it down with the power switch?
I haven't tried flashing yet, but I did think I might try again. It looks okay to me though, so it wasn't my first thought.
The card is 32gb but now shows as 256mb I think (I'd need to check). I've been using the safe shutdown script, again I'll have to check on the switch. I do use the Power switch to turn the GPi off.
-
@sliver-x How are we able to get sound back?
-
I found there is a config folder for fba but not one for rom folder. If I tried to created fba/fbneo folder and put some fba/fbneo roms into, but the system didn’t found them after a reboot. I don’t want to put roms into arcade which seems for mame2003. Is there a way?
-
The size is normal: Retropie is split across two partitions on the card: A small FAT32 formatted one with the boot files and the remainder is an ext4 formatted partition: FAT32 is supported by any operating system made in the 21st century (It was introduced with Windows 95) but ext4 is Linux/Android only unless you use a third party utility to access it.
I mentioned the switch because, if that's not engaged, Safe Shutdown doesn't work at all and flipping power has a high liklihood of corrupting the OS depending on what's going on I/O-wise when it happens. Also don't install the Retroflag GPi Case patch, as I've integrated what it does into the image itself, with alterations (The stock patch simply copies config.txt files around, my scripts edit this file in-situ so other settings like overclocks aren't wiped when switching HDMI/LCD modes), so things will most certainly break if it's done.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.