armhf: dtb movement from /lib/firmware/$(uname -r) to /boot/$(uname -r)

Bug #1364035 reported by Paolo Pisati on 2014-09-01
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kernel-wedge (Ubuntu)
Medium
Andy Whitcroft
Utopic
Medium
Andy Whitcroft
linux (Ubuntu)
Medium
Unassigned
Utopic
Medium
Unassigned
linux-hammerhead (Ubuntu)
Utopic
Undecided
Unassigned
linux-meta (Ubuntu)
Undecided
Unassigned
Utopic
Undecided
Unassigned
linux-raspi2 (Ubuntu)
Undecided
Unassigned
Utopic
Undecided
Unassigned

Bug Description

This is a placeholder to coordinate all the efforts required to move the DTB files from the previous location /lib/firmware/$(uname -r) to /boot/$(uname -r)

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1364035

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Andy Whitcroft (apw) on 2014-09-01
Changed in linux (Ubuntu Utopic):
status: Incomplete → Triaged
Andy Whitcroft (apw) on 2014-09-01
Changed in kernel-wedge (Ubuntu Utopic):
importance: Undecided → Medium
assignee: nobody → Andy Whitcroft (apw)
status: New → In Progress
Changed in linux (Ubuntu Utopic):
importance: Undecided → Medium
Download full text (37.7 KiB)

I think most important is that nobody decided where to install them. For example *-chromebook is placing these files at /boot/dt-3.4.0-5-chromebook/ (!).

Seems it also affects other packages:

thopiekar@gate:~$ apt-file find dtb | grep "/boot/"
linux-image-3.4.0-5-chromebook: /boot/dt-3.4.0-5-chromebook/exynos5250-daisy.dtb
linux-image-3.4.0-5-chromebook: /boot/dt-3.4.0-5-chromebook/exynos5250-smdk5250.dtb
linux-image-3.4.0-5-chromebook: /boot/dt-3.4.0-5-chromebook/exynos5250-snow.dtb
thopiekar@gate:~$ apt-file find dtb | grep "/lib/firmware"
linux-image-4.2.0-1010-raspi2: /lib/firmware/4.2.0-1010-raspi2/device-tree/bcm2709-rpi-2-b.dtb
linux-image-4.2.0-1010-raspi2: /lib/firmware/4.2.0-1010-raspi2/device-tree/overlays/ads7846-overlay.dtb
linux-image-4.2.0-1010-raspi2: /lib/firmware/4.2.0-1010-raspi2/device-tree/overlays/bmp085_i2c-sensor-overlay.dtb
linux-image-4.2.0-1010-raspi2: /lib/firmware/4.2.0-1010-raspi2/device-tree/overlays/dht11-overlay.dtb
linux-image-4.2.0-1010-raspi2: /lib/firmware/4.2.0-1010-raspi2/device-tree/overlays/enc28j60-overlay.dtb
linux-image-4.2.0-1010-raspi2: /lib/firmware/4.2.0-1010-raspi2/device-tree/overlays/gpio-poweroff-overlay.dtb
linux-image-4.2.0-1010-raspi2: /lib/firmware/4.2.0-1010-raspi2/device-tree/overlays/hifiberry-amp-overlay.dtb
linux-image-4.2.0-1010-raspi2: /lib/firmware/4.2.0-1010-raspi2/device-tree/overlays/hifiberry-dac-overlay.dtb
linux-image-4.2.0-1010-raspi2: /lib/firmware/4.2.0-1010-raspi2/device-tree/overlays/hifiberry-dacplus-overlay.dtb
linux-image-4.2.0-1010-raspi2: /lib/firmware/4.2.0-1010-raspi2/device-tree/overlays/hifiberry-digi-overlay.dtb
linux-image-4.2.0-1010-raspi2: /lib/firmware/4.2.0-1010-raspi2/device-tree/overlays/hy28a-overlay.dtb
linux-image-4.2.0-1010-raspi2: /lib/firmware/4.2.0-1010-raspi2/device-tree/overlays/hy28b-overlay.dtb
linux-image-4.2.0-1010-raspi2: /lib/firmware/4.2.0-1010-raspi2/device-tree/overlays/i2c-rtc-overlay.dtb
linux-image-4.2.0-1010-raspi2: /lib/firmware/4.2.0-1010-raspi2/device-tree/overlays/i2s-mmap-overlay.dtb
linux-image-4.2.0-1010-raspi2: /lib/firmware/4.2.0-1010-raspi2/device-tree/overlays/iqaudio-dac-overlay.dtb
linux-image-4.2.0-1010-raspi2: /lib/firmware/4.2.0-1010-raspi2/device-tree/overlays/iqaudio-dacplus-overlay.dtb
linux-image-4.2.0-1010-raspi2: /lib/firmware/4.2.0-1010-raspi2/device-tree/overlays/lirc-rpi-overlay.dtb
linux-image-4.2.0-1010-raspi2: /lib/firmware/4.2.0-1010-raspi2/device-tree/overlays/mcp2515-can0-overlay.dtb
linux-image-4.2.0-1010-raspi2: /lib/firmware/4.2.0-1010-raspi2/device-tree/overlays/mcp2515-can1-overlay.dtb
linux-image-4.2.0-1010-raspi2: /lib/firmware/4.2.0-1010-raspi2/device-tree/overlays/mmc-overlay.dtb
linux-image-4.2.0-1010-raspi2: /lib/firmware/4.2.0-1010-raspi2/device-tree/overlays/mz61581-overlay.dtb
linux-image-4.2.0-1010-raspi2: /lib/firmware/4.2.0-1010-raspi2/device-tree/overlays/piscreen-overlay.dtb
linux-image-4.2.0-1010-raspi2: /lib/firmware/4.2.0-1010-raspi2/device-tree/overlays/pitft28-resistive-overlay.dtb
linux-image-4.2.0-1010-raspi2: /lib/firmware/4.2.0-1010-raspi2/device-tree/overlays/pps-gpio-overlay.dtb
linux-image-4.2.0-1010-raspi2: /lib/firmware/4.2.0-1010-raspi2/device-tree/overlays/pwm-2ch...

no longer affects: linux-hammerhead (Ubuntu)

Sorry, hammerhead just has no devicetree support..

AH! This is actually no bug!

The idea is to use flash-kernel to cat the kernel image and dtb into one zImage, which the default u-boot environment can find.
Saving all dtb files to /lib/firmware/ saves space on the (probably) limited boot-partition...

Instructions for the different hardware can be found at /etc/flash-kernel/db

Marc Dietrich (marvin24) wrote :

not all boards require that zImage has the dtb appended. In such a case, uboot loads the device tree from the a file, preferable in the boot partition. Loading it from a different partition may require a special uboot hack.

Rolf Leggewie (r0lf) wrote :

utopic has seen the end of its life and is no longer receiving any updates. Marking the utopic task for this ticket as "Won't Fix".

Changed in linux (Ubuntu Utopic):
status: Triaged → Won't Fix
Changed in kernel-wedge (Ubuntu Utopic):
status: In Progress → Won't Fix
Rolf Leggewie (r0lf) on 2016-04-24
Changed in linux-hammerhead (Ubuntu Utopic):
status: New → Won't Fix
Changed in linux-raspi2 (Ubuntu Utopic):
status: New → Won't Fix
Changed in linux-meta (Ubuntu Utopic):
status: New → Won't Fix
Andy Whitcroft (apw) on 2017-07-04
Changed in linux-meta (Ubuntu):
status: New → Triaged
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers