Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/utils/embedded/conf Add Amlogic dtb files to arm64.img



details:   https://anonhg.NetBSD.org/src/rev/93959c2917db
branches:  trunk
changeset: 449311:93959c2917db
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Mar 03 11:44:18 2019 +0000

description:
Add Amlogic dtb files to arm64.img

diffstat:

 distrib/utils/embedded/conf/arm64.conf |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 722dc6479b04 -r 93959c2917db distrib/utils/embedded/conf/arm64.conf
--- a/distrib/utils/embedded/conf/arm64.conf    Sun Mar 03 09:26:04 2019 +0000
+++ b/distrib/utils/embedded/conf/arm64.conf    Sun Mar 03 11:44:18 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: arm64.conf,v 1.5 2018/11/30 20:53:02 jmcneill Exp $
+# $NetBSD: arm64.conf,v 1.6 2019/03/03 11:44:18 jmcneill Exp $
 # ARM64 customization script used by mkimage
 #
 board=arm64
@@ -52,6 +52,12 @@
        mv "${mnt}"/boot/sun50i-*.dtb "${mnt}/boot/dtb/allwinner/"
 }
 
+populate_amlogic() {
+       # U-Boot expects 64-bit DTB files to live in an amlogic/ subdirectory
+       mkdir -p "${mnt}/boot/dtb/amlogic"
+       mv "${mnt}"/boot/meson-*.dtb "${mnt}/boot/dtb/amlogic/"
+}
+
 populate_rockchip() {
        # U-Boot expects 64-bit DTB files to live in a rockchip/ subdirectory
        mkdir -p "${mnt}/boot/dtb/rockchip"
@@ -125,6 +131,7 @@
 
        # SoC specific configuration
        populate_allwinner
+       populate_amlogic
        populate_nvidia
        populate_rockchip
 



Home | Main Index | Thread Index | Old Index