From owner-freebsd-arm@FreeBSD.ORG Tue Jun 5 07:03:33 2007 Return-Path: X-Original-To: arm@freebsd.org Delivered-To: freebsd-arm@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2E57016A400 for ; Tue, 5 Jun 2007 07:03:33 +0000 (UTC) (envelope-from krassi@bulinfo.net) Received: from mx.bulinfo.net (mx.bulinfo.net [193.194.156.1]) by mx1.freebsd.org (Postfix) with ESMTP id DCC5B13C468 for ; Tue, 5 Jun 2007 07:03:32 +0000 (UTC) (envelope-from krassi@bulinfo.net) Received: from localhost (localhost [127.0.0.1]) by mx.bulinfo.net (Postfix) with ESMTP id 397601F4BA; Tue, 5 Jun 2007 09:41:20 +0300 (EEST) Received: from mx.bulinfo.net ([127.0.0.1]) by localhost (mx.bulinfo.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 70557-07; Tue, 5 Jun 2007 09:41:18 +0300 (EEST) Received: from [192.168.2.188] (pythia.bulinfo.net [212.72.195.5]) by mx.bulinfo.net (Postfix) with ESMTP id A4D341F4B8; Tue, 5 Jun 2007 09:41:18 +0300 (EEST) Message-ID: <4665058E.2000108@bulinfo.net> Date: Tue, 05 Jun 2007 09:41:18 +0300 From: Krassimir Slavchev User-Agent: Thunderbird 2.0.0.0 (X11/20070601) MIME-Version: 1.0 To: Marcel Moolenaar References: <"49326.2001:6f8:101e:0:20e:cff:fe6d:6adb.1180977230.squirrel"@webmail.alpha-tierchen.de> <20070604.113750.-1540390883.imp@bsdimp.com> <6F9854AF-D3F5-48F8-A6F9-E556ACF198EA@mac.com> In-Reply-To: <6F9854AF-D3F5-48F8-A6F9-E556ACF198EA@mac.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at mx.bulinfo.net Cc: arm@freebsd.org, bkoenig@alpha-tierchen.de Subject: Re: How to get console output? 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, 05 Jun 2007 07:03:33 -0000 I had this problem 2 months ago and this was quick fix: http://lists.freebsd.org/pipermail/freebsd-arm/2007-April/000521.html I am not sure whether this is the right solution or I miss to define something about the console? Marcel Moolenaar wrote: > > On Jun 4, 2007, at 10:37 AM, M. Warner Losh wrote: >> I have the following sitting in my tree: >> >> Index: uart_cpu_at91rm9200usart.c >> =================================================================== >> RCS file: /cache/ncvs/src/sys/arm/at91/uart_cpu_at91rm9200usart.c,v >> retrieving revision 1.3 >> diff -u -r1.3 uart_cpu_at91rm9200usart.c >> --- uart_cpu_at91rm9200usart.c 2 Apr 2007 22:00:21 -0000 1.3 >> +++ uart_cpu_at91rm9200usart.c 4 Jun 2007 17:37:20 -0000 >> @@ -80,5 +80,6 @@ >> uart_bus_space_io = &at91_bs_tag; >> uart_bus_space_mem = NULL; >> /* Check the environment for overrides */ >> - return (uart_getenv(devtype, di, class)); >> + uart_getenv(devtype, di, class); >> + return 0; >> } >> >> waiting to find some time to test it. > > I just committed it. > FYI, > -- Krassimir Slavchev Bulinfo Ltd. krassi@bulinfo.net (+359 2) 969-9160 http://www.bulinfo.net (+359 2) 969-9166