commit:     898e5b5f86642bf79b465bef24bb4e636b89b799
Author:     Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  6 14:02:27 2019 +0000
Commit:     Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
CommitDate: Fri Dec  6 14:58:40 2019 +0000
URL:        https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=898e5b5f

2019-11-25-rpi-firmware-dtb-files: enhance the command snippet

When writing the news item, I relied on a hint from colleague Gentoo
developer and a brief online search, but haven't tested the command
myself.

Manual testing has shown that the default installation destination
directory is /boot/dtbs/$(uname -r)/{broadcom,overlays}/, which is very
different from /boot/ which is typically used. This discrepancy I
believe will lead at least to some unexpected results, so we'd better
preserve the scheme used in other cases, such as with
sys-kernel/raspberrypi-image.

Signed-off-by: Andrey Utkin <andrey_utkin <AT> gentoo.org>

 .../2019-11-25-rpi-firmware-dtb-files.en.txt                      | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git 
a/2019-11-25-rpi-firmware-dtb-files/2019-11-25-rpi-firmware-dtb-files.en.txt 
b/2019-11-25-rpi-firmware-dtb-files/2019-11-25-rpi-firmware-dtb-files.en.txt
index 2f0124b..8fe36a0 100644
--- a/2019-11-25-rpi-firmware-dtb-files/2019-11-25-rpi-firmware-dtb-files.en.txt
+++ b/2019-11-25-rpi-firmware-dtb-files/2019-11-25-rpi-firmware-dtb-files.en.txt
@@ -2,7 +2,7 @@ Title: sys-boot/raspberrypi-firmware will not install device 
tree files
 Author: Andrey Utkin <[email protected]>
 Content-Type: text/plain
 Posted: 2019-11-25
-Revision: 1
+Revision: 2
 News-Item-Format: 1.0
 Display-If-Installed: sys-boot/raspberrypi-firmware
 
@@ -14,9 +14,11 @@ These files will be installed by 
sys-kernel/raspberrypi-image package.
 
 If you do not use sys-kernel/raspberrypi-image, you need to install
 these files according to the method you use to install the kernel. For
-installation from source, this can be done with such a command:
+installation from source, this can be done with such commands:
 
-    make dtbs_install
+    make dtbs
+    cp -v arch/arm64/boot/dts/broadcom/*.dtb /boot/
+    cp -rv arch/arm64/boot/dts/overlays/ /boot/
 
 This change is being made to enable arm64 users and custom kernels users
 to use sys-boot/raspberrypi-firmware package.

Reply via email to