background image

OLIMEX© 2015

IMX233-OLinuXino-MAXI user's manual

Assume you downloaded it to your workstation.
Unzip the file.
Inside there is a folder called driver with a file inside called:

rtl8188C_8192C_usb_linux_v3.4.3_4369.20120622.tar.gz

Copy that file to the Olinuxino target:

scp rtl8188C_8192C_usb_linux_v3.4.3_4369.20120622.tar.gz root@ip_addr_of_Olinuxino:/root

log into Olinuxino

cd /root
mkdir driver
mv rtl8188C_8192C_usb_linux_v3.4.3_4369.20120622.tar.gz driver
cd driver
tar xzf rtl8188C_8192C_usb_linux_v3.4.3_4369.20120622.tar.gz
cd rtl8188C_8192C_usb_linux_v3.4.3_4369.20120622
vi Makefile

Change the line:
CONFIG_PLATFORM_I386_PC = y
to
CONFIG_PLATFORM_I386_PC = n

Below it add the line:
CONFIG_PLATFORM_ARM_iMX233 = y

find the block:
---------------------------------------------------------
ifeq ($(CONFIG_PLATFORM_ARM_PXA2XX), y)
EXTRA_= -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_= -DCONFIG_LITTLE_ENDIAN

Page 20 of 59

Содержание IMX233-OLinuXino-MAXI

Страница 1: ...IMX233 OLinuXino MAXI an open source embedded Linux board USER S MANUAL Revision M January 2015 Designed by OLIMEX Ltd 2012 All boards produced by Olimex LTD are ROHS compliant...

Страница 2: ...rranties of merchantability or fitness for purpose are excluded 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 aris...

Страница 3: ...k the LED 14 2 9 How setup the I2C SPI UART 15 2 10 How to setup Arch Linux distribution 15 2 11 How to use a USB WiFi dongle based on RealTek RTL8188CUS and 19 RTL8192CU under ARCH Linux 19 3 Introdu...

Страница 4: ...jumpers 46 6 12 4 Boot mode selecting jumpers 46 6 13 Additional hardware components 46 6 14 Accessories 47 6 14 1 USB SERIAL CABLE F 47 CHAPTER 7 BLOCK DIAGRAM AND MEMORY 48 7 Introduction to the cha...

Страница 5: ...troller i MX233 manufactured by FreeScale Semiconductor OLinuXino is an open source open hardware project and all documentation is available to the customer 1 1 Features iMX233 ARM926J processor at 45...

Страница 6: ...Yes Audio OUT connector No No Yes Yes UEXT connector Yes No Yes Yes Power jack No Yes Yes Yes VGA connector No Yes Yes Yes 100Mbit Ethernet for the wired network of OLinuXino MAXI 150Mbit for the WIFI...

Страница 7: ...board The software is released under General Purpose License and the board is considered open hardware 1 4 Organization Each section in this document covers a separate topic organized as follow Chapte...

Страница 8: ...d be worn when handling the board Avoid touching the component pins or any other metallic element 2 3 Requirements In order to set up the OLinuXino optimally the following items are required 6V to 16V...

Страница 9: ...o SD in unrecoverable state when powering OLinuXino MICRO The problem might occur if two specific conditions are met simultaneously 1 Plugged iMX233 OLinuXino SD micro SD card with holographic sticker...

Страница 10: ...M0 fuses of the processor SD_MBR_BOOT 3 Blown SD_POWER_GATE_GPIO 21 20 10 PWM3 For burning the fuse position we use the BitBurner software This operation is discussed in details before Proceed with gr...

Страница 11: ...ide of the cables you might place 50mil 1 27mm male connector following the order of the signals Please also restrain from using wires longer than 20 cm since that might make the connection unreliable...

Страница 12: ...ed below The Linux image is created and downloaded from https github com Freescale fsl community bsp platform For the test here we used Debian 6 0 with GNOME visual libraries The steps we did 1 From t...

Страница 13: ...nf 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 setup environment build...

Страница 14: ...oard uses GPIO65 You can use external diode instead of the one mounted you have to look at the table The Linux implementation of pins in the hardware section to get the correct linux name for the GPIO...

Страница 15: ...e HelloWorld example on the OLinuXino Two important preparations 1 You have to download the latest software package from the GitHub of iMX233 OLinuXino down in the code you will meet xxxxxxx which you...

