Mattyhawk
Posts: 10
Joined: Tue Nov 20, 2018 8:28 pm

Making an OS on RPI

Mon Dec 17, 2018 6:07 pm

What coding languages can you use to make an OS for RPI.?

I know that C is a popular language for making an OS but I only know html, a bit of java and python and I don't think you can make an OS with them. Which languages would you recommend and why?

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

Re: Making an OS on RPI

Mon Dec 17, 2018 6:23 pm

Mattyhawk wrote:
Mon Dec 17, 2018 6:07 pm
What coding languages can you use to make an OS for RPI.?

I know that C is a popular language for making an OS but I only know html, a bit of java and python and I don't think you can make an OS with them. Which languages would you recommend and why?

http://intestinate.com/pilfs/
Retired disgracefully.....
This at present is my daily "computer" https://www.asus.com/us/Chrome-Devices/Chromebit-CS10/

code_exec
Posts: 273
Joined: Sun Sep 30, 2018 12:25 pm

Re: Making an OS on RPI

Mon Dec 17, 2018 8:18 pm

Mattyhawk wrote:
Mon Dec 17, 2018 6:07 pm
What coding languages can you use to make an OS for RPI.?

I know that C is a popular language for making an OS but I only know html, a bit of java and python and I don't think you can make an OS with them. Which languages would you recommend and why?
What type of OS? If you intend on making a Debian or Ubuntu-based OS, I know a way to do that without coding.
Ubuntu 18.04 LTS desktop images for the Raspberry Pi 3.

https://github.com/CodeExecution/Ubuntu-ARM64-RPi

Mattyhawk
Posts: 10
Joined: Tue Nov 20, 2018 8:28 pm

Re: Making an OS on RPI

Tue Dec 18, 2018 7:25 am

I'm not sure whether I want my code to be Debian or Ubuntu based as I would like to code an operating system which uses the pi camera to film photos and videos like an action camera. I also want the OS to allow features that a touchscreen uses.

jahboater
Posts: 4832
Joined: Wed Feb 04, 2015 6:38 pm

Re: Making an OS on RPI

Tue Dec 18, 2018 7:36 am

Mattyhawk wrote:
Tue Dec 18, 2018 7:25 am
I'm not sure whether I want my code to be Debian or Ubuntu based as I would like to code an operating system which uses the pi camera to film photos and videos like an action camera. I also want the OS to allow features that a touchscreen uses.
I suggest you use Raspbian (which is based on Debian).

If you write your own OS it wont be based on anything. See the bare metal section of this forum.
C, with a little bit of assembler, is probably the best language.

Raspbian is a great distro, specially optimized for the Pi by the RPF engineers.
I'm not sure, but I suspect it is the easiest OS to use the camera with.

Raspbian comes with C, C++, Python, assembler, etc pre-installed and ready to use.
So you can have some fun learning C and assembler in case you want to write an OS in the years ahead.

Return to “Other”