Skip to content

Commit

Permalink
uboot-kirkwood: enable sata in nsa310 uboot
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
bobafetthotmail authored and hauke committed Jun 26, 2020
1 parent 9c85153 commit 930f3c0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 @@
Expand Down

0 comments on commit 930f3c0

Please sign in to comment.