From owner-freebsd-arm@FreeBSD.ORG Sat May 2 02:54:50 2009 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 992631065672 for ; Sat, 2 May 2009 02:54:50 +0000 (UTC) (envelope-from don@donhayford.com) Received: from rehobot.2ip.com (rehobot.2ip.com [75.125.216.154]) by mx1.freebsd.org (Postfix) with ESMTP id 6765E8FC16 for ; Sat, 2 May 2009 02:54:50 +0000 (UTC) (envelope-from don@donhayford.com) Received: from d47-69-178-97.try.wideopenwest.com ([69.47.97.178]:33254 helo=[192.168.1.104]) by rehobot.2ip.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1M05NE-0004tu-6K; Fri, 01 May 2009 19:54:44 -0700 Message-ID: <49FBB5F8.3090104@donhayford.com> Date: Fri, 01 May 2009 22:54:48 -0400 From: Donald T Hayford User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Rafal Jaworowski References: <49FA5952.20800@donhayford.com> <1324A9FE-D45B-479E-9705-5FCFA2FAC9E0@semihalf.com> In-Reply-To: <1324A9FE-D45B-479E-9705-5FCFA2FAC9E0@semihalf.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - rehobot.2ip.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - donhayford.com Cc: freebsd-arm@freebsd.org Subject: Re: Help with Marvel kernel for 88F5512 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 May 2009 02:54:51 -0000 Rafal Jaworowski wrote: > > On 2009-05-01, at 04:07, Donald T Hayford wrote: >> twsi0: at mem >> 0xf1011000-0xf101101f on mbus0 >> iicbus0: on twsi0 >> iicbus0: at addr 0 >> iic0: on iicbus0 >> pcib1: at mem >> 0xf1030000-0xf1031fff on mbus0 >> >> At this point, the device hangs until I reboot it. > > Could you please compile out PCI support to see whether this hang is > somehow PCI-related? > The Kurobox Pro appears to be booting more-or-less correctly now. Following is the boot up message. Note towards the end a warning about "no time-of-day clock". The kernel is also not recognizing the attached SATA drive (because PCI is disabled?) or USB disk. ## Starting application at 0x00900000 ... KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2009 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.0-CURRENT #1: Sat May 2 02:17:44 EDT 2009 hayford@freeqemu:/usr/obj/arm/usr/src/sys/DB-88F5XXX WARNING: WITNESS option enabled, expect reduced performance. WARNING: DIAGNOSTIC option enabled, expect reduced performance. Preloaded elf kernel "elf kernel" at 0xc0d1c598. CPU: ARM926EJ-S rev 0 (ARM9EJ-S core) DC enabled IC enabled WB enabled EABT branch prediction enabled 32KB/32B 1-way Instruction cache 32KB/32B 1-way write-back-locking-C Data cache real memory = 134217728 (128 MB) Physical memory chunk(s): 00000000 - 0x8fffff, 9437184 bytes (2304 pages) 0xe0d000 - 0x7d8efff, 116924416 bytes (28546 pages) avail memory = 125353984 (119 MB) SOC: (0x5182:0x02) Marvell 88F5182 rev A2, TClock 166MHz mem: nfslock: pseudo-device null: random: mbus0: on motherboard ic0: at mem 0xf1020200-0xf102023b on mbus0 timer0: at mem 0xf1020300-0xf102032f irq 0 on mbus0 timer0: [FILTER] gpio0: at mem 0xf1010100-0xf101011f irq 6,7,8,9 on mbus0 gpio0: [FILTER] gpio0: [FILTER] gpio0: [FILTER] gpio0: [FILTER] uart0: <16550 or compatible> at mem 0xf1012000-0xf101201f irq 3 on mbus0 uart0: [FILTER] uart0: fast interrupt uart0: console (115740,n,8,1) uart1: <16550 or compatible> at mem 0xf1012100-0xf101211f irq 4 on mbus0 uart1: [FILTER] uart1: fast interrupt ehci0: at mem 0xf1050000-0xf1050fff irq 16,17 on mbus0 ehci0: [FILTER] ehci0: [MPSAFE] ehci0: [ITHREAD] ehci0: 5.24 GL USB-2 workaround enabled usbus0: EHCI version 1.0 usbus0: set host controller mode usbus0: on ehci0 mge0: at mem 0xf1072000-0xf1073fff irq 18,19,20,21,22 on mbus0 mge0: bpf attached mge0: Ethernet address: 00:16:01:a4:e4:87 miibus0: on mge0 e1000phy0: PHY 8 on miibus0 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto mge0: [MPSAFE] mge0: [ITHREAD] mge0: [MPSAFE] mge0: [ITHREAD] twsi0: at mem 0xf1011000-0xf101101f on mbus0 iicbus0: on twsi0 iicbus0: at addr 0 iic0: on iicbus0 Timecounter "CPU Timer" frequency 166666667 Hz quality 1000 Timecounters tick every 1.000 msec lo0: bpf attached usbus0: 480Mbps High Speed USB v2.0 bootpc_init: wired to interface 'mge0' Sending DHCP Discover packet from interface mge0 (00:16:01:a4:e4:87) ugen0.1: at usbus0 uhub0: on usbus0 uhub0: 1 port with 1 removable, self powered mge0: link state changed to UP Received DHCP Offer packet on mge0 from 192.168.1.102 (accepted) (no root path) Received DHCP Offer packet on mge0 from 192.168.1.1 (ignored) (no root path) Sending DHCP Request packet from interface mge0 (00:16:01:a4:e4:87) Received DHCP Ack packet on mge0 from 192.168.1.102 (accepted) (got root path) mge0 at 192.168.1.178 server 192.168.1.102 subnet mask 255.255.255.0 router 192.168.1.1 root_server 192.168.1.102 rootfs /export/client/froot Adjusted interface mge0 WARNING: WITNESS option enabled, expect reduced performance. WARNING: DIAGNOSTIC option enabled, expect reduced performance. Trying to mount root from nfs: NFS ROOT: 192.168.1.102:/export/client/froot warning: no time-of-day clock registered, system time will not be set accurately warning: no time-of-day clock registered, system time will not be set accurately start_init: trying /sbin/init Enter full pathname of shell or RETURN for /bin/sh: # df Filesystem 512-blocks Used Avail Capacity Mounted on 192.168.1.102:/export/client/froot 374169032 46198576 308657000 13% / devfs 2 2 0 100% /dev # Thanks, Don