[PATCH v1 7/8] arm: total_compute: Support Debian boot

Leo Yan leo.yan at arm.com
Fri Oct 25 19:18:20 CEST 2024


Add booting option for Debian system.

Signed-off-by: Leo Yan <leo.yan at arm.com>
---
 board/armltd/total_compute/total_compute.env | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/board/armltd/total_compute/total_compute.env b/board/armltd/total_compute/total_compute.env
index 93460aa5dc..7924632678 100644
--- a/board/armltd/total_compute/total_compute.env
+++ b/board/armltd/total_compute/total_compute.env
@@ -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.';
-- 
2.34.1



More information about the U-Boot mailing list