shithub: riscv

Download patch

ref: 60ec886191b15c638deaee27a161bbe872590e38
parent: f6ef250871c6e92e77ff3d92adb29619b79e280b
author: cinap_lenrek <[email protected]>
date: Sat Aug 24 12:35:03 EDT 2019

/sys/lib/dist/mkfile: adjust 2GB for pi3 and zynq img

--- a/sys/lib/dist/mkfile
+++ b/sys/lib/dist/mkfile
@@ -72,7 +72,7 @@
 		echo 'console=0'
 	}
 	fatfiles=(/env/config.txt /env/cmdline.txt $bootcode $kernel)
-	mb=1919	# storage vendors idea of 2GB
+	mb=1885	# storage vendors idea of 2GB
 	mk $target.$pid.disk
 	mv $target.$pid.disk $target
 	}
@@ -83,7 +83,7 @@
 	kernel=/n/src9/$objtype/9zynq
 	echo 'bootfile='^`{basename $kernel} > /env/plan9.ini
 	fatfiles=(/env/plan9.ini $kernel)
-	mb=1919	# storage vendors idea of 2GB
+	mb=1885	# storage vendors idea of 2GB
 	mk $target.$pid.disk
 	mv $target.$pid.disk $target
 	}