From 09eedb8494785b04c205ee8343dc3fe644102645 Mon Sep 17 00:00:00 2001 From: Chase Qi Date: Fri, 2 Dec 2016 11:35:51 +0800 Subject: manual: fix kvm test file download link Change-Id: I44b44fe1b99570d28ca1cbba4039ea90e604cab9 Signed-off-by: Chase Qi --- manual/generic/linux/kvm-arm32-guest-on-arm64-host.yaml | 10 ++++------ manual/generic/linux/kvm-arm64-guest-on-arm64-host.yaml | 5 ++--- 2 files changed, 6 insertions(+), 9 deletions(-) (limited to 'manual') diff --git a/manual/generic/linux/kvm-arm32-guest-on-arm64-host.yaml b/manual/generic/linux/kvm-arm32-guest-on-arm64-host.yaml index 1750034..e98a11d 100644 --- a/manual/generic/linux/kvm-arm32-guest-on-arm64-host.yaml +++ b/manual/generic/linux/kvm-arm32-guest-on-arm64-host.yaml @@ -27,12 +27,10 @@ run: - Else continue below steps for installation of required packages - Run "sudo apt-get update" - Run "sudo apt-get install qemu-system wget xz-utils" - - Download armv7 kernel Image from linaro snapshots - - Note: please double check latest in the below link it may be build number - - "wget http://snapshots.linaro.org/ubuntu/images/kvm/arndale/latest/zImage-armv7" - - Download arm minimal rootfs from linaro snapshots - - Note: please double check latest in the below link it may be build number - - "wget http://snapshots.linaro.org/ubuntu/images/kvm-guest/53/armhf/kvm-armhf.qcow2.xz" + - Execute the following command to ownload armv7 kernel Image + - "wget http://testdata.validation.linaro.org/kvm/zImage-armv7" + - Execute the following command to download arm minimal rootfs + - "wget http://testdata.validation.linaro.org/kvm/kvm-armhf.qcow2.xz" - "xz -d kvm-armhf.qcow2.xz" - Test arm32 guest Image on arm64 host - Run "qemu-system-aarch64 -smp 2 -m 512 -cpu host,aarch64=off -M virt -kernel ./zImage-armv7 -append 'root=/dev/vda2 rw rootwait mem=512M console=ttyAMA0,38400n8' -device virtio-blk-device,drive=image -drive if=none,id=image,file=kvm-armhf.qcow2 -nographic -enable-kvm 2>&1 | tee kvm-arm32.log" diff --git a/manual/generic/linux/kvm-arm64-guest-on-arm64-host.yaml b/manual/generic/linux/kvm-arm64-guest-on-arm64-host.yaml index 8d720ca..773e2f3 100644 --- a/manual/generic/linux/kvm-arm64-guest-on-arm64-host.yaml +++ b/manual/generic/linux/kvm-arm64-guest-on-arm64-host.yaml @@ -33,9 +33,8 @@ run: - Note: please double check is it Debian initrd image or CentOS initrd - Note: please check the name of initrd file under /boot and kernel version appended to file name - "cp /boot/initrd.img-`uname -r` initrd.img" - - Download arm64 minimal rootfs from linaro snapshots - - Note: please double check latest in the below link it may be build number - - "wget http://snapshots.linaro.org/ubuntu/images/kvm-guest/latest/arm64/kvm-arm64.qcow2.xz" + - Execute the following command to download arm64 minimal rootfs + - "wget http://testdata.validation.linaro.org/kvm/kvm-aarch64.qcow2.xz" - "xz -d kvm-arm64.qcow2.xz" - Test arm64 guest Image on arm64 host - Run "qemu-system-aarch64 -smp 2 -m 512 -cpu host -machine type=virt,gic-version=host -kernel Image -initrd initrd.img -append 'root=/dev/vda2 rw rootwait console=ttyAMA0,38400n8 earlycon=pl011,0x9000000' -device virtio-blk-device,drive=image -drive if=none,id=image,file=kvm-arm64.qcow2 -nographic -enable-kvm 2>&1 | tee tee kvm-arm64.log" -- cgit v1.2.3