Skip to contentSkip to conversation

veyron-speedy: remove machine

PATCH New Trevor Woerner 1 participant 2 messages Feb 12, 2020 Arm Rockchip

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 veyron-speedy: remove machine

This MACHINE hasn't built successfully in a long time, mostly because of the vendor kernel. Remove it, and everything associated with it (that isn't used anywhere else).

---
 README                                        |    4 +-
 classes/rockchip-update-img.bbclass           |   64 -
 conf/layer.conf                               |    1 -
 conf/machine/veyron-speedy.conf               |   20 -
 licenses/Chromium                             |   27 -
 .../brcm-patchram-plus_git.bb                 |   26 -
 .../rockchip-bootloader_2.13.bb               |   30 -
 recipes-core/images/rockchip-basic-image.bb   |   12 -
 recipes-devtools/net-kexec/files/net-kexec.sh |   27 -
 recipes-devtools/net-kexec/net-kexec_1.0.bb   |   20 -
 .../linux-firmware-bcm-veyron.bb              |   27 -
 .../99-veyron-brcm.rules                      |    1 -
 .../brcmfmac4354-sdio.txt                     |  155 -
 .../0001-add-support-for-gcc7.patch           |   86 -
 .../0001-use-chromiumos-mwifiex-drivers.patch |   30 -
 ...reate-AP-and-P2P-interfaces-upon-dri.patch |   63 -
 ...kchip-add-handler-for-usb-uart-funct.patch |  306 --
 ...fix-brcmfmac-oops-and-race-condition.patch |  114 -
 recipes-kernel/linux/linux-veyron/defconfig   | 4483 -----------------
 recipes-kernel/linux/linux-veyron_3.14.0.bb   |   28 -
 .../vboot-utils/vboot-utils-native_43.6946.bb |   25 -
 ...initialized-variable-val-in-function.patch |   27 -
 ...ning-treated-as-error-about-uninitia.patch |   34 -
 23 files changed, 1 insertion(+), 5609 deletions(-)
 delete mode 100644 classes/rockchip-update-img.bbclass
 delete mode 100644 conf/machine/veyron-speedy.conf
 delete mode 100644 licenses/Chromium
 delete mode 100644 recipes-bsp/brcm-patchram-plus/brcm-patchram-plus_git.bb
 delete mode 100644 recipes-bsp/rockchip-bootloader/rockchip-bootloader_2.13.bb
 delete mode 100644 recipes-core/images/rockchip-basic-image.bb
 delete mode 100644 recipes-devtools/net-kexec/files/net-kexec.sh
 delete mode 100644 recipes-devtools/net-kexec/net-kexec_1.0.bb
 delete mode 100644 recipes-kernel/linux-firmware-bcm-veyron/linux-firmware-bcm-veyron.bb
 delete mode 100644 recipes-kernel/linux-firmware-bcm-veyron/linux-firmware-bcm-veyron/99-veyron-brcm.rules
 delete mode 100644 recipes-kernel/linux-firmware-bcm-veyron/linux-firmware-bcm-veyron/brcmfmac4354-sdio.txt
 delete mode 100644 recipes-kernel/linux/linux-veyron/0001-add-support-for-gcc7.patch
 delete mode 100644 recipes-kernel/linux/linux-veyron/0001-use-chromiumos-mwifiex-drivers.patch
 delete mode 100644 recipes-kernel/linux/linux-veyron/0002-mwifiex-do-not-create-AP-and-P2P-interfaces-upon-dri.patch
 delete mode 100644 recipes-kernel/linux/linux-veyron/0003-UPSTREAM-soc-rockchip-add-handler-for-usb-uart-funct.patch
 delete mode 100644 recipes-kernel/linux/linux-veyron/0004-fix-brcmfmac-oops-and-race-condition.patch
 delete mode 100644 recipes-kernel/linux/linux-veyron/defconfig
 delete mode 100644 recipes-kernel/linux/linux-veyron_3.14.0.bb
 delete mode 100644 recipes-support/vboot-utils/vboot-utils-native_43.6946.bb
 delete mode 100644 recipes-support/vboot-utils/vboot-utils/0001-host_misc-Fix-uninitialized-variable-val-in-function.patch
 delete mode 100644 recipes-support/vboot-utils/vboot-utils/0002-futility-fix-warning-treated-as-error-about-uninitia.patch
README +1 -3
index d7a42fe..a97b89e 100644
@@ -13,7 +13,7 @@ Dependencies:
 
 Status of supported boards:
 --------------------------
-	builds and boots gpt image:
+	builds and boots wic image:
 		rock-pi-4
 		tinker-board
 		tinker-board-s
@@ -23,8 +23,6 @@ Status of supported boards:
 		marsboard-rk3066
 		radxarock
 		rock2-square
-	doesn't build:
-		veyron-speedy
 
 Maintenance:
 -----------
classes/rockchip-update-img.bbclass deleted +0 -64

64 lines not on this page · raw message

conf/layer.conf +0 -1
index f2cf469..851fea5 100644
@@ -16,4 +16,3 @@ BBFILE_PRIORITY_rockchip = "1"
 LAYERVERSION_rockchip = "1"
 LAYERSERIES_COMPAT_rockchip = "zeus"
 LAYERDEPENDS_rockchip = "core"
-LICENSE_PATH += "${LAYERDIR}/licenses"
conf/machine/veyron-speedy.conf deleted +0 -20
deleted file mode 100644
index 3d857a0..0000000
@@ -1,20 +0,0 @@
-# Copyright (C) 2015 Romain Perier
-# Released under the MIT license (see COPYING.MIT for the terms)
-
-#@TYPE: Machine
-#@NAME: RK3288 Speedy
-#@DESCRIPTION: Google Veyron Speedy Rev 1+ board (formally known as Chromebook Asus C201)
-#https://www.google.com/chromebook/find/#?device=asus-chromebook-c201
-
-require conf/machine/include/rk3288.inc
-
-KERNEL_DEVICETREE = "rk3288-speedy.dtb"
-MACHINE_EXTRA_RDEPENDS = "linux-firmware-bcm4354 linux-firmware-bcm-veyron kernel-module-brcmfmac kernel-module-cros-ec-accel kernel-module-btbcm kernel-module-hci-uart"
-PREFERRED_PROVIDER_virtual/kernel = "linux-veyron"
-
-XSERVER = " xserver-xorg \
-	    xf86-input-evdev \
-	    xf86-input-synaptics \
-	    xf86-input-keyboard"
-
-UBOOT_MACHINE = "chromebook_minnie_defconfig"
licenses/Chromium deleted +0 -27
deleted file mode 100644
index d251496..0000000
@@ -1,27 +0,0 @@
-// Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
-//
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//    * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//    * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//    * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
recipes-bsp/brcm-patchram-plus/brcm-patchram-plus_git.bb deleted +0 -26
deleted file mode 100644
index 67ba7e4..0000000
@@ -1,26 +0,0 @@
-# Copyright (C) 2015 Romain Perier <[email protected]>
-# Released under the MIT license (see COPYING.MIT for the terms)
-
-inherit base
-
-DESCRIPTION = "Chromium OS Broadcom patchram utility"
-HOMEPAGE = "https://chromium.googlesource.com/chromiumos/third_party/broadcom/"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://${S}/LICENSE.broadcom;md5=4ff9e0bf45dfdad0b7756c07b65ed24a"
-S = "${WORKDIR}/git/bluetooth"
-SECTION = "console/utils"
-
-DEPENDS = "bluez5"
-PR = "r1"
-PV = "git+4070e71"
-
-SRCREV = "4070e7161f2f1a1a22027a744eb868500688f0b6"
-SRC_URI = "git://chromium.googlesource.com/chromiumos/third_party/broadcom;protocol=http;branch=master"
-
-FILES_${PN} = "/usr/bin/*"
-
-do_install_append() {
-	install -d ${D}/usr/bin
-	install -m 755 brcm_patchram_plus ${D}/usr/bin 
-}
-
recipes-bsp/rockchip-bootloader/rockchip-bootloader_2.13.bb deleted +0 -30
deleted file mode 100644
index 35c14a0..0000000
@@ -1,30 +0,0 @@
-# Copyright (C) 2014 NEO-Technologies
-# Released under the MIT license (see COPYING.MIT for the terms)
-
-SUMMARY = "Rockchip bootloader collection"
-SECTION = "bootloaders"
-LICENSE = "CLOSED"
-
-SRC_URI = "git://github.com/neo-technologies/rockchip-bootloader.git"
-SRCREV_pn-${PN} = "${AUTOREV}"
-
-S = "${WORKDIR}/git"
-
-LOADER ?= "RK3188Loader(L)_V2.13.bin"
-
-inherit deploy
-
-do_deploy() {
-    install -d ${DEPLOYDIR}
-    install "${S}/${LOADER}" ${DEPLOYDIR}/loader.bin
-}
-
-addtask deploy before do_build after do_compile
-
-do_package[noexec] = "1"
-do_packagedata[noexec] = "1"
-do_package_write[noexec] = "1"
-do_package_write_ipk[noexec] = "1"
-do_package_write_rpm[noexec] = "1"
-do_package_write_deb[noexec] = "1"
-do_package_write_tar[noexec] = "1"
recipes-core/images/rockchip-basic-image.bb deleted +0 -12
deleted file mode 100644
index 25fb30e..0000000
@@ -1,12 +0,0 @@
-# Copyright (C) 2014 Romain Perier <[email protected]>
-# Released under the MIT license (see COPYING.MIT for the terms)
-
-include recipes-core/images/core-image-minimal.bb
-
-DESCRIPTION = "Basic image for Rockchip devices. This is a small image just \
-capable of allowing a device to boot with packages management, \
-ssh server and development tools."
-IMAGE_FEATURES_append = " package-management ssh-server-dropbear"
-IMAGE_INSTALL_append = " net-kexec "
-
-LICENSE = "MIT"
recipes-devtools/net-kexec/files/net-kexec.sh deleted +0 -27
deleted file mode 100644
index 44983d5..0000000
@@ -1,27 +0,0 @@
-#!/bin/sh
-# Copyright (C) 2014 Romain Perier <[email protected]>
-# Released under the MIT license (see COPYING.MIT for the terms)
-
-GATEWAY=$(route | grep default | sed 's/ [ ]*/:/g' | cut -d ':' -f 2)
-
-fail() {
-    echo $1
-    exit 1
-}
-
-# If we are not already connected, connect eth0 with DHCP
-ifconfig eth0 | grep 'inet addr:[0-9]*\.[0-9]*\.[0-9]*\.[0-9]* ' >/dev/null
-if [ $? -ne 0 ]; then
-    echo "* Starting DHCP on eth0"
-    udhcpc -n -i eth0 || fail "Unable to establish a DHCP session with eth0"
-fi
-
-tftp -g -r zImage $GATEWAY >/dev/null || fail "Unable to get zImage throught TFTP"
-echo "* Found zImage on $TFTP_SERVER"
-echo -n "Do you want to reboot to the new kernel on the fly ? [y/n] "
-read boot
-
-if [ "$boot" = "y" ]; then
-    kexec -l zImage
-    kexec -e
-fi
recipes-devtools/net-kexec/net-kexec_1.0.bb deleted +0 -20
deleted file mode 100644
index 4de0f0a..0000000
@@ -1,20 +0,0 @@
-# Copyright (C) 2014 Romain Perier <[email protected]>
-# Released under the MIT license (see COPYING.MIT for the terms)
-
-SUMMARY = "Extremely basic script to kexec over the network"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
-SRC_URI = "file://net-kexec.sh"
-
-PR = "r1"
-
-RDEPENDS_${PN} += "kexec"
-
-do_install() {
-        install -d ${D}/sbin
-        install -m 0755 ${WORKDIR}/net-kexec.sh ${D}/sbin/net-kexec
-}
-
-inherit allarch
-
-FILES_${PN} += "/sbin/net-kexec"
recipes-kernel/linux-firmware-bcm-veyron/linux-firmware-bcm-veyron.bb deleted +0 -27
deleted file mode 100644
index 5b644a4..0000000
@@ -1,27 +0,0 @@
-# Copyright (C) 2015 Romain Perier <[email protected]>
-# Released under the MIT license (see COPYING.MIT for the terms)
-
-inherit allarch
-
-DESCRIPTION = "Firmware and system files for Broadcom BCM4354 to be used with Linux kernel"
-LICENSE = "CLOSED"
-PR = "r1"
-PV = "003.001.012.0306.0659"
-SECTION = "kernel"
-
-RDEPENDS_${PN} = "brcm-patchram-plus"
-
-SRC_URI = "http://archlinuxarm.org/builder/src/veyron/BCM4354_003.001.012.0306.0659.hcd \
-	file://brcmfmac4354-sdio.txt \
-	file://99-veyron-brcm.rules \
-"
-SRC_URI[md5sum] = "20f8931f3795e5226829d48c3d470334"
-SRC_URI[sha256sum] = "45c04797a769bae3b6c73a88a2a2d5b812581f9e0b11e9f030aef8513b305995"
-
-FILES_${PN} = "/lib/firmware/brcm/* /lib/udev/rules.d/*"
-
-do_install() {
-	install -d ${D}/lib/firmware/brcm ${D}/lib/udev/rules.d
-	install -m 0644 ${WORKDIR}/BCM4354_003.001.012.0306.0659.hcd ${WORKDIR}/brcmfmac4354-sdio.txt ${D}/lib/firmware/brcm
-	install -m 0644 ${WORKDIR}/99-veyron-brcm.rules ${D}/lib/udev/rules.d
-}
recipes-kernel/linux-firmware-bcm-veyron/linux-firmware-bcm-veyron/99-veyron-brcm.rules deleted +0 -1
deleted file mode 100644
index a76eae5..0000000
@@ -1 +0,0 @@
-ACTION=="add", SUBSYSTEM=="sdio", ENV{SDIO_CLASS}=="02", ENV{SDIO_ID}=="02D0:4354", RUN+="/usr/bin/brcm_patchram_plus -d --patchram /lib/firmware/brcm/BCM4354_003.001.012.0306.0659.hcd --no2bytes --enable_hci --enable_lpm --scopcm=1,2,0,1,1,0,0,0,0,0 --baudrate 3000000 --use_baudrate_for_download --tosleep=50000 /dev/ttyS0"
recipes-kernel/linux-firmware-bcm-veyron/linux-firmware-bcm-veyron/brcmfmac4354-sdio.txt deleted +0 -155

