fenix
Posts: 2
Joined: Fri Sep 27, 2019 1:04 am

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

Fri Sep 27, 2019 1:17 am

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.

Heater
Posts: 13877
Joined: Tue Jul 17, 2012 3:02 pm

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

Fri Sep 27, 2019 4:43 am

Deleted first of a duplicate post content because the stupid forum will not let me delete the post itself.
Last edited by Heater on Fri Sep 27, 2019 4:47 am, edited 1 time in total.
Memory in C++ is a leaky abstraction .

Heater
Posts: 13877
Joined: Tue Jul 17, 2012 3:02 pm

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

Fri Sep 27, 2019 4:45 am

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.
Memory in C++ is a leaky abstraction .

fenix
Posts: 2
Joined: Fri Sep 27, 2019 1:04 am

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

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?

User avatar
B.Goode
Posts: 8987
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

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

Fri Sep 27, 2019 5:10 pm

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

fruitoftheloom
Posts: 21057
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

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

Fri Sep 27, 2019 5:20 pm

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/
Retired disgracefully.....
This at present is my daily "computer" https://www.asus.com/us/Chrome-Devices/Chromebit-CS10/

Heater
Posts: 13877
Joined: Tue Jul 17, 2012 3:02 pm

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

Fri Sep 27, 2019 5:22 pm

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.
Memory in C++ is a leaky abstraction .

User avatar
Gavinmc42
Posts: 4031
Joined: Wed Aug 28, 2013 3:31 am

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

Sat Sep 28, 2019 1:17 am

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?
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

Return to “General programming discussion”