OpenWrt – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 This is intended to be used with LEDE project to provide image for use with
2 QEMU ARM virt machine.
3  
4 Run with qemu-system-arm
5  
6 # boot with initramfs embedded in
7 qemu-system-arm -nographic -M virt -m 64 -kernel openwrt-armvirt-32-zImage-initramfs
8  
9 # boot with accel=kvm
10 qemu-system-arm -nographic -M virt,accel=kvm -cpu host -m 64 -kernel
11 openwrt-armvirt-32-zImage-initramfs
12  
13 # boot with a separate rootfs
14 qemu-system-arm -nographic -M virt -m 64 -kernel openwrt-armvirt-32-zImage \
15 -drive file=openwrt-armvirt-32-root.ext4,format=raw,if=virtio -append 'root=/dev/vda rootwait'
16  
17 # boot with local dir as rootfs
18 qemu-system-arm -nographic -M virt -m 64 -kernel openwrt-armvirt-32-zImage \
19 -fsdev local,id=rootdev,path=root-armvirt/,security_model=none \
20 -device virtio-9p-pci,fsdev=rootdev,mount_tag=/dev/root \
21 -append 'rootflags=trans=virtio,version=9p2000.L,cache=loose rootfstype=9p'
22  
23 Run with kvmtool
24  
25 # start a named machine
26 lkvm run -k openwrt-armvirt-32-zImage -i openwrt-armvirt-32-rootfs.cpio --name armvirt0
27  
28 # start with virtio-9p rootfs
29 lkvm run -k openwrt-armvirt-32-zImage -d root-armvirt/
30  
31 # stop "armvirt0"
32 lkvm stop --name armvirt0
33  
34 # stop all
35 lkvm stop --all
36  
37 The multi-platform ARMv8 target can be used with QEMU:
38  
39 qemu-system-aarch64 -machine virt -cpu cortex-a57 -nographic \
40 -kernel openwrt-armvirt-64-Image-initramfs \