Log In  


https://github.com/OnionUI/Onion

Onion OS for the Miyoo Mini Plus seems to be based on Linux so I decided to try to get Pico-8 proper to run on it since FAKE-8 tends to break on a lot of games, plus I miss SPLORE, which seems possible to use given it's WIFI chip. But sadly I'm running into errors.

No matter which version I try to run I get this weird error, IDK if this means it's trying to execute it in the wrong way but it's weird

/mnt/SDCARD/pico-8 2 # ./pico8
./pico8_32bit: line 1: syntax error: unexpected word (expecting ")")

Any idea what could be the problem?

3


«based on linux» is not saying enough: is the processor architecture amd64 or armhf? if so, you may be able to run the linux build, or the raspberry pi build, but that also depends on installed libraries.


These are the specs of the chip:

Sigmastar SSD202D Dual Core Cortex-A7 1.2GHz (Data Sheet)
128MB DDR3 RAM
16MB ROM (SPI)
32GB TF Card storage (up to 128GB)
2.8 inch IPS screen 640x480
Weight 110g
3.7V 1900mAh (v1) 2000mAh(v2) 5V/1A Battery

Found here: https://github.com/MiyooMini

There's also a Docker image they use to write OnionOS: https://github.com/OnionUI/dev-miyoomini-toolchain/blob/main/Dockerfile

Seems to be based on debian as far as I can tell. Not sure.


If I'm not mistaken, the Cortex-A7 is an ARM-Processor. That means, you are probably fine using the Raspberry Pi-Version on the Miyoo Mini.


it is very strange to get a syntax error message.
the pico8 executables are binary, compiled for different processor architectures. syntax errors are possible for text scripts that are executed with the wrong interpreter, like when you download a shell script but there is a 404 so the script is actually an HTML page.

run this command to see what types of files you have: file pico8*


If you figure it out please let us know. I tried to do it as well but could not manage to figure it out.


can you run the file command? just saying «doesn’t work» with no details is asking people to use crystal balls to try to help


I put the files to the device and through the terminal in its OS I tried running the pico8 file, it outs "error while loading shared libraries: libbcm_host.so: cannot open shared object file: No such file or directory"

The pico8_dyn file running outs "SDL Error: No available video device FATAL ERROR: Unable to initialize SDL"


the first error message shows that this build wants a library that’s only available on raspberry pi OS

can you run the file command I mentioned before?


Seems it's because Miyoo Mini does not support/ship due to performance reasons, sadly ☹️
https://github.com/OnionUI/Onion/discussions/1093


1

Based on that thread someone just got it running:

https://www.youtube.com/shorts/xyxIT7lfsyM


2

I don't have the device but I spotted this:

https://www.reddit.com/r/MiyooMini/comments/17nw79r/announcing_native_pico8_wrapper_for_onion_with/

Hope that helps y'all.



[Please log in to post a comment]