Page 1 of 1

How i can install my own os from cosmos to my rpi3?

Posted: Fri Sep 27, 2019 1:17 am
by fenix
hello everyone

someone know how i can move my own os form cosmos to my rpi3? i watch some videos and i see that cosmos is easy to create a OS or OE i don't know so much about programming, well if someone can help that will be awesome (sry for my english)



thanks.

Re: How i can install my own os from cosmos to my rpi3?

Posted: Fri Sep 27, 2019 4:43 am
by Heater
Deleted first of a duplicate post content because the stupid forum will not let me delete the post itself.

Re: How i can install my own os from cosmos to my rpi3?

Posted: Fri Sep 27, 2019 4:45 am
by Heater
If you don't know much about programming then moving an operating system is not something you should be starting with to fond out.

Do you mean this Cosmos: https://www.gocosmos.org ?

From the Cosmos FAQ:

"What processors does Cosmos support?

Cosmos currently only runs on x86 and x64 processors. It has the capability to run on ARM and other processors as well but currently only Intel is supported."

So basically it is not possible to run Cosmos on the Raspberry Pi which has an ARM processor.

The idea of an operating system written in C# seems totally insane to me. I wonder what they really mean.

Re: How i can install my own os from cosmos to my rpi3?

Posted: Fri Sep 27, 2019 4:57 pm
by fenix
Thanks for your answer

I didn't know it can't be installed on rpi 3, so I don't know if there is a way to create your own operating system for rpi 3?

Re: How i can install my own os from cosmos to my rpi3?

Posted: Fri Sep 27, 2019 5:10 pm
by B.Goode
fenix wrote:
Fri Sep 27, 2019 4:57 pm
Thanks for your answer

I didn't know it can't be installed on rpi 3, so I don't know if there is a way to create your own operating system for rpi 3?


There are dozens of Operating Systems for Raspberry Pi boards, including the RPi3.

Most started out as being someone's 'own' Operating System at some early stage.

So of course there is a way...


But this is one one those situations where if you had the knowledge to do it you wouldn't be here asking the question...

A possible starting point: http://www.linuxfromscratch.org/lfs/vie ... 1/how.html

Re: How i can install my own os from cosmos to my rpi3?

Posted: Fri Sep 27, 2019 5:20 pm
by fruitoftheloom
fenix wrote:
Fri Sep 27, 2019 4:57 pm
Thanks for your answer

I didn't know it can't be installed on rpi 3, so I don't know if there is a way to create your own operating system for rpi 3?

https://intestinate.com/pilfs/

Re: How i can install my own os from cosmos to my rpi3?

Posted: Fri Sep 27, 2019 5:22 pm
by Heater
Of course you can create you own operating system for the Pi. People are doing it all the time. You will find 2 or 3 threads on such different efforts here: https://www.raspberrypi.org/forums/viewforum.php?f=72

At a slightly higher level you can create your own OS using a Linux kernel to base it on: https://intestinate.com/pilfs/

I'm not totally sure what you are meaning by "operating system" though. As far as I can tell it's not even possible to create an operating system in C# alone. C# requires a run time system in some other language.

Re: How i can install my own os from cosmos to my rpi3?

Posted: Sat Sep 28, 2019 1:17 am
by Gavinmc42
X# is a HLA (High Level Assembler) for X86/X64 (ARM coming) assembly language
https://github.com/CosmosOS/XSharp

Might not be able to port Cosmos yet but if ARM support arrives then maybe.

I think in the LInux world .NET is Mono?
A google shows Mono seems to have better Arm support?
.NET/Mono is not a language I have used on Pi's.

Rewrite Cosmos in Mono and try compiling it?
How much rewriting is needed?
Could it be used as baremetal OS for Pi's?
That has my attention.
Oh goodie, Mono can talk to OpenGL :D
That means accelerated graphics for the OS?