155 lines not on this page · raw message

recipes-kernel/linux/linux-veyron/0001-add-support-for-gcc7.patch deleted +0 -86

86 lines not on this page · raw message

recipes-kernel/linux/linux-veyron/0001-use-chromiumos-mwifiex-drivers.patch deleted +0 -30
deleted file mode 100644
index a922f00..0000000
@@ -1,30 +0,0 @@
-From d1f7cbbd8efbc022222d84a697595ba9f6637de0 Mon Sep 17 00:00:00 2001
-From: Kevin Mihelich <[email protected]>
-Date: Thu, 25 Jun 2015 20:35:06 -0600
-Subject: [PATCH 1/4] use chromiumos mwifiex drivers
-
-Signed-off-by: Kevin Mihelich <[email protected]>
----
- drivers/net/wireless-3.8/mwifiex/sdio.h | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/drivers/net/wireless-3.8/mwifiex/sdio.h b/drivers/net/wireless-3.8/mwifiex/sdio.h
-index f9ee413..9686025 100644
---- a/drivers/net/wireless-3.8/mwifiex/sdio.h
-+++ b/drivers/net/wireless-3.8/mwifiex/sdio.h
-@@ -30,9 +30,9 @@
- #include "main.h"
- 
- #define SD8786_DEFAULT_FW_NAME "mrvl/sd8786_uapsta.bin"
--#define SD8787_DEFAULT_FW_NAME "mrvl/sd8787_uapsta.bin"
--#define SD8797_DEFAULT_FW_NAME "mrvl/sd8797_uapsta.bin"
--#define SD8897_DEFAULT_FW_NAME "mrvl/sd8897_uapsta.bin"
-+#define SD8787_DEFAULT_FW_NAME "mrvl/sd8787_uapsta_cros.bin"
-+#define SD8797_DEFAULT_FW_NAME "mrvl/sd8797_uapsta_cros.bin"
-+#define SD8897_DEFAULT_FW_NAME "mrvl/sd8897_uapsta_cros.bin"
- #define SD8887_DEFAULT_FW_NAME "mrvl/sd8887_wlan_a2.bin"
- 
- #define BLOCK_MODE	1
--- 
-2.4.4
-
recipes-kernel/linux/linux-veyron/0002-mwifiex-do-not-create-AP-and-P2P-interfaces-upon-dri.patch deleted +0 -63

