cubieboard5 (aka as cubietruck plus or allwinner h8)
-
@Jaapdaniels1984
I think a good start would be to clone https://github.com/RetroPie/RetroPie-Setup.git to your board, run retropie_setup.sh and try to install the main components (which will probably fail). Then work your way through the scripts and see how to fix it.
All the different modules (emulators and also main components like emulationstation) are separated into different scripts you can find inside the folders scriptmodules/emulators and e.g. scriptmodules/supplementary.Maybe first milestone would be to get Emulationstation compiling and running (scriptmodules/supplementary/emulationstation.sh).
-
@vbs i can't install since i my platform isn't recognised... saying i need to manual setup __platform or something.
-
@Jaapdaniels1984
Then you will have to look into the code that recognzies the platform and adapt it accordingly I think.Look in function get_platform in RetroPie-Setup/scriptmodules/system.sh
-
@vbs found the code, is there a way for me to print/show what platform it detects? since this could be helpfull for progress later, and maybe for each progress step i could offer the modded sourcecode to someone here to look if it's the right way to go for public.
-
@Jaapdaniels1984
There might also be better way but you could add debug outputs to the script that write into a text file.Also for really working with the code and make it available you should fork Retropie-Setup on github to your own account. Then you can make your changes in your own branch and make it available to others.
-
@vbs i'll be on vacancy next week so i won't be able to check for some days, will let you know if i make some progress.
-
@vbs somehow i can't get the debug to report what's __platform... it gaves me just __platform instead of what is found in the label... might be doing it wrong... used echo __platform just before error discription...
like i said it's first time i try something like python/c i only know how html (only the basics), (visual) basic, assembly and turbo pascal works. -
@vbs it seems function get __platform() { seems to be incompitable with my OS:
Distributor ID: Linaro
Description: Linaro 14.0.4
Release: 14.04
Codename: trusty -
@Jaapdaniels1984
Yes I understand. Making RetroPie work on your platform is probably quite a bunch of work. Will require changes at many places and permanently checking what does work and what does not and then trying to fix it. If you are going to go on that journey then feel free to ask questions if you get stuck. But be prepared to invest a good heap of time into digging and understanding how RetroPie works. -
@vbs i can get it to get pass the platform, but then it says my os is incompitable...
my os is a modded lubuntu, just minor modded, though kernel is ehh... lets say not really how i expected it to be...
i'm willing to go through a painstaking pile of work... buti can't get it to show wht's in __platform... i expect the function tries to read a file that simply is never made in my linux. that's how much i understood of python 2.7 explenation... fixating it to be rpi3-64 gives me the eroor of incapable os... wich seems to be an error i'll have to face a lot... it seems they didn't just mod the OS to work with other hardware, they removed a lot of things too... the software centre was missing... and i'm missing a lot of libaries that i thought were standard with lubuntu (they said it was ubuntu but it's more like lubuntu). -
@Jaapdaniels1984
Try something likesudo __platform=whatever ./retropie-setup.sh
for now but later you'll need to figure out how to add your platform to the code once you get a lot of it working :)I learned this trick when trying to get the Raspberry Pi version of RetroPie to install in QEMU but EmulationStation didn't work because QEMU doesn't emulator the graphics card.
-
@backstander thanks, now i got the installer to work... adding Linaro to the same line as ubuntu was in system.sh and using your manual command... using rpi3-64 instead of whatever.
-
@backstander i forgot... the script for reading my pltform is just not working for my OS... it'll respond with emptyness... i think that my OS missing some txt and cfg files, had this problem before with setting up audio... there was just no default alsa mixer set, nor was the file there with the info... if someone could tell me where lubuntu/ubuntu stores this information i can make a patch for the cubieboard5... like i said for some reason it is as if the software for this board is stopped developping when it worked for the basics...it's missing quite some stuff i thought to be standard with ubuntu... then again, i knew that it would need some polishing...
-
@Jaapdaniels1984
I mentioned it already but the code you are looking for is in the functionget_platform
inRetroPie-Setup/scriptmodules/system.sh
. It invokesuname --machine
and parses its output to fill__platform
. -
@vbs then my __platform is " " that would make it pretty impossible to add to the list.
-
@Jaapdaniels1984
This is probably the point where you have to dig into the code and make it work for your platform :) What is the output ofuname --machine
? -
To adapt RetroPie to work on a new platform requires a good understanding of the retropie-setup code and knowledge of the underlying hardware. EG When I posted it to the ODroid-C1 it required
- a custom sdl2 library with mali driver.
- lots of logic changes to modules - eg building retroarch with the mali backend.
Unless the platform has the same hardware as existing supported targets, it is not going to be trivial and I don't think you will be able to do this via a Q/A thread here. EG if you hardware has hardware opengl support under X, you could use the X11 target which would work - however I think your hardware has gles only, which means you will at least need changes to the retroarch module for it and additional platform code in system.sh
-
@vbs since the installation is still running... i'll report another day. but it's at least something that is working now, and thanks to you guys i at least got to understand a bit of it all.
-
@BuZz https://imgtec.com/blog/the-powervr-sgx544mp-a-modern-gpu-for-todays-leading-platforms/ might have the info you were thinking about... seems pretty complete to me. SDL2 should already work, at least i thought i used it in my video-player and in scummvm before...
but i see a really big log turning up, so i imagine there must be something not going as planned... but hey i didn't expect it to turn out this simple... i already made a backup of the official cubietech sourcecode for all my drivers... i don't think i'l make a fully working system anytime soon since i'm working alone and i am a OOB at this... but then again... when i was a kid coding was something i really enjoyed... so i wanna learn something.. i know it'll be a long run to walk alone... but hey i'm learning on my way a lot already... thanks for getting me as far as i am now! -
If the underlying os has software support and drivers are available/working. PowerVR support for Linux has been horrible in the past due to buggy closed source drivers etc.
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.