Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade kernel to >= 5.6 #121

Open
20k-ultra opened this issue Mar 23, 2021 · 7 comments
Open

Upgrade kernel to >= 5.6 #121

20k-ultra opened this issue Mar 23, 2021 · 7 comments

Comments

@20k-ultra
Copy link

To run wireguard the device needs kernel >= 5.6 but we pin to 4.14.76 from f7724b1.

@jellyfish-bot
Copy link

[20k-ultra] This issue has attached support thread https://jel.ly.fish/aace85f4-536a-4f91-9689-a90a40a1af29

@floion
Copy link
Contributor

floion commented Aug 22, 2022

The latest kernel version provided by the hardware vendor is a 5.4 kernel at this point: https://github.com/AaeonCM/meta-up-board/tree/dunfell/recipes-kernel/linux

@jellyfish-bot
Copy link

[alexgg] This has attached https://jel.ly.fish/aace85f4-536a-4f91-9689-a90a40a1af29

@dremsol
Copy link

dremsol commented Feb 24, 2023

I've created a thread on the UP community forum. Maybe upvoting helps to get the BSP to Kirkstone.

@dremsol
Copy link

dremsol commented Feb 24, 2023

Support for Kirkstone is available in the following reposistory. Upstream has been changed up-division/meta-up-board. Associated fork

@jellyfish-bot
Copy link

[fisehara] This has attached https://jel.ly.fish/789862ac-b672-499b-8c9f-d7fce390f9fd

@FlorianHeigl
Copy link

FlorianHeigl commented Oct 22, 2024

The 5.4 kernel also seems to have an i915 gpu bug, my board reliably crashed when starting X with local display.
The information on the Yocto update did not list the classic 'up board' but at least anyone with newer boards could run a new kernel.

Edit: I was able to get around that issue. The culprit was that it's trying to disable sleep level 6 for the GPU (disabled by bios i think), but the option changed. The change was on kernel 4.x already, but Balena still sets the old value.

Change old i915.enable_rc6=0 to new enable_dc=1

I've gone the safest route, disabled power management and applied all bios updates (need a boot stick with a working efi shell, it was very annoying.

So, did all BIOS updates, still crashes after a second of playback. The whole system crashes, ssh connection is lost.

Change module options for i915 as such:

# /etc/modprobe.d/i915.conf 
options i915 enable_psr=0 enable_dc=0

System is ok when playing video. If you feel like it you can poke around with the GPU options in bios to maybe avoid this.
But I think a current kernel would avoid the whole dance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants