On Thu, May 7, 2015 at 10:43 AM, Hongbo Zhang <[email protected]> wrote: > On 5 May 2015 at 18:49, Ciprian Barbu <[email protected]> wrote: >> On Tue, May 5, 2015 at 1:45 PM, Ciprian Barbu <[email protected]> >> wrote: >>> Maybe Anders can better reply to this, but I can throw in my two cents. >>> >>> In general it's useful to look at the lng ci bundle stream: >>> https://validation.linaro.org/dashboard/streams/public/team/linaro/ci-linux-lng/bundles/ >>> >>> Take for example this job on ks2: >>> https://validation.linaro.org/dashboard/streams/public/team/linaro/ci-linux-lng/bundles/25592dfbfa827e520abd080424c3492c293c988f/ >>> https://validation.linaro.org/scheduler/job/337876 >>> Look at the definition to find the binaries. >>> >>> Also for x86: >>> https://validation.linaro.org/dashboard/streams/public/team/linaro/ci-linux-lng/bundles/253ba46870a22660090ae2d38c22440fe45a01c7/ >>> https://validation.linaro.org/scheduler/job/337869 >>> Here the job returned with error because the testdef was missing, but >>> the machine booted up ok. >>> >>> And then, here is what I use to run ssh jobs on x86: >>> https://validation.linaro.org/scheduler/job/338000 >> >> I'm running a debian rootfs here, but I'm willing to bet the OE rootfs >> in the CI job would run too: >> http://snapshots.linaro.org/openembedded/images/lng-x86-gcc-4.9/117/linaro-image-lng-qemux86-20150424-117.rootfs.cpio.gz >> or >> http://snapshots.linaro.org/openembedded/images/lng-x86-gcc-4.9/117/linaro-image-lng-qemux86-20150424-117.rootfs.tar.gz >> > Thanks Ciprian. > I see the 'qemu' characters in the above tar ball names, what the > purpose of these images, are they used for vm guest?
If I'm not mistaken that's openembedded usually generates the names for x86 machines. something like the MACHINE or ARCH name for x86 is qemux86 by default. So it's ok to use the rootfs indicated, both for guest and host, one of the job examples I gave you was using it. Beware though that the x86 bzImage in the same directory is not suited for running it in the LAVA lab, some stuff is missing, that's why we have the extra pre-built images as you can see in the lng ci bundle stream. So as a recap: For x86: rootfs: http://snapshots.linaro.org/openembedded/images/lng-x86-gcc-4.9/latest kernel: http://snapshots.linaro.org/openembedded/pre-built/lng-x86-64/latest For arm: rootfs: http://snapshots.linaro.org/openembedded/images/lng-armv7a-gcc-4.9/latest kernel: http://snapshots.linaro.org/kernel-hwpack/linux-lng-keystone2/latest other stuff: dtb, firmware, you need to look at sample jobs in the lng ci bundle stream These should work for both guest and host, although I think we have some KVM jobs: https://validation.linaro.org/dashboard/image-charts/LNG-KVM https://validation.linaro.org/scheduler/job/91016/definition > >>> I'm using a NFS mounted rootfs, for which I need a ramdisk that Steve >>> built to fix some problems with LAVA which cannot run a generic rootfs >>> over NFS, maybe he can give us more details. >>> >>> Hope this helps, >>> /Ciprian >>> >>> On Tue, May 5, 2015 at 1:17 PM, Hongbo Zhang <[email protected]> >>> wrote: >>>> Hi all, >>>> I am going to set up odp test in vm in the Lava lab, but there are >>>> some conditions still not so clear to me, so I'd like to start this >>>> discussion, hope anyone involved in or familiar with related areas can >>>> give some comments or suggestions. >>>> >>>> 1. For the vm guest, which kernel and rootfs images should be used? I >>>> used armel, armhf and i386 images here >>>> https://people.debian.org/~aurel32/qemu/ for quick test in my local >>>> machine, but for our test in Lava lab, it is better to use Linaro >>>> kernel and even rootfs, but where are they? are there any images >>>> available or should I compile them from source codes? if compile, it >>>> should be more complicated to launch the vm guest. >>>> >>>> 2. For the host, which platform can be used? arm or x86, I prefer to >>>> use odp-generic for the first step, because it is easier to run, and >>>> in further days we can enable more platform specific acceleration >>>> layers. >>>> >>>> 3. Mike, >>>> https://cards.linaro.org/browse/LNG-928, I got this new card, which >>>> odp tests should be set up, isn't it l2fwd and pkggen? any other >>>> requirements or comments? >>>> >>>> Thanks. >>>> _______________________________________________ >>>> lng-odp mailing list >>>> [email protected] >>>> https://lists.linaro.org/mailman/listinfo/lng-odp _______________________________________________ lng-odp mailing list [email protected] https://lists.linaro.org/mailman/listinfo/lng-odp
