xref: /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/manual/sdk.json (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1[
2    {
3        "test": {
4            "@alias": "sdk.sdk_runqemu.test_install_cross_toolchain_can_run_multiple_qemu_for_x86",
5            "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 ",
14                    "expected_results": "Download completes successfully."
15                },
16                "2": {
17                    "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."
19                },
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",
22                    "expected_results": "Both images build successfully."
23                },
24                "4": {
25                    "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                    "expected_results": "Expect both qemu to boot up successfully."
27                }
28            },
29            "summary": "test_install_cross_toolchain_can_run_multiple_qemu_for:x86"
30        }
31    }
32]