User Tools

Site Tools


civilinfrastructureplatform:testinglavav2vmsetup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
civilinfrastructureplatform:testinglavav2vmsetup [2017/05/17 03:22]
sesa126914
civilinfrastructureplatform:testinglavav2vmsetup [2017/05/17 13:52]
rajmarshall [Create the Heath Check Job for both Devices] add quotes
Line 53: Line 53:
 6. Calculate the SHA256 sum of the Virtual Machine box file 6. Calculate the SHA256 sum of the Virtual Machine box file
  
-''​ user@host:​cip$ **sha256sum --check cip_board_at_desk_v0.9.0.sha256sum cip_board_at_desk_v0.9.0.box** ''​+''​ user@host:​cip$ **sha256sum ​ --check cip_board_at_desk_v0.9.0.sha256sum cip_board_at_desk_v0.9.0.box** ''​
  
 ''​ cip_board_at_desk_v0.9.0.box:​ OK ''​ ''​ cip_board_at_desk_v0.9.0.box:​ OK ''​
Line 241: Line 241:
 8. On your host machine, open a web browser and enter the following in the address box: 8. On your host machine, open a web browser and enter the following in the address box:
  
-''​[[http://​localhost:​8080]]''​+''​[[http://​<​bridged_ip>​:​8080]]''​
  
 9. The LAVA Home Page is displayed in your web browser. Log in to the web server as the superuser: 9. The LAVA Home Page is displayed in your web browser. Log in to the web server as the superuser:
Line 263: Line 263:
 11. Click on the **qemu** device type 11. Click on the **qemu** device type
  
-12. Copy and paste the contents of the file ''/​vagrant/​tests/​qemu-health-check.yaml''​ into the Health check job textbox.+12. Copy and paste the contents of the file ''/​vagrant/​tests/​qemu-health-check.yaml''​ into the Health check job textbox. Unless you are using QEMU tests regularly we suggest that you change the pull down '​Initiate health checks by hours or by jobs.' to use '​jobs'​ as the health check incurs a heavy system load as well as using lots of disk space.
  
 13. Click on the **Save** button in the lower right-hand corner of the page 13. Click on the **Save** button in the lower right-hand corner of the page
Line 305: Line 305:
 ==== Compile CIP Kernel with Kernel CI ==== ==== Compile CIP Kernel with Kernel CI ====
  
-21. Set the environment variables. You can create a tree name that describes your project. Select the Architecture of the target device (i.e. arm, arm64, mips, i386, amd64, etc.). Choose the cross compiler you need for that architecture.+21. Set the environment variables. You can create a tree name that describes your project. Select the Architecture of the target device (e.g. arm, arm64, mips, i386, amd64, etc.). Choose the cross compiler you need for that architecture.
  
 ''​ vagrant@guest:​~/​git-repos/​linux-cip$ **export TREE_NAME=cip-example** ''​ ''​ vagrant@guest:​~/​git-repos/​linux-cip$ **export TREE_NAME=cip-example** ''​
Line 336: Line 336:
 24. On your host machine, open a web browser and enter the following in the address box: 24. On your host machine, open a web browser and enter the following in the address box:
  
-''​**http://​localhost:​5000**''​+''​**[[http://<​bridged_ip>​:5000]]**''​
  
-25. You will see the KernelCI Website home page from which, you can navigate to the different builds and Trees that you've created ​(see the **Example Builds** section below).+25. You will see the KernelCI Website home page from which, you can navigate to the different builds and Trees that you've created.
  
 26. Click on the **Jobs** button at the top of the page and you will see all of the available Trees 26. Click on the **Jobs** button at the top of the page and you will see all of the available Trees
Line 346: Line 346:
 28. Click on the **v4.4.55** kernel and you will see the list of build configurations (omap2plus). 28. Click on the **v4.4.55** kernel and you will see the list of build configurations (omap2plus).
  
-29. The files that resulted from the build are available in the KernelCI website by navigating to the Tree Name, Kernel version, and Configuration. They are stored on the hard drive at:+29. The files that resulted from the build are available in the KernelCI website by navigating to the Tree Name, Kernel version, and Configuration. They are stored on the virtual ​hard drive at:
  
 ''/​var/​www/​images/​kernel-ci/​TREE_NAME/​KERNEL_VERSION/​BRANCH/​ARCH/​CONFIG''​ ''/​var/​www/​images/​kernel-ci/​TREE_NAME/​KERNEL_VERSION/​BRANCH/​ARCH/​CONFIG''​
Line 368: Line 368:
    * ''​kernel.config''​ holds the configuration of which features the kernel was built with.    * ''​kernel.config''​ holds the configuration of which features the kernel was built with.
  
-   * ''​system.map''​ is the kernel'​s symbol table that is used to debug kernel runtime errors+   * ''​system.map''​ is the kernel'​s symbol table that is used to debug kernel runtime errors.
  
-   * ''​zImage''​ is the compressed kernel image to be installed on target device+   * ''​zImage''​ is the compressed kernel image to be installed on target device.
        
-   * ''​modules''​ hold all of the kernel modules needed for the kernel+   * ''​modules''​ hold all of the kernel modules needed for the kernel.
  
-   * ''​dtbs''​ directory which holds all of the generated Device Tree Binary'​s+   * ''​dtbs''​ directory which holds all of the generated Device Tree Binaries.
  
  
Line 398: Line 398:
        
       * Modify the dtb url to point to the dtb directory link       * Modify the dtb url to point to the dtb directory link
 +or
 +   * From within the linux-cip directory (and with TREE_NAME defined as above)
 +   * ''​ /​vagrant/​scripts/​create_test.sh /​vagrant/​tests/​bbb_debian_local.yaml ~/​mytest-bbb.yaml ''​ and either run the lava-tool command suggested or clear the health check and paste in the version within ~/​mytest-bbb.yaml (or whatever file name you use as a second parameter).
  
 35. Click on the **Save** button in the lower right-hand corner of the page 35. Click on the **Save** button in the lower right-hand corner of the page
civilinfrastructureplatform/testinglavav2vmsetup.txt · Last modified: 2017/05/18 00:20 by sesa126914