Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 630612 - sys-boot/raspberrypi-firmware should include device trees and overlays
Summary: sys-boot/raspberrypi-firmware should include device trees and overlays
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-10 19:26 UTC by Rich Alimi
Modified: 2017-10-15 09:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rich Alimi 2017-09-10 19:26:22 UTC
Raspberry Pi firmware has device trees and overlays now.  The current raspberrypi-firmware-9999 ebuild does not include them when installing.

The following patch works locally:

--- /usr/portage/sys-boot/raspberrypi-firmware/raspberrypi-firmware-9999.ebuild 2017-02-28 11:50:50.000000000 -0800
+++ raspberrypi-firmware-9999.ebuild    2017-09-10 07:53:30.710001630 -0700
@@ -44,6 +44,8 @@
        insinto /boot
        cd boot
        doins bootcode.bin COPYING.linux fixup*.dat LICENCE.broadcom start*elf
+       doins *.dtb
+       doins -r overlays
        newins "${FILESDIR}"/${PN}-0_p20130711-config.txt config.txt
        newins "${FILESDIR}"/${PN}-0_p20130711-cmdline.txt cmdline.txt
        newenvd "${FILESDIR}"/${PN}-0_p20130711-envd 90${PN}
Comment 1 Rich Alimi 2017-09-10 19:26:49 UTC
For reference, https://www.raspberrypi.org/documentation/configuration/device-tree.md has background information.
Comment 2 Rich Alimi 2017-09-10 23:22:07 UTC
I have sent a pull request for this change: https://github.com/gentoo/gentoo/pull/5684
Comment 3 Larry the Git Cow gentoo-dev 2017-10-15 09:21:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfabb354d7f24743c95a139daec9a98c7adbc24c

commit cfabb354d7f24743c95a139daec9a98c7adbc24c
Author:     Rich Alimi <rich@velvetsea.net>
AuthorDate: 2017-09-10 23:16:17 +0000
Commit:     Michael Palimaka <kensington@gentoo.org>
CommitDate: 2017-10-15 09:21:17 +0000

    sys-boot/raspberrypi-firmware: Include device trees, #630612
    
    Include device trees and overlays. See
    https://www.raspberrypi.org/documentation/configuration/device-tree.md
    for details.
    
    Closes: https://bugs.gentoo.org/630612
    Closes: https://github.com/gentoo/gentoo/pull/5684
    Package-Manager: Portage-2.3.6, Repoman-2.3.1

 sys-boot/raspberrypi-firmware/raspberrypi-firmware-9999.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)