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.
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@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@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@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 ==
- Debian-based system
- 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@canonical.com
Linaro-dev mailing list Linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
+++ Zygmunt Bazyli Krynicki [2010-07-02 17:03 +0200]:
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 ==
- Debian-based system
- Installed packages: * python-2.6 (2.5 support is coming) * python-apt * python-debian * lsb-release * usbutils
ooh, this could be fun. I've got a fair pile of mostly-vintage hardware. How ancient is there any point going? getting python 2.6 on some of them could be tricky (not enough flash for python2.6+deps)
Wookey
Dnia poniedziałek, 5 lipca 2010 o 13:55:10 Wookey napisał(a):
ooh, this could be fun. I've got a fair pile of mostly-vintage hardware. How ancient is there any point going? getting python 2.6 on some of them could be tricky (not enough flash for python2.6+deps)
Would be nice to get Debian image with apps installed and everything not needed removed. Most of my ARM devices is able to boot from SD or at least mount it.
Regards,
(Re-sent due to the original being too big)
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@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@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@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 ==
- Debian-based system
- 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@canonical.com
Linaro-dev mailing list Linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
On Tue, Jul 06, 2010, Michael Hope wrote:
machine = os.uname()[-1] if machine in ('i686', 'x86_64'): return cls._find_pc_board()
elif machine == 'arm':
elif machine in ('arm', 'armv7l'):
You could try running "arch" instead. AFAIK, uname can be any of arch name + endianess: sprintf(init_utsname()->machine, "%s%c", list->arch_name, ENDIANNESS);
- ENDIANNESS gives either l or b - arch_name gives one of armv4, armv5te, armv5tej armv6 etc. built from all supported CPUs, see the cpu_arch_name defs in linux/arch/arm/mm/proc-*.S
So using "arch" as an abstraction might be simplest; if you want to parse yourself, in theory, an ARM CPU architecture could be named foobar but it's rather unlikely so you could test whether uname starts with "arm".
On Mon, Jul 05, 2010, Loïc Minier wrote:
You could try running "arch" instead.
That doesn't help much actually; it's the same output as uname -m
How about running config.guess and taking the first part?
"gcc -dumpmachine" and "dpkg-architecture -qDEB_HOST_GNU_CPU" would be other options, but less likely to be present.