Forgot Password
Pentax Camera Forums Home
 

Reply
Show Printable Version Search this Thread
03-15-2019, 07:04 AM - 1 Like   #1
Site Supporter
Site Supporter




Join Date: Sep 2013
Location: Oeiras, Portugal
Photos: Gallery
Posts: 151
Is the GRIII linux based!?

I've downloaded the GPL sources tar from the link on the manual, and got this... a linux-kernel-v1.0.0.tar.gz file!

Code:
dfb@blues2:~/Tmp/GRIII_100$ ls -l
total 189648
-rwxr-xr-x 1 dfb dfb 400438 Feb 22 01:51 acl-2.2.52-r0-patched.tar.gz
-rwxr-xr-x 1 dfb dfb 349518 Feb 22 01:52 attr-2.4.47-r0-patched.tar.gz
-rwxr-xr-x 1 dfb dfb 10624 Feb 22 01:52 base-files-3.0.14-r89-patched.tar.gz
-rwxr-xr-x 1 dfb dfb 82657 Feb 22 01:52 base-passwd-3.5.29-r0-patched.tar.gz
-rwxr-xr-x 1 dfb dfb 2742886 Feb 22 01:52 busybox-1.24.1-r0-patched.tar.gz
-rwxr-xr-x 1 dfb dfb 2086750 Feb 22 01:52 dbus-1.10.10-r0-patched.tar.gz
-rwxr-xr-x 1 dfb dfb 7088587 Feb 22 01:52 e2fsprogs-1.43-r1-patched.tar.gz
-rwxr-xr-x 1 dfb dfb 28775084 Feb 22 01:52 glibc-2.24-r0-patched.tar.gz
-rwxr-xr-x 1 dfb dfb 2208027 Feb 22 01:52 kbd-2.0.3-r0-patched.tar.gz
-rwxr-xr-x 1 dfb dfb 279529 Feb 22 01:52 kmod-23+gitAUTOINC+65a885df5f-r0-patched.tar.gz
-rwxr-xr-x 1 dfb dfb 988815 Feb 22 01:51 libnl-1_3.2.28-r0-patched.tar.gz
-rwxr-xr-x 1 dfb dfb 135127411 Feb 22 01:39 linux-kernel-v1.0.0.tar.gz
-rwxr-xr-x 1 dfb dfb 35878 Feb 22 01:52 netbase-1_5.3-r0-patched.tar.gz
-rwxr-xr-x 1 dfb dfb 277428 Feb 22 01:39 stubby-v1.0.0.tar.gz
-rwxr-xr-x 1 dfb dfb 4809700 Feb 22 01:52 systemd-1_230+gitAUTOINC+3a74d4fc90-r0-patched.tar.gz
-rwxr-xr-x 1 dfb dfb 2743 Feb 22 01:52 systemd-serialgetty-1.0-r5-patched.tar.gz
-rwxr-xr-x 1 dfb dfb 9495 Feb 22 01:52 update-rc.d-0.7-r5-patched.tar.gz
-rwxr-xr-x 1 dfb dfb 8883182 Feb 22 01:52 util-linux-2.28.1-r0-patched.tar.gz
A open source GR would be a "game changer"
Best,

03-15-2019, 07:45 AM - 1 Like   #2
Senior Member




Join Date: May 2009
Location: Sweden
Photos: Gallery
Posts: 179
QuoteOriginally posted by danielblues Quote
I've downloaded the GPL sources tar from the link on the manual, and got this... a linux-kernel-v1.0.0.tar.gz file!

