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

Bug #1364035 reported by Paolo Pisati
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kernel-wedge (Ubuntu)
In Progress
Medium
Andy Whitcroft
Utopic
Won't Fix
Medium
Andy Whitcroft
linux (Ubuntu)
Triaged
Medium
Unassigned
Utopic
Won't Fix
Medium
Unassigned
linux-hammerhead (Ubuntu)
Utopic
Won't Fix
Undecided
Unassigned
linux-meta (Ubuntu)
Triaged
Undecided
Unassigned
Utopic
Won't Fix
Undecided
Unassigned
linux-raspi2 (Ubuntu)
New
Undecided
Unassigned
Utopic
Won't Fix
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)

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

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)
Changed in linux (Ubuntu Utopic):
status: Incomplete → Triaged
Andy Whitcroft (apw)
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
Revision history for this message
Thomas Karl Pietrowski (thopiekar) wrote :
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)
Revision history for this message
Thomas Karl Pietrowski (thopiekar) wrote :

Sorry, hammerhead just has no devicetree support..

Revision history for this message
Thomas Karl Pietrowski (thopiekar) wrote :

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

Revision history for this message
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.

Revision history for this message
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)
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)
Changed in linux-meta (Ubuntu):
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.