Package: u-boot-amlogic
Version: 2019.01+dfsg-1
Severity: wishlist
Hi,
This board is supported upstream in this version but not embedded in the
package.
Please find attached a patch to add it.
The built u-boot.bin needs some tweaks before flashing it to a SD-card,
similar to odroid-c2 tweaks, documented in
board/amlogic/p212/README.libretech-cc.
Tested with Debian sid and latest unstable arm64 kernel 4.19.0-2-arm64.
Best regards,
Frédéric Danis
>From f8ffc161861332033a7e5b08e5459e4158606f7e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Danis?= <frederic.da...@collabora.com>
Date: Wed, 30 Jan 2019 12:07:03 +0100
Subject: [PATCH] Enable libretech-cc target in u-boot-amlogic
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
---
debian/targets | 3 +++
debian/u-boot-amlogic.install | 1 +
debian/u-boot-amlogic.lintian-overrides | 2 ++
3 files changed, 6 insertions(+)
diff --git a/debian/targets b/debian/targets
index c51af32858..992b0e7cf8 100644
--- a/debian/targets
+++ b/debian/targets
@@ -163,6 +163,9 @@ armhf tegra jetson-tk1 u-boot-tegra.bin
# Vagrant Cascadian <vagr...@debian.org>
arm64 amlogic odroid-c2 u-boot.bin
+# Frederic Danis <frederic.da...@collabora.com>
+arm64 amlogic libretech-cc u-boot.bin
+
# Riku Voipio <riku.voi...@linaro.org>
arm64 qcom dragonboard410c u-boot.bin
arm64 qcom dragonboard820c u-boot.bin
diff --git a/debian/u-boot-amlogic.install b/debian/u-boot-amlogic.install
index 5d79ef7038..515c208097 100755
--- a/debian/u-boot-amlogic.install
+++ b/debian/u-boot-amlogic.install
@@ -1,2 +1,3 @@
#!/bin/sh
debian/bin/u-boot-install-targets amlogic "board/amlogic/odroid-c2/README.odroid-c2"
+debian/bin/u-boot-install-targets amlogic "board/amlogic/p212/README.libretech-cc"
diff --git a/debian/u-boot-amlogic.lintian-overrides b/debian/u-boot-amlogic.lintian-overrides
index 8d66fc4aa4..f49c086412 100644
--- a/debian/u-boot-amlogic.lintian-overrides
+++ b/debian/u-boot-amlogic.lintian-overrides
@@ -4,9 +4,11 @@
# targets could be built on multiple architectures, but could instead install
# the package for the architecture needed.
u-boot-amlogic [arm64]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/odroid-c2/uboot.elf
+u-boot-amlogic [arm64]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/libretech-cc/uboot.elf
# These bootloaders need to be statically linked.
u-boot-amlogic [arm64]: statically-linked-binary usr/lib/u-boot/odroid-c2/uboot.elf
+u-boot-amlogic [arm64]: statically-linked-binary usr/lib/u-boot/libretech-cc/uboot.elf
u-boot-amlogic: description-synopsis-starts-with-article
--
2.18.0