Commit 72638b02f4c380879b0f90b67bcb8d1081dd2eab

Authored by Stephen Warren
Committed by Tom Warren
1 parent 99dd16c60c

ARM: tegra: fix extlinux.conf search location

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@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>

Showing 1 changed file with 3 additions and 4 deletions Side-by-side Diff

include/configs/tegra-common-post.h
... ... @@ -101,13 +101,12 @@
101 101 \
102 102 "do_sysboot_boot=" \
103 103 "sysboot ${devtype} ${devnum}:${rootpart} any " \
104   - "${scriptaddr} ${prefix}extlinux.conf\0" \
  104 + "${scriptaddr} ${prefix}extlinux/extlinux.conf\0" \
105 105 \
106 106 "sysboot_boot=" \
107 107 "if test -e ${devtype} ${devnum}:${rootpart} " \
108   - "${prefix}extlinux.conf; then " \
109   - "echo Found extlinux config " \
110   - "${prefix}extlinux.conf; " \
  108 + "${prefix}extlinux/extlinux.conf; then " \
  109 + "echo Found ${prefix}extlinux/extlinux.conf; " \
111 110 "run do_sysboot_boot; " \
112 111 "echo SCRIPT FAILED: continuing...; " \
113 112 "fi\0" \