Real-time linux kernel
#31
(05-29-2016, 02:35 AM)Artyom Wrote: @umiddelb. Hi again. Аs I said earlier we need new kernel. As far as I understand we need kernel version 3.18.11. Additionally, you can read here:
https://patches.linaro.org/patch/47092/
https://patches.linaro.org/patch/47646/

Hm, I wouldn't go for the 3.18 kernel since a mainline kernel (4.7) is about to be issued in the next couple of weeks.
#32
(06-09-2016, 12:22 AM)umiddelb Wrote:
(05-29-2016, 02:35 AM)Artyom Wrote: @umiddelb. Hi again. Аs I said earlier we need new kernel. As far as I understand we need kernel version 3.18.11. Additionally, you can read here:
https://patches.linaro.org/patch/47092/
https://patches.linaro.org/patch/47646/

Hm, I wouldn't go for the 3.18 kernel since a mainline kernel (4.7) is about to be issued in the next couple of weeks.
Read links. And tell me what you think.
#33
(06-09-2016, 02:08 AM)Artyom Wrote:
(06-09-2016, 12:22 AM)umiddelb Wrote:
(05-29-2016, 02:35 AM)Artyom Wrote: @umiddelb. Hi again. Аs I said earlier we need new kernel. As far as I understand we need kernel version 3.18.11. Additionally, you can read here:
https://patches.linaro.org/patch/47092/
https://patches.linaro.org/patch/47646/

Hm, I wouldn't go for the 3.18 kernel since a mainline kernel (4.7) is about to be issued in the next couple of weeks.
Read links. And tell me what you think.
As i undestand in the nex few week we have new kernel (4.7) with Pine64 support? I am right?
#34
(06-09-2016, 07:49 AM)Artyom Wrote:
(06-09-2016, 02:08 AM)Artyom Wrote:
(06-09-2016, 12:22 AM)umiddelb Wrote:
(05-29-2016, 02:35 AM)Artyom Wrote: @umiddelb. Hi again. Аs I said earlier we need new kernel. As far as I understand we need kernel version 3.18.11. Additionally, you can read here:
https://patches.linaro.org/patch/47092/
https://patches.linaro.org/patch/47646/

Hm, I wouldn't go for the 3.18 kernel since a mainline kernel (4.7) is about to be issued in the next couple of weeks.
Read links. And tell me what you think.
As i undestand in the nex few week we have new kernel (4.7) with Pine64 support? I am right?

Sunxi developers currently work hard on the mainline kernel development. For the status, you can check on Sunxi site or participate if you interest to contribute. Kudos to Sunxi community.
#35
(06-09-2016, 07:30 PM)tllim Wrote:
(06-09-2016, 07:49 AM)Artyom Wrote:
(06-09-2016, 02:08 AM)Artyom Wrote:
(06-09-2016, 12:22 AM)umiddelb Wrote:
(05-29-2016, 02:35 AM)Artyom Wrote: @umiddelb. Hi again. Аs I said earlier we need new kernel. As far as I understand we need kernel version 3.18.11. Additionally, you can read here:
https://patches.linaro.org/patch/47092/
https://patches.linaro.org/patch/47646/

Hm, I wouldn't go for the 3.18 kernel since a mainline kernel (4.7) is about to be issued in the next couple of weeks.
Read links. And tell me what you think.
As i undestand in the nex few week we have new kernel (4.7) with Pine64 support? I am right?

Sunxi developers currently work hard on the mainline kernel development. For the status, you can check on Sunxi site or participate if you interest to contribute. Kudos to Sunxi community.
Hi TLLIM. Please post link.
#36
Hi @all,

since we have a more or less working 4.9 mainline kernel, I was able to apply the latest PREEMPT_RT patches against 4.9.6.
You will find the kernel sources here and a ready to extract kernel image here. If you want to modify some of the kernel configuration parameters, I can give you some advice how to do this and how to build a kernel on your own Pine64.

Cheers
Uli
#37
Hi,
I'm wanting to build a rt system for digital audio (squeezebox) using a pine64+ (2GB) running Armbian base system.
I've been trying to apply the https://www.kernel.org/pub/linux/kernel/...s/rt/3.10/
patch-3.10.104-rt117 patch set on the Armbian 3.10.104 source tree, following the procedure outlined in the developer guide.

https://docs.armbian.com/Developer-Guide...eparation/

The patches are applied successfully, but I am facing a number of problems with the build.

There were failures in various IP tunnelling modules, which I have simply removed from the config, as I don't need them, but now I'm struggling with:



