Difference between revisions of "IMX233"

(Software)
(Linux)
 
(47 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
== Official Images from OLIMEX ==
 +
 +
=== Linux ===
 +
For initial test with the default images follow the general algorithm:
 +
 +
1. Download the image
 +
 +
2. Extract it out of the archive
 +
 +
3. Write the image to a properly formatted microSD card
 +
 +
Step 3 under Linux looks usually like:
 +
 +
''sudo dd if=LINUX_IMAGE_NAME.img of=/dev/mmcblk0''
 +
 +
'''*Newest official Arch Linux image (recommended):'''
 +
 +
Direct download of Arch Linux release 5 for all Olimex iMX233 boards: [https://ftp.olimex.com/IMX233_Images/ARCH/imx233_kernel_2.6_ARCH_FS_WIFI_release_5.img.7z iMX233 Arch image with kernel 2.6.35 WIFI release 5]
 +
 +
Build instructions for the ArchLinux images: [https://github.com/OLIMEX/OLINUXINO/blob/master/SOFTWARE/iMX233/ARCHLINUX/ARCH-README.TXT GitHub instructions]; the difference in the source code between the two official releases is in init-mx23.c related to the RAM initialization, refer to this [https://www.olimex.com/forum/index.php?topic=2174.msg14933#msg14933 forum post]
 +
 +
'''Username - password: root - root'''
 +
 +
'''*Newest official Debian release (no audio output nor video output support):'''
 +
 +
[https://drive.google.com/file/d/0BwplT87k9SCgR3VWUDNKVUo4Ulk/view?usp=sharing imx233 Debian 2GB SD-card image based on Kernel 3.11 (no audio no TV out support) release-1 with:]
 +
*Linux Kernel 3.11.rc1
 +
*USB WIFI RTL8188CU
 +
*Ethernet AX88772B
 +
*Ethernet LAN9512
 +
*GPIO
 +
*I2C
 +
*SPI
 +
*busybox
 +
*gcc-4.6
 +
*git
 +
*i2c-tools
 +
*openssl
 +
*perl
 +
*python2.7
 +
*apache2
 +
*dpkg
 +
*git
 +
*i2c-tools
 +
*perl
 +
*Default Login: '''root/root'''
 +
<br>
 +
'''Older official Arch Linux images (not recommended, use only if you know what you are doing):'''
 +
 +
Torrent of Arch Linux release 4 for Olimex iMX233 boards with SAMSUNG RAM memories: [[Media:Imx233_kernel_2.6_ARCH_FS_WIFI_release_5.torrent‎|iMX233 Arch image with kernel 2.6.35 WIFI release 4]]
 +
 +
Torrent of Arch Linux release 3 for Olimex iMX233 boards with industrial or non-SAMSUNG RAM memories: [[Media:Imx233 kernel 2.6 ARCH FS WIFI third release.torrent|iMX233 Arch image with kernel 2.6.35 WIFI release 3]]
 +
 +
== Un-official images from customers ==
 +
 +
=== OpenWRT ===
 +
 +
[http://wiki.openwrt.org/toh/olimex/imx233-olinuxino OpenWRT Wiki]
 +
 +
=== Slackware ===
 +
 +
[http://rpc.suroot.com/slackwarearm-live/ Slackware for imx233-OLinuXino]
 +
 +
=== NetBSD ===
 +
 +
[http://tero.stronglytyped.org/build-script-for-netbsd-on-olinuxino-imx233.html Tero's blog]
  
 
== Documents ==
 
== Documents ==
  
 
Digikey eeWiki about imx233-OLinuXino http://www.eewiki.net/display/linuxonarm/iMX233-OLinuXino
 
Digikey eeWiki about imx233-OLinuXino http://www.eewiki.net/display/linuxonarm/iMX233-OLinuXino
 +
 +
Fadil Berisha's blog http://g-lab.ca/home/
 +
 +
== How To ==
 +
  
 
== Hardware ==
 
== Hardware ==
 +
 
[https://www.olimex.com/forum/index.php?topic=995.0#msg4672 Attaching LCD to iMX233-OLinuXino-MAXI]
 
[https://www.olimex.com/forum/index.php?topic=995.0#msg4672 Attaching LCD to iMX233-OLinuXino-MAXI]
 +
 +
Customer made cases and case-designs for 3D printers:
 +
 +
1. [https://github.com/buserror-uk/buserror-reprap/commit/55e4fd51b99535fa19c25c6fcce92291ad5a0ced A reprap case design for iMX233-OLinuXino-MAXI]
 +
 +
2. [http://www.thingiverse.com/thing:27101 A .stl case design for iMX233-OLinuXino-MICRO]
  
 
== Software ==
 
== Software ==
  
To run a Linux system on these boards, 3 key components are required:
 
  
* boot code: either bootlets or a bootloader. Bootlets are stable, Das U-Boot is worked on
+
===Linux Commands===
and has support for the boards since recently.
+
 
* kernel, usually comes from the distribution or build system being used
+
[[Linux-Commands]] Brief Linux Command reference
* root filesystem, also provided by the chosen software distro
+
 
 +
To run a Linux system on iMX233 boards, 3 key components are required:
 +
 
 +
* boot code: either bootlets or a bootloader;
 +
* kernel;
 +
* root filesystem.<br><br>
  
 
=== Kernels ===
 
=== Kernels ===
Line 20: Line 102:
 
There are two kernel flavours which work on all 3 iMX233 OLinuXino boards:
 
There are two kernel flavours which work on all 3 iMX233 OLinuXino boards:
  
* 2.6 line. Builds are available from the Yocto BSP.
+
* 2.6 line. Support for all on-board hardware features, but lacks support for new kernel features and drivers. Build recipes: [https://github.com/Freescale/meta-fsl-arm-extra/tree/master/recipes-kernel/linux Yocto BSP], [https://github.com/OLIMEX/archlinuxarm-olinuxino/tree/master/olinuxino/kernel26-olinuxino  ArchlinuxARM package].
* 3.x line. Can be built from the latest stable linux releases with minimal patching.
+
* Mainline. A modern kernel but still a bit flaky. [https://github.com/koliqi/imx23-olinuxino instructions], [https://github.com/RobertCNelson/armv5_devel easy build helper] with [http://www.eewiki.net/display/linuxonarm/iMX233-OLinuXino instructions], [https://github.com/archlinuxarm/PKGBUILDs/tree/master/core/linux-olinuxino PKGBUILD] for alarm.<br><br><br>
  
 
=== Software Distributions ===
 
=== Software Distributions ===
Line 27: Line 109:
 
A list of linux distributions or build systems which can produce runnable images:
 
A list of linux distributions or build systems which can produce runnable images:
  
* Debian TODO: add link/description
+
* Debian. An excellent guide [http://www.eewiki.net/display/linuxonarm/iMX233-OLinuXino here], including instructions for bootloader, SD card partitioning, etc. There is [http://olimex.wordpress.com/2012/07/05/building-debian-linux-distribution-for-imx233-olinuxino/ another] guide from Olimex.
* [http://archlinuxarm.org/platforms/armv5/olinuxino ArchlinuxARM] with packages for both 2.6 and 3.x kernels and rich package repositories.
+
* [http://archlinuxarm.org/platforms/armv5/olinuxino ArchlinuxARM] with packages for both 2.6 and 3.x kernels and rich package repositories. The prebuilt images use bootlets, but can be made to work with U-Boot.
 
* [https://github.com/Freescale/fsl-community-bsp-base Yocto BSP], where most of the work on the boards is done and integrated first. Not newb-friendly, but extremely powerful. Also a complete SDK with cross-toolchains, runtime libraries, etc.
 
* [https://github.com/Freescale/fsl-community-bsp-base Yocto BSP], where most of the work on the boards is done and integrated first. Not newb-friendly, but extremely powerful. Also a complete SDK with cross-toolchains, runtime libraries, etc.
 
* [https://github.com/buserror-uk/minifs minifs] Compact Linux Distro Generator for iMX233 with mainline Kernel 3.x
 
* [https://github.com/buserror-uk/minifs minifs] Compact Linux Distro Generator for iMX233 with mainline Kernel 3.x
Line 35: Line 117:
 
=== Various Links ===
 
=== Various Links ===
  
'''iMX233-OLinuXino ARCH Linux SD image with WIFI support''' - Linux Kernel 2.6.35 and completely support for all board features https://docs.google.com/open?id=0B-bAEPML8fwlYUUxaUtsNkZrRk0
 
  
'''LINUX KERNEL 3.x work in progress''' - https://github.com/koliqi/imx23-olinuxino
+
'''LINUX KERNEL 3.x work in progress by Fadil Berisha''' - https://github.com/koliqi/imx23-olinuxino
 +
 
 +
'''OpenWrt support for iMX233-OLinuXino''' - http://wiki.openwrt.org/toh/olimex/imx233-olinuxino
 +
 
 +
'''External wiki article with a lot of useful information for iMX233-OLinuXino''' - http://eewiki.net/display/linuxonarm/iMX233-OLinuXino
  
 
'''How to setup iMX233 RTL8188 WIFI''' - http://www.agilart.com/blog/the-olinuxino-micro-wifi-sd-cards-farbric
 
'''How to setup iMX233 RTL8188 WIFI''' - http://www.agilart.com/blog/the-olinuxino-micro-wifi-sd-cards-farbric
  
'''MINIFS''' - Compact Linux Distro Generator for iMX233 with mainline Kernel 3.x https://github.com/buserror-uk/minifs
+
'''MINIFS''' - Compact Linux Distro Generator for iMX233 with mainline Kernel 3.x note this often is broken and not stabile https://github.com/buserror-uk/minifs
  
 
'''EASY KERNEL BUILD''' This just a simple set of scripts to rebuild a known working kernel for ARM devices.. https://github.com/RobertCNelson/armv5_devel
 
'''EASY KERNEL BUILD''' This just a simple set of scripts to rebuild a known working kernel for ARM devices.. https://github.com/RobertCNelson/armv5_devel
 
  
 
'''QEMU''' - Olinuxino board emulated with 3.x kernel, working SD, USB, UART, RTC, (soft) I2C and even Onewire. See README.md for building/running instructions http://dl.dropbox.com/u/41951227/README.md or https://github.com/buserror-uk/qemu-buserror
 
'''QEMU''' - Olinuxino board emulated with 3.x kernel, working SD, USB, UART, RTC, (soft) I2C and even Onewire. See README.md for building/running instructions http://dl.dropbox.com/u/41951227/README.md or https://github.com/buserror-uk/qemu-buserror
 +
<br><br>
  
 
== Projects ==
 
== Projects ==
Line 82: Line 167:
 
Sending e-mail demo https://www.olimex.com/forum/index.php?topic=214.0
 
Sending e-mail demo https://www.olimex.com/forum/index.php?topic=214.0
  
== FAQ ==
+
[[Main_Page]]
Under construction
 
 
 
== List of Contributors ==
 
 
 
'''Raivis Rengelis''' - iMX233-OLinuXino patches, support in LTIB
 
 
 
'''Fadil Berisha''' - Kernel 3.x support for iMX233
 
 
 
'''Fabio Esteban''' - Kernel 3.x support
 
 
 
'''Radoslav Kolev''' - Open Embedded initial support
 
 
 
'''Otavio Salvador''' - Open Embedded maintainer
 
 
 
'''Kiril Zyapkov''' - ARCH linux initial support
 
 
 
'''Mike Brown''' - ARCH linux maintainer, OLinuXino ARCH support
 
 
 
'''Michael Pollet''' - minifs project, QEMU for imx233
 
 
 
'''Claude Schwartz''' - LCD support for imx233, Quake, MAME
 
 
 
'''Dimitar Gamishev''' - Linux kernel support, Kernel images, Rootfs images
 
 
 
'''Jeroen De Schepper''' - I2C, MODBUS, PLC
 
 
 
'''Petri Laakso''' - NetBSD
 
 
 
'''Jochen Kunz''' - NetBSD
 
 
 
'''Marek Vasut''' - uboot for imx233 help
 
 
 
'''Mike Thompson''' - kernel 3.x USB help
 
 
 
[[Category:iMX233]]
 

Latest revision as of 22:28, 19 May 2022

Official Images from OLIMEX

Linux

For initial test with the default images follow the general algorithm:

1. Download the image

2. Extract it out of the archive

3. Write the image to a properly formatted microSD card

Step 3 under Linux looks usually like:

sudo dd if=LINUX_IMAGE_NAME.img of=/dev/mmcblk0

*Newest official Arch Linux image (recommended):

Direct download of Arch Linux release 5 for all Olimex iMX233 boards: iMX233 Arch image with kernel 2.6.35 WIFI release 5

Build instructions for the ArchLinux images: GitHub instructions; the difference in the source code between the two official releases is in init-mx23.c related to the RAM initialization, refer to this forum post

Username - password: root - root

*Newest official Debian release (no audio output nor video output support):

imx233 Debian 2GB SD-card image based on Kernel 3.11 (no audio no TV out support) release-1 with:

  • Linux Kernel 3.11.rc1
  • USB WIFI RTL8188CU
  • Ethernet AX88772B
  • Ethernet LAN9512
  • GPIO
  • I2C
  • SPI
  • busybox
  • gcc-4.6
  • git
  • i2c-tools
  • openssl
  • perl
  • python2.7
  • apache2
  • dpkg
  • git
  • i2c-tools
  • perl
  • Default Login: root/root


Older official Arch Linux images (not recommended, use only if you know what you are doing):

Torrent of Arch Linux release 4 for Olimex iMX233 boards with SAMSUNG RAM memories: iMX233 Arch image with kernel 2.6.35 WIFI release 4

Torrent of Arch Linux release 3 for Olimex iMX233 boards with industrial or non-SAMSUNG RAM memories: iMX233 Arch image with kernel 2.6.35 WIFI release 3

Un-official images from customers

OpenWRT

OpenWRT Wiki

Slackware

Slackware for imx233-OLinuXino

NetBSD

Tero's blog

Documents

Digikey eeWiki about imx233-OLinuXino http://www.eewiki.net/display/linuxonarm/iMX233-OLinuXino

Fadil Berisha's blog http://g-lab.ca/home/

How To

Hardware

Attaching LCD to iMX233-OLinuXino-MAXI

Customer made cases and case-designs for 3D printers:

1. A reprap case design for iMX233-OLinuXino-MAXI

2. A .stl case design for iMX233-OLinuXino-MICRO

Software

Linux Commands

Linux-Commands Brief Linux Command reference

To run a Linux system on iMX233 boards, 3 key components are required:

  • boot code: either bootlets or a bootloader;
  • kernel;
  • root filesystem.

Kernels

There are two kernel flavours which work on all 3 iMX233 OLinuXino boards:

Software Distributions

A list of linux distributions or build systems which can produce runnable images:

  • Debian. An excellent guide here, including instructions for bootloader, SD card partitioning, etc. There is another guide from Olimex.
  • ArchlinuxARM with packages for both 2.6 and 3.x kernels and rich package repositories. The prebuilt images use bootlets, but can be made to work with U-Boot.
  • Yocto BSP, where most of the work on the boards is done and integrated first. Not newb-friendly, but extremely powerful. Also a complete SDK with cross-toolchains, runtime libraries, etc.
  • minifs Compact Linux Distro Generator for iMX233 with mainline Kernel 3.x


Various Links

LINUX KERNEL 3.x work in progress by Fadil Berisha - https://github.com/koliqi/imx23-olinuxino

OpenWrt support for iMX233-OLinuXino - http://wiki.openwrt.org/toh/olimex/imx233-olinuxino

External wiki article with a lot of useful information for iMX233-OLinuXino - http://eewiki.net/display/linuxonarm/iMX233-OLinuXino

How to setup iMX233 RTL8188 WIFI - http://www.agilart.com/blog/the-olinuxino-micro-wifi-sd-cards-farbric

MINIFS - Compact Linux Distro Generator for iMX233 with mainline Kernel 3.x note this often is broken and not stabile https://github.com/buserror-uk/minifs

EASY KERNEL BUILD This just a simple set of scripts to rebuild a known working kernel for ARM devices.. https://github.com/RobertCNelson/armv5_devel

QEMU - Olinuxino board emulated with 3.x kernel, working SD, USB, UART, RTC, (soft) I2C and even Onewire. See README.md for building/running instructions http://dl.dropbox.com/u/41951227/README.md or https://github.com/buserror-uk/qemu-buserror

Projects

GPIO:

use from shell and C - http://olimex.wordpress.com/2012/09/07/imx233-olinuxino-working-with-gpios/

use /dev/mem - http://olimex.wordpress.com/2012/09/11/imx233-olinuxino-gpios-faster-and-faster/

WEB-IO - https://github.com/hehopmajieh/olinuxino-web-io

I2C:

MOD-IO2 interfacing - http://olimex.wordpress.com/2012/10/12/using-mod-gsm-with-imx233-olinuxino/

MOD-MAG 3-Axes magnetometer interfacing - http://olimex.wordpress.com/2012/09/26/imx233-olinuxino-i2c-tutorial-using-mod-mag-3-axes-magnetometer/

MOD-LCD1x9 interfacing - http://olimex.wordpress.com/2012/09/25/imx233-olinuxino-i2c-tutorial-using-mod-lcd1x9/

MOD-WII-NUNCHUCK interfacing - http://olimex.wordpress.com/2012/09/25/imx233-olinuxino-i2c-tutorial-using-wii-nunchuk/

SPI:

SPI example - https://www.olimex.com/forum/index.php?topic=232.0

Implementing Fast software SPI on iMX233-OLinuXino http://dev.moorescloud.com/2012/11/02/implementing-fast-software-spi/

GSM:

http://olimex.wordpress.com/2012/10/12/using-mod-gsm-with-imx233-olinuxino/

E-MAIL:

Sending e-mail demo https://www.olimex.com/forum/index.php?topic=214.0

Main_Page