Difference between revisions of "AM3352-SOM"

(How to change HDMI, VGA and LCD resolutions in the official Debian image?)
(Linux)
Line 24: Line 24:
 
'''Newest official release (recommended):'''
 
'''Newest official release (recommended):'''
  
Torrent of a ready image of Debian release 3 suitable for AM3352-SOM boards: [[Media:AM3352_debian_3_12_VGA_1024x768_preliminary_release_3.torrent|AM3352-SOM Debian image with kernel 3.12.10+ release 3]]
+
Torrent of a ready image of Debian release 4 suitable for AM3352-SOM boards: [[Media:AM3352_debian_3_12_VGA_1024x768_preliminary_release_4.torrent‎|AM3352-SOM Debian image with kernel 3.12.10+ release 4]]
  
 
List of installed packages: [[AM3352_SOM_installed_packages|installed packages article]]
 
List of installed packages: [[AM3352_SOM_installed_packages|installed packages article]]
Line 30: Line 30:
 
Image description and common practices: [[AM3352_SOM_description|description and useful practices]]
 
Image description and common practices: [[AM3352_SOM_description|description and useful practices]]
  
How to build the above image: [[Building_Debian_AM3352_SOM|building the AM3352-SOM Debian image with kernel 3.12.10+ release 3]]
+
How to build the above image: [[Building_Debian_AM3352_SOM|building the AM3352-SOM Debian image with kernel 3.12.10+ release 4]]
  
 
Default in the image superuser username/password: olimex/olimex.
 
Default in the image superuser username/password: olimex/olimex.

Revision as of 02:03, 28 January 2016

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.

Newest official release (recommended):

Torrent 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

Default in the image superuser username/password: olimex/olimex.

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).

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 2 suitable for AM3352-SOM boards: AM3352-SOM Debian with kernel 3.12.10+ release 2

Torrent of Debian release 1 suitable for AM3352-SOM boards: AM3352-SOM Debian with kernel 3.12.10+ release 1

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)