changelog shortlog tags branches changeset file revisions annotate raw help

Mercurial > hg > plan9front / sys/lib/dist/mkfile

revision 7211: b52531f0e5af
parent 7107: 0e435b158257
child 7333: 64a00b5fab8c
     1.1--- a/sys/lib/dist/mkfile
     1.2+++ b/sys/lib/dist/mkfile
     1.3@@ -39,6 +39,7 @@ cd:V:	/tmp/9front.386.iso.gz
     1.4 		echo '[all]'
     1.5 		echo 'gpu_mem=16'
     1.6 		echo 'enable_uart=1'
     1.7+		echo 'boot_delay=1'
     1.8 	}
     1.9 	> /env/cmdline.txt {
    1.10 		echo 'console=0'
    1.11@@ -49,6 +50,30 @@ cd:V:	/tmp/9front.386.iso.gz
    1.12 	mv $target.$pid.disk $target
    1.13 	}
    1.14 
    1.15+%.pi3.img:
    1.16+	@{
    1.17+	objtype=arm64
    1.18+	bootcode=/sys/src/boot/bcm/^(bootcode.bin fixup_cd.dat start_cd.elf LICENCE.broadcom)
    1.19+	kernel=/n/src9/$objtype/9pi3
    1.20+	> /env/config.txt {
    1.21+		echo '[pi3]'
    1.22+		echo 'kernel=9pi3'
    1.23+		echo 'arm_64bit=1'
    1.24+		echo 'core_freq=250'
    1.25+		echo '[all]'
    1.26+		echo 'gpu_mem=16'
    1.27+		echo 'enable_uart=1'
    1.28+		echo 'boot_delay=1'
    1.29+	}
    1.30+	> /env/cmdline.txt {
    1.31+		echo 'console=0'
    1.32+	}
    1.33+	fatfiles=(/env/config.txt /env/cmdline.txt $bootcode $kernel)
    1.34+	mb=1919	# storage vendors idea of 2GB
    1.35+	mk $target.$pid.disk
    1.36+	mv $target.$pid.disk $target
    1.37+	}
    1.38+
    1.39 %.zynq.img:
    1.40 	@{
    1.41 	objtype=arm
    1.42@@ -100,7 +125,7 @@ cd:V:	/tmp/9front.386.iso.gz
    1.43 	disk/partfs -m /n/$s $target
    1.44 	d=/n/$s/sdXX
    1.45 	disk/mbr $d/data
    1.46-	if(~ $target *.pi.img.*){
    1.47+	if(~ $target *.pi.img.* *.pi3.img.*){
    1.48 		{
    1.49 			echo 'a p1 . .+100M'
    1.50 			echo 't p1 FAT32'