minimal documentation in board config file
This commit is contained in:
parent
928ed03c5f
commit
f4c5f78f7b
@ -1,4 +1,21 @@
|
||||
# Armbian Generic ARM64 image for qemu
|
||||
# Armbian virtual ARM64 image for qemu
|
||||
#
|
||||
# how to use
|
||||
# the resulting cache/sources/u-boot/v22021.04/u-boot.bin will need to be copied.. that is your bios
|
||||
# i recommend converting image to qcow2 adn resize
|
||||
# qemu-img convert -f raw -O qcow2 original.img armbian.qcow2
|
||||
# how to run on linux
|
||||
##!/bin/bash
|
||||
#
|
||||
#export image=armbian.qcow2
|
||||
#smp=4
|
||||
#rams=1000M
|
||||
#bios=u-boot.bin
|
||||
#/usr/bin/qemu-system-aarch64 -name ArmbianVirtualTest -m ${rams} -smp ${smp} -drive file=${image} -nographic -enable-kvm -M virt -cpu host -bios ${bios} -netdev user,id=user.0,hostfwd=udp::31783-:22,hostfwd=tcp::31783-:22 -device virtio-net,netdev=user.0 -machine gic-version=3
|
||||
#
|
||||
#how to run on mac... i'm using utm and making a custom config...
|
||||
#/Applications/UTM.app/Contents/XPCServices/QEMUHelper.xpc/Contents/MacOS/QEMULauncher /Applications/UTM.app/Contents/Frameworks/libqemu-aarch64-softmmu.utm.dylib -L /Applications/UTM.app/Contents/Resources/qemu -S -qmp tcp:127.0.0.1:4000,server,nowait -vga none -spice port=4001,addr=127.0.0.1,disable-ticketing,image-compression=off,playback-compression=off,streaming-video=off -device virtio-ramfb -cpu host -smp cpus=8,sockets=1,cores=8,threads=1 -machine none,highmem=off -accel hvf -accel tcg,tb-size=1024 -boot menu=on -m 4096 -name armbian -usb -device virtio-blk-pci,drive=drive0,bootindex=0 -drive if=none,media=disk,id=drive0,file=/Users/lane/Library/Containers/com.utmapp.UTM/Data/Documents/armbian.utm/Images/armbian.qcow2,cache=writethrough -device virtio-net-device,mac=AE:C6:BD:B0:F1:33,netdev=net0 -netdev user,id=net0 -uuid 3952DB60-A50E-4838-BAAE-BD13C526CC7A -rtc base=localtime -M virt -cpu host -accel hvf -bios u-boot.bin -device virtio-mouse -device virtio-keyboard
|
||||
#
|
||||
BOARD_NAME="virtual qemu"
|
||||
BOARDFAMILY="virtual"
|
||||
KERNEL_TARGET="current"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user