aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-sifiveu/uEnv-default.txt
diff options
context:
space:
mode:
authorZoltan HERPAI <wigyori@uid0.hu>2020-01-26 23:46:18 +0100
committerZoltan HERPAI <wigyori@uid0.hu>2023-06-14 09:22:08 +0200
commita11f2e6044394bdc18cdb564ae0326d7332db5ac (patch)
tree17720b875d4666e02e8a5a53d9994ea402452c89 /package/boot/uboot-sifiveu/uEnv-default.txt
parent0f30f47d61815ad77934693456226076f6e40a49 (diff)
downloadupstream-a11f2e6044394bdc18cdb564ae0326d7332db5ac.tar.gz
upstream-a11f2e6044394bdc18cdb564ae0326d7332db5ac.tar.bz2
upstream-a11f2e6044394bdc18cdb564ae0326d7332db5ac.zip
uboot-sifiveu: add bootloader package for SiFive Ux40 boards
Add new package for building bootloader for the SiFive U-series boards. Supported boards at this stage are the HiFive Unleashed and HiFive Unmatched. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> (cherry picked from commit 91406797f9d06c0008f0a8c2c8455abfb37bf28c)
Diffstat (limited to 'package/boot/uboot-sifiveu/uEnv-default.txt')
-rw-r--r--package/boot/uboot-sifiveu/uEnv-default.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/boot/uboot-sifiveu/uEnv-default.txt b/package/boot/uboot-sifiveu/uEnv-default.txt
new file mode 100644
index 0000000000..8468a3cace
--- /dev/null
+++ b/package/boot/uboot-sifiveu/uEnv-default.txt
@@ -0,0 +1,5 @@
+setenv loadkernel fatload mmc 0:3 \$kernel_addr_r Image
+setenv loaddtb fatload mmc 0:3 \$fdt_addr_r dtb
+setenv bootargs console=ttySIF0,115200 earlycon=sbi root=/dev/mmcblk0p4 rootwait
+setenv uenvcmd run loadkernel \&\& run loaddtb \&\& booti \$kernel_addr_r - \$fdt_addr_r
+run uenvcmd