Difference between revisions of "IMX233"

(Linux)
(Linux)
 
(22 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
2. Extract it out of the archive
 
2. Extract it out of the archive
  
3. Copy the image to a properly formatted microSD card
+
3. Write the image to a properly formatted microSD card
  
 
Step 3 under Linux looks usually like:
 
Step 3 under Linux looks usually like:
Line 14: Line 14:
 
''sudo dd if=LINUX_IMAGE_NAME.img of=/dev/mmcblk0''
 
''sudo dd if=LINUX_IMAGE_NAME.img of=/dev/mmcblk0''
  
'''iMX233-OLinuXino ARCH Linux SD image with WIFI support''' - Linux Kernel 2.6.35 and complete support for all board features https://docs.google.com/open?id=0B-bAEPML8fwlYUUxaUtsNkZrRk0
+
'''*Newest official Arch Linux image (recommended):'''
  
'''[https://docs.google.com/file/d/0B-bAEPML8fwlUDRJajU2TkVxWVE/edit?usp=sharing imx233 Debian 2GB SD-card image based on Kernel 3.11 (no audio no TV out support) release-1 with:]'''
+
Torrent of Arch Linux release 5 for all Olimex iMX233 boards: [[Media:Imx233_kernel_2.6_ARCH_FS_WIFI_release_5.torrent‎|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
 
*Linux Kernel 3.11.rc1
 
*USB WIFI RTL8188CU
 
*USB WIFI RTL8188CU
Line 37: Line 45:
 
*perl
 
*perl
 
*Default Login: '''root/root'''
 
*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 ==
 
== Un-official images from customers ==
Line 75: Line 89:
  
 
===Linux Commands===
 
===Linux Commands===
 
  
 
[[Linux-Commands]] Brief Linux Command reference
 
[[Linux-Commands]] Brief Linux Command reference
  
 
+
To run a Linux system on iMX233 boards, 3 key components are required:
 
 
 
 
 
 
To run a Linux system on these boards, 3 key components are required:
 
  
 
* boot code: either bootlets or a bootloader;
 
* boot code: either bootlets or a bootloader;
 
* kernel;
 
* kernel;
* root filesystem.
+
* root filesystem.<br><br>
 
 
  
 
=== Kernels ===
 
=== Kernels ===
Line 95: Line 103:
  
 
* 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].
 
* 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].
* 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.
+
* 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 123: Line 131:
  
 
'''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 ==

Latest revision as of 22:46, 12 July 2017

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

Torrent 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