[PATCH boot script generator] Run tftpboot not tftp for network downloads

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

 



From: Stephen Warren <swarren@xxxxxxxxxx>

"tftp" only works because it's an abbreviation of "tftpboot", and is
unique within the typical set of enabled commands on Tegra devices. Fix
the script to use the full command name "tftpboot" so that it works
even when other TFTP-related commands (such as tftpput) are enabled.

Signed-off-by: Stephen Warren <swarren@xxxxxxxxxx>
---
I'll apply this immediately.

 gen-uboot-script.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gen-uboot-script.py b/gen-uboot-script.py
index 46847e50834a..a60aed0d598f 100755
--- a/gen-uboot-script.py
+++ b/gen-uboot-script.py
@@ -103,7 +103,7 @@ else:
 
 if args.type == 'net':
     f.write('dhcp\n')
-    load='tftp'
+    load='tftpboot'
     prefix=''
 else:
     load='load ${devtype} ${devnum}:${rootpart}'
-- 
1.8.1.5

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux