openSUSE:Beagleboard (xM)

Jump to: navigation, search

General information

Get some general information (Hardware description, installation of openSUSE, etc.) on HCL:BeagleBoard-xM.


Tests

audio in/out

You can adjust levels manually if needed, with alsamixer:

 alsamixer

Then you can try to play some files:

 aplay test.wav

And to record some sound:

 arecord test_input.wav

CPU freq

Please DO NOT use BogoMIPS values but the provided script. BogoMIPS values are lower with new kernels used from openSUSE 12.3, but it has no effect on performances. For information, see: http://www.spinics.net/lists/arm-kernel/msg221672.html

In order to test CPU freq capabilities, please download this script:

 http://guillaume.gardet.free.fr/openSUSE/cputest.sh

And execute it. You should see something like:

 memtester: no process found
 300000 600000 800000  is the available freqs
 bogomips@ boot:
 BogoMIPS        : 175.65
 Boot scaling frequency =300000
 TESTING for 1 seconds at 300000
 current scaling frequency(for 300000) =300000
 bogomips@ frequency 300000:
 BogoMIPS        : 175.65
 TESTING for 1 seconds at 600000
 current scaling frequency(for 600000) =600000
 bogomips@ frequency 600000:
 BogoMIPS        : 350.31
 TESTING for 1 seconds at 800000
 current scaling frequency(for 800000) =800000
 bogomips@ frequency 800000:
 BogoMIPS        : 467.41
 More transitions TEST
 [0] 1000: 3 Seconds: jeu. mars 21 14:20:25 CET 2013 : time now = jeu. mars 21 14:20:28 CET 2013
 [1] 1000: 3 Seconds: jeu. mars 21 14:20:25 CET 2013 : time now = jeu. mars 21 14:20:28 CET 2013
 [2] 1000: 3 Seconds: jeu. mars 21 14:20:25 CET 2013 : time now = jeu. mars 21 14:20:28 CET 2013
 ...

Automatic Voltage Scaling (AVS) (formerly known as Smartreflex)

AVS is not easily testable but is enabled in the kernel.


Adaptive Body Bias (ABB)

ABB is not easily testable but is enabled in the kernel.

DSP

DSP drivers have been removed from kernel sources. So, it is no more available.

Ethernet

You can test functionality. Plug a cable on a network where a DHCP server and a router are running. Wait a while and then see if you have an IP address:

 ip addr show

Then try to ping something on the network:

 ping 192.168.1.254
 ping www.google.fr


You can also test the performances with iperf. Install iperf on a computer and on the board and run on one side the iperf server:

 iperf -s

and on the other side, the iperf client:

 iperf -c <ip_addr_of_iperf_server>

then you can invert the iperf server and client and rerun the tests.

On a Beagleboard xM, with kernel 3.4.0-3-omap2plus, we get 95 Mb/s.

SD/MMC

If you boot on your uSD card, then SD/MMC works! ;)


UART (debug)

Plug a serial cable (or serial/usb) between the board and your computer. Start minicom:

 sudo minicom

And switch on the board. You should see something starting with:

 Texas Instruments X-Loader 1.5.0 (Feb 29 2012 - 23:37:23)                                                           
 Beagle xM                                                                                                           
 Reading boot sector
 Error: reading boot sector
 fat load failed, trying ext2
 Loading u-boot.bin from mmc


USB hosts

Plug an USB stick and mount it:

 mount /dev/sda1 /mnt

And see what is on your stick:

 ls /mnt

Unmount it:

 umount /mnt


USB OTG

module built and loaded on boot but do not know how to test it.


Video

DVI

omapdrm

omapdrm is the default driver and is auto-loaded on boot. You should see a login console on your DVI/HDMI screen.

omapdrm should auto-detect the best resolution of your DVI/HDMI display. If you want to force the resolution, add the video parameter to the kernel bootargs:

 video=DVI-D-1:1440x900MR-24@60

Details on paramters are available here: http://nouveau.freedesktop.org/wiki/KernelModeSetting

If not, make sure libdrm_omap1 package is installed:

 zypper in libdrm_omap1


omapfb driver

omapfb driver is not used by default. If you want to use it, unload omapdrm first (or black list it).

Then, load the right modules with modprobe:

 modprobe panel-tfp410 
 modprobe omapfb mode=dvi:1440x900MR-24@60

And you should see a login console on your DVI/HDMI screen. Note that panel-tfp410 is needed for kernel 3.5+.

S-Video/Composite

Icon-warning.png
Warning: It does not seem to work.

You have to load the right module with modprobe.
For NTSC format:

 modprobe omapfb mode=tv:ntsc

For PAL format:

 modprobe omapfb mode=tv:pal


And you should see a login console on your TV screen.



2D/3D hardware acceleration (Powervr SGX 530)

PowerVR drivers are not upstream.