Страница 16: ...t have mountpoint you should create one Just type sudo mkdir mnt dir 8 Login as root for the next operations sudo su IMPORTANT NOTE It is necessary to log in as root not as super user 9 Extract the d...

Страница 17: ...e but you might wish to read some additional information if this doesn t work for you With every reboot the device is assigned with different MAC address To change this use the commands ip link set de...

Страница 18: ...or cat hello_world c to view the source You could modify the source whatever you want After the source is ready to compile the file use gcc o hello_world c hello For more complicated compiling type m...

Страница 19: ...hen be moved to another Olinuxino board such as the Micro Log into the Olinuxino board upgrade the system pacman Syu Then install development tools pacman S base devel Delete empty directories rmdir u...

Страница 20: ...tl8188C_8192C_usb_linux_v3 4 3_4369 20120622 tar gz driver cd driver tar xzf rtl8188C_8192C_usb_linux_v3 4 3_4369 20120622 tar gz cd rtl8188C_8192C_usb_linux_v3 4 3_4369 20120622 vi Makefile Change th...

Страница 21: ...been installed root alarm wireless ls l sys class net total 0 drwxr xr x 4 root root 0 Aug 14 16 55 lo drwxr xr x 4 root root 0 Aug 14 16 55 usb0 drwxr xr x 5 root root 0 Aug 14 16 43 wlan0 wlan0 is t...

Страница 22: ...an0 dhcp or static ip addr add 192 168 0 2 24 dev wlan0 ip route add default via 192 168 0 1 To set up automatically at boot pacman S netcfg pacman S wpa_actiond pacman S ifplugd cp etc network d exam...

Страница 23: ...and add net auto wireless and net auto wired vi etc conf d netcfg Change to NETWORK my_wifi_network my_eth_network Make sure you have the correct names for WIRED_INTERFACE and WIRELESS_INTERFACE chan...

Страница 24: ...ESCRIPTION 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 actua...

Страница 25: ...gh speed USB device and host functions Fully integrated full speed high speed Physical Layer Protocol PHY Mass storage host capable uncertified by USB IF Power Management Unit Single inductor DC DC sw...

Страница 26: ...correction and programmable redundant area Dual Peripheral Bus Bridges with 18 DMA Channels Multiple peripheral clock domains save power while optimizing performance Direct Memory Access DMA with sop...

Страница 27: ...ystem on Uses the existing 24 MHz XTAL for low cost or optional low power crystal 32 768 kHz or 32 0 kHz customer selectable via OTP Customer Programmable One Time Programmable OTP ROM via Integrated...

Страница 28: ...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 pow...

Страница 29: ...you use the LIPO_BAT connector and a battery the chip handling the Ethernet and the USB hosts is disabled Also the power button has alternative function when the board is powered by a battery check 6...

Страница 30: ...A of amperage the chip heats a bit so we decided to put external DC DC for better stability When working with 3 3VIO_E closed pay attention to the amperage used If 3 3VIO_E is closed soldered it enabl...

Страница 31: ...presented Notes regarding the interfaces are given 6 1 Debugging interfaces If you don t have a separate monitor or display around and you don t wish to swap cables constantly with your personal comp...

Страница 32: ...GREEN BLUE wires GND BLUE RX INPUT GREEN TX OUTPUT RED You have to connect to OLinuXino MAXI U_DEBUG connector in this sequence BLUE wire to pin 3 GND GREEN wire to pin 2 TX RED wire to pin 1 RX U_DE...

Страница 33: ...rder to use the 6 pin JTAG you will have to stop using the SD card Note also that the classic JTAG interface comes without plastic header mounted so in order to use it you will need to use wires for c...

Страница 34: ...u consult when dealing with electronics Classic JTAG multiplexed with SD card Pin Signal Name Processor Pin 1 SSP1_DATA1 85 2 SSP1_DATA0 84 3 GND 30 35 98 105 112 118 4 SSP1_SCK 90 5 SD_VCC 6 SSP1_CMD...

Страница 35: ...ards might draw too much current from the slot which might cause power state problems If you suspect the microSD card is causing problems please try using another one of better quality for better resu...

Страница 36: ...roSD card 6 3 UEXT module OLinuXino board has UEXT connector and can interface Olimex s UEXT modules For more information on UEXT please visit https www olimex com Products Modules UEXT resources UEXT...

Страница 37: ...9 SSP2_SCK 33 10 PIN12 LCD_D11 UEXT_CS 25 The UEXT pinout is also printed at the bottom of the board under the connector 6 4 GPIO General Purpose Input Output 40pin connector The GPIO pins are led out...

