blob: 434982f7f5e2ebc12795c66cc673f51ed6b4d019 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001[
2 {
3 "test": {
Brad Bishop19323692019-04-05 15:28:33 -04004 "@alias": "sdk.sdk_runqemu.test_install_cross_toolchain_can_run_multiple_qemu_for_x86",
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08005 "author": [
6 {
7 "email": "ee.peng.yeoh@intel.com",
8 "name": "ee.peng.yeoh@intel.com"
9 }
10 ],
11 "execution": {
12 "1": {
13 "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 ",
Brad Bishop19323692019-04-05 15:28:33 -040014 "expected_results": "Download completes successfully."
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080015 },
16 "2": {
Brad Bishop19323692019-04-05 15:28:33 -040017 "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 "expected_results": "Toolchain gets installed successfully."
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080019 },
20 "3": {
21 "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",
Brad Bishop19323692019-04-05 15:28:33 -040022 "expected_results": "Both images build successfully."
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080023 },
24 "4": {
Brad Bishop19323692019-04-05 15:28:33 -040025 "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 ",
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080026 "expected_results": "Expect both qemu to boot up successfully."
27 }
28 },
Brad Bishop19323692019-04-05 15:28:33 -040029 "summary": "test_install_cross_toolchain_can_run_multiple_qemu_for_x86"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080030 }
31 }
32]