From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 548B6E009C8; Wed, 17 Jun 2015 01:44:15 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [93.17.128.118 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message Received: from smtp25.services.sfr.fr (smtp25.services.sfr.fr [93.17.128.118]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id EC78AE0095D for ; Wed, 17 Jun 2015 01:44:09 -0700 (PDT) Received: from filter.sfr.fr (localhost [111.83.97.9]) by msfrf2503.sfr.fr (SMTP Server) with ESMTP id DCC577000059 for ; Wed, 17 Jun 2015 10:44:06 +0200 (CEST) Authentication-Results: sfrmc.priv.atos.fr; dkim=none (no signature); dkim-adsp=none (no policy) header.from=herve.jourdain@neuf.fr Received: from hjo-pc (111-83-97-9.EMOME-IP.hinet.net [111.83.97.9]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by msfrf2503.sfr.fr (SMTP Server) with ESMTP id 2FC6C7000055 for ; Wed, 17 Jun 2015 10:44:04 +0200 (CEST) X-SFR-UUID: 20150617084405195.2FC6C7000055@msfrf2503.sfr.fr Received: from hjopc by hjo-pc (PGP Universal service); Wed, 17 Jun 2015 10:44:05 +0100 X-PGP-Universal: processed; by hjo-pc on Wed, 17 Jun 2015 10:44:05 +0100 From: Herve Jourdain To: yocto@yoctoproject.org Date: Wed, 17 Jun 2015 10:43:58 +0200 Message-ID: <009101d0a8d9$c460eb40$4d22c1c0$@neuf.fr> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 15.0 thread-index: AdCo2IVjH/oFuq6vQk+K2MLU0RpA3g== Subject: [meta-raspberrypi] [PATCH] ds1307-rtc-overlay.dtb has been removed from the kernel tree, and most overlays have been moved to the dts/overlays directory X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 08:44:15 -0000 X-Groupsio-MsgNum: 25215 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0092_01D0A8EA.87EB9000" Content-Language: fr ------=_NextPart_000_0092_01D0A8EA.87EB9000 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0093_01D0A8EA.87EB9000" ------=_NextPart_001_0093_01D0A8EA.87EB9000 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, Actually, the situation is slightly more complex than I initially supposed : not only were some .dtb deleted, but also most were moved to the < overlays > subdirectory. This is true for the kernel after git 739c586c87576fb8ef151b5843ebed76c43a5221: https://github.com/raspberrypi/linux/commit/739c586c87576fb8ef151b5843ebed76 c43a5221 The following patch is making the whole thing compiling, and seems to install them in the right places, but I'm not sure I'm creating the directory needed for compiling the overlays at the best of places. Anyway, here it goes: Signed-off-by: herve.jourdain@neuf.fr --- meta-raspberrypi/conf/machine/include/rpi-base.inc 2015-05-19 10:34:22.099500543 +0800 +++ meta-raspberrypi.new/conf/machine/include/rpi-base.inc 2015-06-17 02:34:11.538069350 +0800 @@ -23,18 +23,17 @@ bcm2708-rpi-b-plus.dtb \ bcm2709-rpi-2-b.dtb \ \ - ds1307-rtc-overlay.dtb \ - hifiberry-amp-overlay.dtb \ - hifiberry-dac-overlay.dtb \ - hifiberry-dacplus-overlay.dtb \ - hifiberry-digi-overlay.dtb \ - iqaudio-dac-overlay.dtb \ - iqaudio-dacplus-overlay.dtb \ - lirc-rpi-overlay.dtb \ - pcf8523-rtc-overlay.dtb \ - pps-gpio-overlay.dtb \ - w1-gpio-overlay.dtb \ - w1-gpio-pullup-overlay.dtb \ + overlays/hifiberry-amp-overlay.dtb \ + overlays/hifiberry-dac-overlay.dtb \ + overlays/hifiberry-dacplus-overlay.dtb \ + overlays/hifiberry-digi-overlay.dtb \ + overlays/i2c-rtc-overlay.dtb \ + overlays/iqaudio-dac-overlay.dtb \ + overlays/iqaudio-dacplus-overlay.dtb \ + overlays/lirc-rpi-overlay.dtb \ + overlays/pps-gpio-overlay.dtb \ + overlays/w1-gpio-overlay.dtb \ + overlays/w1-gpio-pullup-overlay.dtb \ " KERNEL_IMAGETYPE ?= "Image" --- meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi.inc 2015-05-19 10:34:22.103500543 +0800 +++ meta-raspberrypi.new/recipes-kernel/linux/linux-raspberrypi.inc 2015-06-17 04:34:03.562361029 +0800 @@ -42,6 +42,9 @@ do_install_prepend() { install -d ${D}/lib/firmware + if [ -n "${KERNEL_DEVICETREE}" ]; then + mkdir -p ${B}/arch/${ARCH}/boot/dts/overlays + fi } do_deploy_append() { Regards From: Herve Jourdain [mailto:herve.jourdain@neuf.fr] Sent: mercredi 17 juin 2015 04:57 To: 'yocto@yoctoproject.org' Subject: [meta-raspberrypi] ds1307-rtc-overlay.dtb has been removed from the kernel tree Hi, I'm not sure about the formalism of submitting patches to this list, so I hope you will forgive any misstep. Recently, the RaspberryPi kernel has removed some "deprecated" DTB overlays from the kernel tree, causing the meta-raspberrypi layer to fail at compile time. The failure message is: No rule to make target `arch/arm/boot/dts/ds1307-rtc-overlay.dtb'. Stop. The DTB overlays that have been deleted are: ds1307-rtc-overlay pf2127-rtc-overlay pcf8523-rtc-overlay pfc8563-rtc-overlay They've been replaced by: i2c-rtc-overlay Therefore, the file conf/machine/include/rpi-base.inc must be modified to accommodate those changes. The proposed patch is: --- meta-raspberrypi/conf/machine/include/rpi-base.inc 2015-06-10 12:59:09.069237631 +0800 +++ meta-raspberrypi.new/conf/machine/include/rpi-base.inc 2015-06-17 01:11:58.125869271 +0800 @@ -23,15 +23,14 @@ bcm2708-rpi-b-plus.dtb \ bcm2709-rpi-2-b.dtb \ \ - ds1307-rtc-overlay.dtb \ hifiberry-amp-overlay.dtb \ hifiberry-dac-overlay.dtb \ hifiberry-dacplus-overlay.dtb \ hifiberry-digi-overlay.dtb \ + i2c-rtc-overlay.dtb \ iqaudio-dac-overlay.dtb \ iqaudio-dacplus-overlay.dtb \ lirc-rpi-overlay.dtb \ - pcf8523-rtc-overlay.dtb \ pps-gpio-overlay.dtb \ w1-gpio-overlay.dtb \ w1-gpio-pullup-overlay.dtb \ Signed-off-by: herve.jourdain@neuf.fr Regards ------=_NextPart_001_0093_01D0A8EA.87EB9000 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

Actually, = the situation is slightly more complex than I initially supposed : = not only were some .dtb deleted, but also most were moved to the = « overlays » subdirectory.

This is = true for the kernel after git 739c586c87576fb8ef151b5843ebed76= c43a5221: https://github.com/raspberrypi/linux/commit/739c586c= 87576fb8ef151b5843ebed76c43a5221

The = following patch is making the whole thing compiling, and seems to = install them in the right places, but I’m not sure I’m = creating the directory needed for compiling the overlays at the best of = places…

Anyway, here it = goes:

 

Signed-off-by: herve.jourdain@neuf.fr

 

--- = meta-raspberrypi/conf/machine/include/rpi-base.inc    = ; 2015-05-19 10:34:22.099500543 +0800

+++ = meta-raspberrypi.new/conf/machine/include/rpi-base.inc 2015-06-17 = 02:34:11.538069350 +0800

@@ -23,18 = +23,17 @@

     bcm2708-rpi-b-plus.dtb = \

     bcm2709-rpi-2-b.dtb = \

     \

-    ds1307-rtc-overlay.dtb = \

-    = hifiberry-amp-overlay.dtb \

-    hifiberry-dac-overlay.dtb = \

-    = hifiberry-dacplus-overlay.dtb \

-    hifiberry-digi-overlay.dtb = \

-    = iqaudio-dac-overlay.dtb \

-    iqaudio-dacplus-overlay.dtb = \

-    = lirc-rpi-overlay.dtb \

-    pcf8523-rtc-overlay.dtb = \

-    = pps-gpio-overlay.dtb \

-    w1-gpio-overlay.dtb = \

-    = w1-gpio-pullup-overlay.dtb \

+    = overlays/hifiberry-amp-overlay.dtb \

+    = overlays/hifiberry-dac-overlay.dtb \

+    = overlays/hifiberry-dacplus-overlay.dtb \

+    = overlays/hifiberry-digi-overlay.dtb \

+    overlays/i2c-rtc-overlay.dtb = \

+    = overlays/iqaudio-dac-overlay.dtb \

+    = overlays/iqaudio-dacplus-overlay.dtb \

+    overlays/lirc-rpi-overlay.dtb = \

+    = overlays/pps-gpio-overlay.dtb \

+    overlays/w1-gpio-overlay.dtb = \

+    = overlays/w1-gpio-pullup-overlay.dtb \

     = "

KERNEL_IMAGETYPE ?=3D = "Image"

=

--- = meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi.inc  &n= bsp;  2015-05-19 10:34:22.103500543 +0800

+++ = meta-raspberrypi.new/recipes-kernel/linux/linux-raspberrypi.inc = 2015-06-17 04:34:03.562361029 +0800

@@ -42,6 +42,9 @@

 do_install_prepend() {

     install -d = ${D}/lib/firmware

+    if [ -n = "${KERNEL_DEVICETREE}" ]; then

+        &nbs= p; mkdir -p ${B}/arch/${ARCH}/boot/dts/overlays

+    fi

}

=

 do_deploy_append() {

 

Regards

 

From: Herve Jourdain = [mailto:herve.jourdain@neuf.fr]
Sent: mercredi 17 juin 2015 = 04:57
To: 'yocto@yoctoproject.org'
Subject: = [meta-raspberrypi] ds1307-rtc-overlay.dtb has been removed from the = kernel tree

 

Hi,

 

I’m not sure about the formalism of submitting = patches to this list, so I hope you will forgive any = misstep.

 

Recently, the RaspberryPi kernel has removed some = “deprecated” DTB overlays from the kernel tree, causing the = meta-raspberrypi layer to fail at compile time.

The failure message = is:

No rule to make target = `arch/arm/boot/dts/ds1307-rtc-overlay.dtb'.  = Stop.

 

The DTB overlays that have been deleted = are:

ds1307-rtc-overlay

pf2127-rtc-overlay

pcf8523-rtc-overlay

pfc8563-rtc-overlay

 

They’ve been replaced by: = i2c-rtc-overlay

 

Therefore, the file conf/machine/include/rpi-base.inc must = be modified to accommodate those changes.

 

The proposed patch = is:

--- = meta-raspberrypi/conf/machine/include/rpi-base.inc    = ; 2015-06-10 12:59:09.069237631 +0800

+++ meta-raspberrypi.new/conf/machine/include/rpi-base.inc = 2015-06-17 01:11:58.125869271 +0800

@@ -23,15 +23,14 @@

     bcm2708-rpi-b-plus.dtb = \

     = bcm2709-rpi-2-b.dtb \

     \

-    ds1307-rtc-overlay.dtb = \

     = hifiberry-amp-overlay.dtb \

     hifiberry-dac-overlay.dtb = \

     = hifiberry-dacplus-overlay.dtb \

     hifiberry-digi-overlay.dtb = \

+    = i2c-rtc-overlay.dtb \

     iqaudio-dac-overlay.dtb = \

     = iqaudio-dacplus-overlay.dtb \

     lirc-rpi-overlay.dtb = \

-    = pcf8523-rtc-overlay.dtb \

     pps-gpio-overlay.dtb = \

     = w1-gpio-overlay.dtb \

     w1-gpio-pullup-overlay.dtb = \

Signed-off-by: herve.jourdain@neuf.fr

 

Regards

------=_NextPart_001_0093_01D0A8EA.87EB9000-- ------=_NextPart_000_0092_01D0A8EA.87EB9000 Content-Type: application/octet-stream; name="meta-raspberrypi-dtb-changes.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="meta-raspberrypi-dtb-changes.patch" --- meta-raspberrypi/conf/machine/include/rpi-base.inc 2015-05-19 10:34:22.= 099500543 +0800 +++ meta-raspberrypi.new/conf/machine/include/rpi-base.inc 2015-06-17 02:34= :11.538069350 +0800 @@ -23,18 +23,17 @@ bcm2708-rpi-b-plus.dtb \ bcm2709-rpi-2-b.dtb \ \ - ds1307-rtc-overlay.dtb \ - hifiberry-amp-overlay.dtb \ - hifiberry-dac-overlay.dtb \ - hifiberry-dacplus-overlay.dtb \ - hifiberry-digi-overlay.dtb \ - iqaudio-dac-overlay.dtb \ - iqaudio-dacplus-overlay.dtb \ - lirc-rpi-overlay.dtb \ - pcf8523-rtc-overlay.dtb \ - pps-gpio-overlay.dtb \ - w1-gpio-overlay.dtb \ - w1-gpio-pullup-overlay.dtb \ + overlays/hifiberry-amp-overlay.dtb \ + overlays/hifiberry-dac-overlay.dtb \ + overlays/hifiberry-dacplus-overlay.dtb \ + overlays/hifiberry-digi-overlay.dtb \ + overlays/i2c-rtc-overlay.dtb \ + overlays/iqaudio-dac-overlay.dtb \ + overlays/iqaudio-dacplus-overlay.dtb \ + overlays/lirc-rpi-overlay.dtb \ + overlays/pps-gpio-overlay.dtb \ + overlays/w1-gpio-overlay.dtb \ + overlays/w1-gpio-pullup-overlay.dtb \ " KERNEL_IMAGETYPE ?=3D "Image" =20 --- meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi.inc 2015-05-19 = 10:34:22.103500543 +0800 +++ meta-raspberrypi.new/recipes-kernel/linux/linux-raspberrypi.inc 2015-06= -17 04:34:03.562361029 +0800 @@ -42,6 +42,9 @@ =20 do_install_prepend() { install -d ${D}/lib/firmware + if [ -n "${KERNEL_DEVICETREE}" ]; then + mkdir -p ${B}/arch/${ARCH}/boot/dts/overlays + fi } =20 do_deploy_append() { ------=_NextPart_000_0092_01D0A8EA.87EB9000--