]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: total_compute: Support Debian boot
authorLeo Yan <leo.yan@arm.com>
Fri, 25 Oct 2024 17:18:20 +0000 (18:18 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 4 Nov 2024 20:50:44 +0000 (14:50 -0600)
Add booting option for Debian system.

Signed-off-by: Leo Yan <leo.yan@arm.com>
board/armltd/total_compute/total_compute.env

index 93460aa5dcbe6cc42e4ead4fe6c85e480cf507b2..7924632678e74362513b8b78372c3f5677471ee7 100644 (file)
@@ -31,5 +31,9 @@ bootcmd=
     elif iminfo ${load_addr}; then
         echo 'Booting FIT image...';
         bootm ${load_addr} ${load_addr} ${fdt_addr_r};
+    else;
+        echo 'Booting Debian...';
+        set bootargs $bootargs root=/dev/mmcblk0p1 rw;
+        booti ${kernel_addr_r} - ${fdt_addr_r};
     fi;
     echo 'ERROR: No valid image to boot the system. Aborting boot sequence.';