Kernel for A64 git
(05-27-2016, 03:43 PM)lvcargnini Wrote:
(02-14-2016, 03:00 AM)longsleep Wrote: To easily build the Kernel as provided in the BSP i have added it to Git including patches to make it actually compile and work suitably:

https://github.com/longsleep/linux-pine6...ne64-hacks

Use it together with my build tools at https://github.com/longsleep/build-pine64-image to create working and bootable Linux images from source.

The Kernel and U-Boot from the BSP uses the device tree from https://github.com/longsleep/build-pine6...pine64.dts and a suitable Kernel configuration is at https://github.com/longsleep/linux-pine6..._defconfig

Start with reading https://github.com/longsleep/build-pine6.../README.md and do not forget about U-Boot https://github.com/longsleep/build-pine6...ostprocess

I publish compiled Linux Kernel builds for image builders from that tree. This gives you Kernel, initrd, dtb and modules which can be easily combined with any rootfs.

Download BSP Linux Kernel tarball

Release history:

**3.10.65-2-pine64-longsleep-39 (20160305)**
- Initial public release

**3.10.65-2-pine64-longsleep-39-1 (20160306)**
- Updated tarball to use new U-Boot file structure

**3.10.65-2-pine64-longsleep-39-2 (20160311)**
- Updated device tree for better thermal behavior
- uEnv.txt is now uEnv.txt.in in tarball
- Kernel firmware is now included
- Kernel headers are now included

**3.10.65-2-pine64-longsleep-43 (20160311)**
- Enabled media platform devices (video)
- Enabled USB UVC and CPiA2 camera driver
- Enabled video engine (cedar_ve)
- Enabled various rc drivers

**3.10.65-3-pine64-longsleep-2 (20160319)**
- Tagged as 3.10.65-3-pine64
- Added device tree for Pine64 512MB/100M NIC model
- Enabled support for USB audio
- Critical shut down is now at 108°C (was 100°C)
- Disabled Kernel mode realtime group scheduling

**3.10.65-4-pine64-longsleep-16 (20160403)**
- Tagged as 3.10.65-4-pine64
- Fixed Ethernet Kernel crash when booted with more than 1GB RAM

**3.10.65-5-pine64-longsleep-19 (20160415)**
- Tagged as 3.10.65-5-pine64
- Support misc input devices (uinput, gpio) as module
- Tree cleanup (thanks to Alexander Graf)
- Fixed EFI boot (thanks to Alexander Graf)
- Removed FEX parsing (thanks to Alexander Graf)
- Fix a possible oops while loading codec (thanks to Alexander Graf)
- Support USB serial devices (cp210x, ftdi_sio) as module
- Support CIFS as module

**3.10.65-7-pine64-longsleep-28 (20160415)**
- Tagged as 3.10.65-7-pine64
- Backported crc32 arm64 optimizations from mainline
- Support more USB serial devices (ch341) as module
- Support more USB devices (acm, printers) as module
- Various crypto modules are now built-in
- Removed and cleaned up lots of debugging
- Audio codec sound driver is no longer built-in and now a module (HDMI audio still built-in)

**3.10.101-0-pine64-longsleep-39 (20160507)**
- Tagged as 3.10.101-0-pine64
- Merged with Linux stable 3.10 tree up to the current 3.10.101 (All say thanks to Mikhail which did the work for Armbian)
- Ported framebuffer patch over from OpenELEC for H3 fixing resolution switching (Thanks to Jernej Škrabec for pointing me to it)
- Enable vsync wait (porting patch from OpenELEC for H3)
- Enable task account support for iotop support (Thanks to Christoph Bayer)
- Enable I2C support (Thanks to Martin Ayotte)
- Enable a ton of USB wifi network drivers as module (see here)
- Enable network scheduling modules

**3.10.101-1-pine64-longsleep-41 (20160516)**
- Tagged as 3.10.101-1-pine64
- Enable XFS, FS2FS and HFS+ as module
- Fix sunxi-ss ahash registration and disable SHA-224
- Enable BLK_DEV_BSG for better udev compatibility

**3.10.101-2-pine64-longsleep-48 (20160521)**
- Tagged as 3.10.101-2-pine64
- Enable various netfilter and namespace features to make LXD happy
- Disable XFS module (not compatible with user namespaces in Kernel 3.10)
- Backported apparmor3
- Enable/changed various additional features to for complete secure container support

**3.10.101-3-pine64-longsleep-50 (20160524)**
- Tagged as 3.10.101-3-pine64
- Backported capability dropping in user namespaces, fixing unprivileged containers

**3.10.101-4-pine64-longsleep-51 (20160526)**
- Tagged as 3.10.101-4-pine64
- Release tarballs now include proper headers in /usr/src/linux-headers-<version>
- All gear for out-of-tree module compile now included and at correct location, fixes DKMS support
- Enable network bonding module
- Include network dummy
- Include sound sequencer
- Enable virtual midi and dummy sound sequencer module

To make your own Linux image with this Kernel, check out my simple image releases which combine U-Boot and a suitable disk layout at http://forum.pine64.org/showthread.php?tid=99 for details and download.

Released tarballs are signed with a detached GPG signature (.asc) signed by my personal key 0x090EF0DB. Get the key and verify that the download is intact and unmodified.
Code:
gpg --keyserver keyserver.ubuntu.com --recv-keys 090EF0DB
gpg --with-fingerprint arch-pine64-*.xz.asc


To update both Kernel an U-Boot to the latest releases, run the following commands (as root):
Code:
bash <(curl -s https://raw.githubusercontent.com/longsleep/build-pine64-image/master/simpleimage/platform-scripts/pine64_update_uboot.sh)
bash <(curl -s https://raw.githubusercontent.com/longsleep/build-pine64-image/master/simpleimage/platform-scripts/pine64_update_kernel.sh)
and reboot.

Your feedback is most welcome.

How to add to support into the official linux kernel tree ?

Official support is currently being worked on by the linux-sunxi community.
Donate BTC: 3Eav9uqXi8Nx1axb7QjK6xV4km4K9YGv9a


Messages In This Thread
Kernel for A64 git - by longsleep - 02-14-2016, 03:00 AM
RE: Kernel for A64 git - by drag00n - 02-14-2016, 04:12 AM
RE: Kernel for A64 git - by longsleep - 02-14-2016, 04:28 AM
RE: Kernel for A64 git - by drag00n - 02-14-2016, 04:31 AM
RE: Kernel for A64 git - by umiddelb - 02-15-2016, 07:25 AM
RE: Kernel for A64 git - by longsleep - 02-15-2016, 11:05 AM
RE: Kernel for A64 git - by umiddelb - 02-15-2016, 12:11 PM
RE: Kernel for A64 git - by longsleep - 02-15-2016, 12:35 PM
RE: Kernel for A64 git - by longsleep - 02-21-2016, 06:47 AM
RE: Kernel for A64 git - by longsleep - 02-22-2016, 03:09 PM
RE: Kernel for A64 git - by longsleep - 02-23-2016, 02:53 PM
RE: Kernel for A64 git - by tllim - 02-23-2016, 04:28 PM
RE: Kernel for A64 git - by patrickhwood - 02-23-2016, 10:13 PM
RE: Kernel for A64 git - by longsleep - 02-24-2016, 12:36 AM
RE: Kernel for A64 git - by tllim - 02-24-2016, 06:54 PM
RE: Kernel for A64 git - by longsleep - 02-25-2016, 01:16 AM
RE: Kernel for A64 git - by umiddelb - 02-25-2016, 05:04 AM
RE: Kernel for A64 git - by patrickhwood - 02-25-2016, 10:01 AM
RE: Kernel for A64 git - by duanhongyi - 02-25-2016, 01:51 AM
RE: Kernel for A64 git - by longsleep - 02-25-2016, 06:15 AM
RE: Kernel for A64 git - by umiddelb - 02-26-2016, 02:46 AM
RE: Kernel for A64 git - by longsleep - 02-26-2016, 09:15 AM
RE: Kernel for A64 git - by longsleep - 02-28-2016, 03:36 AM
RE: Kernel for A64 git - by patrickhwood - 03-02-2016, 09:52 PM
RE: Kernel for A64 git - by patrickhwood - 03-04-2016, 11:45 AM
RE: Kernel for A64 git - by longsleep - 03-05-2016, 03:41 AM
RE: Kernel for A64 git - by longsleep - 03-06-2016, 10:36 AM
RE: Kernel for A64 git - by tllim - 03-06-2016, 10:47 AM
RE: Kernel for A64 git - by longsleep - 03-06-2016, 10:59 AM
RE: Kernel for A64 git - by longsleep - 03-12-2016, 03:14 AM
RE: Kernel for A64 git - by longsleep - 03-12-2016, 10:39 AM
RE: Kernel for A64 git - by sbhere - 03-13-2016, 09:34 PM
RE: Kernel for A64 git - by Terra854 - 03-17-2016, 09:14 PM
RE: Kernel for A64 git - by longsleep - 03-19-2016, 03:32 PM
RE: Kernel for A64 git - by tllim - 03-19-2016, 08:41 PM
RE: Kernel for A64 git - by duanhongyi - 03-23-2016, 06:27 AM
RE: Kernel for A64 git - by Andrew2 - 03-23-2016, 06:32 AM
RE: Kernel for A64 git - by janjwerner - 03-23-2016, 12:51 PM
RE: Kernel for A64 git - by falk.ben@gmail.com - 03-24-2016, 01:16 PM
RE: Kernel for A64 git - by janjwerner - 03-24-2016, 06:42 PM
RE: Kernel for A64 git - by keiothic - 03-30-2016, 03:00 PM
RE: Kernel for A64 git - by ak_hepcat - 03-30-2016, 06:18 PM
RE: Kernel for A64 git - by janjwerner - 03-30-2016, 07:47 PM
RE: Kernel for A64 git - by patrickhwood - 03-31-2016, 08:49 AM
RE: Kernel for A64 git - by longsleep - 03-31-2016, 10:42 AM
RE: Kernel for A64 git - by ak_hepcat - 03-31-2016, 11:58 AM
RE: Kernel for A64 git - by DaveKram - 04-01-2016, 07:21 AM
RE: Kernel for A64 git - by ak_hepcat - 04-01-2016, 09:54 AM
RE: Kernel for A64 git - by longsleep - 04-03-2016, 03:03 AM
RE: Kernel for A64 git - by mane - 04-07-2016, 03:08 AM
RE: Kernel for A64 git - by Terra854 - 04-08-2016, 09:26 AM
RE: Kernel for A64 git - by longsleep - 04-08-2016, 10:13 AM
RE: Kernel for A64 git - by Terra854 - 04-11-2016, 01:21 AM
RE: Kernel for A64 git - by longsleep - 04-11-2016, 12:01 PM
RE: Kernel for A64 git - by longsleep - 04-16-2016, 03:49 AM
RE: Kernel for A64 git - by tomekr - 04-16-2016, 07:11 AM
RE: Kernel for A64 git - by longsleep - 04-16-2016, 07:56 AM
RE: Kernel for A64 git - by rahlquist - 04-16-2016, 06:33 PM
RE: Kernel for A64 git - by Hart - 04-16-2016, 09:42 PM
RE: Kernel for A64 git - by peterz - 04-17-2016, 03:26 AM
RE: Kernel for A64 git - by peterz - 04-17-2016, 04:44 AM
RE: Kernel for A64 git - by thantik - 04-17-2016, 01:22 PM
RE: Kernel for A64 git - by Hart - 04-17-2016, 05:14 PM
RE: Kernel for A64 git - by Terra854 - 04-20-2016, 09:05 PM
RE: Kernel for A64 git - by jocover - 04-21-2016, 02:01 AM
RE: Kernel for A64 git - by Pirin - 04-23-2016, 09:28 AM
RE: Kernel for A64 git - by longsleep - 04-23-2016, 09:33 AM
RE: Kernel for A64 git - by Pirin - 04-23-2016, 09:50 AM
RE: Kernel for A64 git - by longsleep - 04-23-2016, 01:15 PM
RE: Kernel for A64 git - by ak_hepcat - 04-25-2016, 04:05 PM
RE: Kernel for A64 git - by insignia96 - 04-27-2016, 12:09 AM
RE: Kernel for A64 git - by ak_hepcat - 04-27-2016, 10:50 AM
RE: Kernel for A64 git - by longsleep - 05-02-2016, 01:55 PM
RE: Kernel for A64 git - by longsleep - 05-03-2016, 03:14 PM
RE: Kernel for A64 git - by tkaiser - 05-06-2016, 10:02 AM
RE: Kernel for A64 git - by longsleep - 05-06-2016, 10:47 AM
RE: Kernel for A64 git - by tkaiser - 05-06-2016, 11:16 AM
RE: Kernel for A64 git - by janjwerner - 05-06-2016, 11:21 AM
RE: Kernel for A64 git - by tkaiser - 05-07-2016, 01:06 AM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 01:14 AM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 04:24 AM
RE: Kernel for A64 git - by Terra854 - 05-07-2016, 05:40 AM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 05:45 AM
RE: Kernel for A64 git - by tkaiser - 05-07-2016, 06:08 AM
RE: Kernel for A64 git - by rahlquist - 05-07-2016, 06:20 AM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 06:28 AM
RE: Kernel for A64 git - by tkaiser - 05-07-2016, 06:37 AM
RE: Kernel for A64 git - by rahlquist - 05-07-2016, 06:54 AM
RE: Kernel for A64 git - by tllim - 05-07-2016, 11:15 AM
RE: Kernel for A64 git - by Terra854 - 05-07-2016, 06:48 AM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 06:57 AM
RE: Kernel for A64 git - by tkaiser - 05-07-2016, 07:03 AM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 07:04 AM
RE: Kernel for A64 git - by Terra854 - 05-07-2016, 08:13 AM
RE: Kernel for A64 git - by tkaiser - 05-07-2016, 09:36 AM
RE: Kernel for A64 git - by Terra854 - 05-07-2016, 10:54 AM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 08:19 AM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 11:26 AM
RE: Kernel for A64 git - by rhkean - 05-07-2016, 03:10 PM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 03:28 PM
RE: Kernel for A64 git - by longsleep - 05-16-2016, 02:30 PM
RE: Kernel for A64 git - by ak_hepcat - 05-19-2016, 12:24 PM
RE: Kernel for A64 git - by longsleep - 05-19-2016, 12:42 PM
RE: Kernel for A64 git - by ak_hepcat - 05-19-2016, 01:25 PM
RE: Kernel for A64 git - by longsleep - 05-21-2016, 12:24 PM
RE: Kernel for A64 git - by longsleep - 05-24-2016, 03:49 PM
RE: Kernel for A64 git - by longsleep - 05-26-2016, 01:44 PM
RE: Kernel for A64 git - by ak_hepcat - 05-27-2016, 12:14 PM
RE: Kernel for A64 git - by lvcargnini - 05-27-2016, 03:43 PM
RE: Kernel for A64 git - by Terra854 - 05-27-2016, 09:30 PM
RE: Kernel for A64 git - by longsleep - 06-17-2016, 02:32 PM
RE: Kernel for A64 git - by ak_hepcat - 07-05-2016, 11:57 PM
RE: Kernel for A64 git - by longsleep - 07-16-2016, 02:47 AM
RE: Kernel for A64 git - by Luxus - 07-10-2016, 02:45 AM
RE: Kernel for A64 git - by xalius - 07-10-2016, 03:22 AM
RE: Kernel for A64 git - by longsleep - 07-16-2016, 06:25 AM
RE: Kernel for A64 git - by ak_hepcat - 07-17-2016, 10:14 AM
RE: Kernel for A64 git - by scorn4society - 07-24-2016, 12:57 AM
RE: Kernel for A64 git - by longsleep - 07-24-2016, 01:02 AM
RE: Kernel for A64 git - by xalius - 07-16-2016, 12:12 PM
RE: Kernel for A64 git - by dkulinski - 07-18-2016, 07:47 PM
RE: Kernel for A64 git - by ak_hepcat - 07-20-2016, 05:37 PM
RE: Kernel for A64 git - by modsbyus - 07-24-2016, 05:08 AM
RE: Kernel for A64 git - by longsleep - 07-24-2016, 08:04 AM
RE: Kernel for A64 git - by xalius - 07-27-2016, 11:34 AM
RE: Kernel for A64 git - by longsleep - 07-27-2016, 02:36 PM
RE: Kernel for A64 git - by Drakuwa - 08-10-2016, 10:28 AM
RE: Kernel for A64 git - by longsleep - 08-10-2016, 10:34 AM
RE: Kernel for A64 git - by Drakuwa - 08-10-2016, 10:48 AM
RE: Kernel for A64 git - by longsleep - 08-20-2016, 03:52 PM
RE: Kernel for A64 git - by RaimundEge - 08-22-2016, 04:14 PM
RE: Kernel for A64 git - by longsleep - 08-22-2016, 11:38 PM
RE: Kernel for A64 git - by nSkaarup - 08-25-2016, 08:06 AM
RE: Kernel for A64 git - by Terra854 - 09-16-2016, 07:30 AM
RE: Kernel for A64 git - by ak_hepcat - 09-17-2016, 06:04 PM
RE: Kernel for A64 git - by Terra854 - 09-18-2016, 02:00 AM
RE: Kernel for A64 git - by Detritus - 09-19-2016, 04:23 AM
RE: Kernel for A64 git - by Terra854 - 09-19-2016, 07:59 AM
RE: Kernel for A64 git - by fneves - 09-27-2016, 06:12 AM
RE: Kernel for A64 git - by v.podzimek - 10-12-2016, 09:56 AM
RE: Kernel for A64 git - by longsleep - 10-12-2016, 10:01 AM
RE: Kernel for A64 git - by v.podzimek - 10-23-2016, 08:19 AM
RE: Kernel for A64 git - by longsleep - 10-23-2016, 06:52 AM
RE: Kernel for A64 git - by MarkHaysHarris777 - 10-23-2016, 08:07 AM
RE: Kernel for A64 git - by mrv - 10-23-2016, 12:49 PM
RE: Kernel for A64 git - by longsleep - 10-29-2016, 07:09 AM
RE: Kernel for A64 git - by hahn - 10-29-2016, 07:15 AM
RE: Kernel for A64 git - by tllim - 10-31-2016, 04:20 PM
RE: Kernel for A64 git - by androsch - 11-10-2016, 04:21 AM
RE: Kernel for A64 git - by ak_hepcat - 11-17-2016, 01:15 PM
RE: Kernel for A64 git - by androsch - 11-17-2016, 02:10 PM
RE: Kernel for A64 git - by androsch - 11-18-2016, 12:52 AM
RE: Kernel for A64 git - by ak_hepcat - 11-20-2016, 08:56 PM
RE: Kernel for A64 git - by androsch - 11-21-2016, 01:07 PM
RE: Kernel for A64 git - by ak_hepcat - 12-07-2016, 05:49 PM
RE: Kernel for A64 git - by waldo - 11-01-2016, 01:29 PM
RE: Kernel for A64 git - by stepw - 11-01-2016, 09:22 PM
RE: Kernel for A64 git - by marcus - 11-02-2016, 09:31 AM
RE: Kernel for A64 git - by gkkpch - 11-06-2016, 02:09 PM
RE: Kernel for A64 git - by MarkHaysHarris777 - 11-18-2016, 01:45 AM
RE: Kernel for A64 git - by benjanyan - 12-03-2016, 05:05 AM
RE: Kernel for A64 git - by pfeerick - 12-03-2016, 06:27 PM
RE: Kernel for A64 git - by longsleep - 12-16-2016, 02:57 PM
RE: Kernel for A64 git - by tllim - 12-16-2016, 07:46 PM
RE: Kernel for A64 git - by androsch - 12-17-2016, 01:42 AM
RE: Kernel for A64 git - by HenryD - 12-21-2016, 12:24 PM
RE: Kernel for A64 git - by longsleep - 12-21-2016, 12:34 PM
RE: Kernel for A64 git - by default - 01-06-2017, 05:44 PM
RE: Kernel for A64 git - by mbt28 - 01-23-2017, 02:20 PM
RE: Kernel for A64 git - by mont3z - 01-26-2017, 03:47 PM
RE: Kernel for A64 git - by mbt28 - 01-27-2017, 02:33 AM
RE: Kernel for A64 git - by longsleep - 03-11-2017, 12:19 PM
RE: Kernel for A64 git - by hahn - 03-12-2017, 02:43 AM
RE: Kernel for A64 git - by chadbhowell - 03-11-2017, 08:16 PM
RE: Kernel for A64 git - by Charles - 09-05-2017, 04:57 AM
RE: Kernel for A64 git - by Miguel Campos - 03-25-2018, 03:49 AM
RE: Kernel for A64 git - by dkryder - 03-25-2018, 02:16 PM
RE: Kernel for A64 git - by Luke - 03-25-2018, 03:25 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PineA64+: Audio in 5.0 Kernel puzzles 6 3,456 11-13-2019, 09:41 AM
Last Post: roel
  Rockpro64 NFS root mount (kernel 4.20) - ethernet help? tenspd137 0 1,254 12-06-2018, 01:14 AM
Last Post: tenspd137
  NVMe and new kernel bjbb17 0 1,072 09-25-2018, 03:39 PM
Last Post: bjbb17
  Real-time linux kernel Artyom 45 34,692 09-11-2018, 01:08 AM
Last Post: zzwpine
  DKMS on kernel 3.10.107-pine64 obrienmd 5 3,229 06-21-2018, 05:45 PM
Last Post: evilbunny
  Gentoo for pine64 - longsleep kernel incoherent 0 1,933 12-09-2017, 08:14 AM
Last Post: incoherent
  [SOLVED] UEFI + Fedora Mainline Kernel Booting! cztian 0 1,686 07-13-2017, 08:38 PM
Last Post: cztian
  Mainline kernel [Solved] jeroen79 11 7,910 02-08-2017, 06:19 AM
Last Post: umiddelb
Question Need help : Issue in running compiled kernel with tftp+uboot dinesh.bhoyar 2 2,293 01-30-2017, 12:44 AM
Last Post: dinesh.bhoyar
  Jackd triggers kernel warning cztian 0 1,867 09-03-2016, 08:16 AM
Last Post: cztian

Forum Jump:


Users browsing this thread: 1 Guest(s)