[Linaro-dev] Call for testing: lp:~zkrynicki/launch-control/hw-profile

Michael Hope michael.hope at seabright.co.nz
Sat Jul 3 03:23:06 BST 2010


Hi there.  Attached is the output for a KwikByte KBOC BB2.  It's a
BeagleBoard clone with ethernet and a HDMI port on the baseboard.  I
had to modify hw_profile.py as the CPU reports as armv7l instead of a
ARM.

This particular board is running a rootstock variant of Ubuntu 10.04.
Root is on an external USB HDD.  The kernel and u-boot are from the
Angstrom BeagleBoard project (for no particular reason).

michaelh at green1:~/launch-control.hw-profile$ uname -a
Linux green1 2.6.32 #1 PREEMPT Mon May 3 22:40:09 CEST 2010 armv7l GNU/Linux

michaelh at green1:~/launch-control.hw-profile$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 10.04 LTS
Release:        10.04
Codename:       lucid

=== modified file 'launch_control/hw_profile.py'
--- launch_control/hw_profile.py        2010-07-02 14:22:23 +0000
+++ launch_control/hw_profile.py        2010-07-03 02:15:20 +0000
@@ -177,7 +177,7 @@
         machine = os.uname()[-1]
         if machine in ('i686', 'x86_64'):
             return cls._find_pc_board()
-        elif machine == 'arm':
+        elif machine in ('arm', 'armv7l'):
             return cls._find_arm_board()
         else:
             raise NotImplementedError("CPU %s is usupported" % machine)
@@ -194,7 +194,7 @@
     def _parse_machine_and_cpuinfo(cls, machine, cpuinfo):
         if machine in ('i686', 'x86_64'):
             parser = IntelCPUInfoParser
-        elif machine == 'arm':
+        elif machine in ('arm', 'armv7l'):
             parser = ARMCPUInfoParser
         else:
             raise NotImplementedError("CPU %s is usupported" % machine)

-- Michael

2010/7/3 Zygmunt Bazyli Krynicki <zygmunt.krynicki at linaro.org>:
> Hello everyone!
>
> I'd like to ask for early testing of a new launch-control branch adding
> support for generating system profile information on ARM systems. I need
> you to find all the ARM hardware you have access to and run a bit of
> python code and send me the result. See below for details.
>
> == Prerequisites ==
>
> 1) Debian-based system
> 2) Installed packages:
>        * python-2.6 (2.5 support is coming)
>        * python-apt
>        * python-debian
>        * lsb-release
>        * usbutils
>
> == Instructions ==
>
> The branch is at: lp:~zkrynicki/launch-control/hw-profile
>
> Instructions:
>
> $ bzr get lp:~zkrynicki/launch-control/hw-profile \
> launch-control.hw-profile
> $ cd launch-control.hw-profile
> $ ./get-system-profile -i -o system-profile-with-a-sensible-name.json
>
> If something goes wrong please attach the output of the following
> commands:
>        * lsb_release -a
>        * cat /proc/cpuinfo
>        * cat /proc/meminfo
>        * lsusb
>        * uname -m
> Report bugs at: https://bugs.edge.launchpad.net/launch-control/+filebug
>
> == About launch-control ==
>
> Launch control is project that aims to implement the Validation
> Dashboard spec. See:
> https://blueprints.launchpad.net/ubuntu/+spec/arm-m-validation-dashboard
>
> == System Detection Features ==
>
> Hardware:
>        * CPU (for x86, x86_64 and arm, PPC is *not* supported yet)
>        * Board detection
>        * Memory
>        * USB
>
> Software:
>        * distribution
>        * installed debian packages (via apt)
>
>
> Best regards
> Zygmunt
>
> PS: re-sent from @linaro.org account, ignore the @canonical.com dupe if
> it shows up please.
>
> --
> Zygmunt Bazyli Krynicki <zygmunt.krynicki at canonical.com>
>
>
> _______________________________________________
> Linaro-dev mailing list
> Linaro-dev at lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/linaro-dev
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arm-kwikbyte-kboc_bb2-omap35xx.json
Type: application/json
Size: 38694 bytes
Desc: not available
Url : http://lists.linaro.org/pipermail/linaro-dev/attachments/20100703/22bdb961/attachment-0001.bin 


More information about the Linaro-dev mailing list