Source-Changes-HG archive

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

[src/trunk]: src/distrib/utils/embedded/files Enable automatic booting on teg...



details:   https://anonhg.NetBSD.org/src/rev/07e9e96cf7ab
branches:  trunk
changeset: 828838:07e9e96cf7ab
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Jan 06 20:27:31 2018 +0000

description:
Enable automatic booting on tegra210

diffstat:

 distrib/utils/embedded/files/armv7_boot.cmd |  9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r 70341038baac -r 07e9e96cf7ab distrib/utils/embedded/files/armv7_boot.cmd
--- a/distrib/utils/embedded/files/armv7_boot.cmd       Sat Jan 06 16:54:09 2018 +0000
+++ b/distrib/utils/embedded/files/armv7_boot.cmd       Sat Jan 06 20:27:31 2018 +0000
@@ -10,6 +10,15 @@
        setenv mmcpart 1:1
        setenv use_fdt 1
 fi
+if test "${soc}" = "tegra210" ; then
+       setenv kernel netbsd-TEGRA.ub
+       setenv bootargs root=ld0a
+       setenv mmcpart 1:1
+       setenv use_fdt 1
+       setenv fdtfile ${soc}-${board}.dtb
+       # enable PCIe
+       pci enum
+fi
 if test "${board}" = "am335x" ; then
        setenv kernel netbsd-BEAGLEBONE.ub
        setenv mmcpart 0:1



Home | Main Index | Thread Index | Old Index