Big Blog Changes Effective Immediately: Rebooting What We Cover and How We Cover It
Instant and Mail-In Rebates...
+ Stackable Olympus M43rds Instant Rebates (exp 3/1/14)
+ Canon DSLR Instant Rebates (exp unknown)
+ Sony Alpha Instant Rebates and Sony NEX E-mount Instant Savings

November 11, 2012

Samsung releases open source kernel files for their Android Galaxy EK-GC100 camera

Samsung is one of only three manufacturers with name recognition to develop Android-based cameras. The other two are the Nikon Coolpix S800c [reviews] announced during the 2012 Photokina season and Polaroid announced during CES/PMA 2012. The Samsung Galaxy camera however, which goes by the not-so-easy-to-remember model name of EK-GC100, is the most promising Android-wise as it runs a more recent version, Android 4.0.

Samsung now took things a step further, a common practice for their Android devices, but not a common practice among digital camera manufacturers: they have released the open-source kernel files for the camera.

An overview of the release at Android Police. Development action will happen at the uber-g33ky XDA developers forum. You can also peruse the Samsung Open Source which is available in a 190MB compressed file (text/source-code compresses very well, thus the compression).

Unless you are interested in software and hackery, you won't find it particularly exciting. Here is a tiny example of what to expect to find, extracted from one of the files:


/*
* Copyright (2004) Linus Torvalds
* Author: Zwane Mwaikambo <[email protected]>
* Copyright (2004, 2005) Ingo Molnar
*/


#define BUILD_LOCK_OPS(op, locktype) \
void __lockfunc __raw_##op##_lock(locktype##_t *lock) \
{ \
for (;;) { \
preempt_disable(); \
if (likely(do_raw_##op##_trylock(lock))) \
break; \
preempt_enable(); \
\
if (!(lock)->break_lock) \
(lock)->break_lock = 1; \
while (!raw_##op##_can_lock(lock) && (lock)->break_lock)\
arch_##op##_relax(&lock->raw_lock); \
} \
(lock)->break_lock = 0; \
} \
\
unsigned long __lockfunc __raw_##op##_lock_irqsave(locktype##_t *lock) \
{ \
unsigned long flags; \
\
for (;;) { \
preempt_disable(); \
local_irq_save(flags); \
if (likely(do_raw_##op##_trylock(lock))) \
break; \
local_irq_restore(flags); \
preempt_enable(); \
\
if (!(lock)->break_lock) \
(lock)->break_lock = 1; \
while (!raw_##op##_can_lock(lock) && (lock)->break_lock)\
arch_##op##_relax(&lock->raw_lock); \
} \
(lock)->break_lock = 0; \
return flags; \
} \


Latest Camera Deals from NoisyDeals.com

Comments


Latest News



Latest Lens Reviews


OLYMPUS CAMERAS

M43rds & 43rds

LEICA CAMERAS

RICOH CAMERAS

SAMSUNG CAMERAS

SIGMA CAMERAS

All Top

  • Alltop, all the top stories

Noisy Stats

  • Whos.Amung.Us; Google Analytics;

Noisy Stats II