Linux Distro Support
#11
(01-04-2016, 01:53 PM)beard Wrote: For those who keep talking about 3.x Kernel versions forget them. We need to be looking at 4.x. Mostly at either 4.2.x or .4.4.x

Be prepared that 3.10.y is currently all you have. While it's relatively 'easy' to put together a rather huge patchset to get from 3.10.65 up to 3.10.94 (IIRC latest 3.10 LTS version -- 3.10 support has been discontinued a few days ago) to include maybe 1000-2000 fixes in the 3.10.y kernel series it won't help that much.

And also forget about 4.2.x, 4.4.x or 3.18 (as the Pine guys write in their FAQ). It works differently. In case you're interested watch  the linux-sunxi ML: https://groups.google.com/forum/#!forum/linux-sunxi (it's a patch reviewing and development list, so please no NOOBs questions there. Silently monitor it if you're not familiar with kernel development at least for a few weeks to get an idea how this all works)

Read threads regarding H3, A83T and A64 to get an idea how long it might take until a new Allwinner SoC becomes useable with mainline u-boot/kernel ('useable' in a very basic meaning, read as: It boots on a single CPU core and stuff like UART, USB, maybe networking, maybe display, maybe SMP are working).

U-boot is a different story. The version Allwinner delivered with the A64 BSP still makes use of the sys_config.fex stuff (while the kernel already uses device tree -- 'nice' mixture Wink ), that will never be accepted/used by mainline u-boot therefore this has also to be written from scratch.

Regarding device drivers: It seems Allwinner implemented a new Ethernet core starting with H3 and re-uses it in A83T (also called H8/R58) and A64 (also called H64/R18). Code/efforts might be re-used but the ARMv7 vs. ARMv8 problem remains. I've no idea about other driver stuff since it seems none of the devs except a few had a closer look into A64 already. That might change with the availability of dev boards (Rev. B Pine64, Olimex) but I won't count on it. And I still wonder why the Pine guys didn't buy a few Remix Minis (also a Kickstarter campaign based on A64 and already shipping) and sent them to interested developers. 99% of work to get a recent Linux kernel running on the Pine64 is needed to support the A64 SoC regardless of the device in question.

BTW: In the last few weeks I've seen one single post here in the forums from a person that seems to know what he's talking about regarding Aarch64 and the steps necessary to get Linux running even just with Allwinner's 3.10.65 Android kernel (not to speak of Mainline kernel). And this is the very same guy now starting to submit patches to the linux-sunxi list to prepare mainline kernel support in the future.

(01-04-2016, 02:28 PM)joe Wrote: Do you know other new CPU kernel is use 3.x  is not only allwinner

Please turn on CAPS lock also! That makes your valuable insights better readable!!!

Fortunately I've been able to read your question even if you just used bold type (it was hard though). Please check the official linux kernel github repository and there the master branch: https://github.com/torvalds/linux/tree/master/arch

There you might have a look into both arm/boot/dts (be prepared that the listing of devices with mainline kernel support is cut to 1,000 devices -- github really suckz!) and arm64/boot/dts (be prepared that you won't find an 'Allwinner' subdir there).

BTW: That you'll find there some companies actively providing mainline kernel support for their products is an (often unintentionally) byproduct of their business model. Rockchip for example actively contributes to mainline kernel not because they discovered their love for Open Source recently but since they were forced by Google (ChromiumOS) to do so. There's nothing comparable regarding Allwinner since their business model is to sell the SoCs for the cheapest Android gadgets available (where nobody cares about kernel version, conformance to GPL or code quality and the like. Only three other things count: cheap, cheap and cheap)


Messages In This Thread
Linux Distro Support - by beard - 01-02-2016, 07:01 AM
RE: Linux Distro Support - by drag00n - 01-02-2016, 05:13 PM
RE: Linux Distro Support - by nomadewolf - 01-02-2016, 06:07 PM
RE: Linux Distro Support - by tkaiser - 01-03-2016, 03:04 AM
RE: Linux Distro Support - by nomadewolf - 01-03-2016, 05:42 AM
RE: Linux Distro Support - by hlide - 01-02-2016, 07:32 PM
RE: Linux Distro Support - by janjwerner - 01-04-2016, 08:03 AM
RE: Linux Distro Support - by beard - 01-04-2016, 01:53 PM
RE: Linux Distro Support - by joe - 01-04-2016, 02:28 PM
RE: Linux Distro Support - by nomadewolf - 01-04-2016, 03:09 PM
RE: Linux Distro Support - by tkaiser - 01-04-2016, 03:17 PM
RE: Linux Distro Support - by joe - 01-04-2016, 03:59 PM
RE: Linux Distro Support - by hazerty - 01-07-2016, 04:52 AM
RE: Linux Distro Support - by beard - 01-07-2016, 08:39 AM
RE: Linux Distro Support - by joe - 01-07-2016, 08:51 AM
RE: Linux Distro Support - by tllim - 01-08-2016, 01:50 AM
RE: Linux Distro Support - by tllim - 01-09-2016, 01:21 PM
RE: Linux Distro Support - by tllim - 03-15-2016, 09:10 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Programming languages support under PINE64 baryluk 6 12,368 09-23-2020, 11:46 PM
Last Post: Phillip Bell
  NEMS Linux 1.5 Released for A64/A64+, A64-LTS/SOPine, Rock64, RockPro64 (NAGIOS) Baldnerd 4 9,273 03-28-2020, 06:20 PM
Last Post: ty1911
  Howto run Linux with resolution other than 1080p longsleep 28 66,696 06-13-2019, 01:53 AM
Last Post: Nilda
  NEMS Linux for Pine A64 (+) Luke 1 5,126 05-09-2019, 05:42 PM
Last Post: pineadmin
  Pine Board using linux stuck during boot sequence ktaragorn 4 8,246 03-30-2019, 06:48 AM
Last Post: ktaragorn
  Gentoo Linux test image xalius 23 48,656 01-28-2019, 11:05 PM
Last Post: necrose99
  Real-time linux kernel Artyom 45 72,794 09-11-2018, 01:08 AM
Last Post: zzwpine
  linux distribution hazerty 3 6,156 04-01-2018, 02:48 PM
Last Post: dkryder
  Linux Web Server OS harcrow 2 5,834 01-30-2018, 10:26 AM
Last Post: Rustproof
  AXP803 Battery Charger Support xalius 14 24,209 12-22-2017, 08:59 AM
Last Post: Velociraptor

Forum Jump:


Users browsing this thread: 1 Guest(s)