Date: Fri, 01 May 2009 22:54:48 -0400 From: Donald T Hayford <don@donhayford.com> To: Rafal Jaworowski <raj@semihalf.com> Cc: freebsd-arm@freebsd.org Subject: Re: Help with Marvel kernel for 88F5512 Message-ID: <49FBB5F8.3090104@donhayford.com> In-Reply-To: <1324A9FE-D45B-479E-9705-5FCFA2FAC9E0@semihalf.com> References: <49FA5952.20800@donhayford.com> <1324A9FE-D45B-479E-9705-5FCFA2FAC9E0@semihalf.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Rafal Jaworowski wrote: > > On 2009-05-01, at 04:07, Donald T Hayford wrote: >> twsi0: <Marvell Integrated I2C Bus Controller> at mem >> 0xf1011000-0xf101101f on mbus0 >> iicbus0: <Philips I2C bus> on twsi0 >> iicbus0: <unknown card> at addr 0 >> iic0: <I2C generic I/O> on iicbus0 >> pcib1: <Marvell 88F5182 PCI-X host controller> 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: <memory> nfslock: pseudo-device null: <null device, zero device> random: <entropy source, Software, Yarrow> mbus0: <Marvell Internal Bus (Mbus)> on motherboard ic0: <Marvell Integrated Interrupt Controller> at mem 0xf1020200-0xf102023b on mbus0 timer0: <Marvell CPU Timer> at mem 0xf1020300-0xf102032f irq 0 on mbus0 timer0: [FILTER] gpio0: <Marvell Integrated GPIO Controller> 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: <Marvell Integrated USB 2.0 controller> 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: <Marvell Integrated USB 2.0 controller> on ehci0 mge0: <Marvell Gigabit Ethernet controller> 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: <MII bus> on mge0 e1000phy0: <Marvell 88E1116 Gigabit PHY> PHY 8 on miibus0 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto mge0: [MPSAFE] mge0: [ITHREAD] mge0: [MPSAFE] mge0: [ITHREAD] twsi0: <Marvell Integrated I2C Bus Controller> at mem 0xf1011000-0xf101101f on mbus0 iicbus0: <Philips I2C bus> on twsi0 iicbus0: <unknown card> at addr 0 iic0: <I2C generic I/O> 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: <Marvell> at usbus0 uhub0: <Marvell EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49FBB5F8.3090104>