User Tools

Site Tools


toh:olimex:imx233-olinuxino

Olimex IMX233 (OLinuXino)

The Olinuxino is a low-cost development board for applications like point-of-sale terminals. It comes in different buildouts, all include a microSD slot to boot the OS from.

Supported Versions

Model Version Launch Date OpenWrt Version Supported Model Specific Notes
-maxi - BB WiP
-micro - BB WiP
-nano - BB WiP

Hardware Highlights

SoC Ram Flash Network USB Serial JTag UEXT
Freescale i.MX233 64 MiB None 1x FE, depends on model yes Yes No Depends on model

UEXT is an open standard port to provide serial, I2C and SPI expansion ports.

  • IMX233-MAXI: Ethernet, 2 USB, UEXT, TV-out
  • IMX233-MICRO: 1 USB, TV-out
  • IMX233-MINI: 3 USB, UEXT, TV-out
  • IMX233-MINI-WIFI : Optional RTL8188 WIFI, 3 USB, UEXT, TV-out

Installation

This section details what is required to install and upgrade OpenWrt. The generic procedure is described here: generic.flashing; this devices don't have a flash chip soldered to the PCB but an SD-Card slot.

Status

This is a WiP board. Committed into trunk as of r37038.

Working

  • USB
  • LAN
  • RTC
  • watchdog
  • Audio (considered as staging) r37622
  • crypto (DCP, data co-processor)

Being worked on

  • I2C
  • SPI
  • LRADC (done but needs testing / integration)

Not being worked on

  • TV-out

Installation process for sbImage

  • Partition the SD card

We assume /dev/sdc is the SD card.

# fdisk /dev/sdc
Command (m for help): n
Partition type:
  p   primary (0 primary, 0 extended, 4 free)
  e   extended
Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-7626751, default 2048):
Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-7626751, default 7626751): +16MB
Partition 1 of type Linux and of size 15.3 MiB is set

Command (m for help): t
Selected partition 1
Hex code (type L to list codes): 53
Changed system type of partition 1 to 53 (OnTrack DM6 Aux3)

Command (m for help): n
Partition type:
  p   primary (1 primary, 0 extended, 3 free)
  e   extended
Select (default p):
Using default response p
Partition number (1-4, default 2):
Using default value 2
First sector (33298-7626751, default 33298):
Using default value 33298
Last sector, +sectors or +size{K,M,G} (33298-7626751, default 7626751):
Using default value 7626751
Partition 2 of type Linux and of size 3.6 GiB is set

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.

  • Copy the kernel and the rootfs to the SD card

# dd if=openwrt-imx23-sbImage of=/dev/sdc1
[...]

# dd if=openwrt-imx23-root.ext4 of=/dev/sdc2
[...]

#

Installation process for U-boot

  • Assume /dev/sdc is the sdcard

root@voyager:/# fdisk /dev/sdc

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-957, default 1):
Using default value 1
Last cylinder, +cylinders or +size{K,M,G} (1-957, default 957): +1M

Command (m for help): t
Selected partition 1
Hex code (type L to list codes): 53
Changed system type of partition 1 to 53 (OnTrack DM6 Aux3)

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 2
First cylinder (3-957, default 3):
Using default value 3
Last cylinder, +cylinders or +size{K,M,G} (3-957, default 957): +32M

Command (m for help): t
Partition number (1-4): 2
Hex code (type L to list codes): 6
Changed system type of partition 2 to 6 (FAT16)

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 3
First cylinder (20-957, default 20):
Using default value 20
Last cylinder, +cylinders or +size{K,M,G} (20-957, default 957): +48M

Command (m for help): p

Disk /dev/sdc: 1977 MB, 1977614336 bytes
64 heads, 63 sectors/track, 957 cylinders
Units = cylinders of 4032 * 512 = 2064384 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1           2        4000+  53  OnTrack DM6 Aux3
/dev/sdc2               3          19       34272    6  FAT16
/dev/sdc3              20          44       50400   83  Linux

root@voyager:/# mkfs.vfat /dev/sdc2
mkfs.vfat 3.0.7 (24 Dec 2009)

  • Copy bin/mxs/openwrt-mxs-uImage onto sdc2/uImage
  • Copy bin/mxs/imx23-olinuxino.dtb onto sdc2/
  • dd if=openwrt-mxs-root.ext4 of=/dev/sdc3

Upgrading OpenWrt

generic.sysupgrade

*WiP*

If you have already installed OpenWrt and like to reflash for e.g. upgrading to a new OpenWrt version you can upgrade using the mtd command line tool. It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.

Hardware

Info

MAXI MINI MICRO MINI-WIFI
Instruction set: ARM
Vendor: Freescale
Bootloader: ? U-Boot / RedBoot / CFE / …
System-On-Chip: i.MX233
CPU @Frq ARM9 @?MHz
Flash size: n/a, SD-Card slot
Flash Chip:
RAM size:
RAM Chip:
Wireless No1: distinct Chip: RealTek ??? w/ 3x3 MIMO for 2.4GHz 802.11b/g/n
Wireless No2: n/a
Switch: n/a
Modem: n/a
USB: Yes 1 x 2.0 / 3.0
Serial: Yes
JTAG: Yes

Serial for IMX-233-MAXI

You can use your usual serial levelshifter. Pinout is:

[UEXT]

RX TX GND
 o  o  o  o 

[USB/ethernet]

Further notes

The board uses a special boot image called bootstream / safeboot. The file includes a zImage, a compiled devicetree, and various preparation bootlets (power_, sdram_, linux_)- these are contained in package/imx-bootlets. The image is created by the elftosb tool.

A U-boot is being prepared by various people to replace the bootlets to enable easier debugging and further functions in the boot process.

Sound

Please note that this driver is considered staging, report any issues via the bugtracker.

root@OpenWrt:/# cat /proc/asound/devices
  0: [ 0]   : control
 16: [ 0- 0]: digital audio playback
 24: [ 0- 0]: digital audio capture
 33:        : timer

crypto

The dcp driver is not yet in mainline, it's done by Tobias Rauter.

Speed comparison:

openssl speed test - without DCP

root@OpenWrt:/# openssl speed
Doing md4 for 3s on 16 size blocks: 229002 md4's in 3.00s
Doing md4 for 3s on 64 size blocks: 203937 md4's in 2.96s
Doing md4 for 3s on 256 size blocks: 160489 md4's in 3.00s
Doing md4 for 3s on 1024 size blocks: 83122 md4's in 2.96s
Doing md4 for 3s on 8192 size blocks: 15457 md4's in 3.00s
Doing md5 for 3s on 16 size blocks: 142564 md5's in 2.96s
Doing md5 for 3s on 64 size blocks: 132424 md5's in 3.00s
Doing md5 for 3s on 256 size blocks: 105135 md5's in 2.97s
Doing md5 for 3s on 1024 size blocks: 59797 md5's in 3.00s
Doing md5 for 3s on 8192 size blocks: 11642 md5's in 3.00s
Doing hmac(md5) for 3s on 16 size blocks: 239799 hmac(md5)'s in 2.97s
Doing hmac(md5) for 3s on 64 size blocks: 212517 hmac(md5)'s in 3.00s
Doing hmac(md5) for 3s on 256 size blocks: 150514 hmac(md5)'s in 2.96s
Doing hmac(md5) for 3s on 1024 size blocks: 72026 hmac(md5)'s in 3.00s
Doing hmac(md5) for 3s on 8192 size blocks: 11876 hmac(md5)'s in 2.96s
Doing sha1 for 3s on 16 size blocks: 155659 sha1's in 3.00s
Doing sha1 for 3s on 64 size blocks: 112239 sha1's in 2.96s
Doing sha1 for 3s on 256 size blocks: 62892 sha1's in 3.00s
Doing sha1 for 3s on 1024 size blocks: 22163 sha1's in 2.95s
Doing sha1 for 3s on 8192 size blocks: 3206 sha1's in 3.00s
Doing sha256 for 3s on 16 size blocks: 171424 sha256's in 2.96s
Doing sha256 for 3s on 64 size blocks: 109760 sha256's in 3.01s
Doing sha256 for 3s on 256 size blocks: 51198 sha256's in 2.96s
Doing sha256 for 3s on 1024 size blocks: 16641 sha256's in 3.00s
Doing sha256 for 3s on 8192 size blocks: 2233 sha256's in 2.96s
Doing sha512 for 3s on 16 size blocks: 53130 sha512's in 3.00s
Doing sha512 for 3s on 64 size blocks: 52322 sha512's in 2.96s
Doing sha512 for 3s on 256 size blocks: 19761 sha512's in 3.00s
Doing sha512 for 3s on 1024 size blocks: 6747 sha512's in 2.96s
Doing sha512 for 3s on 8192 size blocks: 963 sha512's in 3.00s
Doing whirlpool for 3s on 16 size blocks: 41096 whirlpool's in 2.96s
Doing whirlpool for 3s on 64 size blocks: 20044 whirlpool's in 3.00s
Doing whirlpool for 3s on 256 size blocks: 7780 whirlpool's in 2.96s
Doing whirlpool for 3s on 1024 size blocks: 2336 whirlpool's in 3.00s
Doing whirlpool for 3s on 8192 size blocks: 305 whirlpool's in 2.96s
Doing rc4 for 3s on 16 size blocks: 2978268 rc4's in 3.00s
Doing rc4 for 3s on 64 size blocks: 855804 rc4's in 2.96s
Doing rc4 for 3s on 256 size blocks: 227207 rc4's in 3.00s
Doing rc4 for 3s on 1024 size blocks: 56473 rc4's in 2.96s
Doing rc4 for 3s on 8192 size blocks: 7142 rc4's in 3.00s
Doing des cbc for 3s on 16 size blocks: 539237 des cbc's in 2.95s
Doing des cbc for 3s on 64 size blocks: 142003 des cbc's in 3.00s
Doing des cbc for 3s on 256 size blocks: 35273 des cbc's in 2.96s
Doing des cbc for 3s on 1024 size blocks: 8978 des cbc's in 3.00s
Doing des cbc for 3s on 8192 size blocks: 1102 des cbc's in 2.97s
Doing des ede3 for 3s on 16 size blocks: 195014 des ede3's in 3.00s
Doing des ede3 for 3s on 64 size blocks: 48664 des ede3's in 2.95s
Doing des ede3 for 3s on 256 size blocks: 12404 des ede3's in 3.00s
Doing des ede3 for 3s on 1024 size blocks: 3056 des ede3's in 2.96s
Doing des ede3 for 3s on 8192 size blocks: 387 des ede3's in 3.00s
Doing aes-128 cbc for 3s on 16 size blocks: 768057 aes-128 cbc's in 2.96s
Doing aes-128 cbc for 3s on 64 size blocks: 219215 aes-128 cbc's in 3.00s
Doing aes-128 cbc for 3s on 256 size blocks: 55708 aes-128 cbc's in 2.97s
Doing aes-128 cbc for 3s on 1024 size blocks: 14260 aes-128 cbc's in 3.00s
Doing aes-128 cbc for 3s on 8192 size blocks: 1749 aes-128 cbc's in 2.96s
Doing aes-192 cbc for 3s on 16 size blocks: 700157 aes-192 cbc's in 3.00s
Doing aes-192 cbc for 3s on 64 size blocks: 190679 aes-192 cbc's in 2.95s
Doing aes-192 cbc for 3s on 256 size blocks: 49749 aes-192 cbc's in 3.00s
Doing aes-192 cbc for 3s on 1024 size blocks: 12330 aes-192 cbc's in 2.96s
Doing aes-192 cbc for 3s on 8192 size blocks: 1560 aes-192 cbc's in 3.00s
Doing aes-256 cbc for 3s on 16 size blocks: 622305 aes-256 cbc's in 2.96s
Doing aes-256 cbc for 3s on 64 size blocks: 173138 aes-256 cbc's in 3.00s
Doing aes-256 cbc for 3s on 256 size blocks: 43658 aes-256 cbc's in 2.96s
Doing aes-256 cbc for 3s on 1024 size blocks: 11154 aes-256 cbc's in 3.00s
Doing aes-256 cbc for 3s on 8192 size blocks: 1368 aes-256 cbc's in 2.96s
Doing aes-128 ige for 3s on 16 size blocks: 810183 aes-128 ige's in 3.00s
Doing aes-128 ige for 3s on 64 size blocks: 237755 aes-128 ige's in 2.95s
Doing aes-128 ige for 3s on 256 size blocks: 63464 aes-128 ige's in 3.00s
Doing aes-128 ige for 3s on 1024 size blocks: 15815 aes-128 ige's in 2.96s
Doing aes-128 ige for 3s on 8192 size blocks: 1858 aes-128 ige's in 3.00s
Doing aes-192 ige for 3s on 16 size blocks: 714243 aes-192 ige's in 2.96s
Doing aes-192 ige for 3s on 64 size blocks: 211113 aes-192 ige's in 3.00s
Doing aes-192 ige for 3s on 256 size blocks: 54133 aes-192 ige's in 2.95s
Doing aes-192 ige for 3s on 1024 size blocks: 13885 aes-192 ige's in 3.00s
Doing aes-192 ige for 3s on 8192 size blocks: 1598 aes-192 ige's in 2.96s
Doing aes-256 ige for 3s on 16 size blocks: 652446 aes-256 ige's in 3.00s
Doing aes-256 ige for 3s on 64 size blocks: 183950 aes-256 ige's in 2.96s
Doing aes-256 ige for 3s on 256 size blocks: 48445 aes-256 ige's in 3.00s
Doing aes-256 ige for 3s on 1024 size blocks: 12026 aes-256 ige's in 2.95s
Doing aes-256 ige for 3s on 8192 size blocks: 1437 aes-256 ige's in 3.00s
Doing ghash for 3s on 16 size blocks: 593593 ghash's in 2.96s
Doing ghash for 3s on 64 size blocks: 155961 ghash's in 3.00s
Doing ghash for 3s on 256 size blocks: 38879 ghash's in 2.97s
Doing ghash for 3s on 1024 size blocks: 9819 ghash's in 2.99s
Doing ghash for 3s on 8192 size blocks: 1231 ghash's in 3.00s
Doing seed cbc for 3s on 16 size blocks: 616956 seed cbc's in 2.95s
Doing seed cbc for 3s on 64 size blocks: 171549 seed cbc's in 3.00s
Doing seed cbc for 3s on 256 size blocks: 43269 seed cbc's in 2.96s
Doing seed cbc for 3s on 1024 size blocks: 11045 seed cbc's in 3.00s
Doing seed cbc for 3s on 8192 size blocks: 1355 seed cbc's in 2.96s
Doing rc2 cbc for 3s on 16 size blocks: 744531 rc2 cbc's in 3.00s
Doing rc2 cbc for 3s on 64 size blocks: 193286 rc2 cbc's in 2.96s
Doing rc2 cbc for 3s on 256 size blocks: 49743 rc2 cbc's in 3.00s
Doing rc2 cbc for 3s on 1024 size blocks: 12292 rc2 cbc's in 2.96s
Doing rc2 cbc for 3s on 8192 size blocks: 1557 rc2 cbc's in 3.01s
Doing blowfish cbc for 3s on 16 size blocks: 1048346 blowfish cbc's in 2.96s
Doing blowfish cbc for 3s on 64 size blocks: 287520 blowfish cbc's in 3.00s
Doing blowfish cbc for 3s on 256 size blocks: 72239 blowfish cbc's in 2.96s
Doing blowfish cbc for 3s on 1024 size blocks: 18420 blowfish cbc's in 3.00s
Doing blowfish cbc for 3s on 8192 size blocks: 2258 blowfish cbc's in 2.95s
Doing cast cbc for 3s on 16 size blocks: 941391 cast cbc's in 3.00s
Doing cast cbc for 3s on 64 size blocks: 260066 cast cbc's in 2.96s
Doing cast cbc for 3s on 256 size blocks: 68137 cast cbc's in 3.00s
Doing cast cbc for 3s on 1024 size blocks: 16920 cast cbc's in 2.96s
Doing cast cbc for 3s on 8192 size blocks: 2141 cast cbc's in 3.00s
Doing 512 bit private rsa's for 10s: 1497 512 bit private RSA's in 9.91s
Doing 512 bit public rsa's for 10s: 18290 512 bit public RSA's in 9.92s
Doing 1024 bit private rsa's for 10s: 339 1024 bit private RSA's in 9.97s
Doing 1024 bit public rsa's for 10s: 6731 1024 bit public RSA's in 9.92s
Doing 2048 bit private rsa's for 10s: 58 2048 bit private RSA's in 9.98s
Doing 2048 bit public rsa's for 10s: 2036 2048 bit public RSA's in 9.96s
Doing 4096 bit private rsa's for 10s: 9 4096 bit private RSA's in 10.60s
Doing 4096 bit public rsa's for 10s: 553 4096 bit public RSA's in 9.92s
Doing 512 bit sign dsa's for 10s: 1809 512 bit DSA signs in 9.89s
Doing 512 bit verify dsa's for 10s: 1718 512 bit DSA verify in 9.96s
Doing 1024 bit sign dsa's for 10s: 681 1024 bit DSA signs in 9.91s
Doing 1024 bit verify dsa's for 10s: 578 1024 bit DSA verify in 9.96s
Doing 2048 bit sign dsa's for 10s: 205 2048 bit DSA signs in 9.91s
Doing 2048 bit verify dsa's for 10s: 165 2048 bit DSA verify in 9.93s
OpenSSL 1.0.1e 11 Feb 2013
built on: Sat Aug  3 11:43:46 CEST 2013
options:bn(64,32) rc4(ptr,char) des(idx,cisc,2,long) aes(partial) blowfish(ptr)
compiler: arm-openwrt-linux-uclibcgnueabi-gcc -fPIC -DOPENSSL_PIC -DZLIB_SHAREDl
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
md2                  0.00         0.00         0.00         0.00         0.00
mdc2                 0.00         0.00         0.00         0.00         0.00
md4               1221.34k     4409.45k    13695.06k    28755.72k    42207.91k
md5                770.62k     2825.05k     9062.14k    20410.71k    31790.42k
hmac(md5)         1291.85k     4533.70k    13017.43k    24584.87k    32867.63k
sha1               830.18k     2426.79k     5366.78k     7693.19k     8754.52k
rmd160               0.00         0.00         0.00         0.00         0.00
rc4              15884.10k    18503.87k    19388.33k    19536.61k    19502.42k
des cbc           2924.68k     3029.40k     3050.64k     3064.49k     3039.59k
des ede3          1040.07k     1055.76k     1058.47k     1057.21k     1056.77k
idea cbc             0.00         0.00         0.00         0.00         0.00
seed cbc          3346.20k     3659.71k     3742.18k     3770.03k     3750.05k
rc2 cbc           3970.83k     4179.16k     4244.74k     4252.37k     4237.52k
rc5-32/12 cbc        0.00         0.00         0.00         0.00         0.00
blowfish cbc      5666.74k     6133.76k     6247.70k     6287.36k     6270.35k
cast cbc          5020.75k     5623.05k     5814.36k     5853.41k     5846.36k
aes-128 cbc       4151.66k     4676.59k     4801.77k     4867.41k     4840.48k
aes-192 cbc       3734.17k     4136.76k     4245.25k     4265.51k     4259.84k
aes-256 cbc       3363.81k     3693.61k     3775.83k     3807.23k     3786.03k
camellia-128 cbc        0.00         0.00         0.00         0.00         0.0
camellia-192 cbc        0.00         0.00         0.00         0.00         0.0
camellia-256 cbc        0.00         0.00         0.00         0.00         0.0
sha256             926.62k     2333.77k     4427.94k     5680.13k     6179.98k
sha512             283.36k     1131.29k     1686.27k     2334.10k     2629.63k
whirlpool          222.14k      427.61k      672.86k      797.35k      844.11k
aes-128 ige       4320.98k     5158.07k     5415.59k     5471.14k     5073.58k
aes-192 ige       3860.77k     4503.74k     4697.64k     4739.41k     4422.57k
aes-256 ige       3479.71k     3977.30k     4133.97k     4174.45k     3923.97k
ghash             3208.61k     3327.17k     3351.19k     3362.76k     3361.45k
                  sign    verify    sign/s verify/s
rsa  512 bits 0.006620s 0.000542s    151.1   1843.8
rsa 1024 bits 0.029410s 0.001474s     34.0    678.5
rsa 2048 bits 0.172069s 0.004892s      5.8    204.4
rsa 4096 bits 1.177778s 0.017939s      0.8     55.7
                  sign    verify    sign/s verify/s
dsa  512 bits 0.005467s 0.005797s    182.9    172.5
dsa 1024 bits 0.014552s 0.017232s     68.7     58.0
dsa 2048 bits 0.048341s 0.060182s     20.7     16.6

openssl speed test - with DCP

root@OpenWrt:/# insmod dcp
[  525.100000] fsl-dcp 80028000.dcp: DCP crypto enabled.!
root@OpenWrt:/# openssl speed
Doing md4 for 3s on 16 size blocks: 250497 md4's in 2.95s
Doing md4 for 3s on 64 size blocks: 250090 md4's in 3.00s
Doing md4 for 3s on 256 size blocks: 182294 md4's in 2.96s
Doing md4 for 3s on 1024 size blocks: 90764 md4's in 3.00s
Doing md4 for 3s on 8192 size blocks: 15230 md4's in 2.95s
Doing md5 for 3s on 16 size blocks: 163340 md5's in 3.00s
Doing md5 for 3s on 64 size blocks: 155630 md5's in 2.95s
Doing md5 for 3s on 256 size blocks: 122369 md5's in 3.00s
Doing md5 for 3s on 1024 size blocks: 63416 md5's in 2.95s
Doing md5 for 3s on 8192 size blocks: 11727 md5's in 3.00s
Doing hmac(md5) for 3s on 16 size blocks: 226328 hmac(md5)'s in 2.95s
Doing hmac(md5) for 3s on 64 size blocks: 198832 hmac(md5)'s in 3.00s
Doing hmac(md5) for 3s on 256 size blocks: 140400 hmac(md5)'s in 2.95s
Doing hmac(md5) for 3s on 1024 size blocks: 69683 hmac(md5)'s in 3.00s
Doing hmac(md5) for 3s on 8192 size blocks: 11777 hmac(md5)'s in 2.96s
Doing sha1 for 3s on 16 size blocks: 169151 sha1's in 3.00s
Doing sha1 for 3s on 64 size blocks: 119124 sha1's in 2.96s
Doing sha1 for 3s on 256 size blocks: 64970 sha1's in 3.00s
Doing sha1 for 3s on 1024 size blocks: 22423 sha1's in 2.96s
Doing sha1 for 3s on 8192 size blocks: 3208 sha1's in 3.00s
Doing sha256 for 3s on 16 size blocks: 182755 sha256's in 2.96s
Doing sha256 for 3s on 64 size blocks: 113783 sha256's in 3.00s
Doing sha256 for 3s on 256 size blocks: 51896 sha256's in 2.95s
Doing sha256 for 3s on 1024 size blocks: 16780 sha256's in 3.00s
Doing sha256 for 3s on 8192 size blocks: 2234 sha256's in 2.97s
Doing sha512 for 3s on 16 size blocks: 53138 sha512's in 3.00s
Doing sha512 for 3s on 64 size blocks: 52327 sha512's in 2.96s
Doing sha512 for 3s on 256 size blocks: 19765 sha512's in 3.00s
Doing sha512 for 3s on 1024 size blocks: 6748 sha512's in 2.96s
Doing sha512 for 3s on 8192 size blocks: 963 sha512's in 3.00s
Doing whirlpool for 3s on 16 size blocks: 40959 whirlpool's in 2.96s
Doing whirlpool for 3s on 64 size blocks: 19962 whirlpool's in 3.00s
Doing whirlpool for 3s on 256 size blocks: 7821 whirlpool's in 2.97s
Doing whirlpool for 3s on 1024 size blocks: 2314 whirlpool's in 2.98s
Doing whirlpool for 3s on 8192 size blocks: 309 whirlpool's in 3.01s
Doing rc4 for 3s on 16 size blocks: 2927978 rc4's in 2.95s
Doing rc4 for 3s on 64 size blocks: 868022 rc4's in 3.00s
Doing rc4 for 3s on 256 size blocks: 222196 rc4's in 2.96s
Doing rc4 for 3s on 1024 size blocks: 57009 rc4's in 3.00s
Doing rc4 for 3s on 8192 size blocks: 7027 rc4's in 2.96s
Doing des cbc for 3s on 16 size blocks: 547648 des cbc's in 3.00s
Doing des cbc for 3s on 64 size blocks: 139851 des cbc's in 2.96s
Doing des cbc for 3s on 256 size blocks: 35808 des cbc's in 3.00s
Doing des cbc for 3s on 1024 size blocks: 8836 des cbc's in 2.96s
Doing des cbc for 3s on 8192 size blocks: 1119 des cbc's in 3.00s
Doing des ede3 for 3s on 16 size blocks: 192056 des ede3's in 2.96s
Doing des ede3 for 3s on 64 size blocks: 49414 des ede3's in 3.00s
Doing des ede3 for 3s on 256 size blocks: 12203 des ede3's in 2.97s
Doing des ede3 for 3s on 1024 size blocks: 3100 des ede3's in 3.00s
Doing des ede3 for 3s on 8192 size blocks: 381 des ede3's in 2.96s
Doing aes-128 cbc for 3s on 16 size blocks: 780017 aes-128 cbc's in 3.00s
Doing aes-128 cbc for 3s on 64 size blocks: 215832 aes-128 cbc's in 2.96s
Doing aes-128 cbc for 3s on 256 size blocks: 56555 aes-128 cbc's in 3.00s
Doing aes-128 cbc for 3s on 1024 size blocks: 14039 aes-128 cbc's in 2.96s
Doing aes-128 cbc for 3s on 8192 size blocks: 1776 aes-128 cbc's in 3.00s
Doing aes-192 cbc for 3s on 16 size blocks: 689447 aes-192 cbc's in 2.96s
Doing aes-192 cbc for 3s on 64 size blocks: 193675 aes-192 cbc's in 3.00s
Doing aes-192 cbc for 3s on 256 size blocks: 48960 aes-192 cbc's in 2.95s
Doing aes-192 cbc for 3s on 1024 size blocks: 12516 aes-192 cbc's in 3.00s
Doing aes-192 cbc for 3s on 8192 size blocks: 1536 aes-192 cbc's in 2.96s
Doing aes-256 cbc for 3s on 16 size blocks: 631934 aes-256 cbc's in 3.00s
Doing aes-256 cbc for 3s on 64 size blocks: 170460 aes-256 cbc's in 2.96s
Doing aes-256 cbc for 3s on 256 size blocks: 44327 aes-256 cbc's in 3.00s
Doing aes-256 cbc for 3s on 1024 size blocks: 10979 aes-256 cbc's in 2.96s
Doing aes-256 cbc for 3s on 8192 size blocks: 1389 aes-256 cbc's in 3.00s
Doing aes-128 ige for 3s on 16 size blocks: 797881 aes-128 ige's in 2.96s
Doing aes-128 ige for 3s on 64 size blocks: 241529 aes-128 ige's in 3.00s
Doing aes-128 ige for 3s on 256 size blocks: 62479 aes-128 ige's in 2.96s
Doing aes-128 ige for 3s on 1024 size blocks: 16057 aes-128 ige's in 3.00s
Doing aes-128 ige for 3s on 8192 size blocks: 1828 aes-128 ige's in 2.96s
Doing aes-192 ige for 3s on 16 size blocks: 725251 aes-192 ige's in 3.00s
Doing aes-192 ige for 3s on 64 size blocks: 207846 aes-192 ige's in 2.95s
Doing aes-192 ige for 3s on 256 size blocks: 54985 aes-192 ige's in 3.00s
Doing aes-192 ige for 3s on 1024 size blocks: 13666 aes-192 ige's in 2.95s
Doing aes-192 ige for 3s on 8192 size blocks: 1621 aes-192 ige's in 3.00s
Doing aes-256 ige for 3s on 16 size blocks: 642461 aes-256 ige's in 2.96s
Doing aes-256 ige for 3s on 64 size blocks: 186794 aes-256 ige's in 3.00s
Doing aes-256 ige for 3s on 256 size blocks: 47688 aes-256 ige's in 2.96s
Doing aes-256 ige for 3s on 1024 size blocks: 12210 aes-256 ige's in 3.00s
Doing aes-256 ige for 3s on 8192 size blocks: 1414 aes-256 ige's in 2.96s
Doing ghash for 3s on 16 size blocks: 602682 ghash's in 3.00s
Doing ghash for 3s on 64 size blocks: 153603 ghash's in 2.96s
Doing ghash for 3s on 256 size blocks: 39326 ghash's in 3.00s
Doing ghash for 3s on 1024 size blocks: 9705 ghash's in 2.96s
Doing ghash for 3s on 8192 size blocks: 1232 ghash's in 3.00s
Doing seed cbc for 3s on 16 size blocks: 616941 seed cbc's in 2.96s
Doing seed cbc for 3s on 64 size blocks: 171617 seed cbc's in 3.00s
Doing seed cbc for 3s on 256 size blocks: 43253 seed cbc's in 2.96s
Doing seed cbc for 3s on 1024 size blocks: 11047 seed cbc's in 3.00s
Doing seed cbc for 3s on 8192 size blocks: 1355 seed cbc's in 2.96s
Doing rc2 cbc for 3s on 16 size blocks: 745034 rc2 cbc's in 3.00s
Doing rc2 cbc for 3s on 64 size blocks: 193341 rc2 cbc's in 2.96s
Doing rc2 cbc for 3s on 256 size blocks: 49708 rc2 cbc's in 3.00s
Doing rc2 cbc for 3s on 1024 size blocks: 12289 rc2 cbc's in 2.96s
Doing rc2 cbc for 3s on 8192 size blocks: 1558 rc2 cbc's in 3.00s
Doing blowfish cbc for 3s on 16 size blocks: 1048282 blowfish cbc's in 2.96s
Doing blowfish cbc for 3s on 64 size blocks: 287607 blowfish cbc's in 3.00s
Doing blowfish cbc for 3s on 256 size blocks: 72220 blowfish cbc's in 2.96s
Doing blowfish cbc for 3s on 1024 size blocks: 18421 blowfish cbc's in 3.00s
Doing blowfish cbc for 3s on 8192 size blocks: 2258 blowfish cbc's in 2.96s
Doing cast cbc for 3s on 16 size blocks: 941519 cast cbc's in 3.00s
Doing cast cbc for 3s on 64 size blocks: 259995 cast cbc's in 2.95s
Doing cast cbc for 3s on 256 size blocks: 68153 cast cbc's in 3.00s
Doing cast cbc for 3s on 1024 size blocks: 16915 cast cbc's in 2.95s
Doing cast cbc for 3s on 8192 size blocks: 2141 cast cbc's in 3.00s
Doing 512 bit private rsa's for 10s: 1493 512 bit private RSA's in 9.92s
Doing 512 bit public rsa's for 10s: 18373 512 bit public RSA's in 9.95s
Doing 1024 bit private rsa's for 10s: 337 1024 bit private RSA's in 9.93s
Doing 1024 bit public rsa's for 10s: 6710 1024 bit public RSA's in 9.91s
Doing 2048 bit private rsa's for 10s: 58 2048 bit private RSA's in 10.00s
Doing 2048 bit public rsa's for 10s: 2025 2048 bit public RSA's in 9.91s
Doing 4096 bit private rsa's for 10s: 9 4096 bit private RSA's in 10.60s
Doing 4096 bit public rsa's for 10s: 553 4096 bit public RSA's in 9.93s
Doing 512 bit sign dsa's for 10s: 1817 512 bit DSA signs in 9.96s
Doing 512 bit verify dsa's for 10s: 1668 512 bit DSA verify in 9.91s
Doing 1024 bit sign dsa's for 10s: 678 1024 bit DSA signs in 9.91s
Doing 1024 bit verify dsa's for 10s: 584 1024 bit DSA verify in 9.96s
Doing 2048 bit sign dsa's for 10s: 205 2048 bit DSA signs in 9.93s
Doing 2048 bit verify dsa's for 10s: 171 2048 bit DSA verify in 9.99s
OpenSSL 1.0.1e 11 Feb 2013
built on: Sat Aug  3 11:43:46 CEST 2013
options:bn(64,32) rc4(ptr,char) des(idx,cisc,2,long) aes(partial) blowfish(ptr)
compiler: arm-openwrt-linux-uclibcgnueabi-gcc -fPIC -DOPENSSL_PIC -DZLIB_SHAREDl
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
md2                  0.00         0.00         0.00         0.00         0.00
mdc2                 0.00         0.00         0.00         0.00         0.00
md4               1358.63k     5335.25k    15765.97k    30980.78k    42292.94k
md5                871.15k     3376.38k    10442.15k    22012.88k    32022.53k
hmac(md5)         1227.54k     4241.75k    12183.86k    23785.13k    32593.64k
sha1               902.14k     2575.65k     5544.11k     7757.15k     8759.98k
rmd160               0.00         0.00         0.00         0.00         0.00
rc4              15880.56k    18517.80k    19216.95k    19459.07k    19447.70k
des cbc           2920.79k     3023.81k     3055.62k     3056.78k     3055.62k
des ede3          1038.14k     1054.17k     1051.84k     1058.13k     1054.44k
idea cbc             0.00         0.00         0.00         0.00         0.00
seed cbc          3334.82k     3661.16k     3740.80k     3770.71k     3750.05k
rc2 cbc           3973.51k     4180.35k     4241.75k     4251.33k     4254.38k
rc5-32/12 cbc        0.00         0.00         0.00         0.00         0.00
blowfish cbc      5666.39k     6135.62k     6246.05k     6287.70k     6249.17k
cast cbc          5021.43k     5640.57k     5815.72k     5871.51k     5846.36k
aes-128 cbc       4160.09k     4666.64k     4826.03k     4856.74k     4849.66k
aes-192 cbc       3726.74k     4131.73k     4248.73k     4272.13k     4250.98k
aes-256 cbc       3370.31k     3685.62k     3782.57k     3798.14k     3792.90k
camellia-128 cbc        0.00         0.00         0.00         0.00         0.0
camellia-192 cbc        0.00         0.00         0.00         0.00         0.0
camellia-256 cbc        0.00         0.00         0.00         0.00         0.0
sha256             987.86k     2427.37k     4503.52k     5727.57k     6161.93k
sha512             283.40k     1131.39k     1686.61k     2334.44k     2629.63k
whirlpool          221.40k      425.86k      674.13k      795.15k      840.97k
aes-128 ige       4312.87k     5152.62k     5403.59k     5480.79k     5059.11k
aes-192 ige       3868.01k     4509.20k     4692.05k     4743.72k     4426.41k
aes-256 ige       3472.76k     3984.94k     4124.37k     4167.68k     3913.34k
ghash             3214.30k     3321.15k     3355.82k     3357.41k     3364.18k
                  sign    verify    sign/s verify/s
