[lugm.org] A question I ask myself

Jheengut Pritvi z.coldplayer at gmail.com
Mon Oct 26 10:00:48 UTC 2015


First, You should connect a led to a GPIO. Never a bulb directly, it can
burn the GPIO port or worst still the arm soc. If ever you are crazy enough
to do it, use a resistor to limit current as a bulb can have low resistance
at high temperature and draw too much current. A bulb is too wasteful in
energy , use leds they are more secure and reliable.

There's the upcoming pinctrl technology already in place in the kernel, I
dunno since which version as I'm using v4.3-rc6.

Thirdly when building an IOT device, the memory constraints are higher
since we are talking in terms of dozens of MB of RAM. If you are building a
production kernel many Drivers and other stuff have to be removed in the
linux kernel config.

Fourthly, ulibc is the best option if you want performance and minimal
usage of RAM in IOT.   It has a high posix compliance with a minimal memory
footprint.
On 25 Oct 2015 11:18 pm, "Loganaden Velvindron" <gnukid1 at yahoo.co.uk> wrote:

> Hi folks,
>
> I am wondering why we need a kernel with 2 millions line of code, a big
> fat glibc, and even more lines of code to power a light bulb on a ARM SoC
> board ?
>
> Any IoT expert around can answer this ?
>
> Kind regards,
> //Logan
> C-x-C-c
>
>
>
> __________________________________________________________
> Linux User Group of Mauritius (LUGM) Discuss mailing list
> Website: http://lugm.org
> Mailing list archive:
> http://discuss.lugm.org/pipermail/discuss_discuss.lugm.org/
> Forum: http://lugm.org/forum/
> IRC: #linux.mu on Freenode
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://discuss.lugm.org/pipermail/discuss_discuss.lugm.org/attachments/20151026/7f924ca9/attachment.html>


More information about the Discuss mailing list