September 21, 2019, 01:26:52 pm

News:

Have you visited the Allwinner Chipset wiki? - http://linux-sunxi.org/


Using mainline Linux source

Started by Bluey The Dog, June 07, 2015, 09:56:00 am

Previous topic - Next topic

Bluey The Dog

Hi all,
    I've got a Cubie 1 running as a downloader. Initially I set it up to run Gentoo and did the Gentoo thing of using source to build "this & that", including the kernel. This was in 2013 so you can imagine how that went. Thanks to Patwood and this forum, I downloaded an image, installed it and then used "the Gentoo way" to do the rest.

    I've just decided to update the little beast and been doing a bit of reading. I still can't work out if enough stuff has been pushed into mainline Linux that I can build from source, ie just maintain the machine as I do the several other machines kicking around the house fully using Gentoo, or should I still be just grabbing images. The machine is headless and runs a minimal of stuff, although I want it running nfs, which the kernel needs to support. The time taken to compile also isn't a concern.

    Any thoughts are greatly appreciated,
                    Andrew

auxr00t

Hey,

I'm not an expert but I refer to these 2 pages of the sunxi wiki to get an idea of kernel support:

http://linux-sunxi.org/Mainline_Kernel_Howto
http://linux-sunxi.org/Linux_mainlining_effort

Sergey Kostyuk

June 22, 2015, 11:17:48 am #2 Last Edit: June 22, 2015, 11:21:09 am by Sergey Kostyuk
I have some experience about the mainline kernel (4.0.5) on ArchLinux, Cubieboard A10. This information is quite similar to information from the links above, but still can be helpful.

So, here it is:

  • there is a new mainline U-Boot needed for the new kernels (2015.01+)

  • updated pathes of leds (I mean "files" in /sys/class/leds/ folder)

  • sunxi_ir kernel module changed it's name to sunxi_cir

  • audio isn't working (lacks of kernel module)

  • lacks of the NAND support in both U-Boot and new kernel

  • video is untested

  • everything else in unchanged (comparing to sunxi 3.4.104 kernel)



As a conclusion, cubie can work good in headless mode but doesn't fits as media (or at least audio) player with the mainline 4.0.5 kernel

vinifr

Hi guys,

i'm trying to boot mainline sunxi-next taken from https://github.com/linux-sunxi/linux-sunxi/tree/sunxi-next, but hangs here:
Starting kernel ...

Sergey Kostyuk

Updated: sound is working now with mainline kernel:
- Cubieboard A10
- Linux alarm 4.6.3-1-ARCH #1 SMP Sat Jul 2 21:22:12 MDT 2016 armv7l GNU/Linux
- Alsamixer settings: http://i.imgur.com/uvCCNkB.png
- active modules: http://pastebin.com/wwwTsSjp