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 Install RK3328 .dtb files to the...



details:   https://anonhg.NetBSD.org/src/rev/d8bdd4891412
branches:  trunk
changeset: 320013:d8bdd4891412
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Jun 19 15:13:51 2018 +0000

description:
Install RK3328 .dtb files to the correct location

diffstat:

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

diffs (30 lines):

diff -r 9cc990b352e1 -r d8bdd4891412 distrib/utils/embedded/conf/arm64.conf
--- a/distrib/utils/embedded/conf/arm64.conf    Tue Jun 19 15:12:05 2018 +0000
+++ b/distrib/utils/embedded/conf/arm64.conf    Tue Jun 19 15:13:51 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: arm64.conf,v 1.1 2018/04/01 04:35:02 ryo Exp $
+# $NetBSD: arm64.conf,v 1.2 2018/06/19 15:13:51 jmcneill Exp $
 # ARM64 customization script used by mkimage
 #
 board=arm64
@@ -40,6 +40,12 @@
        mv "${mnt}"/boot/sun50i-*.dtb "${mnt}/boot/dtb/allwinner/"
 }
 
+populate_rockchip() {
+       # U-Boot expects 64-bit DTB files to live in a rockchip/ subdirectory
+       mkdir -p "${mnt}/boot/dtb/rockchip"
+       mv "${mnt}"/boot/rk3328-*.dtb "${mnt}/boot/dtb/rockchip/"
+}
+
 populate_rpi() {
        firmwaredir="${src}/external/broadcom/rpi-firmware/dist"
        firmwarefiles="LICENCE.broadcom bootcode.bin fixup.dat fixup_cd.dat start.elf start_cd.elf"
@@ -107,6 +113,7 @@
        # SoC specific configuration
        populate_allwinner
        populate_nvidia
+       populate_rockchip
 
        # Board specific configuration
        populate_rpi



Home | Main Index | Thread Index | Old Index