Code:
dfb@blues2:~/Tmp/GRIII_100$ ls -l
total 189648
-rwxr-xr-x 1 dfb dfb 400438 Feb 22 01:51 acl-2.2.52-r0-patched.tar.gz
-rwxr-xr-x 1 dfb dfb 349518 Feb 22 01:52 attr-2.4.47-r0-patched.tar.gz
-rwxr-xr-x 1 dfb dfb 10624 Feb 22 01:52 base-files-3.0.14-r89-patched.tar.gz
-rwxr-xr-x 1 dfb dfb 82657 Feb 22 01:52 base-passwd-3.5.29-r0-patched.tar.gz
-rwxr-xr-x 1 dfb dfb 2742886 Feb 22 01:52 busybox-1.24.1-r0-patched.tar.gz
-rwxr-xr-x 1 dfb dfb 2086750 Feb 22 01:52 dbus-1.10.10-r0-patched.tar.gz
-rwxr-xr-x 1 dfb dfb 7088587 Feb 22 01:52 e2fsprogs-1.43-r1-patched.tar.gz
-rwxr-xr-x 1 dfb dfb 28775084 Feb 22 01:52 glibc-2.24-r0-patched.tar.gz
-rwxr-xr-x 1 dfb dfb 2208027 Feb 22 01:52 kbd-2.0.3-r0-patched.tar.gz
-rwxr-xr-x 1 dfb dfb 279529 Feb 22 01:52 kmod-23+gitAUTOINC+65a885df5f-r0-patched.tar.gz
-rwxr-xr-x 1 dfb dfb 988815 Feb 22 01:51 libnl-1_3.2.28-r0-patched.tar.gz
-rwxr-xr-x 1 dfb dfb 135127411 Feb 22 01:39 linux-kernel-v1.0.0.tar.gz
-rwxr-xr-x 1 dfb dfb 35878 Feb 22 01:52 netbase-1_5.3-r0-patched.tar.gz
-rwxr-xr-x 1 dfb dfb 277428 Feb 22 01:39 stubby-v1.0.0.tar.gz
-rwxr-xr-x 1 dfb dfb 4809700 Feb 22 01:52 systemd-1_230+gitAUTOINC+3a74d4fc90-r0-patched.tar.gz
-rwxr-xr-x 1 dfb dfb 2743 Feb 22 01:52 systemd-serialgetty-1.0-r5-patched.tar.gz
-rwxr-xr-x 1 dfb dfb 9495 Feb 22 01:52 update-rc.d-0.7-r5-patched.tar.gz
-rwxr-xr-x 1 dfb dfb 8883182 Feb 22 01:52 util-linux-2.28.1-r0-patched.tar.gz
A open source GR would be a "game changer"
Best,
...but it also has systemd so we might just say "PENTAX IS DOOMED™ " and call it a day
03-15-2019, 07:59 AM   #3
Pentaxian
The Squirrel Mafia's Avatar

Join Date: Jan 2015
Posts: 2,196
Interesting! I Linux, you Linux, even Ricoh Linux! Hahaha!

But yeah! That could bring up some interesting "hacks" in the future.
03-15-2019, 08:08 AM   #4
Site Supporter
Site Supporter
bobbotron's Avatar

Join Date: Jan 2015
Location: Ottawa, ON
Photos: Gallery
Posts: 2,556
Very interesting! Man, that's weird to think that a whole OS would boot up when you turn the camera on... I mean I get this is technically what always happens, but my experience with linux is something that's running a lot of services.

Super neat.

03-15-2019, 08:49 AM   #5
Pentaxian




Join Date: May 2016
Photos: Gallery
Posts: 1,843
Someone needs to allocate memory and handle interruptions, so why not use the option that's free and stable. There are embedded Linux distributions, wondering if one could figure out what this is based on. Nice find!
03-15-2019, 09:16 AM   #6
Site Supporter
Site Supporter




Join Date: Sep 2013
Location: Oeiras, Portugal
Photos: Gallery
Posts: 151
Original Poster
Here goes the link Open Source Software (OSS) | RICOH IMAGING
Kudos to Ricoh for releasing it.

Last edited by danielblues; 03-15-2019 at 09:17 AM. Reason: added kudos.
03-15-2019, 09:24 AM   #7
Otis Memorial Pentaxian
Loyal Site Supporter
stevebrot's Avatar

Join Date: Mar 2007
Location: Vancouver (USA)
Photos: Gallery | Albums
Posts: 34,361
QuoteOriginally posted by bobbotron Quote
Very interesting! Man, that's weird to think that a whole OS would boot up when you turn the camera on... I mean I get this is technically what always happens, but my experience with linux is something that's running a lot of services.

Super neat.
Embedded Linux is fairly common*, though it is probably a bit premature to suggest that the camera's firmware in general is Linux-based or even exposed at any level to running modified or side-car code ala Magic Lantern.

Still though, this discovery is very interesting indeed.

https://en.wikipedia.org/wiki/Linux_on_embedded_systems


Steve

* The Android operating system is based on Linux kernal. Note the busybox archive to get a clue as to the flavor of the embed and how it is being used. It is possible that it the presence of this tarball is the reason for the extra effort for license disclosure. The folk at BusyBox are famously litigious.

Last edited by stevebrot; 03-15-2019 at 09:50 AM.
03-15-2019, 10:20 AM   #8
Site Supporter
Site Supporter




Join Date: Sep 2013
Location: Oeiras, Portugal
Photos: Gallery
Posts: 151
Original Poster
The nearest experience I have with embedded linux was recompiling a custom openwrt, not very useful, maybe a change to the milbeaut architecture.

