AM3352-SOM

AM3352-SOM-1.jpg

Features:

  • Texas Instruments AM3352 Cortex-A8 processor
  • 512MB DDR3 memory
  • Power supply DCDC
  • MicroSD card connector
  • UART debug interface
  • Status LEDs
  • RESET button
  • 4 connectors x 40 pin 0.05" step


Official Images from OLIMEX

Note that only the microSD connector is suitable for booting the desired operating system, the SD-MMC connector is not suitable for booting since it is not a part of the boot sequence (refer to AM3352 datasheet).

Linux

The official Debian images are suitable only for microSD card. Information on booting Debian from the NAND might be found at the forum.

Download methods and locations might be found below! Please note that there are different images for different board revisions, due to a hardware change.

Stable official releases (recommended):

Download link of a ready image of Debian release 4 suitable for AM3352-SOM boards:

AM3352-SOM Debian image with kernel 3.12.10+ release 4‎ - list of installed packages: installed packages article - image description and common practices: description and useful practices - how to build the above image: building the AM3352-SOM Debian image with kernel 3.12.10+ release 4; in older images default superuser username/password: olimex/olimex

Newest official release (experimental, not recommended):

Download location of release 5 (Debian 8 Jessie and kernel 4.4.21) suitable for AM3352-SOM boards: AM3352-SOM Debian image with kernel 4.4.xx release 5

In the newest image the default superuser username/password is: root/olimex

Full instructions on how we prepared the 4.4.x image might be found here: https://www.olimex.com/wiki/AM335x

Most of the commands has to be executed as super user (for example: "reboot", "ifconfig", etc; either log as super user or provide username/password each time).

IMPORTANT! The image has the minimum dtb configuration for AM3352-SOM enabled. Most pins are set as GPIOs If something is not working properly (e.g. LAN, NAND the USB ports), then make sure to use the dtb file suitable for your setup. Each official dtb configuration has different options! The four dtb configurations worth considering are:

am335x-olimex-som.dtb - This is the default configuration in the above image. The minimum configuration for AM335x-SOM to run, all ports set as GPIOs. This configuration will not work with AM3352-SOM-EVB.

am335x-olimex-som-nand.dtb - Same as above, but with enabled nand.

am335x-olimex-som-evb.dtb - Support for AM335x-SOM-EVB (USB, Dual Ethernet, etc). Use this one, if there isn't NAND memory on AM335x-SOM

am335x-olimex-som-evb-nand.dtb - Save above, without dual Ethernet and NAND enabled.

How to change the dtb loaded (you need to do this if you use AM3352-SOM + AM3352-SOM-EVB):

- Open uEnv.txt for editing with:

root@AM335x:~# nano /uEnv.txt

- edit the first line to:

fdtfile=am335x-olimex-som-evb.dtb (or the dtb file you need)

- save the edit by pressing "CTR"+"X"; then pressing "Y"; finally hit "Enter"

- reboot the board with:

reboot

The image is 2GB and the file system can be extended to suit a bigger card. Use the following three commands to execute a script that would use all the space of your card:

  sudo su
  resize_sd.sh /dev/mmcblk0 1
  reboot

The board AM3352-SOM-EVB has two Ethernet ports. LAN1 is configured with default static IP address of 192.168.1.254. LAN2 is configured as DHCP. If you have trouble with one of them try using the other. The network settings can be edited in /etc/network/interfaces via a text editor (vi or nano).

You need VLAN enabled to establish a proper connection to the board (as defined in IEEE 802.1Q). Make sure your hardware is compatible with IEEE 802.1Q. Make sure you have to enabled VLAN for the router/switch/bridge or the network card otherwise the Ethernet connection to the AM3352-SOM-EVB board will fail. You can find a lot guides online on how to enable VLAN (or VLAN tagging) for your specific hardware and operating system.

If you want the wake an LCD display after automatic power-down modify the value of the "blank" file in /sys/class/graphics/fb0:

turning on: root@AM3352-SoM:/sys/class/graphics/fb0# echo "1" > blank
turning off: root@AM3352-SoM:/sys/class/graphics/fb0# echo "0" > blank

Older official releases (not recommended):

Torrent of Debian release 3 suitable for AM3352-SOM boards: AM3352-SOM Debian with kernel 3.12.10+ release 3 - has a serious bug that might the prevent the board from booting; in older images default superuser username/password: olimex/olimex

Torrent of Debian release 2 suitable for AM3352-SOM boards: AM3352-SOM Debian with kernel 3.12.10+ release 2; in older images default superuser username/password: olimex/olimex

Torrent of Debian release 1 suitable for AM3352-SOM boards: AM3352-SOM Debian with kernel 3.12.10+ release 1; in older images default superuser username/password: olimex/olimex

How To?


How to change HDMI, VGA and LCD resolutions in the official Debian image?

The default SD card setup is made with video output settings suitable for 800x600 VGA output. If you want to change to some other VGA or LCD resolution then you can execute a script file in /root directory.

Type:

   sudo ./change_display_am3352.sh

and press "Enter". This would bring up the help menu. For example, if you wish to use 7 inch display (800x480 resolution) you would need to type:

  sudo ./change_display_am3352.sh -l -800x480

The supported resolutions are:

For VGA (-v):

  • 1. 800x600
  • 2. 1024x768


For LCD (-l):

  • 1. 4.3" (480x272)
  • 2. 7" (800x480)
  • 3. 10" (1024x600)