summaryrefslogtreecommitdiffstats
path: root/target/linux/archs38/image/uEnv.txt
diff options
context:
space:
mode:
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>2016-08-16 14:49:20 +0300
committerJohn Crispin <john@phrozen.org>2016-08-16 12:20:32 +0200
commitdf4f41261cf9da3cb1681c7495c51badfe1d999c (patch)
treed421e8421425578f72c487d21256c2967f1f5e88 /target/linux/archs38/image/uEnv.txt
parent7abf9eda8a60ab2c730fc2807a2047ee19280e31 (diff)
downloadmaster-31e0f0ae-df4f41261cf9da3cb1681c7495c51badfe1d999c.tar.gz
master-31e0f0ae-df4f41261cf9da3cb1681c7495c51badfe1d999c.tar.bz2
master-31e0f0ae-df4f41261cf9da3cb1681c7495c51badfe1d999c.zip
archs38: Introduce images for SD-cards
Historically on ARC we started from initramfs-based images because: a) It was much easier to debug especially when toolchain and other components were changing quite dynamically b) It was our usual approach for embedded Linux But now with ARC port of Lede/OpenWRT getting more stable and mature we're ready for more real-life scenarios with FS permanently stored on SD-card. This essentially benefits from ability to setup devices that survive reboots with all settings and extra packages kept in place. Still we keep an ability to build images with initramfs. This allows us to use storage-less simulators for testing still. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/archs38/image/uEnv.txt')
-rw-r--r--target/linux/archs38/image/uEnv.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/archs38/image/uEnv.txt b/target/linux/archs38/image/uEnv.txt
new file mode 100644
index 0000000000..35549cb1c4
--- /dev/null
+++ b/target/linux/archs38/image/uEnv.txt
@@ -0,0 +1,7 @@
+setenv kernel_addr_r 0x82000000
+setenv fdt_addr_r 0x83000000
+setenv loadkernel fatload mmc 0 \$(kernel_addr_r) uImage
+setenv loaddtb fatload mmc 0 \$(fdt_addr_r) \$(dts)
+setenv bootargs earlycon=uart8250,mmio32,0xe0022000,115200n8 console=ttyS3,115200n8 root=/dev/mmcblk0p2 rootwait print-fatal-signals=1
+setenv uenvcmd run loadkernel\; run loaddtb\; bootm \$(kernel_addr_r) - \$(fdt_addr_r)
+run uenvcmd