From owner-freebsd-arm@FreeBSD.ORG Tue Oct 4 08:09:02 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 A891A106564A for ; Tue, 4 Oct 2011 08:09:02 +0000 (UTC) (envelope-from mrossi@swin.edu.au) Received: from outbound.icp-qv1-irony-out4.iinet.net.au (outbound.icp-qv1-irony-out4.iinet.net.au [203.59.1.104]) by mx1.freebsd.org (Postfix) with ESMTP id 20D618FC0C for ; Tue, 4 Oct 2011 08:09:01 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqEBAAW4ik58lKqT/2dsb2JhbAAMNoRmoR2ETAEBAQQjFUABEAsNDQIFFgsCAgkDAgECAUUQAwEHAQGub4hIiQGBLYRigRMEk2aFRowQ X-IronPort-AV: E=Sophos;i="4.68,483,1312128000"; d="scan'208";a="680759472" Received: from unknown (HELO [192.168.15.65]) ([124.148.170.147]) by outbound.icp-qv1-irony-out4.iinet.net.au with ESMTP/TLS/DHE-RSA-CAMELLIA256-SHA; 04 Oct 2011 15:40:36 +0800 Message-ID: <4E8AB87C.7080202@swin.edu.au> Date: Tue, 04 Oct 2011 18:40:44 +1100 From: Mattia Rossi Organization: Swinburne University of Technology User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110812 Thunderbird/6.0 MIME-Version: 1.0 To: freebsd-arm@freebsd.org References: <20110930120022.4ABAA10656A7@hub.freebsd.org> <20110930173253.55166lqso9c8zvad@mail.tu-chemnitz.de> <4E86DBCD.6020909@swin.edu.au> <20111001122747.20873v82axd8cq3n@mail.tu-chemnitz.de> In-Reply-To: <20111001122747.20873v82axd8cq3n@mail.tu-chemnitz.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Matthieu Kraus Subject: Re: freebsd-arm Digest, Vol 286, Issue 5 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mrossi@swin.edu.au 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 08:09:02 -0000 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