shithub: n900

Download patch

ref: a8ce3285eaca48807171ea5822f40634f7600687
parent: d93edcf773cf571173e24867e186cecef3b98af8
author: mia soweli <inbox@tachibana-labs.org>
date: Wed Aug 30 11:21:52 EDT 2023

boot: add u-boot scripts

--- /dev/null
+++ b/sys/src/boot/n900/boot.txt
@@ -1,0 +1,3 @@
+mw 0x80010000 0x0 0x10000
+${mmctype}load mmc ${mmcnum}:${mmcpart} 0x80010000 plan9.ini
+${mmctype}load mmc ${mmcnum}:${mmcpart} 0x80020000 9n900.u && bootm 0x80020000
--- /dev/null
+++ b/sys/src/boot/n900/mkfile
@@ -1,0 +1,8 @@
+FILES=boot.scr
+
+all:V: $FILES
+clean:V:
+	rm -f $FILES
+
+boot.scr:
+	aux/txt2uimage -o $target $prereq