Archive

Posts Tagged ‘ALIX.3D3’

CHOST: i586 vs. i486 on AMD Geode LX

May 25th, 2009 7 comments

On my blog post about Installing Gentoo on ALIX.3D3 Mart Raudsepp made an interesting comment: He pointed out, that on AMD Geode CPUs it might be better to use i486 CHOST instead of my used i586, because the CPU is more like a i486 as far as instruction scheduling and times go.

This sounded interesting, so I googled for some benchmark test to measure differences. I found nbench, which measures performance by executing some typical algorithms and compares them to a Pentium 90 based system. So I installed it and run on the i586 CHOST system, then rebuild it completely to i486 CHOST and run it again. Read more…

Categories: Alix, Gentoo, Hardware, Linux Tags: , , ,

GPIO on ALIX.3D3

May 17th, 2009 1 comment

The AMD CS5536 Geode companion on the ALIX.3D3 board has several general purpose input/output pins. Most of them have different functions as well, and there are some registers to set if they should be used as special function GPIO pins. The ALIX.3D3 uses 4 GPIO pins for 3 LEDs and 1 mode switch. Accessing the leds is very easy using the leds-alix2 driver, but they can be addressed as GPIO as well. There is already a driver for the GPIO pins in the kernel named cs5535_gpio.c, but it uses a non standard interface to communicate with kernel. So, I wrote a new kernel driver using the GPIO interface. Read more…

Categories: Alix, Linux Tags: , ,

Using Geode’s AES engine on ALIX.3D3

May 13th, 2009 21 comments

The AMD Geode LX800 CPU has an on-chip AES 128-bit crypto accelerations block and a true random number generator. Using this block for encryption and decryption is a lot faster than software implemented algorithms and it unloads the CPU. There are two main purposes where en/decryption is needed:

  • Storing files
  • Communication over network (IPSEC, OpenVPN, WPA2, …)

I’ll focus on the first point in this article using LUKS (Linux Unified Key Setup).

Read more…

Categories: Alix Tags: , , , ,

Installing heat sink on ALIX.3D3

May 11th, 2009 3 comments

A few days ago, while I was compiling some stuff on my ALIX.3D3, I discovered a very high CPU temperature by chance:

M/B Temp:    +59 C  (low  =    +0 C, high =   +70 C)
CPU Temp:  +71.1 C  (low  =  +0.0 C, high = +70.0 C)   ALARM
Alix.3D3 with heat sink

Alix.3D3 with heat sink

I downloaded the datasheet of the AMD Geode LX800 CPU to check which temperatures are OK. On page 598 I found that my model (ALXD800EEXJ2VD) is fine for temperatures from 0 °C to 85 °C. Anyway I looked in my spare part box if I could find a suitable heat sink and fortunately I found a 40mm x 40mm x 9mm one. So I ordered some thermal adhesive and installed it.

Read more…

Categories: Alix Tags: ,

LEDs on ALIX.3D3

May 8th, 2009 8 comments
LEDs on ALIX.3D3

LEDs on ALIX.3D3

As most of the ALIX boards, the ALIX.3D3 has 3 general purpose LEDs. There is kernel support for them, but there are problems when the board has a Award BUIS as the ALIX.3D3. After reading the datasheet of the AMD CS5536 Geode companion about initialisation and use of the general purpose pins I got it finally running! Read more…

Categories: Alix Tags: ,

Adding additional I²C sensors to ALIX.3D3

May 7th, 2009 No comments
J8: SMBus

J8: SMBus

The manual of the ALIX.3D3 board mentions a lot of pin descriptions of all pin headers on the board. J8 interfaces the SMBus of the AMD CS5536 Geode companion (which is compatible to I²C if bus speed is below 100kHz, see Maxim’s Appnote for detailed comparison). So why not add additional I²C sensors. As an example I connected an LM75 temperature sensor.

First of all we need to add some pin headers to J8 found on board next to the USB port. Read more…

Categories: Alix Tags: , , ,

Updating BIOS on ALIX.3D3 within Linux

May 6th, 2009 2 comments

Usually BIOS updating means booting DOS and running a proprietary tool from the board vendor. A few days ago, coreboot’s flashrom 0.9 has realeased. It’s an open-source tool which supports program almost all flash chips used on x86 mainboards. Its compatibility list includes Geode™ CS5530/A, which can be found on the ALIX.3D3 board. So why not using flashrom to update ALIX.3D3 BIOS.

Read more…

Categories: Alix, Gentoo, Linux Tags: , , ,

Sound on ALIX.3D3

May 2nd, 2009 No comments

The AMD CS5536 Geode on the ALIX.3D3 board has an included audio controller which headset output and microphone input is populated on the board. lspci lists the audio controller as

00:0f.3 Multimedia audio controller: Advanced Micro Devices [AMD] CS5536 [Geode companion] Audio (rev 01)

ALSA (Advanced Linux Sound Architecture) supports this chip. Read more…

Categories: Alix Tags: , , , ,

Framebuffer on ALIX.3D3

May 2nd, 2009 1 comment
ALIX.3D3 booting

ALIX.3D3 booting

In contrary to most ALIX devices, the ALIX.3D3 has an integrated VGA controller and an Award BIOS (tinyBIOS doesn’t support VGA), so why not attach a monitor.

Standard text mode is supported by default (and faster than graphical mode), but if you wish to change resolution, add a boot logo or even want to use a graphical boot screen like splashutils a framebuffer device is needed.

lspci lists the integrated VGA controller of the AMD Geode LX800 CPU as the video device:

00:01.1 VGA compatible controller: Advanced Micro Devices [AMD] Geode LX Video

Luckily the linux kernel supports this device directly and so no VESA framebuffer is needed. Read more…

Categories: Alix Tags: , , ,

Installing Gentoo on ALIX.3D3

May 1st, 2009 35 comments

When I ordered the ALIX.3D3 board I thought installing Gentoo on this should be a piece of cake, but finally there were some stumbling blocks and that’s why I want to summarize how I got gentoo running.

First of all, I recommend installing Gentoo on a normal desktop to get to know the installing process, which is a bit different from graphical installers of mainstream distros. The Gentoo Handbook is a great documentation how this done.

To install gentoo, you have to boot a minimal or “rescue” linux usually from cd/dvd. I tried to convice the bios to boot from a usb cd-rom drive, but I hadn’t any success. Read more…

Categories: Alix, Gentoo Tags: , ,