shithub: n900

Download patch

ref: a8ce3285eaca48807171ea5822f40634f7600687
parent: d93edcf773cf571173e24867e186cecef3b98af8
author: mia soweli <[email protected]>
date: Wed Aug 30 11:21:52 EDT 2023

boot: add u-boot scripts

diff: cannot open b/sys/src/boot/n900//null: file does not exist: 'b/sys/src/boot/n900//null' diff: cannot open b/sys/src/boot//null: file does not exist: 'b/sys/src/boot//null'
--- /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