Forgot Password
Pentax Camera Forums Home
 

Reply
Show Printable Version 31 Likes Search this Thread
05-01-2022, 01:51 AM   #16
Pentaxian
Lord Lucan's Avatar

Join Date: Sep 2017
Location: South Wales
Photos: Gallery
Posts: 2,980
QuoteOriginally posted by tduell Quote
The Raspberry Pi runs PiOS or Linux.
Indeed, it was based on the Debian version of Linux. The original OS was called Raspbian which was a combination of the words Raspberry and Debian. I have used Debian (and now its fork Devuan) for years, so I felt quite at home when I got a Raspberry Pi. I use it for some file back-ups.
QuoteOriginally posted by tduell Quote
The processor has to have an OS to manage everything, and it doesn't matter if it's in machine code, it will still be an OS
Strictly speaking you don't need an OS. Each application could control the machine hardware directly. You just need a bit of code (perhaps hard wired) to transfer the application program into memory first. If you only ever use the same application (such as in a washing machine or camera) that can be done at the factory, but then you don't have a computer, you just have an intelligent device that uses a microprocessor.

DOS for example was really just a program loader, capable of not much more than loading a program into memory from disk and reading keyboard input. It was called "Disk Operating System" because that was about all it did. Things like word processors for DOS came packaged with drivers for every possible printer, and graphical programs like games had to include their own video drivers. It was very inefficient. Modern OS's manage the drivers themselves.

05-01-2022, 11:23 AM   #17
Site Supporter
Site Supporter




Join Date: Jun 2008
Location: Idaho
Photos: Gallery
Posts: 2,379
QuoteOriginally posted by tduell Quote
The Raspberry Pi runs PiOS or Linux.
The processor has to have an OS to manage everything, and it doesn't matter if it's in machine code, it will still be an OS but may not be a common OS.

Cheers,
Terry
True these systems can be run on a Raspberry Pi but the point I was trying to make is that there is a compiler between the OS and the chip itself which runs on it's own code specific to that chip. The Raspberry Pi board was designed with an OS in mind which is installed by the user.
05-02-2022, 08:50 AM   #18
Loyal Site Supporter
Loyal Site Supporter
MossyRocks's Avatar

Join Date: Nov 2017
Location: Minnesota
Photos: Gallery | Albums
Posts: 2,982
QuoteOriginally posted by Lord Lucan Quote
If it is modified Linux, wouldn't the camera maker have to provide a publically available version of their source code?
Depends on what was changed and how their special sauce is integrated. They could do it much like Nvidia does with their GPU drivers which basically results in nothing being shared back.
05-03-2022, 06:51 PM   #19
Otis Memorial Pentaxian
Otis FanOtis FanOtis FanOtis FanOtis FanOtis Fan
Loyal Site Supporter
clackers's Avatar

Join Date: Jul 2013
Location: Melbourne
Photos: Albums
Posts: 16,397
QuoteOriginally posted by MossyRocks Quote
Depends on what was changed and how their special sauce is integrated. They could do it much like Nvidia does with their GPU drivers which basically results in nothing being shared back.
If they modify, they have to make available the source code, that's the GPL deal.

Ricoh didn't have to go with Linux, BTW.

A lot of photocopiers (including theirs) use Open BSD Unix, not Linux. It's also open source, but not GPL so it's completely free, there is no requirement to share what you do with it, your IP remains your IP.

Apple also take advantage of that arrangement with the MacOS - it is based on a Mach kernel, BSD components. Then they add their stuff on top.

05-04-2022, 05:08 AM   #20
New Member




Join Date: Aug 2021
Location: Osaka
Posts: 24
Sony cameras contain an Android subsystem to run apps that can control the whole hardware, but it may not be the base system.
05-04-2022, 06:00 AM   #21
Loyal Site Supporter
Loyal Site Supporter
UncleVanya's Avatar

Join Date: Jul 2014
Photos: Gallery | Albums
Posts: 28,472
QuoteOriginally posted by nexflatline Quote
Sony cameras contain an Android subsystem to run apps that can control the whole hardware, but it may not be the base system.
Are you talking about the play memories apps? Those are not in any of the bodies since the a7R II.
05-04-2022, 09:55 PM   #22
New Member




Join Date: Aug 2021
Location: Osaka
Posts: 24
QuoteOriginally posted by UncleVanya Quote
Are you talking about the play memories apps? Those are not in any of the bodies since the a7R II.
Thank you for the info, I didn't know that. I read about it when trying to force change the language of my Sony camera from Japanese to English (it was an older model than the a7R II).
It didn't work, and that was the reason I switched to Pentax and vowed never to buy anything Sony again.


Last edited by nexflatline; 05-04-2022 at 09:55 PM. Reason: Double quote
05-04-2022, 10:31 PM   #23
Senior Member
bogwalker's Avatar

Join Date: Jun 2021
Location: Chicagoland
Photos: Albums
Posts: 145
QuoteOriginally posted by ProfessorBuzz Quote
Michael - Pentax firmware has been discussed a fair bit. Short version is several of the cameras run a RTOS, and some is based on Linux for ARM processors.Resurrecting Pentax firmware hacking - PentaxForums.com
Thomas Tempelmann | RICOH / PENTAX FluCard Reverse Engineering
This makes sense. Not all cameras (including mine) are in the link to the source that BorisCleto gave (they specifically say they need to provide the source because of license requirements). So the missing cameras are likely using the eSOL system. It's a bit surprising that they use two different systems.

