From owner-freebsd-arm@FreeBSD.ORG Tue Oct 4 11:38:44 2011 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 E3D531065672 for ; Tue, 4 Oct 2011 11:38:43 +0000 (UTC) (envelope-from matthieu.kraus@s2008.tu-chemnitz.de) Received: from nick.hrz.tu-chemnitz.de (nick.hrz.tu-chemnitz.de [134.109.228.11]) by mx1.freebsd.org (Postfix) with ESMTP id 6CD398FC15 for ; Tue, 4 Oct 2011 11:38:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tu-chemnitz.de; s=dkim2010; h=Content-Transfer-Encoding:Content-Type:Mime-Version:Date:Subject:Cc:To:From:Message-ID:References; bh=t04xXXEsjn8ZlPocfZ6iuOHdO7p61WGovX6F7san4LQ=; b=mfVa6MGL32DaAuAGGmeTJE4aLLAFtuqFObnRJDClOOVZJ2nzwKXNZe0t7muPh39nGQ7RWS7O1ORj/ORXkSPUbpI2xV2gklnlcZ1FtPG6VR6tJX3l+NzFYVn+SpQOr5GmU2GDrdyhFQjSd6Bd2HxR/aKlISOQTRIku2+lB60Tjvo=; Received: from postman.hrz.tu-chemnitz.de ([134.109.133.5] helo=mailbox.hrz.tu-chemnitz.de) by nick.hrz.tu-chemnitz.de with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RB3Kb-0000HK-QK; Tue, 04 Oct 2011 13:38:41 +0200 Received: from rlydontknow.csn.tu-chemnitz.de ([134.109.92.98] helo=rlydontknow) by mailbox.hrz.tu-chemnitz.de with esmtps (TLSv1:CAMELLIA256-SHA:256) (Exim 4.76) (envelope-from ) id 1RB3Kb-0005Pt-ML; Tue, 04 Oct 2011 13:38:41 +0200 References: <20110930120022.4ABAA10656A7@hub.freebsd.org> <20110930173253.55166lqso9c8zvad@mail.tu-chemnitz.de> <4E86DBCD.6020909@swin.edu.au> <20111001122747.20873v82axd8cq3n@mail.tu-chemnitz.de> <4E8AB87C.7080202@swin.edu.au> Message-ID: X-Mailer: http://www.courier-mta.org/cone/ From: Matthieu Kraus To: mrossi@swin.edu.au Date: Tue, 04 Oct 2011 11:38:41 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Scan-Signature: a4884da6f7cbf1bb9f0903c946136437 Cc: freebsd-arm@freebsd.org Subject: Re: GlobalScale DreamPlug + FreeBSD 8.2 release 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: Tue, 04 Oct 2011 11:38:44 -0000 make sure to issue "usb start" in u-boot prior to booting the kernel, else it'll fail to start uhci properly and stalls Mattia Rossi writes: > Ok, at least I got the kernel to start, but now it hangs. > > I'm using the DREAMPLUG kernconf and the dreamplug.dts file (Again, > thanks Matthieu!) and include std.db88f6xxx > > This is where I got to: > > --- output start --- > > Marvell>> tftpboot 0x900000 kernel.bin > No link on egiga0 > Using egiga1 device > TFTP from server 192.168.12.81; our IP address is 192.168.12.80 > Filename 'kernel.bin'. > Load address: 0x900000 > Loading: ################################################################# > ################################################################# > ################################################################# > ################################################################# > ############################## > done > Bytes transferred = 4248696 (40d478 hex) > Marvell>> go 0x900000 > ## Starting application at 0x00900000 ... > dtbp = 0xc0cd8708 > KDB: debugger backends: ddb > KDB: current backend: ddb > Copyright (c) 1992-2011 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 10.0-CURRENT #10 r225870: Tue Oct 4 17:40:25 EST 2011 > > root@freebsd82fresh.matnina:/usr/obj/arm.arm/usr/devel/sys/DREAMPLUG arm > module mvs already present! > CPU: Feroceon 88FR131 rev 1 (Marvell core) > DC enabled IC enabled WB enabled EABT branch prediction enabled > 16KB/32B 4-way Instruction cache > 16KB/32B 4-way write-back-locking-C Data cache > real memory = 536870912 (512 MB) > avail memory = 518946816 (494 MB) > SOC: Marvell 88F6281 rev A1, TClock 200MHz > simplebus0: on fdtbus0 > ic0: mem 0xf1020200-0xf102023b > on sim0 > timer0: mem 0xf1020300-0xf102032f irq 1 on simplebus0 > Event timer "CPUTimer0" frequency 200000000 Hz quality 1000 > Timecounter "CPUTimer1" frequency 200000000 Hz quality 1000 > gpio0: mem 0xf1010100-0xf101011f > irq 35,360 > device_attach: gpio0 attach returned 6 > rtc0: mem 0xf1010300-0xf1010307 on simplebus0 > twsi0: mem 0xf1011000-0xf101101f > irq 430 > iicbus0: on twsi0 > iic0: on iicbus0 > mge0: mem 0xf1072000-0xf1073fff > irq 12,130 > mge0: Ethernet address: f0:ad:4e:00:84:c7 > miibus0: on mge0 > e1000phy0: PHY 0 on miibus0 > e1000phy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, > 1000baseT, 10o > mge1: mem 0xf1074000-0xf1075fff > irq 16,170 > miibus1: on mge1 > e1000phy1: PHY 1 on miibus1 > e1000phy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, > 1000baseT, 10o > uart0: <16550 or compatible> mem 0xf1012000-0xf101201f irq 33 on simplebus0 > uart0: console (1056,n,8,1) > uart1: <16550 or compatible> mem 0xf1012100-0xf101211f irq 34 on simplebus0 > ehci0: mem 0xf1050000-0xf1050fff > irq 480 > usbus0: EHCI version 1.0 > usbus0: stop timeout > usbus0: set host controller mode > > --- output end --- > > What should come next after loading the USB drivers? I suspect it's the > SATA bits.. can anyone confirm that? > > In the .dts file, after the statements for the USB stuff there are the > xor, sata and sdio bits, which haven't been loaded. I believe there's a > mismatch somewhere. > > Can anyone tell me where the hell I can find the documentation with the > specifications of the dreamplug? That would help to fix these issues I > believe.. > > Mat >