Code:
dfb@blues2:~/Tmp/GRIII_100/linux-kernel-v1.0.0-69a9f475fbf10c79f56600a9d1dafa8178db385d$ grep -rH GRIII *
arch/arm/Kconfig.debug:# ricoh custom overwrite for GRIII.
arch/arm/Kconfig.debug: default 0x1e700030 if ARCH_GRIII_BB
arch/arm/Kconfig.debug: default 0x1e700000 if ARCH_GRIII_HM
arch/arm/Kconfig.debug:# ricoh custom overwrite for GRIII.
arch/arm/Kconfig.debug: default 0xfe700030 if ARCH_GRIII_BB
arch/arm/Kconfig.debug: default 0xfe700000 if ARCH_GRIII_HM
arch/arm/boot/dts/Makefile: mlb01-ricoh-GRIII_BB.dtb \
arch/arm/boot/dts/Makefile: mlb01-ricoh-GRIII_HM.dtb \
arch/arm/boot/dts/Makefile: mlb01-ricoh-GRIII_PP_uartoff.dtb \
arch/arm/configs/milbeaut_ricoh_GRIII_BB_defconfig:CONFIG_ARCH_GRIII_BB=y
arch/arm/configs/milbeaut_ricoh_GRIII_HM_defconfig:CONFIG_ARCH_GRIII_HM=y
arch/arm/configs/milbeaut_ricoh_GRIII_PP_uartoff_defconfig:CONFIG_ARCH_GRIII_HM=y
A hack friendly Ricoh/Pentax future would be great!

03-15-2019, 10:31 AM   #9
Otis Memorial Pentaxian
Loyal Site Supporter
stevebrot's Avatar

Join Date: Mar 2007
Location: Vancouver (USA)
Photos: Gallery | Albums
Posts: 34,361
QuoteOriginally posted by aaacb Quote
There are embedded Linux distributions, wondering if one could figure out what this is based on. Nice find!
It likely boots as BusyBox. My DSL router runs on that package and it is unremarkable once that part is understood.


Steve

Last edited by stevebrot; 03-15-2019 at 10:59 AM.
03-15-2019, 10:53 AM   #10
Loyal Site Supporter
Loyal Site Supporter




Join Date: May 2016
Location: East Coast
Posts: 2,098
QuoteOriginally posted by Igor123 Quote
...but it also has systemd so we might just say "PENTAX IS DOOMED™ " and call it a day
Na, they're just part of an old Debian group
03-15-2019, 11:01 AM   #11
Otis Memorial Pentaxian
Loyal Site Supporter
stevebrot's Avatar

Join Date: Mar 2007
Location: Vancouver (USA)
Photos: Gallery | Albums
Posts: 34,361
QuoteOriginally posted by danielblues Quote
A hack friendly Ricoh/Pentax future would be great!
Will you be making a GIII emulator?


Steve
03-15-2019, 11:17 AM - 1 Like   #12
Site Supporter
Site Supporter




Join Date: Sep 2013
Location: Oeiras, Portugal
Photos: Gallery
Posts: 151
Original Poster
QuoteOriginally posted by stevebrot Quote
Will you be making a GIII emulator?
Sorry, no time or knowledge for that. But would give a try on adding some thing basic like a delete option to the wireless api web services (with and option for raw+jpg deletion)

Best,

---------- Post added 15-03-19 at 18:26 ----------

QuoteOriginally posted by danielblues Quote
But would give a try on adding some thing basic like...
Or an option to rate pictures in camera or/and via wireless api.
03-15-2019, 12:36 PM   #13
Senior Member




Join Date: Jul 2014
Posts: 122
This is really awesome! It'd be cool to learn more about it and see what level of changes one could make...

QuoteOriginally posted by Igor123 Quote
...but it also has systemd so we might just say "PENTAX IS DOOMED™ " and call it a day
This is hilarious!

Edit for those unfamiliar with Linux:
systemd is/was a core part of Gnu/Linux operating system that there is a lot of controversy over. People have had to make the choice whether to use it or move to something else in many different versions of Linux, so it's a bit of a recurring topic or 'meme'.
03-15-2019, 03:07 PM   #14
Site Supporter
Site Supporter
kiwi_jono's Avatar

Join Date: Dec 2009
Location: Christchurch, New Zealand
Photos: Gallery | Albums
Posts: 1,856
Thats great! I love open source software.
03-15-2019, 03:15 PM - 3 Likes   #15
Pentaxian
The Squirrel Mafia's Avatar

Join Date: Jan 2015
Posts: 2,196
QuoteOriginally posted by aikilink Quote
This is hilarious!

Edit for those unfamiliar with Linux:
systemd is/was a core part of Gnu/Linux operating system that there is a lot of controversy over. People have had to make the choice whether to use it or move to something else in many different versions of Linux, so it's a bit of a recurring topic or 'meme'.
"init" true?
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!
api, digital camera, feb, griii linux, option, ricoh gr, try
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
RICOH GRIII Officially Announced OoKU Pentax News and Rumors 329 07-23-2019 08:38 AM
Ricoh GRIII on pre-order in The Netherlands RonHendriks1966 Pentax News and Rumors 5 02-21-2019 09:42 AM
GRIII featured in Verge article ephophex Ricoh GR 5 10-30-2018 01:53 PM
pictures of the upcoming Ricoh GRIII shyrsio Pentax News and Rumors 23 10-20-2018 11:43 PM
Potential Linux Mint based workflow questions Clarkey Digital Processing, Software, and Printing 9 06-14-2016 06:47 AM



All times are GMT -7. The time now is 11:59 PM. | 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