Back in the old days, a company could roll its own basic OS, just a run loop written in assembly and timer interrupts, but those days are long gone for something as complicated as a DSLR. These things do a LOT. Just the auto-focus is likely 100K lines of code.

I write embedded software, but generally on smaller systems. I've stayed out of the Linux world, not completely intentionally, but that's how it's worked out.
05-05-2022, 08:09 AM - 1 Like   #24
Loyal Site Supporter
Loyal Site Supporter
MossyRocks's Avatar

Join Date: Nov 2017
Location: Minnesota
Photos: Gallery | Albums
Posts: 2,982
QuoteOriginally posted by clackers Quote
If they modify, they have to make available the source code, that's the GPL deal.
That is why I specifically brought up Nvidia as they dance a very fine line avoiding having to opensource anything of value. So it is possible to do such things. It may be that Linux just provides system calls and interfaces to devices as just simple block or character devices and they have a large monolithic program that sits on top and had the necessary brains for actually doing useful things with the devices and all user functionality.

BSD is very different in its licensing allowing one to keep their modifications.

Having spent years working with Unix and Unix-like systems and with software that uses various licenses (GPLv2, GPLv3, LGPL, BSD, MIT, Apache, proprietary, etc.) one does have to keep those things in mind.
05-05-2022, 09:11 AM - 3 Likes   #25
Site Supporter
Site Supporter
gofour3's Avatar

Join Date: Oct 2008
Location: Vancouver, Canada
Posts: 8,093
This is the OS my cameras use:

Phil.
Attached Images
 
05-05-2022, 08:15 PM - 3 Likes   #26
Otis Memorial Pentaxian
Otis FanOtis FanOtis FanOtis FanOtis FanOtis Fan
Loyal Site Supporter
clackers's Avatar

Join Date: Jul 2013
Location: Melbourne
Photos: Albums
Posts: 16,397
QuoteOriginally posted by gofour3 Quote
This is the OS my cameras use:

Phil.
Yeah, you're definitely in the 'I don't upgrade OSes' set, Phil.
05-05-2022, 09:45 PM - 2 Likes   #27
Moderator
Site Supporter
Loyal Site Supporter
MarkJerling's Avatar

Join Date: May 2012
Location: Wairarapa, New Zealand
Photos: Gallery | Albums
Posts: 20,423
Phil's a MS-DOS user!

I like your style Phil.
05-06-2022, 01:55 AM   #28
Senior Member




Join Date: Sep 2010
Location: Mainz
Photos: Albums
Posts: 253
There are some open source projects that use the fact that it's Android to deploy custom feature packages for some Sony cameras, eg the a5000, nex 6 etc. Probably also early a7 models. This is different than Samsung's android cameras, updates or access to a store are supposed to be hidden to the user.

If you like doing funky stuff with cameras try a sony a5000 or nex-5r, they're cheap and you can log in via telnet over wifi and mess around, enable clean hdmi etc. Look for ma1co openmemories on github.

I wonder about magiclantern for canon. It seems to not replace the OS but it's sort of a layer on top of it.
05-06-2022, 08:58 AM - 1 Like   #29
Loyal Site Supporter
Loyal Site Supporter
MossyRocks's Avatar

Join Date: Nov 2017
Location: Minnesota
Photos: Gallery | Albums
Posts: 2,982
QuoteOriginally posted by MarkJerling Quote
Phil's a MS-DOS user!
That is probably too advanced, I'm betting he's a CP/M user.
05-06-2022, 11:11 AM - 1 Like   #30
Site Supporter
Site Supporter
gofour3's Avatar

Join Date: Oct 2008
Location: Vancouver, Canada
Posts: 8,093
QuoteOriginally posted by MossyRocks Quote
That is probably too advanced, I'm betting he's a CP/M user.
Close, I date back to the IBM mainframe DOS/360 & DOS/VSE days in the late 1970's, when I started my first IT job as a mainframe computer operator.

Phil.
Reply

Bookmarks
  • Submit Thread to Facebook Facebook
  • Submit Thread to Twitter Twitter
  • Submit Thread to Digg Digg
Tags - Make this thread easier to find by adding keywords to it!
cameras, photography, system, system do cameras

Similar Threads
Thread Thread Starter Forum Replies Last Post
Do you still use a film cameras or thinking about to start to use again? Gerald Monteiro Welcomes and Introductions 35 04-25-2022 05:02 PM
K110D firmware upgrade possible on Linux operating system? hvz448 Troubleshooting and Beginner Help 7 08-12-2020 07:27 AM
What's your favourite operating system? bertwert General Talk 133 12-18-2015 11:26 AM
Lighten up your OS: An operating system just for post processing mkz Digital Processing, Software, and Printing 30 10-28-2009 12:39 PM
Operating System and Image Software ahopkins Digital Processing, Software, and Printing 71 09-26-2009 08:04 AM



All times are GMT -7. The time now is 03:25 AM. | See also: NikonForums.com, CanonForums.com part of our network of photo forums!
  • Red (Default)
  • Green
  • Gray
  • Dark
  • Dark Yellow
  • Dark Blue
  • Old Red
  • Old Green
  • Old Gray
  • Dial-Up Style
Hello! It's great to see you back on the forum! Have you considered joining the community?
register
Creating a FREE ACCOUNT takes under a minute, removes ads, and lets you post! [Dismiss]
Top