Skip to contentSkip to conversation

ds1307-rtc-overlay.dtb has been removed from the kernel tree, and most overlays have been moved to the dts/overlays directory

PATCH In review Herve Jourdain 2 participants 8 messages Jun 17, 2015 – Jun 24, 2015 2 messages not in the archive Broadcom BCM2711/BCM2835 Arm architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ds1307-rtc-overlay.dtb has been removed from the kernel tree, and most overlays have been moved to the dts/overlays directory

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

Quoted 1 line

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:

--- 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:[email protected]]
Sent: mercredi 17 juin 2015 04:57
To: '[email protected]'
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 \

Regards

conf/machine/include/rpi-base.inc +11 -12
@@ -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"
 
recipes-kernel/linux/linux-raspberrypi.inc +3 -0
@@ -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() {
#1 lore raw

Hello Herve,

Quoted 10 lines · Herve Jourdain

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:

These patches will first need to update kernel. So please send the Linux update which is dependent on too. Submitting a patch is very simple and there is documentation in the layer's README file. You can always use pull requests in github and bitbucket too.

Quoted 65 lines

https://github.com/raspberrypi/linux/commit/739c586c87576fb8ef151b5843ebed76c43a5221

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 [email protected]

--- 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

(quoted diff) +7 -12
@@ -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 \

Review

Quoted 10 lines
(quoted diff) +4 -0
 
+    overlays/lirc-rpi-overlay.dtb \
 
+    overlays/pps-gpio-overlay.dtb \
 
+    overlays/w1-gpio-overlay.dtb \
 
+    overlays/w1-gpio-pullup-overlay.dtb \
 
     "

On the boot partition will these files be deployed as overlays/* ? If so, does kernel knows to pick them up from this directory?

Quoted 134 lines

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
(quoted diff) +3 -0
@@ -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:[email protected]]
Sent: mercredi 17 juin 2015 04:57
To: '[email protected]'
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

(quoted diff) +0 -1
@@ -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 \
(quoted diff) +1 -1
+    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 [email protected]

Regards

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Signature · 3 lines
Andrei Gherzan
e: [email protected]
w: www.gherzan.ro
#2 lore raw

Hi Andrei,

Well, it seems that the current meta-raspberrypi is pulling the kernel from github, and the kernel on github already has these "features" in. Which is why I could compile fine with the current meta-raspberrypi 2or 3 weeks ago, but it failed 2 days ago when I tried to do a fresh build... Therefore, I believe the change in the meta-raspberrypi is already needed for the 3.18.y branch, because the kernel already has it.

Regards,

Herve

-----Original Message-----
From: Andrei Gherzan [mailto:[email protected]]
Sent: jeudi 18 juin 2015 08:28
To: Herve Jourdain
Cc: Yocto Project
Subject: Re: [yocto] [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

Hello Herve,

Quoted 10 lines · Herve Jourdain

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:

These patches will first need to update kernel. So please send the Linux update which is dependent on too. Submitting a patch is very simple and there is documentation in the layer's README file. You can always use pull requests in github and bitbucket too.

Quoted 66 lines

https://github.com/raspberrypi/linux/commit/739c586c87576fb8ef151b5843
ebed76c43a5221

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 [email protected]

--- 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

(quoted diff) +7 -12
@@ -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 \

Review

Quoted 10 lines
(quoted diff) +4 -0
 
+    overlays/lirc-rpi-overlay.dtb \
 
+    overlays/pps-gpio-overlay.dtb \
 
+    overlays/w1-gpio-overlay.dtb \
 
+    overlays/w1-gpio-pullup-overlay.dtb \
 
     "

On the boot partition will these files be deployed as overlays/* ? If so, does kernel knows to pick them up from this directory?

Quoted 125 lines

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
(quoted diff) +3 -0
@@ -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:[email protected]]
Sent: mercredi 17 juin 2015 04:57
To: '[email protected]'
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

(quoted diff) +0 -1
@@ -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 \
(quoted diff) +1 -1
+    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 [email protected]
Quoted 9 lines

Regards

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

--
Andrei Gherzan
e: [email protected]
w: www.gherzan.ro

#3 lore raw

Hello,

Quoted 4 lines · Herve Jourdain

Hi Andrei,

Well, it seems that the current meta-raspberrypi is pulling the kernel

from github, and the kernel on github already has these "features" in.

Quoted 1 line

Which is why I could compile fine with the current meta-raspberrypi 2or 3

weeks ago, but it failed 2 days ago when I tried to do a fresh build...

Quoted 1 line

Therefore, I believe the change in the meta-raspberrypi is already needed

for the 3.18.y branch, because the kernel already has it.

This is interesting. I'll check it tonight.

Quoted 11 lines

Regards,

Herve

-----Original Message-----
From: Andrei Gherzan [mailto:[email protected]]
Sent: jeudi 18 juin 2015 08:28
To: Herve Jourdain
Cc: Yocto Project
Subject: Re: [yocto] [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

Quoted 4 lines

Hello Herve,

On Wed, Jun 17, 2015 at 10:43 AM, Herve Jourdain <[email protected]>

Quoted 5 lines · wrote:
Quoted 5 lines

Hi,

Actually, the situation is slightly more complex than I initially

supposed :

Quoted 7 lines
Quoted 5 lines

not only were some .dtb deleted, but also most were moved to the « overlays » subdirectory.

This is true for the kernel after git
739c586c87576fb8ef151b5843ebed76c43a5221:

These patches will first need to update kernel. So please send the Linux

update which is dependent on too. Submitting a patch is very simple and there is documentation in the layer's README file. You can always use pull requests in github and bitbucket too.

Quoted 72 lines
Quoted 72 lines

https://github.com/raspberrypi/linux/commit/739c586c87576fb8ef151b5843
ebed76c43a5221

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 [email protected]

--- 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

(quoted diff) +9 -12
@@ -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 \
Quoted 7 lines

conf/machine/include/rpi-base.inc

Quoted 5 lines
conf/machine/include/rpi-base.inc +2 -0
+    overlays/w1-gpio-overlay.dtb \
 
+    overlays/w1-gpio-pullup-overlay.dtb \
 
     "

On the boot partition will these files be deployed as overlays/* ? If so,

does kernel knows to pick them up from this directory?

Quoted 49 lines
Quoted 49 lines

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
(quoted diff) +3 -0
@@ -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:[email protected]]
Sent: mercredi 17 juin 2015 04:57
To: '[email protected]'
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.

Quoted 7 lines
Quoted 7 lines

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.

Quoted 86 lines
Quoted 70 lines

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

(quoted diff) +0 -1
@@ -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 \
(quoted diff) +1 -1
+    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 [email protected]
Quoted 9 lines

Regards

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

--
Andrei Gherzan
e: [email protected]
w: www.gherzan.ro

#4 lore raw

Hi,

Quoted 6 lines · Andrei Gherzan

Hello,

Quoted 3 lines · Herve Jourdain

Hi Andrei,

Quoted 8 lines
Quoted 6 lines

Well, it seems that the current meta-raspberrypi is pulling the kernel from github, and the kernel on github already has these "features" in. Which is why I could compile fine with the current meta-raspberrypi 2or 3 weeks ago, but it failed 2 days ago when I tried to do a fresh build... Therefore, I believe the change in the meta-raspberrypi is already needed for the 3.18.y branch, because the kernel already has it.

This is interesting. I'll check it tonight.

I re-downloaded and recompiled kernel on the current meta-raspberrypi master HEAD and had no issues. What meta-raspberrypi revision are you using?

Signature · 3 lines
Andrei Gherzan
e: [email protected]
w: www.gherzan.ro
#5 lore raw

Hi,

I used the master head, downloaded in may.
The last commit I see using "git log" is:
commit 6ef9d94a2c2588dcefe442577ef6ae5bbe722dec

Author: Petter Mabäcker <[email protected]>
Date:   Fri May 8 23:49:05 2015 +0200

linux-raspberrypi: Update 3.12 branch to latest

Update linux-raspberrypi_3.12 to latest revision.

Remove sl030raspberrypii2ckernel.patch since it will not apply anymore and its content seems to be obsolite after
'558d0bf Fix grabbing lock from atomic context in i2c driver' was merged to 3.12.

[Support #60]

Regards,

Herve

-----Original Message-----
From: Andrei Gherzan [mailto:[email protected]]
Sent: mardi 23 juin 2015 20:29
To: Herve Jourdain
Cc: Yocto Project
Subject: Re: [yocto] [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

Hi,

Quoted 6 lines · Andrei Gherzan

Hello,

Quoted 3 lines · Herve Jourdain

Hi Andrei,

Quoted 8 lines
Quoted 6 lines

Well, it seems that the current meta-raspberrypi is pulling the kernel from github, and the kernel on github already has these "features" in. Which is why I could compile fine with the current meta-raspberrypi 2or 3 weeks ago, but it failed 2 days ago when I tried to do a fresh build... Therefore, I believe the change in the meta-raspberrypi is already needed for the 3.18.y branch, because the kernel already has it.

This is interesting. I'll check it tonight.

I re-downloaded and recompiled kernel on the current meta-raspberrypi master HEAD and had no issues. What meta-raspberrypi revision are you using?

--
Andrei Gherzan
e: [email protected]
w: www.gherzan.ro

A message that is not in the archive (sent off-list or not yet received): CAK18fxHbB9+LaWVj6t46YUdO_Lay=_D9wo4nZv5aZjj5zq+FiQ@mail.gmail.com

A message that is not in the archive (sent off-list or not yet received): [email protected]

#8 lore raw

Hello,

Adding Yocto back in loop (sorry for this - it is my fault).

Quoted 6 lines · Herve Jourdain

Hi Andrei,

OK, not sure what happened, it seemed that when I tested it, it downloaded the latest version of the kernel on github.com/raspberrypi for the 3.18.y branch, instead of the version specified in the SRCREV... And I really don't know why... So after rechecking from scratch, when it pulls the correct version, then it still works like before.

But this patch will be needed as soon as meta-raspberrypi moves to a more recent 3.18y version (739c586c87576fb8ef151b5843ebed76c43a5221 or later).

I understand that and checking the upstream code I can confirm this change. Thanks for informing and will definitely look into it when we will update the kernel. If you want, you can help Petter in getting the updates faster. I know he is already working on this (CCed).

Quoted 35 lines

Regards,

Herve

-----Original Message-----
From: Herve Jourdain [mailto:[email protected]]
Sent: mercredi 24 juin 2015 12:40
To: 'Andrei Gherzan'
Subject: RE: [yocto] [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

Hi,

OK, I'm trying right now... I will need a little time, though, compilation is not really fast...

Regards,

Herve

-----Original Message-----
From: Andrei Gherzan [mailto:[email protected]]
Sent: mercredi 24 juin 2015 11:21
To: Herve Jourdain
Subject: Re: [yocto] [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

Hello,

Quoted 7 lines · Herve Jourdain

Hi,

I used the master head, downloaded in may.
The last commit I see using "git log" is:
commit 6ef9d94a2c2588dcefe442577ef6ae5bbe722dec

Author: Petter Mabäcker <[email protected]>
Date:   Fri May 8 23:49:05 2015 +0200
Quoted 6 lines

Could you please use the current HEAD? I can't reproduce on current revision.

--
Andrei Gherzan
e: [email protected]
w: www.gherzan.ro

Regards,

Signature · 3 lines
Andrei Gherzan
e: [email protected]
w: www.gherzan.ro
#9 lore raw

Hi Andrei, Petter,

If there is any way I can help, I'll be glad to do it. Please let me know how best this can be achieved.

Regards,

Herve

-----Original Message-----
From: Andrei Gherzan [mailto:[email protected]]
Sent: mercredi 24 juin 2015 15:59
To: Herve Jourdain; Yocto Project
Cc: Petter Mabäcker
Subject: Re: [yocto] [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

Hello,

Adding Yocto back in loop (sorry for this - it is my fault).

Quoted 6 lines · Herve Jourdain

Hi Andrei,

OK, not sure what happened, it seemed that when I tested it, it downloaded the latest version of the kernel on github.com/raspberrypi for the 3.18.y branch, instead of the version specified in the SRCREV... And I really don't know why... So after rechecking from scratch, when it pulls the correct version, then it still works like before.

But this patch will be needed as soon as meta-raspberrypi moves to a more recent 3.18y version (739c586c87576fb8ef151b5843ebed76c43a5221 or later).

I understand that and checking the upstream code I can confirm this change. Thanks for informing and will definitely look into it when we will update the kernel. If you want, you can help Petter in getting the updates faster. I know he is already working on this (CCed).

Quoted 39 lines

Regards,

Herve

-----Original Message-----
From: Herve Jourdain [mailto:[email protected]]
Sent: mercredi 24 juin 2015 12:40
To: 'Andrei Gherzan'
Subject: RE: [yocto] [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

Hi,

OK, I'm trying right now... I will need a little time, though, compilation is not really fast...

Regards,

Herve

-----Original Message-----
From: Andrei Gherzan [mailto:[email protected]]
Sent: mercredi 24 juin 2015 11:21
To: Herve Jourdain
Subject: Re: [yocto] [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

Hello,

Quoted 7 lines · Herve Jourdain

Hi,

I used the master head, downloaded in may.
The last commit I see using "git log" is:
commit 6ef9d94a2c2588dcefe442577ef6ae5bbe722dec

Author: Petter Mabäcker <[email protected]>
Date:   Fri May 8 23:49:05 2015 +0200
Quoted 6 lines

Could you please use the current HEAD? I can't reproduce on current revision.

--
Andrei Gherzan
e: [email protected]
w: www.gherzan.ro

Regards,

--
Andrei Gherzan
e: [email protected]
w: www.gherzan.ro