* [Buildroot] [Bug 12186] New: Raspberry Pi Zero-W build fails on newer kernel versions
@ 2019-09-04 15:40 bugzilla at busybox.net
2019-09-04 20:08 ` [Buildroot] [Bug 12186] " bugzilla at busybox.net
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2019-09-04 15:40 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12186
Bug ID: 12186
Summary: Raspberry Pi Zero-W build fails on newer kernel
versions
Product: buildroot
Version: 2019.08
Hardware: All
OS: Linux
Status: NEW
Severity: major
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: info at hifiberry.com
CC: buildroot at uclibc.org
Target Milestone: ---
On newer kernel versions of the Raspberry Pi kernel, the Raspberry Pi Zero-W
overlay has been renamed from
bcm2708-rpi-0-w.dtb
to
bcm2708-rpi-zero-w.dtb
Reproduce the problem:
make raspberrypi0w_defconfig
make
works
Now change
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call
github,raspberrypi,linux,5eeff139ea9135db6e01a58ef613338f1d0899d8)/linux-5eeff139ea9135db6e01a58ef613338f1d0899d8.tar.gz"
to
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call
github,raspberrypi,linux,8a9ebbd9b474592730dbbaee9be726600af1157b)/linux-8a9ebbd9b474592730dbbaee9be726600af1157b.tar.gz"
(current 4.19 Raspberry Pi kernel)
make now fails:
make[3]: *** No rule to make target 'arch/arm/boot/dts/bcm2708-rpi-0-w.dtb'.
Stop.
arch/arm/Makefile:343: recipe for target 'bcm2708-rpi-0-w.dtb' failed
make[2]: *** [bcm2708-rpi-0-w.dtb] Error 2
package/pkg-generic.mk:238: recipe for target
'/home/matuschd/buildroot-2019.05.1/output/build/linux-custom/.stamp_built'
failed
make[1]: ***
[/home/matuschd/buildroot-2019.05.1/output/build/linux-custom/.stamp_built]
Error 2
Makefile:84: recipe for target '_all' failed
make: *** [_all] Error 2
Some logic seems to be required here to distinguish between older and newer
kernels.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [Bug 12186] Raspberry Pi Zero-W build fails on newer kernel versions
2019-09-04 15:40 [Buildroot] [Bug 12186] New: Raspberry Pi Zero-W build fails on newer kernel versions bugzilla at busybox.net
@ 2019-09-04 20:08 ` bugzilla at busybox.net
2019-09-11 13:33 ` bugzilla at busybox.net
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2019-09-04 20:08 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12186
--- Comment #1 from Peter Korsgaard <jacmet@uclibc.org> ---
But the dts file to use is also part of the defconfig, so simply change
BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2708-rpi-0-w"
To
BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2708-rpi-zero-w"
But keep in mind that the genimage configuration also refers to the old name:
board/raspberrypi/genimage-raspberrypi0w.cfg: "bcm2708-rpi-0-w.dtb",
Either we change that when we bump the kernel version or we add some logic to
rename the file if needed.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [Bug 12186] Raspberry Pi Zero-W build fails on newer kernel versions
2019-09-04 15:40 [Buildroot] [Bug 12186] New: Raspberry Pi Zero-W build fails on newer kernel versions bugzilla at busybox.net
2019-09-04 20:08 ` [Buildroot] [Bug 12186] " bugzilla at busybox.net
@ 2019-09-11 13:33 ` bugzilla at busybox.net
2019-09-12 20:51 ` bugzilla at busybox.net
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2019-09-11 13:33 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12186
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Unless I'm mistaken, there is no bug. Our current RPi0w defconfig works fine,
and it's only when you change it to use a different kernel version that it no
longer builds. But this is obviously not a bug: if you tweak a part of a
defconfig, you may need to also adjust other parts of that defconfig. In this
specific example, if newer versions of the kernel have renamed the Device Tree
for the platform, obviously the list of Device Trees that Buildroot will
build/install should be updated accordingly.
Of course, let me know if I misunderstood. Don't hesitate to reopen the bug in
such a case.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [Bug 12186] Raspberry Pi Zero-W build fails on newer kernel versions
2019-09-04 15:40 [Buildroot] [Bug 12186] New: Raspberry Pi Zero-W build fails on newer kernel versions bugzilla at busybox.net
2019-09-04 20:08 ` [Buildroot] [Bug 12186] " bugzilla at busybox.net
2019-09-11 13:33 ` bugzilla at busybox.net
@ 2019-09-12 20:51 ` bugzilla at busybox.net
2019-09-12 20:52 ` bugzilla at busybox.net
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2019-09-12 20:51 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12186
--- Comment #3 from Grzegorz Blach <grzegorz@blach.pl> ---
Created attachment 8246
--> https://bugs.busybox.net/attachment.cgi?id=8246&action=edit
Rename bcm2708-rpi-0-w to bcm2708-rpi-zero-w
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [Bug 12186] Raspberry Pi Zero-W build fails on newer kernel versions
2019-09-04 15:40 [Buildroot] [Bug 12186] New: Raspberry Pi Zero-W build fails on newer kernel versions bugzilla at busybox.net
` (2 preceding siblings ...)
2019-09-12 20:51 ` bugzilla at busybox.net
@ 2019-09-12 20:52 ` bugzilla at busybox.net
2019-09-14 12:08 ` bugzilla at busybox.net
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2019-09-12 20:52 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12186
Grzegorz Blach <grzegorz@blach.pl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|INVALID |---
Status|RESOLVED |REOPENED
--- Comment #4 from Grzegorz Blach <grzegorz@blach.pl> ---
I'm sure it's a bug. Yesterday I tried to build SD image for RPi0W using master
branch and this failed. I've must applied a small patch to build RPi0W image
correctly.
Earlier I built RPi0W image on 30 August and this worked without the patch.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [Bug 12186] Raspberry Pi Zero-W build fails on newer kernel versions
2019-09-04 15:40 [Buildroot] [Bug 12186] New: Raspberry Pi Zero-W build fails on newer kernel versions bugzilla at busybox.net
` (3 preceding siblings ...)
2019-09-12 20:52 ` bugzilla at busybox.net
@ 2019-09-14 12:08 ` bugzilla at busybox.net
2019-09-14 12:08 ` bugzilla at busybox.net
2019-09-15 12:55 ` bugzilla at busybox.net
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2019-09-14 12:08 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12186
--- Comment #5 from Peter Korsgaard <jacmet@uclibc.org> ---
(In reply to Grzegorz Blach from comment #4)
Ahh, but that is because the kernel version got bumped last week:
commit 42d22f3bdba41da8e6b6ace2c78af2b3e34d7491
Author: Gergely Imreh <imrehg@gmail.com>
Date: Tue Aug 27 15:14:28 2019 +0100
{configs/raspberrypi,package/rpi-firmware}: bump kernel/firmware to
20190819 version
It's the latest original version. The defconfig and
package/rpi-firmware changes are done in a single patch, as they are
going together.
Signed-off-by: Gergely Imreh <imrehg@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Which was applied on the 7th.
I have sent a patch to fix this - And while at it, also change the rpi0
defconfig to use the new dedicated dts file:
https://patchwork.ozlabs.org/patch/1162330/
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [Bug 12186] Raspberry Pi Zero-W build fails on newer kernel versions
2019-09-04 15:40 [Buildroot] [Bug 12186] New: Raspberry Pi Zero-W build fails on newer kernel versions bugzilla at busybox.net
` (4 preceding siblings ...)
2019-09-14 12:08 ` bugzilla at busybox.net
@ 2019-09-14 12:08 ` bugzilla at busybox.net
2019-09-15 12:55 ` bugzilla at busybox.net
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2019-09-14 12:08 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12186
Peter Korsgaard <jacmet@uclibc.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at buildroot.uclibc |jacmet at uclibc.org
|.org |
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [Bug 12186] Raspberry Pi Zero-W build fails on newer kernel versions
2019-09-04 15:40 [Buildroot] [Bug 12186] New: Raspberry Pi Zero-W build fails on newer kernel versions bugzilla at busybox.net
` (5 preceding siblings ...)
2019-09-14 12:08 ` bugzilla at busybox.net
@ 2019-09-15 12:55 ` bugzilla at busybox.net
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2019-09-15 12:55 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12186
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|REOPENED |RESOLVED
--- Comment #6 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Fixed by
https://git.buildroot.org/buildroot/commit/?id=fcecfb66d1fb749426306dbea50fdeb37d4706d8.
Thanks!
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2019-09-15 12:55 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-04 15:40 [Buildroot] [Bug 12186] New: Raspberry Pi Zero-W build fails on newer kernel versions bugzilla at busybox.net
2019-09-04 20:08 ` [Buildroot] [Bug 12186] " bugzilla at busybox.net
2019-09-11 13:33 ` bugzilla at busybox.net
2019-09-12 20:51 ` bugzilla at busybox.net
2019-09-12 20:52 ` bugzilla at busybox.net
2019-09-14 12:08 ` bugzilla at busybox.net
2019-09-14 12:08 ` bugzilla at busybox.net
2019-09-15 12:55 ` bugzilla at busybox.net
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.