Страница 38: ...13 PIN12 LCD_D11 UEXT_CS 25 33 PIN2 LCD_D01 3 14 PIN23 LCD_DISP 12 34 PIN33 LRADC0 108 15 PIN11 LCD_D10 24 35 PIN1 LCD_D00 2 16 PIN24 LCD_WR 13 36 PIN34 MIC 116 17 PIN10 LCD_D09 23 37 5VUEXT 102 18 P...

Страница 39: ...tation of pins Linux GPIO iMX2 33 GPIO OLinuXino Name OLinuXino GPIO Connector Linux GPIO iMX2 33 GPIO OLinuXino Name OLinuXino GPIO Connector 0 PIN9 19 32 to 39 Not implemented Not implemented 1 PIN1...

Страница 40: ...3 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 sig...

Страница 41: ...onally the LAN9512 devices simplify system design by leveraging the existing USB stack and reducing the PCB footprint by up to 65 compared to discrete competitive solutions USB based networking techno...

Страница 42: ...ED 6 VDD 7 RX 8 RX The two leds on the front side of the LAN connector show the state of the Ethernet The meaning behind the different states can be found in the table below LED Color Usage Right Gree...

Страница 43: ...The headphones resistance is 16 Ohms 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...

Страница 44: ...sible for the boot location D03 D02 D01 and D00 They are located on the top of the board between the processor and 40pin GPIO connector Note that the jumpers are SMD type and opening a jumper would re...

Страница 45: ...ing 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 there are two available options configuring software...

Страница 46: ...d by the built in iMX233 DC DC but the problem is it isn t configured to be used with another chip so it doesn t provide enough current for all the USB HOSTs and the LAN which might cause some of the...

Страница 47: ...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 spe...

Страница 48: ...reescale for one of higher quality 7 1 Memory addresses Below is the table with some of the most frequently used addresses For full list of addresses check the manual released by Freescale Chapter Mem...

Страница 49: ...OLIMEX 2015 IMX233 OLinuXino MAXI user s manual 7 2 Processor block diagram Page 49 of 59...

Страница 50: ...OLIMEX 2015 IMX233 OLinuXino MAXI user s manual 7 3 Physical memory map Page 50 of 59...

Страница 51: ...nd physically OLinuXino 8 1 Eagle schematic OLinuXino schematic is visible for a reference here You can also find it on the GitHub for OLinuXino at our site https www olimex com Products OLinuXino iMX...

Страница 52: ...HP_VGND 111 I2C_SCL GPMI_RDY2 AUART1_TX 127 I2C_SDA GPMI_CE2N AUART1_RX 128 LCD_CS 10 LCD_D00 2 LCD_D01 3 LCD_D02 4 LCD_D03 5 LCD_D04 6 LCD_D05 7 LCD_D06 8 LCD_D07 9 LCD_DOTCK GPMI_RDY3 17 LCD_ENABLE...

Страница 53: ...I 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 Ethe...

Страница 54: ...ge 6 added more info about the WIFI option on OLinuXino Mini Page 10 added instructions how to blink the board s LED Page 20 removed erroneous information of compatibility between U_DEBUG interface an...

Страница 55: ...coverable state Page 37 Adjusted info on external and internal 3 3V DC DC 9 23 37 F 05 07 12 Page 8 changed typo about the needed programmer Page 9 adjusted info about a SD card problem Page 23 adjust...

Страница 56: ...r the fuse burning was present at the picture 11 L 21 03 13 Page 6 fixed the voltages for MINI and MAXI in the comparison table Page 16 fixed the voltages for MINI and MAXI in the comparison table Pag...

Страница 57: ...parated further 10 R1 changed from 100k to 4 7k because a Schottky diode is added on the RX line C1 C23 and C24 changed from 33pF to 15pf D 1 Replaced the package of the microSD card with an easier to...

Страница 58: ...inuXino MICRO tiny in size tiny in price and perfect for breadbording iMX233 OLinuXino MINI WIFI the MINI version of OLinuXino embedded RTL8128CU WIFI module iMX233 OLinuXino SD SD card with the Linux...

Страница 59: ...e allowed subject to a 10 restocking fee What is unaffected If you hooked it to power you affected it To be clear this includes items that have been soldered to or have had their firmware changed Beca...

Отзывы: