aboutsummaryrefslogtreecommitdiff
path: root/uboot.txt
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-02-04 18:31:58 +0100
committerlonkaars <loek@pipeframe.xyz>2024-02-04 18:31:58 +0100
commit0c5557c257b36e8456ab5c0d8473e9505534c424 (patch)
treee00a6e34aac332123cba529b7c58c156561adc9a /uboot.txt
parent9a993336835d38600fd740af01af6e68bf9f1af7 (diff)
auto start the linux kernelweek2
Diffstat (limited to 'uboot.txt')
-rw-r--r--uboot.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/uboot.txt b/uboot.txt
new file mode 100644
index 0000000..44f6d3c
--- /dev/null
+++ b/uboot.txt
@@ -0,0 +1,15 @@
+# do not wait for three seconds
+bootdelay=0
+
+# kernel arguments
+bootargs=console=ttyS0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait
+
+# boot command (three commands separated by semicolons):
+# 1. load zImage format kernel at address 0x80008000
+# 2. load device tree at address 0x82000000
+# 3. start the kernel (kernel is in zImage format, so bootz is used here)
+bootcmd=fatload mmc 0:1 0x80008000 zImage ; fatload mmc 0:1 0x82000000 am335x-boneblack.dtb ; bootz 0x80008000 - 0x82000000
+
+# happy editor
+# vim:ft=sh
+