riscv-images/Makefile

31 lines
723 B
Makefile

all:
git lfs track
git lfs ls-files
init-annex:
git annex init
annex-add:
git annex add VisionFive2/starfive-jh7110-VF2-VF2_515_v2.3.0-55.img.bz2
init-lfs:
git lfs install
git lfs track "*.img"
git lfs track "*.img.gz"
git lfs track "*.img.bz2"
git add .gitattributes
git config lfs.https://git.wit.org/riscv/riscv-images.git/info/lfs.locksverify true
add-first-image:
git add VisionFive2/starfive-jh7110-VF2_515_v2.5.0-69.img.bz2
git commit -a
single-file:
git lfs pull --include="model_00013-of-00072.safetensors"
fdisk:
fdisk -l VisionFive2/starfive-jh7110-VF2-VF2_515_v2.3.0-55.img
dd-sda:
dd bs=10M status=progress oflag=dsync of=/dev/sda if=VisionFive2/starfive-jh7110-VF2-VF2_515_v2.3.0-55.img