kernel: update kernel 4.4 to version 4.4.50
[lede.git] / target / linux / armvirt / README
1 This is intended to be used with LEDE project to provide image for use with
2 QEMU arm-softmmu 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 lede-armvirt-zImage-initramfs
8
9         # boot with accel=kvm
10         qemu-system-arm -nographic -M virt,accel=kvm -cpu host -m 64 -kernel lede-armvirt-zImage-initramfs
11
12         # boot with a separate rootfs
13         qemu-system-arm -nographic -M virt -m 64 -kernel lede-armvirt-zImage \
14           -drive file=lede-armvirt-root.ext4,format=raw,if=virtio -append 'root=/dev/vda rootwait'
15
16         # boot with local dir as rootfs
17         qemu-system-arm -nographic -M virt -m 64 -kernel lede-armvirt-zImage \
18           -fsdev local,id=rootdev,path=root-armvirt/,security_model=none \
19           -device virtio-9p-pci,fsdev=rootdev,mount_tag=/dev/root \
20           -append 'rootflags=trans=virtio,version=9p2000.L,cache=loose rootfstype=9p'
21
22 Run with kvmtool
23
24         # start a named machine
25         lkvm run -k lede-armvirt-zImage -i lede-armvirt-rootfs.cpio --name armvirt0
26
27         # start with virtio-9p rootfs
28         lkvm run -k lede-armvirt-zImage -d root-armvirt/
29
30         # stop "armvirt0"
31         lkvm stop --name armvirt0
32
33         # stop all
34         lkvm stop --all