1*4882a593Smuzhiyun[ 2*4882a593Smuzhiyun { 3*4882a593Smuzhiyun "test": { 4*4882a593Smuzhiyun "@alias": "sdk.sdk_runqemu.test_install_cross_toolchain_can_run_multiple_qemu_for_x86", 5*4882a593Smuzhiyun "author": [ 6*4882a593Smuzhiyun { 7*4882a593Smuzhiyun "email": "ee.peng.yeoh@intel.com", 8*4882a593Smuzhiyun "name": "ee.peng.yeoh@intel.com" 9*4882a593Smuzhiyun } 10*4882a593Smuzhiyun ], 11*4882a593Smuzhiyun "execution": { 12*4882a593Smuzhiyun "1": { 13*4882a593Smuzhiyun "action": "Prepare kernel, rootfs tar.bz2 image, and qemu configuration \n \ta. Download kernel, rootfs tar.bz2 image and qemu configuration from public autobuilder webpage \n \tb. Goto https://autobuilder.yocto.io/pub/releases/<target_release>/machines/qemu/qemux86/ \n \tc. Download \n \t \ti. rootfs tar.bz2: core-image-sato-sdk-qemux86.tar.bz2 \n \t\tii. kernel: bzImage-qemux86.bin \n \t\tiii. qemu configuration: core-image-sato-sdk-qemux86.qemuboot.conf ", 14*4882a593Smuzhiyun "expected_results": "Download completes successfully." 15*4882a593Smuzhiyun }, 16*4882a593Smuzhiyun "2": { 17*4882a593Smuzhiyun "action": "Download & install toolchain tarball matching your host from public autobuilder \n \ta. Goto https://autobuilder.yocto.io/pub/releases/<target_release>/toolchain/x86_64/ \n \tb. Download poky-glibc-x86_64-core-image-sato-<type-arch>-toolchain-<release-version>.sh \n \tc. Run command: poky-glibc-x86_64-core-image-sato-<type-arch>-toolchain-<release-version>.sh \n \td. After installation toolchain Run source command : source /toolchain-installed-path/environment-setup-<architecture name>-poky-linux", 18*4882a593Smuzhiyun "expected_results": "Toolchain gets installed successfully." 19*4882a593Smuzhiyun }, 20*4882a593Smuzhiyun "3": { 21*4882a593Smuzhiyun "action": "Extract rootfs twice into two images \n \ta. Run 2 commands below: \n runqemu-extract-sdk core-image-sato-sdk-qemux86.tar.bz2 qemux86_rootfs_image1 \n runqemu-extract-sdk core-image-sato-sdk-qemux86.tar.bz2 qemux86_rootfs_image2", 22*4882a593Smuzhiyun "expected_results": "Both images build successfully." 23*4882a593Smuzhiyun }, 24*4882a593Smuzhiyun "4": { 25*4882a593Smuzhiyun "action": " From the 2 terminals, start qemu to boot up both two images \n \ta. Run 2 commands below: \n runqemu <kernel-name> core-image-sato-sdk-qemux86.qemuboot.conf qemux86_rootfs_image1 \n runqemu <kernel-name> core-image-sato-sdk-qemux86.qemuboot.conf qemux86_rootfs_image2 ", 26*4882a593Smuzhiyun "expected_results": "Expect both qemu to boot up successfully." 27*4882a593Smuzhiyun } 28*4882a593Smuzhiyun }, 29*4882a593Smuzhiyun "summary": "test_install_cross_toolchain_can_run_multiple_qemu_for:x86" 30*4882a593Smuzhiyun } 31*4882a593Smuzhiyun } 32*4882a593Smuzhiyun]