rsa  512 bits 0.006644s 0.000542s    150.5   1846.5
rsa 1024 bits 0.029466s 0.001477s     33.9    677.1
rsa 2048 bits 0.172414s 0.004894s      5.8    204.3
rsa 4096 bits 1.177778s 0.017957s      0.8     55.7
                  sign    verify    sign/s verify/s
dsa  512 bits 0.005482s 0.005941s    182.4    168.3
dsa 1024 bits 0.014617s 0.017055s     68.4     58.6
dsa 2048 bits 0.048439s 0.058421s     20.6     17.1

dmesg

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.12.0 (wigyori@trabant) (gcc version 4.6.4 (OpenWr
t/Linaro GCC 4.6-2013.05 r38780) ) #1 Tue Nov 12 14:08:46 CET 2013
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Freescale MXS (Device Tree), model: i.MX23 Olinuxino Low
 Cost Board
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pag
es: 16256
[    0.000000] Kernel command line: console=ttyAMA0,115200 root=/dev/mmcblk0p2 r
w rootwait
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 61116K/65536K available (2646K kernel code, 85K rwdata, 7
32K rodata, 113K init, 174K bss, 4420K reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xc4800000 - 0xff000000   ( 936 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0354d34   (3380 kB)
[    0.000000]       .init : 0xc0355000 - 0xc0371544   ( 114 kB)
[    0.000000]       .data : 0xc0372000 - 0xc03874fc   (  86 kB)
[    0.000000]        .bss : 0xc03874fc - 0xc03b2fc4   ( 175 kB)
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] of_irq_init: children remain, but no parents
[    0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps ever
y 4294967286ms
[    0.070000] Calibrating delay loop... 227.32 BogoMIPS (lpj=1136640)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 512
[    0.080000] CPU: Testing write buffer coherency: ok
[    0.080000] Setting up static identity map for 0xc00109d0 - 0xc0010a28
[    0.090000] pinctrl core: initialized pinctrl subsystem
[    0.090000] regulator-dummy: no parameters
[    0.090000] NET: Registered protocol family 16
[    0.090000] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.100000] cpuidle: using governor ladder
[    0.100000] cpuidle: using governor menu
[    0.140000] Serial: AMBA PL011 UART driver
[    0.140000] 80070000.serial: ttyAMA0 at MMIO 0x80070000 (irq = 17, base_baud
= 0) is a PL011 rev2
[    0.280000] console [ttyAMA0] enabled
[    0.320000] bio: create slab <bio-0> at 0
[    0.340000] mxs-dma 80004000.dma-apbh: initialized
[    0.360000] mxs-dma 80024000.dma-apbx: initialized
[    0.370000] usb0_vbus: 5000 mV
[    0.380000] usbcore: registered new interface driver usbfs
[    0.380000] usbcore: registered new interface driver hub
[    0.390000] usbcore: registered new device driver usb
[    0.390000] pps_core: LinuxPPS API ver. 1 registered
[    0.400000] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome
tti <giometti@linux.it>
[    0.400000] PTP clock support registered
[    0.410000] Switched to clocksource mxs_timer
[    0.420000] NET: Registered protocol family 2
[    0.430000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.430000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.440000] TCP: Hash tables configured (established 512 bind 512)
[    0.450000] TCP: reno registered
[    0.450000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.450000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.460000] NET: Registered protocol family 1
[    0.470000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.480000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT
Y) (c) 2001-2006 Red Hat, Inc.
[    0.490000] msgmni has been set to 119
[    0.500000] io scheduler noop registered
[    0.500000] io scheduler deadline registered (default)
[    0.510000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.520000] Serial: AMBA driver
[    0.520000] of_dma_request_slave_channel: dma-names property of node '/apb@80
000000/apbx@80040000/serial@80070000' missing or empty
[    0.530000] uart-pl011 80070000.serial: no DMA platform data
[    0.540000] 8006c000.serial: ttyAPP0 at MMIO 0x8006c000 (irq = 147, base_baud
 = 1500000) is a 8006c000.serial
[    0.550000] mxs-auart 8006c000.serial: Found APPUART 3.0.0
[    0.570000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.570000] ehci-platform: EHCI generic platform driver
[    0.580000] i2c /dev entries driver
[    0.630000] mxs-mmc 80010000.ssp: initialized
[    0.640000] TCP: cubic registered
[    0.640000] NET: Registered protocol family 17
[    0.650000] 8021q: 802.1Q VLAN Support v1.8
[    0.660000] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    0.660000] Waiting for root device /dev/mmcblk0p2...
[    0.710000] mmc0: host does not support reading read-only switch. assuming wr
ite-enable.
[    0.720000] mmc0: new SD card at address c975
[    0.730000] mmcblk0: mmc0:c975 SU02G 1.84 GiB
[    0.740000]  mmcblk0: p1 p2 p3
[    0.780000] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incomp
atibilities
[    0.790000] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incomp
atibilities
[    0.960000] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (n
ull)
[    0.970000] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    0.970000] Freeing unused kernel memory: 112K (c0355000 - c0371000)
Console is alive
procd: Console is alive
[    1.480000] ci_hdrc ci_hdrc.0: doesn't support gadget
[    1.490000] ci_hdrc ci_hdrc.0: EHCI Host Controller
[    1.490000] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[    1.520000] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[    1.520000] hub 1-0:1.0: USB hub found
[    1.530000] hub 1-0:1.0: 1 port detected
kmod: ran 11 iterations
- preinit -
procd: - preinit -
Press the [f] key and hit [enter] to enter failsafe mode
[    1.850000] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[    2.000000] hub 1-1:1.0: USB hub found
[    2.000000] hub 1-1:1.0: 3 ports detected
[    2.290000] usb 1-1.1: new high-speed USB device number 3 using ci_hdrc
mount_root: mounting /dev/root
[    6.110000] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
- early -
procd: - early -
- init -
procd: - init -
Please press Enter to activate this console.
[    7.170000] NET: Registered protocol family 10
[    7.260000] nf_conntrack version 0.5.0 (956 buckets, 3824 max)
[    7.280000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    7.330000] stmp3xxx-rtc 8005c000.rtc: rtc core: registered 8005c000.rtc as r
tc0
[    7.360000] stmp3xxx_rtc_wdt stmp3xxx_rtc_wdt: initialized watchdog with hear
tbeat 19s
[    7.420000] smsc95xx v1.0.4
[    7.530000] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-ci_hdrc.0-1.1
, smsc95xx USB 2.0 Ethernet, 8a:ff:9a:3e:60:95
[    7.540000] usbcore: registered new interface driver smsc95xx
[    7.580000] mxs-builtin-audio mxs-builtin-audio.6:  mxs-builtin-codec-dai <->
 80048000.mxs-builtin-cpu-dai mapping ok
