u-boot-litecell15: Use more generic name as default rootfs file for TFTP
This commit is contained in:
parent
65c87d407a
commit
bf6af59cf4
|
@ -1,4 +1,4 @@
|
||||||
From 18de7878e95d0c4fe7afcda22fa69b11c170c185 Mon Sep 17 00:00:00 2001
|
From 83a428ec10bb58df55b139e628096ccbb8249634 Mon Sep 17 00:00:00 2001
|
||||||
From: Pau Espin Pedrol <pespin@sysmocom.de>
|
From: Pau Espin Pedrol <pespin@sysmocom.de>
|
||||||
Date: Fri, 28 Jul 2017 12:12:05 +0200
|
Date: Fri, 28 Jul 2017 12:12:05 +0200
|
||||||
Subject: [PATCH] Add sysmocom specific tweaks
|
Subject: [PATCH] Add sysmocom specific tweaks
|
||||||
|
@ -23,7 +23,7 @@ index c4e21452df..369f2c55a1 100644
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
diff --git a/include/configs/litecell15.h b/include/configs/litecell15.h
|
diff --git a/include/configs/litecell15.h b/include/configs/litecell15.h
|
||||||
index bb6629a3ce..fd270a76f4 100644
|
index bb6629a3ce..275d8fab29 100644
|
||||||
--- a/include/configs/litecell15.h
|
--- a/include/configs/litecell15.h
|
||||||
+++ b/include/configs/litecell15.h
|
+++ b/include/configs/litecell15.h
|
||||||
@@ -81,13 +81,19 @@
|
@@ -81,13 +81,19 @@
|
||||||
|
@ -72,7 +72,7 @@ index bb6629a3ce..fd270a76f4 100644
|
||||||
+ "setenv autoload no; " \
|
+ "setenv autoload no; " \
|
||||||
+ "dhcp; " \
|
+ "dhcp; " \
|
||||||
+ "setenv filesize 0; " \
|
+ "setenv filesize 0; " \
|
||||||
+ "if tftp ${loadaddr} sysmocom-nitb-image-sysmobts2100.tar.gz.img; then " \
|
+ "if tftp ${loadaddr} rootfs-sysmobts2100.img; then " \
|
||||||
+ "setexpr fs ${filesize} + 0x1ff; " \
|
+ "setexpr fs ${filesize} + 0x1ff; " \
|
||||||
+ "setexpr fs ${fs} / 0x200; " \
|
+ "setexpr fs ${fs} / 0x200; " \
|
||||||
+ "mmc write ${fileaddr} 0x0001f000 ${fs}; " \
|
+ "mmc write ${fileaddr} 0x0001f000 ${fs}; " \
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
IMGTAR=${1:-sysmocom-nitb-image-sysmobts2100.tar.gz}
|
IMGTAR=${1:-sysmocom-core-image-sysmobts2100.tar.gz}
|
||||||
|
|
||||||
if [ ! -f "${IMGTAR}" ]; then
|
if [ ! -f "${IMGTAR}" ]; then
|
||||||
echo "file ${IMGTAR} not found, exit"
|
echo "file ${IMGTAR} not found, exit"
|
||||||
|
|
Loading…
Reference in New Issue