Code:
MODPOST vmlinux.o                                                                                                                              │  
 │ WARNING: modpost: Found 2 section mismatch(es).                                                                                                  │  
 │ To see full details build your kernel with:                                                                                                      │  
 │ 'make CONFIG_DEBUG_SECTION_MISMATCH=y'                                                                                                           │  
 │   GEN     .version                                                                                                                               │  
 │   CHK     include/generated/compile.h                                                                                                            │  
 │   UPD     include/generated/compile.h                                                                                                            │  
 │   CC      init/version.o                                                                                                                         │  
 │   LD      init/built-in.o                                                                                                                        │  
 │ drivers/built-in.o: In function `mbus_pmu_remove':                                                                                               │  
 │ arisc_dram_crc.c:(.text+0x1d38): undefined reference to `hwmon_device_unregister'                                                                │  
 │ arisc_dram_crc.c:(.text+0x1d38): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `hwmon_device_unregister'                │  
 │ drivers/built-in.o: In function `mbus_pmu_probe':



Can anyone suggest how to fix it?


I want to stay with 3.10.104 as vanilla doesn't support the LCD interface (which I need for the touch screen).

BR.

--Marius--
#38
(02-08-2017, 03:06 AM)Learnincurve Wrote: Hi,
I'm wanting to build a rt system for digital audio (squeezebox) using a pine64+ (2GB) running Armbian base system.
I've been trying to apply the https://www.kernel.org/pub/linux/kernel/...s/rt/3.10/
patch-3.10.104-rt117 patch set on the Armbian 3.10.104 source tree, following the procedure outlined in the developer guide.

https://docs.armbian.com/Developer-Guide...eparation/

The patches are applied successfully, but I am facing a number of problems with the build.

There were failures in various IP tunnelling modules, which I have simply removed from the config, as I don't need them, but now I'm struggling with:



Code:
MODPOST vmlinux.o                                                                                                                              │  
 │ WARNING: modpost: Found 2 section mismatch(es).                                                                                                  │  
 │ To see full details build your kernel with:                                                                                                      │  
 │ 'make CONFIG_DEBUG_SECTION_MISMATCH=y'                                                                                                           │  
 │   GEN     .version                                                                                                                               │  
 │   CHK     include/generated/compile.h                                                                                                            │  
 │   UPD     include/generated/compile.h                                                                                                            │  
 │   CC      init/version.o                                                                                                                         │  
 │   LD      init/built-in.o                                                                                                                        │  
 │ drivers/built-in.o: In function `mbus_pmu_remove':                                                                                               │  
 │ arisc_dram_crc.c:(.text+0x1d38): undefined reference to `hwmon_device_unregister'                                                                │  
 │ arisc_dram_crc.c:(.text+0x1d38): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `hwmon_device_unregister'                │  
 │ drivers/built-in.o: In function `mbus_pmu_probe':



Can anyone suggest how to fix it?


I want to stay with 3.10.104 as vanilla doesn't support the LCD interface (which I need for the touch screen).

BR.

--Marius--

You may try to enable CONFIG_HWMON=y in your config.

Cheers
Uli
#39
Thanks umiddelb!

Compilation goes through now, with CONFIG_HWMON compiled in, rather than as a loadable module.
#40
(02-08-2017, 02:33 AM)umiddelb Wrote: Hi @all,

since we have a more or less working 4.9 mainline kernel, I was able to apply the latest PREEMPT_RT patches against 4.9.6.
You will find the kernel sources here and a ready to extract kernel image here. If you want to modify some of the kernel configuration parameters, I can give you some advice how to do this and how to build a kernel on your own Pine64.

Cheers
Uli

Great job Smile


Possibly Related Threads…
Thread Author Replies Views Last Post
  NEMS Linux 1.5 Released for A64/A64+, A64-LTS/SOPine, Rock64, RockPro64 (NAGIOS) Baldnerd 4 10,297 03-28-2020, 06:20 PM
Last Post: ty1911
  PineA64+: Audio in 5.0 Kernel puzzles 6 10,307 11-13-2019, 09:41 AM
Last Post: roel
  Howto run Linux with resolution other than 1080p longsleep 28 72,022 06-13-2019, 01:53 AM
Last Post: Nilda
  NEMS Linux for Pine A64 (+) Luke 1 5,613 05-09-2019, 05:42 PM
Last Post: pineadmin
  Pine Board using linux stuck during boot sequence ktaragorn 4 9,270 03-30-2019, 06:48 AM
Last Post: ktaragorn
  Gentoo Linux test image xalius 23 52,876 01-28-2019, 11:05 PM
Last Post: necrose99
  Rockpro64 NFS root mount (kernel 4.20) - ethernet help? tenspd137 0 3,235 12-06-2018, 01:14 AM
Last Post: tenspd137
  NVMe and new kernel bjbb17 0 2,911 09-25-2018, 03:39 PM
Last Post: bjbb17
  DKMS on kernel 3.10.107-pine64 obrienmd 5 9,756 06-21-2018, 05:45 PM
Last Post: evilbunny
  linux distribution hazerty 3 6,844 04-01-2018, 02:48 PM
Last Post: dkryder

Forum Jump:


Users browsing this thread: 5 Guest(s)