arm64: overlays don't get applied
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-raspi2 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Impact:
Overlay files are dtb fragments that, upon boot, patch the main dtb board
file to enable Raspberry Pi hardware extension (commonly known as
Raspberry HATs) to work.
This mechanism works fine for the bionic/raspi2 kernel, but it didn't
work for the raspi2 arm64 variant since our dtb files are missing symbols
there.
This patch instruct the device tree compiler to add symbols to the dtb
files during the 'make dtbs' target, and fix the overlay patching
mechanism for bionic/raspi2 arm64.
The resulting increase in size is negligible (~30kb for the whole kernel
package).
Fix:
Apply the patch, build, install and reboot:
/boot/firmware/
...
dtoverlay=
/boot/firmware/
dwc_otg.
dmesg:
...
[ 5.157547] fb_hx8357d: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.158349] fbtft_of_value: buswidth = 8
[ 5.158362] fbtft_of_value: debug = 0
[ 5.158366] fbtft_of_value: rotate = 90
[ 5.158372] fbtft_of_value: fps = 25
ubuntu@raspi64:~$ ls -la /dev/fb1
crw-rw---- 1 root video 29, 1 Jan 28 15:58 /dev/fb1
Regression risk:
We only change how the arm64 raspi2 dtbs are generated, and since we didn't produce any image using this kernel so far, the regression risk is zero.
---
description: | updated |
description: | updated |
description: | updated |
tags: | added: patch |
Changed in linux-raspi2 (Ubuntu Bionic): | |
status: | New → Fix Committed |
Changed in linux-raspi2 (Ubuntu): | |
status: | New → Fix Released |
This bug was fixed in the package linux-raspi2 - 4.15.0-1021.23
---------------
linux-raspi2 (4.15.0-1021.23) bionic; urgency=medium
* linux-raspi2: 4.15.0-1021.23 -proposed tracker (LP: #1787151)
* Bionic update: upstream stable patchset 2018-06-26 (LP: #1778759) ARM64_ERRATUM_ 1024718= y
- [Config] raspi2: CONFIG_
* arm64: overlays don't get applied (LP: #1782121)
- SAUCE: arm64: dtbs: Add symbols when compiling dtb
[ Ubuntu: 4.15.0-33.36 ]
* linux: 4.15.0-33.36 -proposed tracker (LP: #1787149) dsm_get_ client_ id()'s return type atpx_get_ client_ id()'s return type atpx_get_ client_ id()'s return type client_ id()'s return type CLASS_DISPLAY to replace PCI_CLASS_ DISPLAY_ VGA SMBUS_BLOCK_ SIZE setattr( )
* RTNL assertion failure on ipvlan (LP: #1776927)
- ipvlan: drop ipv6 dependency
- ipvlan: use per device spinlock to protect addrs list updates
- SAUCE: fix warning from "ipvlan: drop ipv6 dependency"
* ubuntu_bpf_jit test failed on Bionic s390x systems (LP: #1753941)
- test_bpf: flag tests that cannot be jited on s390
* HDMI/DP audio can't work on the laptop of Dell Latitude 5495 (LP: #1782689)
- drm/nouveau: fix nouveau_
- drm/radeon: fix radeon_
- drm/amdgpu: fix amdgpu_
- platform/x86: apple-gmux: fix gmux_get_
- ALSA: hda: use PCI_BASE_
- vga_switcheroo: set audio client id according to bound GPU id
* locking sockets broken due to missing AppArmor socket mediation patches
(LP: #1780227)
- UBUNTU SAUCE: apparmor: fix apparmor mediating locking non-fs, unix sockets
* Update2 for ocxl driver (LP: #1781436)
- ocxl: Fix page fault handler in case of fault on dying process
* netns: unable to follow an interface that moves to another netns
(LP: #1774225)
- net: core: Expose number of link up/down transitions
- dev: always advertise the new nsid when the netns iface changes
- dev: advertise the new ifindex when the netns iface changes
* [Bionic] Disk IO hangs when using BFQ as io scheduler (LP: #1780066)
- block, bfq: fix occurrences of request finish method's old name
- block, bfq: remove batches of confusing ifdefs
- block, bfq: add requeue-request hook
* HP ProBook 455 G5 needs mute-led-gpio fixup (LP: #1781763)
- ALSA: hda: add mute led support for HP ProBook 455 G5
* [Bionic] bug fixes to improve stability of the ThunderX2 i2c driver
(LP: #1781476)
- i2c: xlp9xx: Fix issue seen when updating receive length
- i2c: xlp9xx: Make sure the transfer size is not more than
I2C_
* x86/kvm: fix LAPIC timer drift when guest uses periodic mode (LP: #1778486)
- x86/kvm: fix LAPIC timer drift when guest uses periodic mode
* Please include ax88179_178a and r8152 modules in d-i udeb (LP: #1771823)
- [Config:] d-i: Add ax88179_178a and r8152 to nic-modules
* Nvidia fails after switching its mode (LP: #1778658)
- PCI: Restore config space on runtime resume despite being unbound
* Kernel error "task zfs:pid blocked for more than 120 seconds" (LP: #1781364)
- SAUCE: (noup) zfs to 0.7.5-1ubuntu16.3
* CVE-2018-12232
- PATCH 1/1] socket: close race condition between sock_close() and
sockfs_
* CVE-2018...