Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

iMX233/OLinuXino status update


I've been working on iMX233/OLinuXino[1] port and here are the results
so far, things that are working. I'd like to share this with you.

System runs stable. I've been running sysutils/memtester for
MAXI and MICRO boards without single error and few days of pkgsrc builds
for various software I like to have. If someone has MINI or even NANO I'd like
to hear how your system is running.

Basically highlights are, working:

- SD card
- USB host
- Boot loader

I don't have commit access to NetBSD tree so these changes are
not going to appear in -current without someone to volunteer.
Are there anyone following port-arm@ who can review my patch and
possibly commit my changes?

My patch[2] improves system stability as it has basically rewritten
boot code which initializes the system. I plan also for i2c driver
at some point in the future.

I consider iMX23/OLinuXino port first time complete enough for general use :-)

I documented how to get things running. Please have a look at:



Best regards
Petri Laakso

[1] https://www.olimex.com/Products/OLinuXino/iMX233/
[2] http://www.asd.fi/~petri/blog/files/olinuxino.diff

PS. I tried to send this announcement twice from different SMTP servers
without luck, so I removed patch from the mail and included http link
instead. If moderator is reading, please ignore my previous emails.

dmesg with external USB hub with axe(4) and USB disk attached:

bootimx23: HW revision TA5, boot reason 5V, power source 5V
Enabling 4P2 regulator...done
Enabling 4P2 regulator output to DCDC...done
Enabling VDDMEM...done
Powering VDDD from DCDC...done
Powering VDDA from DCDC...done
Powering VDDIO from DCDC...done
Enabling clocks...done
Configuring pins...done
Configuring EMI...done
Press any key to drop into boot prompt...

NetBSD/evbarm (OLinuXino) booting ...
[ Kernel symbol table missing! ]
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
     The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
     The Regents of the University of California.  All rights reserved.

NetBSD 6.99.24 (IMX23_OLINUXINO) #0: Sat Oct  5 20:04:13 EEST 2013
total memory = 65536 KB
avail memory = 60092 KB
sysctl_createv: sysctl_create(machine_arch) returned 17
mainbus0 (root)
cpu0 at mainbus0 core 0: ARM926EJ-S rev 5 (ARM9EJ-S V5TEJ core)
cpu0: DC enabled IC enabled WB enabled EABT branch prediction enabled
cpu0: 16KB/32B 4-way L1 Instruction cache
cpu0: 16KB/32B 4-way write-back-locking-C L1 Data cache
apbh0 at mainbus0 base 0x80000000-0x8003ffff
icoll0 at apbh0 addr 0x80000000-0x80001fff
apbdma0 at apbh0 addr 0x80004000-0x80005fff
ssp0 at apbh0 addr 0x80010000-0x80011fff irq 15: SSP Block v3.0
sdmmc0 at ssp0
digctl0 at apbh0 addr 0x8001c000-0x8001dfff
pinctrl0 at apbh0 addr 0x80018000-0x80019fff: PIN MUX & GPIO
gpio0 at pinctrl0: 96 pins
apbx0 at mainbus0 base 0x80040000-0x8007ffff
timrot0 at apbx0 addr 0x80068020-0x8006803f irq 28
timrot1 at apbx0 addr 0x80068040-0x8006805f irq 29
apbdma1 at apbx0 addr 0x80024000-0x80025fff
plcom0 at apbx0 addr 0x80070000-0x80070fff irq 0
plcom0: txfifo disabled
plcom0: console
usbphy0 at apbx0 addr 0x8007c000-0x8007dfff: USB PHY v4.0
clkctrl0 at apbx0 addr 0x80040000-0x80041fff
ahb0 at mainbus0 base 0x80080000-0x800fffff
imxusbc0 at ahb0 addr 0x80080000-0x800bffff
ehci0 at imxusbc0
ehci0: i.MX USB Controller id=5 revision=65 HCI revision=0x100
ehci0: 1 host port, device capable, 5 endpoints
usb0 at ehci0: USB revision 2.0
uhub0 at usb0: i.MX EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
WARNING: module error: can't find builtin dependency `iic'
WARNING: module error: can't find builtin dependency `au8522'
WARNING: module error: can't find builtin dependency `iic'
WARNING: module error: can't find builtin dependency `iic'
WARNING: module error: can't find builtin dependency `iic'
WARNING: module error: can't find builtin dependency `iic'
ssp0: bus clock @ 22.857 MHz
ld0 at sdmmc0: <0x74:0x4a45:USD  :0x10:0xfb200529:0x0c9>
ld0: 7647 MB, 3884 cyl, 64 head, 63 sec, 512 bytes/sect x 15661056 sectors
ld0: 4-bit width, bus clock 25.000 MHz
uhub1 at uhub0 port 1: vendor 0x05e3 USB2.0 Hub, class 9/0, rev 2.00/7.02, addr
uhub1: single transaction translator

umass0 at uhub1 port 1 configuration 1 interface 0
umass0: LaCie LaCie Device, rev 2.00/1.00, addr 3
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <SAMSUNG, HM500JI, > disk fixed
sd0: 465 GB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 976773168 sectors
axe0 at uhub1 port 2
axe0: vendor 0x2001 product 0x1a02, rev 2.00/0.01, addr 4
axe0: Ethernet address bc:f6:85:d7:4e:f6
ukphy0 at axe0 phy 16: OUI 0x007063, model 0x0008, rev. 1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
boot device: ld0
root on ld0a dumps on ld0b
root file system type: ffs
WARNING: no TOD clock present
WARNING: using filesystem time
Sun Oct  6 09:36:19 UTC 2013
Starting root file system check:
/dev/rld0a: file system is clean; not checking
swapctl: setting dump device to /dev/ld0b
swapctl: adding /dev/ld0b as swap device at priority 0
Starting file system checks:
Loaded entropy from /var/db/entropy-file.
Setting tty flags.
Setting sysctl variables:
ddb.onpanic: 1 -> 0
Starting network.
Hostname: oli
IPv6 mode: host
Configuring network interfaces: axe0.
Adding interface aliases:.
Waiting for DAD completion for statically configured addresses...
Building databases: dev, utmp, utmpx.
Starting syslogd.
Setting date via ntp.
Mounting all filesystems...
Clearing temporary files.
Creating a.out runtime link editor directory cache.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
swapctl: setting dump device to /dev/ld0b
Starting virecover.
Checking for core dump...
savecore: no core dump
Starting local daemons:.
Updating motd.
Starting sshd.
Starting inetd.
Starting cron.
Sun Oct  6 09:38:06 UTC 2013

NetBSD/evbarm (oli) (console)


Home | Main Index | Thread Index | Old Index