All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 12186] New: Raspberry Pi Zero-W build fails on newer kernel versions
Date: Wed, 04 Sep 2019 15:40:42 +0000	[thread overview]
Message-ID: <bug-12186-163@https.bugs.busybox.net/> (raw)

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.

             reply	other threads:[~2019-09-04 15:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-04 15:40 bugzilla at busybox.net [this message]
2019-09-04 20:08 ` [Buildroot] [Bug 12186] Raspberry Pi Zero-W build fails on newer kernel versions 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-12186-163@https.bugs.busybox.net/ \
    --to=bugzilla@busybox.net \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.