From owner-freebsd-arm@FreeBSD.ORG Thu Aug 24 15:52:32 2006 Return-Path: X-Original-To: freebsd-arm@freebsd.org Delivered-To: freebsd-arm@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3409516A4DA for ; Thu, 24 Aug 2006 15:52:32 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FD4243D5E for ; Thu, 24 Aug 2006 15:52:19 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id k7OFqHqk095245 for ; Thu, 24 Aug 2006 17:52:17 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [10.1.1.14]) by cicely5.cicely.de (8.13.4/8.13.4) with ESMTP id k7OFq8OL042440 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 24 Aug 2006 17:52:08 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.13.4/8.13.3) with ESMTP id k7OFq82d051952; Thu, 24 Aug 2006 17:52:08 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.13.4/8.13.3/Submit) id k7OFq8u7051951; Thu, 24 Aug 2006 17:52:08 +0200 (CEST) (envelope-from ticso) Date: Thu, 24 Aug 2006 17:52:08 +0200 From: Bernd Walter To: freebsd-arm@freebsd.org Message-ID: <20060824155207.GM49178@cicely12.cicely.de> References: <20060823175736.GE47093@cicely12.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20060823175736.GE47093@cicely12.cicely.de> X-Operating-System: FreeBSD cicely12.cicely.de 5.4-STABLE alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, score=-4.4 required=5.0 autolearn=ham version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on cicely12.cicely.de Cc: Bernd Walter Subject: Re: AT91RM9200 problem X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Aug 2006 15:52:32 -0000 On Wed, Aug 23, 2006 at 07:57:37PM +0200, Bernd Walter wrote: > >e 0x20000000 > KDB: debugger backends: ddb > KDB: current backend: ddb > Copyright (c) 1992-2006 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 7.0-CURRENT #4: Wed Aug 23 19:47:16 CEST 2006 > ticso@cicely7.cicely.de:/FreeBSD-arm-src/src/sys/arm/compile/BWCT > CPU: ARM920T rev 0 (ARM9TDMI core) > DC enabled IC enabled WB enabled LABT > 16KB/32B 64-way Instruction cache > 16KB/32B 64-way write-back-locking-A Data cache > real memory = 67108864 (64 MB) > avail memory = 62603264 (59 MB) > panic: Cannot allocate L1 KVM > KDB: enter: panic > > This is a prototype board, so hardware problems are not impossible. It was a hardware problem with power distribution to the SDRAM chips. My next problem ist ethernet. >e 0x20000000 KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2006 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 7.0-CURRENT #6: Thu Aug 24 06:06:58 CEST 2006 ticso@cicely7.cicely.de:/FreeBSD-arm-src/src/sys/arm/compile/BWCT CPU: ARM920T rev 0 (ARM9TDMI core) DC enabled IC enabled WB enabled LABT 16KB/32B 64-way Instruction cache 16KB/32B 64-way write-back-locking-A Data cache real memory = 67108864 (64 MB) avail memory = 62586880 (59 MB) CONFIG: invalid hint 'hint.ohci.at=apb' CONFIG: invalid hint 'hint.ohci.maddr=0x00300000' atmelarm0: on motherboard at91_st0: mem 0xfffffd00-0xfffffdff irq 1 on atmelarm0 at91_st0: watchdog registered, timeout intervall max. 64 sec at91_pio0: mem 0xfffff400-0xfffff5ff irq 1 on atmelarm0 at91_pio0: ABSR: 0x60 OSR: 0 PSR:0x3f380010 ODSR: 0 at91_pio0: [FAST] at91_pio1: mem 0xfffff600-0xfffff7ff irq 1 on atmelarm0 at91_pio1: ABSR: 0xff300 OSR: 0 PSR:0x3fc00cff ODSR: 0 at91_pio1: [FAST] at91_pio2: mem 0xfffff800-0xfffff9ff irq 1 on atmelarm0 at91_pio2: ABSR: 0 OSR: 0x400 PSR:0xc47f ODSR: 0 at91_pio2: [FAST] at91_pio3: mem 0xfffffa00-0xfffffbff irq 1 on atmelarm0 at91_pio3: ABSR: 0 OSR: 0 PSR:0xfffffff ODSR: 0 at91_pio3: [FAST] at91_pmc0: mem 0xfffffc00-0xfffffcff irq 1 on atmelarm0 at91_pmc0: main clock: 10000000 Hz PLLA: 112 MHz CPU: 112 MHz main 37 MHz at91_rtc0: mem 0xfffffe00-0xfffffeff irq 1 on atmelarm0 at91_rtc0: [FAST] at91_twi0: mem 0xfffb8000-0xfffbbfff irq 12 on atmelarm0 iicbus0: on at91_twi0 iicsmb0: on iicbus0 smbus0: on iicsmb0 smb0: on smbus0 ate0: mem 0xfffbc000-0xfffbffff irq 24 on atmelarm0 miibus0: on ate0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ate0: Ethernet address: 00:0e:42:02:00:1f uart0: mem 0xfffff200-0xfffff3ff irq 1 on atmelarm0 uart0: [FAST]Ķuart0: console (115200,n,8,1) uart1: mem 0xfffc0000-0xfffc3fff irq 6 on atmelarm0 uart1: [FAST] uart2: mem 0xfffc4000-0xfffc7fff irq 7 on atmelarm0 uart2: [FAST] uart3: mem 0xfffc8000-0xfffcbfff irq 8 on atmelarm0 uart3: [FAST] uart4: mem 0xfffcc000-0xfffcffff irq 9 on atmelarm0 uart4: [FAST] at91_spi0: mem 0xfffe0000-0xfffe3fff irq 13 on atmelarm0 spibus0: on at91_spi0 Cannot get 100 Hz clock; using 128Hz at91_st0: [FAST] Timecounter "AT91RM9200 timer" frequency 32768 Hz quality 1000 Timecounters tick every 7.812 msec Sending DHCP Discover packet from interface ate0 (00:0e:42:02:00:1f) ate0: link state changed to DOWN ate0: link state changed to UP DHCP/BOOTP timeout for server 255.255.255.255 DHCP/BOOTP timeout for server 255.255.255.255 I see the packets on the DHCP-server: 17:48:24.996668 IP (tos 0x0, ttl 1, id 30, offset 0, flags [none], proto: UDP (17), length: 1488) 0.0.0.0.68 > 255.255.255.255.67: [udp sum ok] BOOTP/DHCP, Request from 00:0e:42:02:00:1f, length: 1460, xid:0xffff0001, secs:137, flags: [Broadcast] (0x8000) Client Ethernet Address: 00:0e:42:02:00:1f Vendor-rfc1048: MSZ:1460 VC:"FreeBSD:arm:7.0-CURRENT" DHCP:DISCOVER 17:48:25.001473 IP (tos 0x10, ttl 16, id 0, offset 0, flags [none], proto: UDP (17), length: 391) 85.159.14.49.67 > 255.255.255.255.68: [udp sum ok] BOOTP/DHCP, Reply, length: 363, xid:0xffff0001, secs:137, flags: [Broadcast] (0x8000) Your IP: 85.159.14.54 Server IP: 85.159.14.49 Client Ethernet Address: 00:0e:42:02:00:1f sname "cicely11.cicely.de" Vendor-rfc1048: DHCP:OFFER SID:85.159.14.49 LT:86400 SM:255.255.255.248 DG:85.159.14.49 NS:10.1.1.8,10.1.1.7 HN:"test-54.bwct.de^@" RP:"85.159.14.49:/var/d6/arm-boot/" RN:43200 RB:75600 BR:85.159.14.55 NTP:10.1.1.10 DN:"cicely.de" And I can see via scope that packets are transfered via MII to the MAC, nevertheless the kernel complains about timeouts. bootspi shows the same: ARP requests are send out repeatetly as if nothing was received. -- B.Walter http://www.bwct.de http://www.fizon.de bernd@bwct.de info@bwct.de support@fizon.de