summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Schultz <[email protected]>2024-08-30 02:09:34 -0700
committerTom Rini <[email protected]>2024-09-10 13:16:01 -0600
commit11b8fa00953b678fe68de0297c58de5d048159bc (patch)
tree42445c9ad0f5f9b5bf9f101700d0c3c90791e1eb
parenta48cbaeecbfa9ed8e3cd0ec5e1249786d8e4ed5f (diff)
board: phytec: phycore_am64x: Add Network/SPI Boot
Include the boot logic to boot via Network or from a OSPI/QSPI NOR flash. Moreover, set all required variables to both boot methods to the environment. Note: The phyBOARD-Electra AM64x is not able to load the U-Boot via Network. However, it's still possible to load the kernel. Signed-off-by: Daniel Schultz <[email protected]>
-rw-r--r--board/phytec/phycore_am64x/phycore_am64x.env8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/phytec/phycore_am64x/phycore_am64x.env b/board/phytec/phycore_am64x/phycore_am64x.env
index 18f0fa5b4c3..3032b518e0b 100644
--- a/board/phytec/phycore_am64x/phycore_am64x.env
+++ b/board/phytec/phycore_am64x/phycore_am64x.env
@@ -1,4 +1,6 @@
#include <env/phytec/k3_mmc.env>
+#include <env/phytec/k3_net.env>
+#include <env/phytec/k3_spi.env>
fdtaddr=0x88000000
loadaddr=0x82000000
@@ -14,3 +16,9 @@ mmcroot=2
mmcpart=1
console=ttyS2,115200n8
earlycon=ns16550a,mmio32,0x02800000
+
+get_cmd=tftp
+
+spi_fdt_addr=0x700000
+spi_image_addr=0x800000
+spi_ramdisk_addr=0x1e00000