AsteroidOS / asteroid

Build script for AsteroidOS, an open-source operating system for smartwatches
http://asteroidos.org
GNU General Public License v2.0
870 stars 64 forks source link

AsteroidOS installation in Raspberry Pi? #110

Open dpnkrg opened 4 years ago

dpnkrg commented 4 years ago

It is possible to install AsteroidOS in any of the Raspberry Pi based boards?

My idea is to make/build AsteroidOS for the raspberry pi based board and for the touch screen, I will use any of the GPIO based raspberry pi compatible touch screens.

If anyone knows, How to start or any instructions?

FlorentRevest commented 4 years ago

I would recommend getting familiar with Yocto first. Yocto has a raspberry pi support layer. The Porting Guide may help you get a rough idea of what it takes to port AsteroidOS to a different device https://asteroidos.org/wiki/porting-guide/ it mostly targets watches running Android through libhybris but it is also possible to run AsteroidOS on a more standard Linux system, this is, for instance, what we do in QEMU. I would recommend grepping our Yocto layers for qemux86 to see how this would work.

dpnkrg commented 4 years ago

Any update?

jrtberlin commented 4 years ago

Any update?

Not to my knowledge. You asked for instructions and @FlorentRevest gave you some starting points. If you didn't do anything, probably no one has.

dpnkrg commented 4 years ago

@jrtberlin, I will try and update you all.

letanphuc commented 1 year ago

Any update?

MagneFire commented 1 month ago

OK finally an update :smile:

Getting AsteroidOS to work on a Raspberry Pi 4 can be done by following these steps:

Preparing sources

Build

Flashing

Now you should have AsteroidOS running on a Raspberry Pi!

1000040085

For some reason it's suffering from a weird issue where launching any apps show up garbled with a GPU related message (vc4-drm gpu: swiotlb buffer is full). Increasing the GPU/CPU memory split doesn't seem to do anything.

app