Eag wrote:
Friendly is using a very old kernel, 4.?? which they have modified with lcd device drivers and a device tree 'dts'.
This is the kernel where this hardware was brought up and shipped with the SoC. Its a development kernel per se and it has best support for hardware until all features are mainlined. All is most optimistic scenario and almost never happens. Or it happens late. For example, 1st generation of Allwinner or iMX boards is more or less fully mainlined. Those are 10years old boards and not interesting any more ...
Eag wrote:
The device tree is not compatible between major kernel versions, ie. 4 and 5.
Not a Friendly ARM fault. Model is changing - also in mainline kernel you need maintainers for hardware sections. In a very divers ARM world, this is more expensive than on PC.
Eag wrote:
Creating the device tree is really the job of the vendor, friendly elec in this case.
They did this job. Now you or someone that have a desire & time can volunteer and maintain it in the mainline kernel. We do, but we can't cover everything. Basic function first.
Eag wrote:
I can tell you that the tree for the friendly elec products are barely supported in the mainline 5.x kernel
Getting the device(s) in the mainline can easily costs millions. Or you need a herd of amateurs like consumer grade product have (Rpi). You want software for free ... it doesn't go this way. Software support is more expensive than a board design and manufacturing. But since there is a lot of volunteers around projects like Armbian, you get some decent support after all.
Eag wrote:
The drivers should be wrapped into dkms, "dynamic kernel modules". So they can be installed and used on any kernel, dynamically. This is, for instance, how we get Nvidia drivers on x86 machines. Dkms is how avoid recompiling the kernel when a new device driver is needed for some piece of hardware.
DKMS works well on well maintained Linux. Armbian spent some time to get this - what you expect as granted - fixed ... but we only fix the system, which means if the driver doesn't compile ... it is your / driver authors problem. If the code is bad, DMKS will not help. This is just a method to add drivers without the need to recompile a kernel and to recompile dynamically when kernel is upgraded.
Eag wrote:
Last, what this means that armbian
Armbian is a community based non profit project which makes Linux for single board computers on the top of RAW mainline Linux. Daily R&D and maintenance costs are around 4.000 EUR, while public contribution for covering those costs is virtual non-existing but you complain and you asks for more

We generate useful code and a lot of hw related know-how. That is called support. If you only distribute this know-how, you learn little. Mainline Linux is just a good start.
Eag wrote:
All that said, I have installed manjaro arm with kde. It does work. But no lcd, no wifi or Bluetooth, and I'm pretty sure no cameras since they aren't in the official dts. So, there you go.
Manjaro packs and sells that RAW material without valuable added value as a "bleeding edge" with this and that DE. Other mainstream Linux distros do similar. They usually avoid to "support" anything more than Rpi. Even Rpi, that was sold in millions and have a herd of maintainers, is very very poorly supported in a mainline Linux if we are speaking about ...
Eag wrote:
do not truly support these boards
That is correct. Support costs while their mission is to run their Logo/Linux in any form on as many devices as possible. Any you can't blame them.
Eag wrote:
It is the vendor's job, much like creating a bios for boards that have them.
I can assure you no board vendor (except Rpi) can afford that. Their job is to create a DT and they did that. Porting drivers is SoC vendors job.
Eag wrote:
You could add their drivers to your kernel and compile it. I doubt they will work on 5.x. And you would still need a correct dts entry for edp/panel. The device tree is at the literal root/boot of the problem. This hardware is not really supported by Linux in a fundamental way because friendly has not contributed a dts to the kernel.
Very little SoC vendors (and almost no board vendor) supports mainline kernels. It is too expensive and complicated.
Eag wrote:
Go get a rock64 or rockpro64 that is supported. Pine is very active and manjaro is their officially sponsored distro and many others work as well. There is also the rockpi.
Manjaro is their sales support distro and vice versa - they generate a lot of hype to sell stuff, but on the sw support are mainly upper level cosmetical adjustments. All hard work is community based, while hardware - if you are mentioning rock64 - is crap. It only looks nice on a paper
https://forum.armbian.com/topic/14089-l ... orange-pisEag wrote:
Steer clear of a board if you must download some special version of linux or Android to make it work.
Special Linux distro. What is wrong with that?
Armbian is 100% Debian or Ubuntu from application install / users perspective. Yes, its developed elsewhere, but userland package base comes from there with a few exceptions. You could also probably boot some semi official Ubuntu or Debian, but it will be on the Manjaro level at best. And support means that someone knows hardware. People around Armbian surely knows it.
In embedded world, you usually have to make your own.