[yocto] [meta-raspberrypi][PATCH 5/6] linux-raspberrypi: Drop version 3.18

Khem Raj raj.khem at gmail.com
Sun May 29 11:17:29 PDT 2016


I think we should remove it. But lets give a chance for folks to respond if
any one is using 3.18 still
On May 29, 2016 9:07 AM, "Paul Barker" <paul at paulbarker.me.uk> wrote:

> The linux-raspberrypi v3.18 recipe does not build after commit
> 519c387e3b97ecc21ac1d7b4fc9197298f289a71 as it lacks the necessary dtb
> files.
>
> Signed-off-by: Paul Barker <paul at paulbarker.me.uk>
> ---
>  .../0001-dts-add-overlay-for-pitft22.patch         | 110
> ---------------------
>  recipes-kernel/linux/linux-raspberrypi_3.18.bb     |  15 ---
>  2 files changed, 125 deletions(-)
>  delete mode 100644
> recipes-kernel/linux/linux-raspberrypi-3.18/0001-dts-add-overlay-for-pitft22.patch
>  delete mode 100644 recipes-kernel/linux/linux-raspberrypi_3.18.bb
>
> diff --git
> a/recipes-kernel/linux/linux-raspberrypi-3.18/0001-dts-add-overlay-for-pitft22.patch
> b/recipes-kernel/linux/linux-raspberrypi-3.18/0001-dts-add-overlay-for-pitft22.patch
> deleted file mode 100644
> index fa73599..0000000
> ---
> a/recipes-kernel/linux/linux-raspberrypi-3.18/0001-dts-add-overlay-for-pitft22.patch
> +++ /dev/null
> @@ -1,110 +0,0 @@
> -From 2f44861e2a2d651a9aa62a75343a032fee33e93b Mon Sep 17 00:00:00 2001
> -From: =?UTF-8?q?Petter=20Mab=C3=A4cker?= <petter at technux.se>
> -Date: Fri, 8 Jan 2016 09:02:44 +0100
> -Subject: [PATCH] dts: add overlay for pitft22 in linux 3.18
> -MIME-Version: 1.0
> -Content-Type: text/plain; charset=UTF-8
> -Content-Transfer-Encoding: 8bit
> -
> -Upstream-Status: Pending
> -
> -Add the pitft22 overlay from adafruit Adafruit-Pi-Kernel-o-Matic repo:
> -https://github.com/adafruit/Adafruit-Pi-Kernel-o-Matic
> -
> -Signed-off-by: Petter Mabäcker <petter at technux.se>
> ----
> - arch/arm/boot/dts/overlays/Makefile            |  1 +
> - arch/arm/boot/dts/overlays/pitft22-overlay.dts | 69
> ++++++++++++++++++++++++++
> - 2 files changed, 70 insertions(+)
> - create mode 100755 arch/arm/boot/dts/overlays/pitft22-overlay.dts
> -
> -diff --git a/arch/arm/boot/dts/overlays/Makefile
> b/arch/arm/boot/dts/overlays/Makefile
> -index c766616..1eaaf81 100644
> ---- a/arch/arm/boot/dts/overlays/Makefile
> -+++ b/arch/arm/boot/dts/overlays/Makefile
> -@@ -27,6 +27,7 @@ dtb-$(RPI_DT_OVERLAYS) += mcp2515-can0-overlay.dtb
> - dtb-$(RPI_DT_OVERLAYS) += mmc-overlay.dtb
> - dtb-$(RPI_DT_OVERLAYS) += mz61581-overlay.dtb
> - dtb-$(RPI_DT_OVERLAYS) += piscreen-overlay.dtb
> -+dtb-$(RPI_DT_OVERLAYS) += pitft22-overlay.dtb
> - dtb-$(RPI_DT_OVERLAYS) += pitft28-resistive-overlay.dtb
> - dtb-$(RPI_DT_OVERLAYS) += pps-gpio-overlay.dtb
> - dtb-$(RPI_DT_OVERLAYS) += rpi-dac-overlay.dtb
> -diff --git a/arch/arm/boot/dts/overlays/pitft22-overlay.dts
> b/arch/arm/boot/dts/overlays/pitft22-overlay.dts
> -new file mode 100755
> -index 0000000..894ba22
> ---- /dev/null
> -+++ b/arch/arm/boot/dts/overlays/pitft22-overlay.dts
> -@@ -0,0 +1,69 @@
> -+/*
> -+ * Device Tree overlay for pitft by Adafruit
> -+ *
> -+ */
> -+
> -+/dts-v1/;
> -+/plugin/;
> -+
> -+/ {
> -+        compatible = "brcm,bcm2835", "brcm,bcm2708", "brcm,bcm2709";
> -+
> -+        fragment at 0 {
> -+                target = <&spi0>;
> -+                __overlay__ {
> -+                        status = "okay";
> -+
> -+                        spidev at 0{
> -+                                status = "disabled";
> -+                        };
> -+
> -+                        spidev at 1{
> -+                                status = "disabled";
> -+                        };
> -+                };
> -+        };
> -+
> -+        fragment at 1 {
> -+                target = <&gpio>;
> -+                __overlay__ {
> -+                        pitft_pins: pitft_pins {
> -+                                brcm,pins = <25>;
> -+                                brcm,function = <1>; /* out */
> -+                                brcm,pull = <0>; /* none */
> -+                        };
> -+                };
> -+        };
> -+
> -+        fragment at 2 {
> -+                target = <&spi0>;
> -+                __overlay__ {
> -+                        /* needed to avoid dtc warning */
> -+                        #address-cells = <1>;
> -+                        #size-cells = <0>;
> -+
> -+                        pitft: pitft at 0{
> -+                                compatible = "ilitek,ili9340";
> -+                                reg = <0>;
> -+                                pinctrl-names = "default";
> -+                                pinctrl-0 = <&pitft_pins>;
> -+
> -+                                spi-max-frequency = <32000000>;
> -+                                rotate = <90>;
> -+                                fps = <25>;
> -+                                bgr;
> -+                                buswidth = <8>;
> -+                                dc-gpios = <&gpio 25 0>;
> -+                                debug = <0>;
> -+                        };
> -+
> -+                };
> -+        };
> -+
> -+        __overrides__ {
> -+                speed =   <&pitft>,"spi-max-frequency:0";
> -+                rotate =  <&pitft>,"rotate:0";
> -+                fps =     <&pitft>,"fps:0";
> -+                debug =   <&pitft>,"debug:0";
> -+        };
> -+};
> ---
> -1.9.1
> -
> diff --git a/recipes-kernel/linux/linux-raspberrypi_3.18.bb
> b/recipes-kernel/linux/linux-raspberrypi_3.18.bb
> deleted file mode 100644
> index b16a1d7..0000000
> --- a/recipes-kernel/linux/linux-raspberrypi_3.18.bb
> +++ /dev/null
> @@ -1,15 +0,0 @@
> -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
> -
> -LINUX_VERSION ?= "3.18.16"
> -PV = "${LINUX_VERSION}+git${SRCPV}"
> -
> -SRCREV = "1bb18c8f721ef674a447f3622273f2e2de7a205c"
> -SRC_URI = "git://
> github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.18.y \
> -           file://0001-dts-add-overlay-for-pitft22.patch \
> -          "
> -require linux-raspberrypi.inc
> -
> -# Create missing out of tree 'overlays' directory prior to install step
> -do_compile_prepend() {
> -  mkdir -p ${B}/arch/arm/boot/dts/overlays
> -}
> --
> 2.1.4
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160529/11db2132/attachment.html>


More information about the yocto mailing list