rootfs/etc/main is configured with respawn in rootfs/etc/inittab. So we just need to replace the code above like so.? # rootfs/etc/main cd /mnt/emus/retroarch Being a popular solution for retro homebrew devices, it probably does everything I need. Why don't I launch straight into RetroArch? It's kind of a universal shell. Luckily, I noticed RetroArch released a new version recently, which got me wondering. Without a universal shell, it's impossible to improve anything. # rootfs/etc/main while ĭo if test -f " $START" then source $START else cd /mnt/gmenu2x The only reason it comes back up is because of an infinite loop in the boot script. In fact, it shuts itself down after launching an application. So GMenu2X's standby, poweroff and other features aren't available. As I mentioned, each application is its own thing, there's no universal shell. It's an application launcher which lets you pick a file to launch with. Miyoo Custom Firmware ships with a frontend called GMenu2X. The real solution is to make the shutdown process simpler and convenient. Disabling it will increase the risk of corruption. I mean, the comment right above it says so. As I found out a few days later, the check also repairs issues. Mount /dev/mmcblk0p4 /mnt -t vfat -o rw, sync,utf8 right? # rootfs/etc/main #Check if fat32 is flagged as "dirty", and if so unmount, repair, remount if dmesg | grep "mmcblk0p4" > /dev/null then echo -e "\e[31mUnclean shutdown detected.\e[0m" echo -e "\e[32mChecking FAT32 partition.\e[0m" Since I can't prevent unsafe shutdowns, what's the point of that check? If it's corrupt, it's corrupt. Within the same boot-up script is the filesystem check. # rootfs/etc/main #if #then #/mnt/boot-logo > /dev/null 2>&1 #fi Disabling filesystem checks? Either delete the main/boot-logo file or disable the step entirely in the boot-up script under rootfs/etc/main. To speed up the boot process and make it less hideous, an easy first step is to disable the boot logo. Most disk management software will let you create a disk image of your card which you can restore at any time. To be extra careful, now is a good time to backup your microSD card. For other operating systems like Windows and macOS, I'll leave that for you to figure out. Linux-based operating systems will have no issues with this it'll mount like any other partition. To edit various files, we'll need to be able to mount the rootfs partition of your microSD card to whichever computer you're using. So what's the solution? Improve everything! Before we start Trying to explain all these limitations to a child is impossible, no matter how many times I have to re-flash their memory card. There's even a really slow, green and loud "Powkiddy" boot up logo that can't be skipped. There's no universal standby mode, nor a way to quickly jump back into a game. If the memory card's fine, there's a long boot up process to ensure the filesystem hasn't corrupted.Įach application has its own button mappings and exit process.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |