From 0c5557c257b36e8456ab5c0d8473e9505534c424 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sun, 4 Feb 2024 18:31:58 +0100 Subject: auto start the linux kernel --- uboot.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 uboot.txt (limited to 'uboot.txt') 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 + -- cgit v1.2.3