63 lines not on this page · raw message

recipes-kernel/linux/linux-veyron/0003-UPSTREAM-soc-rockchip-add-handler-for-usb-uart-funct.patch deleted +0 -306

306 lines not on this page · raw message

recipes-kernel/linux/linux-veyron/0004-fix-brcmfmac-oops-and-race-condition.patch deleted +0 -114

114 lines not on this page · raw message

recipes-kernel/linux/linux-veyron/defconfig deleted +0 -4483

1,972 lines not on this page · raw message

recipes-kernel/linux/linux-veyron_3.14.0.bb deleted +0 -28
deleted file mode 100644
index 96139c5..0000000

Lines of this file are not shown. View the raw message.

recipes-support/vboot-utils/vboot-utils-native_43.6946.bb deleted +0 -25
deleted file mode 100644
index 2d10240..0000000

Lines of this file are not shown. View the raw message.

recipes-support/vboot-utils/vboot-utils/0001-host_misc-Fix-uninitialized-variable-val-in-function.patch deleted +0 -27
deleted file mode 100644
index f1d2fc3..0000000

Lines of this file are not shown. View the raw message.

recipes-support/vboot-utils/vboot-utils/0002-futility-fix-warning-treated-as-error-about-uninitia.patch deleted +0 -34
deleted file mode 100644
index e1e0681..0000000

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.25.0.114.g5b0ca878e0

