aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlberto Bursi <bobafetthotmail@gmail.com>2020-05-22 18:49:15 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2020-06-27 00:19:13 +0200
commit930f3c014821df423507c878415c7fb4910a454d (patch)
tree6faf42f5b877885b80d90d163248293e43f06a88
parent9c85153b8776aee8050b0c80b53525ac38af8653 (diff)
downloadupstream-930f3c014821df423507c878415c7fb4910a454d.tar.gz
upstream-930f3c014821df423507c878415c7fb4910a454d.tar.bz2
upstream-930f3c014821df423507c878415c7fb4910a454d.zip
uboot-kirkwood: enable sata in nsa310 uboot
the uboot of nsa310 cannot use the network chip as it is a realtek on the PCIe lanes and not a Marvell ethernet from the SoC. Therefore tftp is not possible on this device and the only way to install is by loading files from a USB drive. If the USB subsystem is dead there is no way to install OpenWrt. Enable sata support and commands so it can be used as a fallback in case of USB issues. Signed-off-by: Alberto Bursi <bobafetthotmail@gmail.com>
-rw-r--r--package/boot/uboot-kirkwood/patches/007-nsa310-uboot-generic.patch4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/boot/uboot-kirkwood/patches/007-nsa310-uboot-generic.patch b/package/boot/uboot-kirkwood/patches/007-nsa310-uboot-generic.patch
index 09dc587bf7..eea561fab8 100644
--- a/package/boot/uboot-kirkwood/patches/007-nsa310-uboot-generic.patch
+++ b/package/boot/uboot-kirkwood/patches/007-nsa310-uboot-generic.patch
@@ -505,7 +505,7 @@ NOTE: this patch is ready for upstream, LEDE-specific parts are in
+#endif /* __NSA310_H */
--- /dev/null
+++ b/configs/nsa310_defconfig
-@@ -0,0 +1,48 @@
+@@ -0,0 +1,50 @@
+CONFIG_ARM=y
+CONFIG_SYS_DCACHE_OFF=y
+CONFIG_ARCH_CPU_INIT=y
@@ -554,6 +554,8 @@ NOTE: this patch is ready for upstream, LEDE-specific parts are in
+CONFIG_LZMA=y
+CONFIG_LZO=y
+CONFIG_SYS_LONGHELP=y
++CONFIG_SATA_MV=y
++CONFIG_CMD_IDE=y
--- /dev/null
+++ b/include/configs/nsa310.h
@@ -0,0 +1,103 @@