can lava-test run in powerpc boards?

Asked by chunrongguo on 2012-09-19

hello, all

how to run lava-test in powerpc boards ?
or do lava-test support powerpc boards ?
if that lava-test support powerpc boards , how to run lava-test in powerpc boards .

thank you

chrguo

Question information

Language:
English Edit question
Status:
Answered
For:
LAVA Dashboard (deprecated) Edit question
Assignee:
No assignee Edit question
Last query:
2012-09-21
Last reply:
2012-09-21
Dave Pigott (dpigott) said : #1

As it stands, lava only supports linaro builds of android and ubuntu, which are explicitly created only for ARM based socs, so the short answer is that we don't support powerpc as an architecture.

Fathi Boudra (fboudra) said : #2

lava-test is officially supported on Ubuntu (ARM architecture). It's successfully used on x86 architecture and isn't tight to any architecture (but tight to debian package manager).

You should be able to use it on Ubuntu (powerpc architecture), installing from source.

FYI, there's some plan to get it work on openembedded.

Dave Pigott (dpigott) said : #3

I assumed from the question, i.e. referring to lava-test, that this was a question of running tests on powerpc based boards.

If that wasn't the case, then yes, of course, the dispatcher and all the other components would run on a powerpc based system.

chunrongguo (chrguo-x) said : #4

http://www.linaro.org/downloads/linux-linaro-lt-freescale-3.1-2011.12.tar.bz2

can "linux-linaro-lt-freescale-3.1-2011.12.tar.bz2 " support linaro?
can I run these steps in lava-master-image-scripts?

$ cd lava-master-image-scripts/
$ vi boards.d/p4080ds.conf
DESC="Freescale p4080ds Quick Start Board"
# Root File System
ROOTFS=$COMMON_ROOTFS
ROOTFS_URL=$COMMON_ROOTFS_URL
ROOTFS_MD5=$COMMON_ROOTFS_MD5
# Root filesystem partition number as created by linaro-media-create
ROOTFS_PARTITION=3
# Hardware Pack
HWPACK=inux-linaro-lt-freescale-3.1-2011.12.tar.bz2
HWPACK_URL=http://www.linaro.org/downloads/$HWPACK
HWPACK_MD5=e074159ae4e453dab027a6faed2a0af3
# Device name for linaro-media-create
LMC_DEV=p4080ds
# Device name for LAVA
LAVA_DEV=lava:p4080ds

LICENSE_WRAP=

$ ./lava-create-master p4080ds

can I get " p4080ds.img " by this way? why?

thank you
chrguo

Dave Pigott (dpigott) said : #5

1) linux-linaro-lt-freescale-3.1-2011.12.tar.bz2
It's a Linaro released image, so in theory yes, but it is quite old. We stopped building anything new for Freescale at the 12.07 release.

2) I'm not sure about that hwpack supporting the p4080 unless it is hardware compatible with the imx.53 QuickStart. You will also need to add that device to lava-partition-disc (I have a task on me to make all that pass through but haven't done it yet).

chunrongguo (chrguo-x) said : #6

hello,all

can I make Hardware Pack (for linux-linaro-lt-freescale)?
how I make deb packages which show below for my test boards (powerpc architecture )?

$ tar zxvf hwpack_linaro-imx51_20120221-1_armel_unsupported.tar.gz
$ls pkgs/
devio_1.2-1build1_armel.deb
flash-kernel_2.28ubuntu34linaro3_armel.deb
hwpack-linaro-imx51_20120221-1_armel.deb
linux-firmware_1.60.1linaro1_all.deb
linux-image-3.1.0-14-linaro-mx51_3.1.0-14.14~ci~20120203215810~4f2d074a_armel.deb
linux-image-linaro-mx51_3.1.0.14.8_armel.deb
Packages
u-boot-linaro-mx51evk_2012.01.1+6190+39+201202162119~oneiric1_armel.deb
uboot-mkimage_2011.06-3ubuntu1_all.deb
u-boot-tools_2011.06-3ubuntu1_armel.deb
wireless-crda_1.14_armel.deb

thank you

chunrongguo (chrguo-x) said : #7

hello,all

can I make Hardware Pack (for linux-linaro-lt-freescale)?
how I make deb packages which show below for my test boards (powerpc architecture )?

$ tar zxvf hwpack_linaro-imx51_20120221-1_armel_unsupported.tar.gz
$ls pkgs/
devio_1.2-1build1_armel.deb
flash-kernel_2.28ubuntu34linaro3_armel.deb
hwpack-linaro-imx51_20120221-1_armel.deb
linux-firmware_1.60.1linaro1_all.deb
linux-image-3.1.0-14-linaro-mx51_3.1.0-14.14~ci~20120203215810~4f2d074a_armel.deb
linux-image-linaro-mx51_3.1.0.14.8_armel.deb
Packages
u-boot-linaro-mx51evk_2012.01.1+6190+39+201202162119~oneiric1_armel.deb
uboot-mkimage_2011.06-3ubuntu1_all.deb
u-boot-tools_2011.06-3ubuntu1_armel.deb
wireless-crda_1.14_armel.deb

thank you

Dave Pigott (dpigott) said : #8

Could you perhaps explain what it is you're trying to do? From this, it would seem you are trying to create a hwpack for a board that Linaro don't support, or even have experience with. Specific questions to answer:

1) What board are you trying to get running with Lava?

2) What processor architecture is it?

3) Hardware wise, does it support sd card, ethernet and serial

4) You're asking some very interesting, in-depth questions. What are you working on and for who?

chunrongguo (chrguo-x) said : #9

1. p4080ds board (freescale)
2. powerpc architecture
3. it support ethernet and serial but not support sd card
4. I am only interest in automation test and I want to know if lava can be used by test powerpc board.

Dave Pigott (dpigott) said : #10

OK. This goes back to what I was saying earlier.

Linaro is dedicated to Linux on ARM architectures (that's how the name Linaro is made -LINux on ARm Open source), so all of our hwpacks and rootfs instances are created only for those, and they are created by an automated build system that builds only for ARMs, you would have to create your own linux instances for your board: Using anything from releases or snapshots will only make an ARM compatible image which will not run on a powerpc architecture, and lava-create-master pulls images in and uses linaro-media-create to make an ARM compatible bootable image.

So, to use lava in its entirety, you will have to make your own linux hwpacks and rootfs instances, and then create your own version of linaro-media-create (which is also used by lava-dispatcher) and to get the image in a state to put on the board.

Can you help with this problem?

Provide an answer of your own, or ask chunrongguo for more information if necessary.

To post a message you must log in.