[U-Boot] [PATCH] jetson-tk1: Set fdtfile environment variable

Andreas Färber afaerber at suse.de
Wed Apr 13 14:48:19 CEST 2016


The 4.5.0 kernel cannot cope with U-Boot's internal device tree, and the
distro boot commands are looking for $fdtfile, so provide it to avoid
having users supply a dumb boot.scr doing a setenv fdtfile ...; boot,
defeating the purpose of generic EFI boot.

Cc: Stephen Warren <swarren at nvidia.com>
Cc: Alexander Graf <agraf at suse.de>
Signed-off-by: Andreas Färber <afaerber at suse.de>
---
 include/configs/jetson-tk1.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/configs/jetson-tk1.h b/include/configs/jetson-tk1.h
index 59dbb20..82a4be4 100644
--- a/include/configs/jetson-tk1.h
+++ b/include/configs/jetson-tk1.h
@@ -63,6 +63,10 @@
 /* General networking support */
 #define CONFIG_CMD_DHCP
 
+#define BOARD_EXTRA_ENV_SETTINGS \
+	"fdtfile=tegra124-jetson-tk1.dtb\0" \
+	""
+
 #include "tegra-common-usb-gadget.h"
 #include "tegra-common-post.h"
 
-- 
2.6.6



More information about the U-Boot mailing list