NetBSD-Bugs archive

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

port-evbarm/48160: New port to KOBO touch (Freescale i.MX50x) support



>Number:         48160
>Category:       port-evbarm
>Synopsis:       New port to KOBO touch (Freescale i.MX50x) support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-evbarm-maintainer
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 29 10:05:00 +0000 2013
>Originator:     Hashimoto Kenichi
>Release:        
>Organization:
Genetec corp.
>Environment:
>Description:
The Kobo eReader is an e-book reader by Kobo Inc.
Kobo touch based on Freescale's i.MX50x (i.MX507 or i.MX508) processor. 

Please see the details below.
http://wiki.netbsd.org/users/jun/kobo/

dmesg:

U-Boot 2009.08 ( 7 28 2012 - 18:39:53)

CPU:   Freescale i.MX50 family 1.1V at 800 MHz
mx50 pll1: 800MHz
mx50 pll2: 400MHz
mx50 pll3: 216MHz
ipg clock     : 66666666Hz
ipg per clock : 66666666Hz
uart clock    : 24000000Hz
ahb clock     : 133333333Hz
axi_a clock   : 400000000Hz
axi_b clock   : 200000000Hz
weim_clock    : 100000000Hz
ddr clock     : 200000000Hz
esdhc1 clock  : 80000000Hz
esdhc2 clock  : 80000000Hz
esdhc3 clock  : 80000000Hz
esdhc4 clock  : 80000000Hz
Board: MX50 RDP board
Boot Reason: [POR]
Boot Device: SD
I2C:   ready
DRAM:  256 MB
MMC:   FSL_ESDHC: 0, FSL_ESDHC: 1
In:    serial
Out:   serial
Err:   serial

MMC read: dev # 0, block # 1023, count 1 partition # 0 ...
1 blocks read: OK
binary magic @ sector no. 1024 not found !
ISD hwconfig missing !
ntxup_wait_key_esdupg: fail ,pcb=28
ntxup_wait_key_esdupg: fail ,pcb=28
ram p=70000000,size=268435456

MMC read: dev # 0, block # 1023, count 1 partition # 0 ...
1 blocks read: OK

MMC read: dev # 0, block # 18431, count 1 partition # 0 ...
1 blocks read: OK

MMC read: dev # 0, block # 14335, count 1 partition # 0 ...
1 blocks read: OK
boot normal : no hwconfig !
Hit any key to stop autoboot:  0
Device: FSL_ESDHC
Manufacturer ID: 3
OEM: 5344
Name: SU02G
Tran Speed: 25000000
Rd Block Len: 512
SD version 2.0
High Capacity: No
Capacity: 1977614336
Bus Width: 4-bit
Boot Partition Size: No boot partition available
reading netbsd.gz.ub

1918641 bytes read
## Booting kernel from Legacy Image at 70800000 ...
   Image Name:   NetBSD/ 6.99.23
   Image Type:   ARM NetBSD Kernel Image (gzip compressed)
   Data Size:    1918577 Bytes =  1.8 MB
   Load Address: 70100000
   Entry Point:  70100000
   Uncompressing Kernel Image ... OK
## Transferring control to NetBSD stage-2 loader (at address 70100000) ...

NetBSD/evbarm (kobo) booting ...
initarm: Configuring system ...
[ Kernel symbol table missing! ]
pmap_postinit: Allocated 35 static L1 descriptor tables
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.23 (KOBO) #53: Wed Aug 28 17:40:58 JST 2013
        kenichi:/home/kenichi/netbsd/tnf/obj/sys/arch/evbarm/compile/KOBO
total memory = 256 MB
avail memory = 246 MB
mainbus0 (root)
cpu0 at mainbus0 core 0: 800 MHz Cortex-A8 r2p5 (Cortex V7A core)
cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu0: 32KB/64B 4-way L1 Instruction cache
cpu0: 32KB/64B 4-way write-back-locking-C L1 Data cache
cpu0: 256KB/64B 8-way write-through L2 Unified cache
vfp0 at cpu0: NEON MPE (VFP 3.0+)
axi0 at mainbus0: Advanced eXtensible Interface
tzic0 at axi0 addr 0xfffc000-0xfffffff irqbase 0: TrustZone Interrupt Controller
tzic0: interrupts 0..128  register VA:0xc9bc8000
imxccm0 at axi0 addr 0x53fd4000: Clock control module
imxgpio0 at axi0 addr 0x53f84000
imxgpio1 at axi0 addr 0x53f88000
imxgpio2 at axi0 addr 0x53f8c000
imxgpio3 at axi0 addr 0x53f90000
imxgpio4 at axi0 addr 0x53fdc000
imxgpio5 at axi0 addr 0x53fe0000
imxuart1 at axi0 addr 0x53fc0000 intr 32
imxuart1: console
sdhc0 at axi0 addr 0x50004000 intr 1: SD/MMC host controller
sdhc0: SD Host Specification 1.0, rev.0
sdmmc0 at sdhc0 slot 0
sdhc1 at axi0 addr 0x50008000 intr 2: SD/MMC host controller
sdhc1: SD Host Specification 1.0, rev.0
sdmmc1 at sdhc1 slot 0
imxclock0 at axi0 addr 0x53fac000-0x53faffff intr 40
imxwdog0 at axi0 addr 0x53f98000 intr 58: i.MX Watchdog Timer, default period 
is 120 seconds
0xfd098000: 0000: ef30 0000 0010 0004 0000
imxusbc0 at axi0 addr 0x53f80000
ehci0 at imxusbc0 unit 0 irq 18
ehci0: i.MX USB Controller id=5 revision=1 HCI revision=0x100
ehci0: 1 host port, device capable, 8 endpoints
usb0 at ehci0: USB revision 2.0
imxi2c0 at axi0 addr 0x63fc8000 intr 62: i.MX IIC bus controller
iic0 at imxi2c0: I2C bus
imxi2c1 at axi0 addr 0x63fc4000 intr 63: i.MX IIC bus controller
iic1 at imxi2c1: I2C bus
lmtemp0 at iic1 addr 0x48: LM75 Temperature Sensor
imxi2c_i2c_exec: i2c bus error
imxi2c_i2c_exec: i2c bus error
imxi2c_i2c_exec: i2c bus error
lmtemp0: unable to write config register
imxi2c2 at axi0 addr 0x53fec000 intr 64: i.MX IIC bus controller
iic2 at imxi2c2: I2C bus
clock: hz=100 stathz = 0
uhub0 at usb0: i.MX EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
ld0 at sdmmc1: <0x03:0x5344:SU02G:0x80:0x02822080:0x028>
ld0: 1886 MB, 957 cyl, 64 head, 63 sec, 512 bytes/sect x 3862528 sectors
ld0: 4-bit width, bus clock 50.000 MHz
boot device: <unknown>
root device:
>How-To-Repeat:

>Fix:
patch is here:

https://gist.github.com/hkenichi/6363751



Home | Main Index | Thread Index | Old Index