ARM Linux kernel development landscape [closed] - linux-kernel

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am in my learning the landscape of Linux kernel for ARM-based SoCs development.
This is the very early stage of learning and will surely take a long time as the matters seem to be comprehensive.
The goal is to have sufficient orientation in the eco-system so as soon as concrete issues in own project are to be solved one is able to route the search/investigation in the proper trails.
There is the Linus's tree, vanilla kernel. As for ARM platform there is also the ARM port tee/project/repository. If however to have a look at MAINTAINER file there are several maintainers/sub-systems of, apparently, ARM specific narrow-spectrum topics.
I wonder why all those narrow-spectrum topics do not deliver/contribute to the ARM port (http://www.arm.linux.org.uk/) repository instead of delivering directly to Torvalds tree?
There seems to exist also ARM SUB-ARCHITECTURES sub-system. Several those narrow-spectrum sub-systems/maintainers seem to be intended for porting to certain platform, conclusion based on naming the found sub-system/maintainer. Why are these centralized at / contribute to Linus tree directly instead of doing it to ARM SUB-ARCHITECTURES sub-system or as mentioned above?
The organization is somehow mysterious, in-transparent for a newbie.

Related

How hard is it to control laptop's battery charge or to limit? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 months ago.
Improve this question
I wonder if it is possible to write a program which would limit the battery charge of a laptop. I know some manufacturers like Asus, Lenovo etc. have such build-in software, but I am curious if anyone had tried creating a universal software for that and if you would share some starting points. Not sure if that is even possible since I am unable to find such software. Thanks!
There is an almost generic tool for Linux: TLP. You find it's homepage (including a link to the source code) on https://linrunner.de/tlp/. It works as power saving utility and also can adjust the battery charge levels, BUT that feature is only for ThinkPads.
To my knowledge there is no universal interface to set the charge levels of laptop batteries, so a generic utility would have to know all that vendor specific settings probably.
A short research showed, that Linux supports more than Lenovo inside some kernel drivers, so maybe that code could help you to also write software for a different OS. My advice would be to research the possibilities for Linux to then think about a generic utility for another operating system.

What is the difference between distro features, machine features and image features ? What dependicies between them? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I am using Yocto project to build a customized distribution to my board. I just want to ask you, what is the difference between distro features, machine features and image features ?
Yocto uses features as a means to figure out which libraries, utilities and kernel modules to include in the image.
There is some overlap between the three feature categories (especially distro- and image features), and it is not always obvious where to look for a particular feature. For example, api-documentation is a distro feature, while doc-pkgs is an image feature.
So these definitions are my own, check out the reference manual for more details.
Machine features are related to the hardware that the image is built for. For instance, the rtc feature specifies that the hardware has a built-in real-time clock, while the bluetooth feature indicates that the hardware supports bluetooth.
Distro features select broader categories of software support, though there is some overlap with machine features. Examples of distro-level features include ipv6, systemd and x11.
Image features typically (but not always, see splash or read-only-rootfs) are used to enable functionality useful for debugging and diagnosing issues. For example, allow-empty-password configures SSH servers to allow root login without password, and dbg-pkgs installs debug symbols for all packages in the image.

Is it possible to high performance computing by Golang and CUDA? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I've googled for a while and the only useful infos are:
github.com/barnex/cuda5
mumax.github.io/
Unfortunately, the latest Arch Linux only provides CUDA 7.5 package, so the barnex's project may be not supported.
Arne Vansteenkiste recommends concurrency rather than pure Golang or Golang plus CUDA. What's more, there's someone says the same idea that "Wouldn't it be cool to start a goroutine on a GPU and communicate with it via channels?". I think both of these ideas are wonderful since I would like to change the existing code as little as possible instead of refactoring the whole program. Is the idea possible, or is there some documents introducing this topic in details?
Update
It seems that there's two bindings to HPC in Golang:
CUDA (< 6.0): github.com/barnex/cuda5
OpenCL: github.com/rainliu/gocl
Both of them are less documented, currently what I got is only Macro13's answer, very helpful, but it's more about java . So please help me some detailed materials in Golang. Thanks!

Design level patterns for highly available Linux applications [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Given toolkits like Linux-HA and cluster layers on top like Corosync; file-system replicators like DRBD and other various bits and pieces there are the components available to developers to build highly available, robust systems.
High-availability architecture-level patterns are often fairly easy to describe, but I'm looking for the level(s) below that.
While each of these toolkit-parts seems to be fairly well documented, and some of them show how to use them in a robust application, they don't show examples of an end-to-end or multi-resource-using application.
So, what are the concrete steps, patterns, recipes, etc. that should be followed in order for developed code to play nice in an environment like this?
What books, web-tutorials, etc., should I point a team to in order to refactor a working single-box custom TCP server (for example) and make it run under cluster control, writing to shared file system space, and working in such a way that when it fails over, it has a chance to recover and keep working.

How does the windows file system works? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I am working on a project that uses a filesystem and I'm having some problems integrating with Windows.
I need help understanding how the Windows file system works.
Which Windows? The file system used by DOS and Windows up to Win98 (if I am not mistaken) is FAT. It is still widely used e.g. by memory cards, digital cameras etc. Windows NT and later Windows versions however use NTFS.
You may start reading about FAT and NTFS on Wikipedia.
You probably mean NTFS. Then the best reference is http://www.ntfs.com/
A friend of mine started implementing a defragmenter based on that information and it appears to work properly. That means the info from that site seems reliable.

Resources