u-boot-nyan-4gb: drop in favor of depthcharge (MR 4294)
This commit is contained in:
parent
3fe3531f47
commit
ae1fffe8c0
4 changed files with 0 additions and 129 deletions
|
@ -1,59 +0,0 @@
|
|||
# Maintainer: Jenneron <jenneron@protonmail.com>
|
||||
# Co-Maintainer: Segfault <awarnecke002@hotmail.com>
|
||||
pkgname=u-boot-nyan-4gb
|
||||
pkgver=2022.04
|
||||
pkgrel=0
|
||||
pkgdesc="U-Boot for Nyan Chromebooks"
|
||||
url="https://www.denx.de/wiki/U-Boot/"
|
||||
arch="armv7"
|
||||
license="GPL-2.0-or-later OFL-1.1 BSD-2-Clause BSD-3-Clause eCos-2.0 IBM-pibs
|
||||
ISC LGPL-2.0-only LGPL-2.1-only X11"
|
||||
options="!check" # no tests in upstream
|
||||
makedepends="$depends_dev bc dtc python3-dev swig bison flex openssl-dev
|
||||
py3-setuptools linux-headers u-boot-tools vboot-utils"
|
||||
source="
|
||||
https://ftp.denx.de/pub/u-boot/u-boot-${pkgver//_/-}.tar.bz2
|
||||
fix-stdin.patch
|
||||
lpae-and-spectre-mitigation.patch
|
||||
chromebook_nyan.its
|
||||
"
|
||||
|
||||
builddir="$srcdir"/u-boot-${pkgver//_/-}
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
}
|
||||
|
||||
build() {
|
||||
make nyan-big_defconfig
|
||||
make
|
||||
|
||||
cp "$srcdir"/chromebook_nyan.its ./
|
||||
mkimage -f chromebook_nyan.its u-boot-dtb.img
|
||||
|
||||
echo -e "\n" > dummy_config
|
||||
echo -e "\n" > dummy_bootloader
|
||||
|
||||
vbutil_kernel \
|
||||
--pack u-boot-dtb.img.kpart \
|
||||
--keyblock /usr/share/vboot/devkeys/kernel.keyblock \
|
||||
--signprivate /usr/share/vboot/devkeys/kernel_data_key.vbprivk \
|
||||
--version 1 \
|
||||
--arch arm \
|
||||
--config dummy_config \
|
||||
--bootloader dummy_bootloader \
|
||||
--vmlinuz u-boot-dtb.img
|
||||
}
|
||||
|
||||
package() {
|
||||
install -D -m644 "$builddir"/u-boot-dtb.img.kpart \
|
||||
"$pkgdir"/usr/share/u-boot/google-nyan-big/u-boot-dtb.img.kpart
|
||||
ln -s google-nyan-big "$pkgdir"/usr/share/u-boot/google-nyan-blaze
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
113056e542db049eea3b1d1ccbbe52c79539a2f9bb6129d284ec9200dcffec7bd5969821913a9899631575b80991c84ad01bc845b4bba614e42e54466d9f0d64 u-boot-2022.04.tar.bz2
|
||||
188f0ac86e2b180c006e31860e1518fde61f393152d94923e9d9d96eeb826c0af0c95ebe9b3a832161181dc0f8d998e203e82317f938e205bfe006012221bfe4 fix-stdin.patch
|
||||
ee393d358f9b7ab79d2acce3cfe07ebbc1ba2cb99d7d377ee737e5bee4b42048b57897a5408ea4f23ef6266231185f3935174d1e8e976abe6bdfc1cff1fcbf5b lpae-and-spectre-mitigation.patch
|
||||
814153b0a0d6c63bff52d5f8e632f7a6083e0aa486dbcbb0c15e4edd570381a7ab2b7ef501bc35c74fee738e60534a501c8e06047cf1ef52af1ad1f3cf2e2b46 chromebook_nyan.its
|
||||
"
|
|
@ -1,42 +0,0 @@
|
|||
/dts-v1/;
|
||||
|
||||
/ {
|
||||
description = "U-Boot mainline";
|
||||
#address-cells = <1>;
|
||||
|
||||
images {
|
||||
kernel {
|
||||
description = "U-Boot mainline ";
|
||||
type = "kernel_noload";
|
||||
arch = "arm";
|
||||
os = "linux";
|
||||
data = /incbin/("./u-boot.bin");
|
||||
compression = "none";
|
||||
load = <0>;
|
||||
entry = <0>;
|
||||
hash-2 {
|
||||
algo = "sha1";
|
||||
};
|
||||
};
|
||||
|
||||
fdt-1{
|
||||
description = "tegra124-nyan-big.dtb";
|
||||
data = /incbin/("./u-boot.dtb");
|
||||
type = "flat_dt";
|
||||
arch = "arm";
|
||||
compression = "none";
|
||||
hash-1{
|
||||
algo = "sha1";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
configurations {
|
||||
default = "config-1";
|
||||
config-1 {
|
||||
description = "Boot U-Boot";
|
||||
kernel = "kernel";
|
||||
fdt = "fdt-1";
|
||||
};
|
||||
};
|
||||
};
|
|
@ -1,15 +0,0 @@
|
|||
From: hexdump <hexdump0815@googlemail.com>
|
||||
|
||||
diff --git a/include/configs/tegra-common-post.h b/include/configs/tegra-common-post.h
|
||||
index e54428ba43..ea9d5feb51 100644
|
||||
--- a/include/configs/tegra-common-post.h
|
||||
+++ b/include/configs/tegra-common-post.h
|
||||
@@ -64,7 +64,7 @@
|
||||
#endif
|
||||
|
||||
#define TEGRA_DEVICE_SETTINGS \
|
||||
- "stdin=serial" STDIN_KBD_KBC STDIN_KBD_USB STDOUT_CROS_EC "\0" \
|
||||
+ "stdin=cros-ec-keyb" "\0" \
|
||||
"stdout=serial" STDOUT_LCD STDOUT_VIDEO "\0" \
|
||||
"stderr=serial" STDOUT_LCD STDOUT_VIDEO "\0" \
|
||||
""
|
|
@ -1,13 +0,0 @@
|
|||
From: hexdump <hexdump0815@googlemail.com>
|
||||
|
||||
diff --git a/configs/nyan-big_defconfig b/configs/nyan-big_defconfig
|
||||
index 34a48af5ba..32175858cd 100644
|
||||
--- a/configs/nyan-big_defconfig
|
||||
+++ b/configs/nyan-big_defconfig
|
||||
@@ -91,3 +91,6 @@ CONFIG_VIDEO_BRIDGE=y
|
||||
CONFIG_CMD_DHRYSTONE=y
|
||||
CONFIG_TPM=y
|
||||
CONFIG_ERRNO_STR=y
|
||||
+CONFIG_ARMV7_LPAE=y
|
||||
+CONFIG_PHYS_64BIT=y
|
||||
+CONFIG_ARM_CORTEX_A15_CVE_2017_5715=y
|
Loading…
Reference in a new issue