From owner-freebsd-arm@FreeBSD.ORG Wed Dec 26 23:34:34 2007 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 B841516A469 for ; Wed, 26 Dec 2007 23:34:34 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from mail.semihalf.com (mail.semihalf.com [83.15.139.206]) by mx1.freebsd.org (Postfix) with ESMTP id 74FED13C455 for ; Wed, 26 Dec 2007 23:34:34 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from localhost (unknown [127.0.0.1]) by mail.semihalf.com (Postfix) with ESMTP id 3187314D7F; Thu, 27 Dec 2007 00:39:10 +0100 (CET) Received: from mail.semihalf.com ([127.0.0.1]) by localhost (mail.semihalf.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12635-09; Thu, 27 Dec 2007 00:39:09 +0100 (CET) Received: from [77.112.93.189] (apn-77-112-93-189.gprs.plus.pl [77.112.93.189]) by mail.semihalf.com (Postfix) with ESMTP id 5177214D7C; Thu, 27 Dec 2007 00:39:08 +0100 (CET) Message-ID: <4772E502.6090804@semihalf.com> Date: Thu, 27 Dec 2007 00:34:26 +0100 From: Rafal Jaworowski MIME-Version: 1.0 To: Olivier Houchard Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at semihalf.com Cc: freebsd-arm@freebsd.org Subject: Clean up ARM_TP_ADDRESS and RAS location 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: Wed, 26 Dec 2007 23:34:34 -0000 Hi, The following patch de-hardcodes usage of ARM_TP_ADDRESS and RAS local storage, it also moves this special purpose page to a more convenient place i.e. after the vectors high page, more towards the end of address space. Previous location (0xe000_0000) caused grief if KVA where to go beyond the default limit. http://people.freebsd.org/~raj/patches/arm/cleanup_tp_ras.diff Let me hear your comments. Rafal From owner-freebsd-arm@FreeBSD.ORG Sat Dec 29 04:20:05 2007 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 62DD616A417 for ; Sat, 29 Dec 2007 04:20:05 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe12.swip.net [212.247.155.97]) by mx1.freebsd.org (Postfix) with ESMTP id C96E513C461 for ; Sat, 29 Dec 2007 04:20:04 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [193.217.102.3] (account mc467741@c2i.net HELO [10.0.0.249]) by mailfe12.swip.net (CommuniGate Pro SMTP 5.1.13) with ESMTPA id 576794117 for freebsd-arm@freebsd.org; Sat, 29 Dec 2007 02:20:01 +0100 From: Hans Petter Selasky To: freebsd-arm@freebsd.org Date: Sat, 29 Dec 2007 02:20:45 +0100 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200712290220.45527.hselasky@c2i.net> Subject: FYI: AT91 UDP is now fully supported (and tested) by the FreeBSD P4 USB project 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, 29 Dec 2007 04:20:05 -0000 Hi, Here is what the "dmesg" looks like: KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2007 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. =46reeBSD is a registered trademark of The FreeBSD Foundation. =46reeBSD 8.0-CURRENT #304: Sat Dec 29 00:09:30 CET 2007 hans_other@server0.selasky.org:/usr/obj/arm/usr/7-current/src/sys/custom 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 =3D 67108864 (64 MB) avail memory =3D 61452288 (58 MB) atmelarm0: on motherboard at91_st0: mem 0xdffffd00-0xdffffdff irq 1 on atmelarm0 at91_st0: watchdog registered, timeout intervall max. 64 sec at91_pio0: mem 0xdffff400-0xdffff5ff irq 1 on atmelarm0 at91_pio0: ABSR: 0x60 OSR: 0 PSR:0x3938001f ODSR: 0 at91_pio0: [FILTER] at91_pio1: mem 0xdffff600-0xdffff7ff irq 1 on atmelarm0 at91_pio1: ABSR: 0xff301 OSR: 0x2 PSR:0x3fc00cfe ODSR: 0 at91_pio1: [FILTER] at91_pio2: mem 0xdffff800-0xdffff9ff irq 1 on atmelarm0 at91_pio2: ABSR: 0 OSR: 0x1000000a PSR:0xffffc075 ODSR: 0x10000000 at91_pio2: [FILTER] at91_pio3: mem 0xdffffa00-0xdffffbff irq 1 on atmelarm0 at91_pio3: ABSR: 0 OSR: 0 PSR:0xfffffff ODSR: 0 at91_pio3: [FILTER] at91_pmc0: mem 0xdffffc00-0xdffffcff irq 1 on atmelarm0 at91_pmc0: Primary: 10000000 Hz PLLA: 180 MHz CPU: 180 MHz MCK: 60 MHz at91_udp0: mem 0xdffb0000-0xdffb3fff = irq=20 11,3 on atmelarm0 at91_udp0: [ITHREAD] at91_udp0: [ITHREAD] usb0 on at91_udp0 at91_mci0: mem 0xdffb4000-0xdffb7fff irq 10 on=20 atmelarm0 at91_mci0: [ITHREAD] mmc0: on at91_mci0 at91_twi0: mem 0xdffb8000-0xdffbbfff irq 12 on atmelarm0 at91_twi0: [ITHREAD] iicbus0: on at91_twi0 setting cwgr to 0x1a4a4 iicbus0: on at91_twi0 setting cwgr to 0x1a4a4 iicbus0: at addr 0 iic0: on iicbus0 icee0: at addr 0xa0 on iicbus0 ate0: mem 0xdffbc000-0xdffbffff irq 24 on atmelarm0 ate0: No MAC address setdevice_attach: ate0 attach returned 6 uart0: mem 0xdffff200-0xdffff3ff irq 1 on atmelarm0 uart0: [FILTER]m]X....=BD..=BD=B1..(115200,n,8,1) uart1: mem 0xdffc0000-0xdffc3fff irq 6 on atmelarm0 uart1: [FILTER] uart2: mem 0xdffe0000-0xdffe3fff irq 13 on atmelarm0 at91_spi0: [ITHREAD] spibus0: on at91_spi0 ohci0: mem 0xdfe00000-0xdfefffff irq 23 o= n=20 atmelarm0 ohci0: [ITHREAD] usb1 on ohci0 Cannot get 100 Hz clock; using 100Hz at91_st0: [FILTER] Timecounter "AT91RM9200 timer" frequency 32768 Hz quality 1000 Timecounters tick every 10.000 msec usb0: 12Mbps Full Speed USB v1.1 uhub0: on usb0 uhub0: 1 port with 1 removable, self powered usb1: 12Mbps Full Speed USB v1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered cdce0: on usb0 cdce0: Ethernet address: 01:23:45:67:89:ab usbd_alloc_device: set address 2 failed (ignored) usbd_alloc_device: getting device descriptor at addr 2 failed! uhub1:uhub_reattach_port: could not allocate new device! mmc0: setting transfer rate to 30.000MHz "cdce0" is the device that currently appears when you plug the USB cable. Precompiled ARM kernel at: http://www.selasky.org/hans_petter/usb4bsd/snapshots/ =2D-HPS