Part of the diff is not shown here. View the raw message.

#1 lore raw

PATCH 2/2 wic cleanup

Now that we've switched to using wic for image layout, we can remove the unused recipes for proprietary vendor tools.

---
 .../mkbootimg/mkbootimg-native_git.bb         | 24 ----------------
 .../rkflashtool/rkflashtool-native_git.bb     | 28 -------------------
 2 files changed, 52 deletions(-)
 delete mode 100644 recipes-support/mkbootimg/mkbootimg-native_git.bb
 delete mode 100644 recipes-support/rkflashtool/rkflashtool-native_git.bb
recipes-support/mkbootimg/mkbootimg-native_git.bb deleted +0 -24
deleted file mode 100644
index 3d3ea39..0000000
@@ -1,24 +0,0 @@
-# Copyright (C) 2014 Romain Perier <[email protected]>
-# Released under the MIT license (see COPYING.MIT for the terms)
-
-DESCRIPTION = "Tools to create firmware / boot images for Rockchip devices"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://mkbootimg.c;beginline=3;endline=15;md5=b18126d1bbc60ae5dbc31ef949a6f1c3"
-
-DEPENDS += "openssl-native"
-SRC_URI="git://github.com/neo-technologies/rockchip-mkbootimg.git"
-SRCREV = "dcfdea23d8a223ec68f09789ebf38fc8b832e5d6"
-PR = "r1"
-PV = "0.1+git${SRCREV}"
-
-inherit base native
-
-S = "${WORKDIR}/git"
-
-do_compile() {
-    oe_runmake LDFLAGS="$LDFLAGS -lcrypto"
-}
-
-do_install() {
-    oe_runmake PREFIX=${prefix} DESTDIR=${D} install
-}
recipes-support/rkflashtool/rkflashtool-native_git.bb deleted +0 -28
deleted file mode 100644
index fc3e68f..0000000
@@ -1,28 +0,0 @@
-# Copyright (C) 2014 Romain Perier <[email protected]>
-# Released under the MIT license (see COPYING.MIT for the terms)
-
-DESCRIPTION = "Tools for flashing Rockchip devices"
-LICENSE = "ASIS"
-LIC_FILES_CHKSUM = "file://rkcrc.c;beginline=1;endline=25;md5=5c55527c991502a9b86b768674cdcff5"
-
-DEPENDS += "libusb-native"
-SRC_URI="git://github.com/linux-rockchip/rkflashtool.git"
-SRCREV = "${AUTOREV}"
-PR = "r1"
-PV = "0.1+git${SRCREV}"
-
-inherit native
-
-S = "${WORKDIR}/git"
-
-do_compile() {
-    oe_runmake
-}
-
-do_install() {
-    install -d ${D}/${prefix}/bin
-
-    for tool in rkcrc rkflashtool rkmisc rkpad rkparameters rkunpack rkunsign; do
-        install -m 0755 ${S}/${tool} ${D}/${prefix}/bin/${tool}    
-    done
-}
Signature · 1 line
2.25.0.114.g5b0ca878e0