[    7.640000] input: mxs-lradc as /devices/soc0/80000000.apb/80040000.apbx/8005
0000.lradc/input/input0
[    7.670000] fsl-dcp 80028000.dcp: DCP crypto enabled.!
[    7.740000] ip_tables: (C) 2000-2006 Netfilter Core Team
[    7.900000] xt_time: kernel timezone is -0000
[    7.930000] PPP generic driver version 2.4.2
[    7.940000] NET: Registered protocol family 24
[   14.590000] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   14.590000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   14.610000] device eth0 entered promiscuous mode
[   14.610000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
procd: - init complete -



BusyBox v1.19.4 (2013-11-12 14:06:33 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 BARRIER BREAKER (Bleeding Edge, r38780)
 -----------------------------------------------------
  * 1/2 oz Galliano         Pour all ingredients into
  * 4 oz cold Coffee        an irish coffee mug filled
  * 1 1/2 oz Dark Rum       with crushed ice. Stir.
  * 2 tsp. Creme de Cacao
 -----------------------------------------------------

dmesg with U-boot

U-Boot 2013.10 (Nov 12 2013 - 15:26:24)

CPU:   Freescale i.MX23 rev1.4 at 454 MHz
BOOT:  SSP SD/MMC #0
DRAM:  64 MiB
MMC:   MXS MMC: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot:  0
mmc0 is current device
reading boot.scr
** Unable to read file boot.scr **
reading uImage
3667260 bytes read in 1249 ms (2.8 MiB/s)
Booting from mmc ...
reading imx23-olinuxino.dtb
9854 bytes read in 29 ms (331.1 KiB/s)
## Booting kernel from Legacy Image at 42000000 ...
   Image Name:   ARM OpenWrt Linux-3.12
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3667196 Bytes = 3.5 MiB
   Load Address: 40008000
   Entry Point:  40008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 41000000
   Booting using the fdt blob at 0x41000000
   Loading Kernel Image ... OK
   Loading Device Tree to 43b64000, end 43b6967d ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.12.0 (wigyori@trabant) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r38780) ) #2 Tue Nov 12 14:58:43 CET 2013
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[    0.000000] CPU: VIVT data cache, VIVT instruction cache

[...]

Tags

toh/olimex/imx233-olinuxino.txt · Last modified: 2013/11/12 15:31 by wigyori