OLIMEX OLinuXino-MAXI User Manual

OLIMEX OLinuXino-MAXI User Manual

Open-source single-board linux computer
Hide thumbs Also See for OLinuXino-MAXI:
Table of Contents

Advertisement

Quick Links

OLinuXino-MAXI
Open-source single-board Linux computer
USER'S MANUAL
Revision L, March 2013
Designed by OLIMEX Ltd, 2012
All boards produced by Olimex LTD are ROHS compliant

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the OLinuXino-MAXI and is the answer not in the manual?

Questions and answers

Summary of Contents for OLIMEX OLinuXino-MAXI

  • Page 1 OLinuXino-MAXI Open-source single-board Linux computer USER’S MANUAL Revision L, March 2013 Designed by OLIMEX Ltd, 2012 All boards produced by Olimex LTD are ROHS compliant...
  • Page 2: Disclaimer

    This document is intended only to assist the reader in the use of the product. OLIMEX Ltd. shall not be liable for any loss or damage arising from the use of any information in this document or any error or omission in such information or any incorrect use of the product.
  • Page 3: Table Of Contents

    OLIMEX© 2012 OLinuXino-MAXI user's manual Table of Contents DISCLAIMER ......................2 CHAPTER 1: OVERVIEW ..................5 1. Introduction to the chapter ....................... 5 1.1 Features ............................. 5 1.2 The OLinuXino family ......................6 1.2 Target market and purpose of the board ................6 1.3 Organization ..........................
  • Page 4 OLIMEX© 2012 OLinuXino-MAXI user's manual 6.3 UEXT module ......................... 36 6.4 GPIO (General Purpose Input/Output) 40pin connector ..........37 6.5 USB HOSTs ..........................41 6.6 LAN connector ........................42 6.7 PWR Jack ..........................42 6.8 Headphones and line-in connector ..................43 6.9 Battery connector ........................
  • Page 5: Chapter 1: Overview

    Thank you for choosing the OLinuXino single board computer from Olimex! This document provides a user’s guide for the Olimex OLinuXino board. As an overview, this chapter gives the scope of this document and lists the board’s features. The differences between the members of the OLinuXino family are mentioned.
  • Page 6: The Olinuxino Family

    Audio IN connector Audio OUT connector No UEXT connector * 100Mbit Ethernet for the wired network of OLinuXino-MAXI. 150Mbit for the WIFI following 811.02n standard. ** All three boards have the option to work with MOD-WIFI_RTL8188, which is USB WIFI modem with RTL8188CU chip and can be purchased separately.
  • Page 7: Organization

    OLIMEX© 2012 OLinuXino-MAXI user's manual The strong points of the boards are the processor speed, the mobility of the board and the low price. Customers have full access to the technical documentation of the board. The software is released under General Purpose License and the board is considered open-hardware.
  • Page 8: Chapter 2: Setting Up The Olinuxino Board

    Note that the board arrives without SD card or Linux image. You can purchase a card with Linux separately. It is recommended that the user has basic Linux experience. Some of the suggested items can be purchased by Olimex, for instance: iMX233-OLinuXino-SD - SD card with the Linux image USB-SERIAL-CABLE-F - USB serial console cable female (check “6.1.1 UART Debug”...
  • Page 9: Powering The Board

    OLIMEX© 2012 OLinuXino-MAXI user's manual 2.4 Powering the board The board is powered either via the PWR jack or via a battery. It should be supplied from a 6V to 16V source with maximum current of 1A from the power jack.
  • Page 10: Prebuilt Software

    OLIMEX© 2012 OLinuXino-MAXI user's manual When you power the board by battery you have to press the PWR_BUT to start the board. If you start Linux and it is already running no matter which powering method you use (PWR_JACK or BAT) pressing the PWR_BUT will put the Linux in power-save mode.
  • Page 11 OLIMEX© 2012 OLinuXino-MAXI user's manual the picture below for a better view how the three wires must be connected. After soldering the three wires you can place a marker on each of them or use colored wires to be able to distinguish them. You can also use some gel to keep them tight on the USB connector. On the opposite side of the cables you might place 50mil (1.27mm) male connector following the order...
  • Page 12: Building The Linux Image

    OLIMEX© 2012 OLinuXino-MAXI user's manual 2.7 Building the Linux image Note that building the Linux image from scratch is a time-consuming task. Even with powerful machine and fast internet connection it might take few hours compiling. Some Linux distributions might lack the tools required to compile/build/execute scripts/download from repository – how to get those is not discussed below.
  • Page 13 ~/fsl-community-bsp$: repo sync 4) You can change the settings for the build if you want at fsl-community-bsp/build/conf/local.conf. I changed the “machine” name to “imx233-olinuxino-maxi”. For Linux kernel configurations and settings you can do (of course you can use also the default settings): ~/fsl-community-bsp$:.
  • Page 14: How To Blink The Led

    OLIMEX© 2012 OLinuXino-MAXI user's manual Note: on different Linux distributions you might have different tools installed and you will probably need to install dependencies needed for the compile/build scripts. Here are some (but not all) of the mandatory ones: G++; diffstat; texi2html; chrpath; gawk; texinfo; some git client.
  • Page 15: How Setup The I2C, Spi, Uart

    I2C. 2.10 How to setup Arch-Linux distribution This is a step-by-step guide for building the Archlinux image for Olimex OLinuXino-MAXI. The second and the third part of the document explain how to setup the internet connection on the board and how to use the GCC compiler to compile „HelloWorld“...
  • Page 16 OLIMEX© 2012 OLinuXino-MAXI user's manual & sudo fdisk /dev/sdb 5. With the help of the menu create two partitions. The steps are the following: 5.1. Type “p” to view existing partitions on the SD-card 5.2. Type “d” to delete all partitions 5.3.
  • Page 17 OLIMEX© 2012 OLinuXino-MAXI user's manual 13. Put the file in USB flash drive. Insert the flash drive into OLinuXino board. & mount /dev/sdc1 /mnt/usb & cp -fv /home/User/Downloads/<file> /mnt/usb & umount /mnt/usb Again this is example. You should correct this commands with your paths and corresponding devices.
  • Page 18 OLIMEX© 2012 OLinuXino-MAXI user's manual program. For example: & vi /etc/resolv.conf Press d several times to remove all lines. Press I to enter insert mode. Type: & nameserver 192.168.0.1 (Again this is example. You should add you DNS-server.) After you finish entering this press Esc. This will set the program in command mode. In command mode press: &...
  • Page 19: How To Use A Custom Wi-Fi Dongle Based On Realtek Rtl8188Cus And

    2.11 How to use a custom Wi-Fi dongle based on RealTek RTL8188CUS and RTL8192CU under ARCH Linux This procedure was done on the Olinuxino-Maxi. It was connected with a wired ethernet during the procedure. Once the WiFi is functional, the wired ethernet can be removed. The microSD card can then be moved to another Olinuxino board such as the Micro.
  • Page 20 OLIMEX© 2012 OLinuXino-MAXI user's manual Get the Realtek drivers from the Realtek web site: http://www.realtek.com.tw/downloads/downloadsView.aspx? Langid=1&PFid=48&Level=5&Conn=4&ProdID=277&DownTypeID=3&GetDown=false&Downl oads=true I downloaded RTL8188CUS (the one showing up on lsusb) If you choose RTL8192CU you get the same file The file comes as a zip file: RTL819xCU _USB_linux_v3.4.3_4369.20120622.zip...
  • Page 21 OLIMEX© 2012 OLinuXino-MAXI user's manual ifeq ($(CONFIG_PLATFORM_ARM_PXA2XX), y) EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN ARCH := arm CROSS_COMPILE := arm-none-linux-gnueabi- KVER := 2.6.34.1 KSRC ?= /usr/src/linux-2.6.34.1 endif --------------------------------------------------------- Below it adds the block: --------------------------------------------------------- ifeq ($(CONFIG_PLATFORM_ARM_iMX233), y) EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN ARCH := arm CROSS_COMPILE := /usr/bin/ KVER := KVER := 2.6.35-6-ARCH+...
  • Page 22 OLIMEX© 2012 OLinuXino-MAXI user's manual reboot Make sure you can see both usb0 (ethernet) and wlan0 on all the following: ifconfig ls -l /sys/class/net iwconfig you may need to bring the interface up manually: ip link set wlan0 up scan for access points: iwlist wlan0 scan cp /etc/wpa_supplicant/wpa_supplicant.conf /etc/wpa_supplicant/wpa_supplicant.conf.original...
  • Page 23 OLIMEX© 2012 OLinuXino-MAXI user's manual vi /etc/network.d/my_wifi_network configure all parameters vi /etc/network.d/my_eth_network configure all parameters (make sure you change eth0 to usb0) You can have multiple profiles (e.g. for roaming, etc.) To manually connect a profile: netcfg my_wifi_network To manually disconnect a profile: netcfg down my_wifi_network There are 3 daemon options for configuring networks at boot time.
  • Page 24: Introduction To The Chapter

    OLIMEX© 2012 OLinuXino-MAXI user's manual CHAPTER 3: OLINUXINO BOARD DESCRIPTION 3. Introduction to the chapter Here you get acquainted with the main parts of the board. Note the names used on the board might differ from the names used below to describe them. For the actual names check the OLinuXino board itself.
  • Page 25: Chapter 4: The Imx233 Microcontroller

    OLIMEX© 2012 OLinuXino-MAXI user's manual CHAPTER 4: THE iMX233 MICROCONTROLLER 4. Introduction to the chapter In this chapter is located the information about the heart of OLinuXino – its microcontroller. The information is a modified version of the datasheet provided by its manufacturers.
  • Page 26 OLIMEX© 2012 OLinuXino-MAXI user's manual — SPDIF digital out  16-Channel Low-Resolution ADC — 6 independent channels and 10 dedicated channels — Resistive touchscreen controller — Temperature sensor controller — Absolute accuracy of 1.3%  Security Features — Read-only unique ID for digital rights management algorithms —...
  • Page 27 OLIMEX© 2012 OLinuXino-MAXI user's manual — Integrated low-power 10-bit Video DAC (VDAC) for composite analog video output.  Data Co-Processor (DCP) — AES 128-bit encryption/decryption — SHA-1 hashing — High-speed memory copy  Three Universal Asynchronous Receiver-Transmitters (UARTs) — Two high-speed application UARTs operating up to 3.25 Mb/s with hardware flow control and dual DMA.
  • Page 28: Chapter 5: Control Circuity

    25 MHz quartz crystal Q2 is found at pins 60 and 61 of the Ethernet controller – LAN9512-JZX. 5.3 Power supply circuit The power supply circuit of OLinuXino-MAXI allows flexible input supply from 6V to 16V direct current. This means a wide range of power supplies, adapters, converters are applicable. The maximum amperage recommended is 1A by default (0.250mA if 3.3VIO_E is closed –...
  • Page 29 OLIMEX© 2012 OLinuXino-MAXI user's manual If you have a standard USB flash drive attached to a USB host, Linux and LAN running the typical consumption is around 0.20A. When powered by the typical 3.7V battery the LAN and USB-hosts are disabled. The consumption when Linux is running is around 0.75A.
  • Page 30 OLIMEX© 2012 OLinuXino-MAXI user's manual The 3.3V_E (3.3V Enable) jumper when closed enables the 3.3V power line. Note the 3.3VIO_E jumper which by default is closed – if you open it (cut it) - it disables the U6 DC-DC converter and enables a built-in the iMX233 DC-DC. The problem is that the built-in DC- DC has a limit of 250mA of amperage the chip heats a bit so we decided to put external DC-DC for better stability.
  • Page 31: Chapter 6: Connectors And Pinout

    OLIMEX© 2012 OLinuXino-MAXI user's manual CHAPTER 6: CONNECTORS AND PINOUT 6. Introduction to the chapter In this chapter are presented the connectors that can be found on the board all together with their pinout and notes about them. Jumpers functions are described. Notes and info on specific peripherals are presented.
  • Page 32: Uart Debug

    In order to avoid SD card malfunction, when using the USB-SERIAL-CABLE-F with OLinuXino-MAXI it is advisable to first insert the iMX233-OLinuXino-SD card and then power the board (if using battery also press the PWR button). Wait 4-5 seconds and then connect the USB-SERIAL-CABLE-F.
  • Page 33: Classic Jtag Debug

    OLIMEX© 2012 OLinuXino-MAXI user's manual The HW_DIGCTL_CTRL_USE_SERIAL_JTAG bit in the digital control block selects whether the one-wire serial JTAG interface or the alternative six-wire parallel JTAG interface is used. There are other options in the digital control block which might interest you and our advice is to check the iMX233's datasheet released by Freescale.
  • Page 34 6 SSP1_CMD 7 SSP1_DATA3 8 SSP1_DATA2 Notice that the pad numeration is written at the bottom of OLinuXino-MAXI under the microSD card connector. Please check the manual part for microSD card for a schematic of the pins. Page 34 of 60...
  • Page 35: Sd/Mmc Slot

    2 SSP1_DATA3 3 SSP1_CMD 4 SD_VCC 5 SSP1_SCK 6 GND 30, 35, 98, 105, 112, 118 7 SSP1_DATA0 8 SSP1_DATA1 Notice that the pad numeration is written at the bottom of OLinuXino-MAXI under the microSD card connector. Page 35 of 60...
  • Page 36: Uext Module

    When removing the card, please make sure that you release it from the connector by pushing and NOT by pulling the card directly (this can damage both the connector and the microSD card). 6.3 UEXT module OLinuXino board has UEXT connector and can interface Olimex's UEXT modules. For more information on UEXT please visit: http://www.olimex.com/dev/OTHER/UEXT.pdf *Note the two jumpers PIN29/SOFT_CL –...
  • Page 37: Gpio (General Purpose Input/Output) 40Pin Connector

    OLIMEX© 2012 OLinuXino-MAXI user's manual UEXT connector Pin # Signal Name Processor Pin # 1 +3.3VREG 2 GND 30, 35, 98, 105, 112, 118 3 AUART1_TXD 4 AUART1_RXD 5 I2C_SCL 34(default) OR 11* 6 I2C_SDA 31(default) OR 15* 7 PIN9/LCD_D08/SSP2_MISO...
  • Page 38 The hardware is associated differently in the Linux following the GPIO naming conventions suggested in the iMX233 datasheet. You can check the connection between Linux naming of the pin, Olimex naming of the pin and the consecutive connector pin number in the table below. The Page 38 of 60...
  • Page 39 OLIMEX© 2012 OLinuXino-MAXI user's manual ones filled with “Not implemented” doesn't have Linux support by the time of writing and will be updated overtime. “Linux GPIO” is the one you should use in Linux (the one in the datasheet); “OLinuXino name” is the pin as written on the bottom of the board. ”OLinuXino GPIO Connector #”...
  • Page 40 OLIMEX© 2012 OLinuXino-MAXI user's manual When looking at the bottom of OLinuXino-MAXI near the GPIO connector there is also an additional GND pad named GND_PIN which is a fast way to have access to a ground signal. Page 40 of 60...
  • Page 41: Usb Hosts

    OLIMEX© 2012 OLinuXino-MAXI user's manual 6.5 USB HOSTs The USB hosts and the Ethernet are controller by a single chip (LAN9512) which handles both functionality. The LAN9512 contains a Hi-Speed USB 2.0 hub with two fully-integrated downstream USB 2.0 PHYs, an integrated upstream USB 2.0 PHY, a 10/100 Ethernet MAC/PHY controller, and an EEPROM controller.
  • Page 42: Lan Connector

    Yellow Activity status 6.7 PWR Jack The power jack used is the typical 2.5mm one used by Olimex in most of our products. You should provide between 6 and 16 volts @ 1A to the board. Page 42 of 60...
  • Page 43: Headphones And Line-In Connector

    OLIMEX© 2012 OLinuXino-MAXI user's manual Pin # Signal Name Power Input More info about the power supply can be found in chapter 5 of this manual 6.8 Headphones and line-in connector Standard audio jack and phone jack are mounted for the audio interfacing.
  • Page 44: Battery Connector

    OLIMEX© 2012 OLinuXino-MAXI user's manual 6.9 Battery connector When using the battery connector keep in mind that it is an energy solution that wouldn't be able to power the board and all the peripherals. The voltage of a 3.7V LIPO battery would be enough to power the processor and the memory but won't be enough to power the LAN and the USB hosts.
  • Page 45: Boot Mode Positions

    OLIMEX© 2012 OLinuXino-MAXI user's manual 6.11 Boot mode positions The iMX233 can boot the operating system from different locations. The default location for the Linux files we used is the microSD card. There are 4(four) jumpers responsible for the boot location: D03, D02, D01 and D00.
  • Page 46: Jumper Description

    OLIMEX© 2012 OLinuXino-MAXI user's manual 6.12 Jumper description Please note that all the jumpers on the board are SMD type. If you feel insecure of your soldering/cutting technique it is better not to try to adjust the jumpers. 6.12.1 SCL_SW/SCL_HW and SDA_SW/SDA_HW Those two jumpers must be moved together –...
  • Page 47: 5V_E

    2) 3.3V_E open (unsoldered/cut), 3.3VIO_E closed (soldered) In the default variant 1) the board uses the mounted by OLIMEX DC-DC 3.3V convertor which when the board is powered by external supply is the better alternative. However, if you use battery it will not power the chip handling the USB and the LAN functionality.
  • Page 48: Additional Hardware Components

    H5DU5xxxyyy LED1 + Power LED 6.14 Accessories Here you will find additional information for Olimex products you can use with OLinuXino-MAXI purchase 6.14.1 USB-SERIAL-CABLE-F The cable for the U_DEBUG interface that can be purchased for additional cost has three cables. It is important to specify in your purchase order whether you want the USB-SERIAL-CABLE variant with male a male or female connectors.
  • Page 49: Chapter 7: Block Diagram And Memory

    OLIMEX© 2012 OLinuXino-MAXI user's manual CHAPTER 7: BLOCK DIAGRAM AND MEMORY 7. Introduction to the chapter On the next page you can find a memory map for this family of processors. It is strongly recommended to refer to the original datasheet released by Freescale for one of higher quality.
  • Page 50: Processor Block Diagram

    OLIMEX© 2012 OLinuXino-MAXI user's manual 7.2 Processor block diagram Page 50 of 60...
  • Page 51: Physical Memory Map

    OLIMEX© 2012 OLinuXino-MAXI user's manual 7.3 Physical memory map Page 51 of 60...
  • Page 52: Chapter 8: Schematics

    OLinuXino schematic is visible for reference here. You can also find them on the GitHub for OLinuXino at our site: https://www.olimex.com/Products/OLinuXino/iMX233/iMX233- OLinuXino-MAXI/. The link to the GitHub is located in HARDWARE section. The EAGLE schematic is situated on the next page for quicker reference. Page 52 of 60...
  • Page 53: Composite Video

    YELLOW 1.1k/1% Q25.000MHz/HC-49SM 33pF NTRST 1nF/2kV +5VEXT 3.3VREG NFDX_LED/GPIO0 USB_PWR_A NLNKA_LE D/GPIO1 FB0805/600R/2A NSPD_LED/GPIO2 3.3VREG GPIO3 OUT_A PRTCTL2 OLinuXino-MAXI revision B1 FLAG_A GPIO4 PRTCTL3 FLAG_B GPIO5 10uF/10V CLK24_OUT GPIO6 OUT_B Designed by OLIMEX 2012 CLK24_EN PHY&USB-HOSTx2 GPIO7 MIC2026-1YM USB_PWR_B LAN9512-JZX...
  • Page 54: Physical Dimensions

    OLIMEX© 2012 OLinuXino-MAXI user's manual 8.2 Physical dimensions Note that all dimensions are in inches. The three highest elements on the board in order from the tallest to the shortest are: inductor L2; USB host connector; Ethernet/LAN connector. Page 54 of 60...
  • Page 55: Chapter 9: Revision History And Support

    OLIMEX© 2012 OLinuXino-MAXI user's manual CHAPTER 9: REVISION HISTORY AND SUPPORT 9. Introduction to the chapter In this chapter you will find the current and the previous version of the document you are reading. Also the web-page for your device is listed. Be sure to check it after a purchase for the latest available updates and examples.
  • Page 56 OLIMEX© 2012 OLinuXino-MAXI user's manual Continued from previous page Revision Changes Modified Page# Page 4 - Added links to chapter names Page 10 – Typos/bugs in code 4, 10, 12, 45 Page 12 – Added new sub-chapter 18.06.12 Page 45 – Added link to the OLinuXino...
  • Page 57 OLIMEX© 2012 OLinuXino-MAXI user's manual Continued from previous page Revision Changes Modified Page# Pages 26, 27, 28, 29 - Fixed wrong info 26, 27, 28, 29 about the LQFP128 package of iMX233 29.10.12 Page 11 - Wrong wiring for the fuse burning was present at the picture 04.01.12...
  • Page 58: Board Revision

    OLIMEX© 2012 OLinuXino-MAXI user's manual 9.2 Board revision Revision Notable Changes Initial release of the board R14 removed 1. Renamed from iMX233-OLINUXINO_Rev_C to iMX233-OLINUXINO- MAXI_Rev_C 2. BOOT jumpers moved to bottom of the board and the distance between them was increased 3.
  • Page 59: Useful Web Links And Purchase Codes

    A place for general questions, FAQ or friendly talk: https://www.olimex.com/forum/index.php? board=1.0 You can get the latest updates on the software at: https://github.com/OLIMEX/OLINUXINO. The OLinuXino Linux images sources: https://github.com/Freescale/fsl-community-bsp-platform. ORDER CODES: iMX233-OLinuXino-MAXI – the best version of OLinuXino featuring Ethernet controller iMX233-OLinuXino-MINI –...
  • Page 60: Product Support

    OLinuXino-MAXI user's manual 9.3 Product support For product support, hardware information and error reports mail to: support@olimex.com. Note that we are primarily a hardware company and our software support is limited. Please consider reading the paragraph below about the warranty of Olimex products.

Table of Contents