NetBSD Problem Report #48160

From www@NetBSD.org  Thu Aug 29 10:05:00 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 24B99703F9
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 29 Aug 2013 10:05:00 +0000 (UTC)
Message-Id: <20130829100458.56FAF71B57@mollari.NetBSD.org>
Date: Thu, 29 Aug 2013 10:04:58 +0000 (UTC)
From: hashimoto.kenichi.0615@gmail.com
Reply-To: hashimoto.kenichi.0615@gmail.com
To: gnats-bugs@NetBSD.org
Subject: New port to KOBO touch (Freescale i.MX50x) support
X-Send-Pr-Version: www-1.0

>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:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 29 10:05:00 +0000 2013
>Closed-Date:    Fri Mar 01 10:10:09 +0000 2019
>Last-Modified:  Sat Aug 07 02:35:02 +0000 2021
>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

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Fri, 01 Mar 2019 10:10:09 +0000
State-Changed-Why:
The report is six years old, and the gist with the patch is
no longer available.

Kenichi-san, I am sorry that no one responded to your report :(


From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-evbarm/48160 (New port to KOBO touch (Freescale i.MX50x)
 support)
Date: Sat, 7 Aug 2021 02:34:31 +0000

 On Fri, Mar 01, 2019 at 10:10:10AM +0000, bsiegert@NetBSD.org wrote:
  > Synopsis: New port to KOBO touch (Freescale i.MX50x) support
  > 
  > State-Changed-From-To: open->closed
  > State-Changed-By: bsiegert@NetBSD.org
  > State-Changed-When: Fri, 01 Mar 2019 10:10:09 +0000
  > State-Changed-Why:
  > The report is six years old, and the gist with the patch is
  > no longer available.
  > 
  > Kenichi-san, I am sorry that no one responded to your report :(

 I should add (two more years later, because I got way behind on
 gnats): if you still have the patch by all means send it in again...

 -- 
 David A. Holland
 dholland@netbsd.org

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.