[U-Boot] [PATCH 1/2] ARM: tegra: fix extlinux.conf search location

Stephen Warren swarren at wwwdotorg.org
Thu Jun 19 18:52:58 CEST 2014


From: Stephen Warren <swarren at nvidia.com>

extlinux.conf is stored in /boot/extlinux/extlinux.conf rather than
/boot/extlinux.conf. Adjust Tegra's default boot scripts to use the
correct location. This change aligns Tegra's boot scripts with rpi_b.h
and also the location that the Fedora installer actually puts the file.

Signed-off-by: Stephen Warren <swarren at nvidia.com>
---
 include/configs/tegra-common-post.h | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/include/configs/tegra-common-post.h b/include/configs/tegra-common-post.h
index 76dad4e88cd9..8cfc17a93c74 100644
--- a/include/configs/tegra-common-post.h
+++ b/include/configs/tegra-common-post.h
@@ -101,13 +101,12 @@
 	\
 	"do_sysboot_boot="                                                \
 		"sysboot ${devtype} ${devnum}:${rootpart} any "           \
-			"${scriptaddr} ${prefix}extlinux.conf\0"          \
+			"${scriptaddr} ${prefix}extlinux/extlinux.conf\0" \
 	\
 	"sysboot_boot="                                                   \
 		"if test -e ${devtype} ${devnum}:${rootpart} "            \
-				"${prefix}extlinux.conf; then "           \
-			"echo Found extlinux config "                     \
-				"${prefix}extlinux.conf; "                \
+				"${prefix}extlinux/extlinux.conf; then "  \
+			"echo Found ${prefix}extlinux/extlinux.conf; "    \
 			"run do_sysboot_boot; "                           \
 			"echo SCRIPT FAILED: continuing...; "             \
 		"fi\0"                                                    \
-- 
1.8.1.5



More information about the U-Boot mailing list