From owner-freebsd-mips@FreeBSD.ORG Fri Jan 25 22:50:59 2013 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id ADE8FC48; Fri, 25 Jan 2013 22:50:59 +0000 (UTC) (envelope-from stefan@kooman.org) Received: from mail.kooman.org (mail.kooman.org [IPv6:2001:7b8:60a:1:213:136:13:33]) by mx1.freebsd.org (Postfix) with ESMTP id 31735F23; Fri, 25 Jan 2013 22:50:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kooman.org; s=mail-kooman; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=+gaVFfxzscuY9cCv3lC2qHnz5SARQVE2YjjJZofVyKM=; b=UE+SdApWRSvw5jk9p3WDfoEK5J1Rn/e4wv68eVPd08DusCX52FZ/YRqXktv8lXNKe+1Dt0vJM0DDcLwkCZ/9mQ32QoN5AqoZ4OMdnDNVPM4wfwB5IC9csBie2Vbx3E95+u9avBFFXWjQlTMehlM8iL7HBeisUsa9VYcX2Uzv9mI=; Received: from nettie.kooman.org ([2001:7b8:803:1::4] helo=nettie) by mail.kooman.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1Tys6n-0002MZ-NY; Fri, 25 Jan 2013 23:50:53 +0100 Date: Fri, 25 Jan 2013 23:50:54 +0100 From: Stefan Kooman To: Aleksandr Rybalko Subject: Re: kernel build fails for Routerboard 450g Message-ID: <20130125225053.GA10775@nettie> References: <20130107214419.GB16119@archie.kooman.org> <20130124025512.GA504@archie.kooman.org> <20130124164036.8120091a7711983037c2b4b4@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130124164036.8120091a7711983037c2b4b4@freebsd.org> X-GPG-ID: D14839C6 X-GPG-Fingerprint: 93E6 F01E F7EE 5B3B 0771 4DEB 4F21 A061 D148 39C6 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-mips@freebsd.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2013 22:50:59 -0000 On Thu, Jan 24, 2013 at 04:40:36PM +0200, Aleksandr Rybalko wrote: > > `uart_cpu_getdev' > > *** [kernel] Error code 1 > > 1 error > > *** [buildkernel] Error code 2 > > 1 error > > *** [buildkernel] Error code 2 > > 1 error" > > > > If I remove "options uart" and "options gpioled" kernel builds fine. > > Please try to add "uart_ar71xx" also: > device uart > device uart_ar71xx Yeah!, know kernel builds fine ... kernel gets executed too: uart0: console (115200,n,8,1) gpio0: on apb0 gpio0: [GIANT-LOCKED] gpio0: gpio pinmask=0x0 gpioc0: on gpio0 gpiobus0: on gpio0 gpioled0: at pin(s) 4 on gpiobus0 ehci0: at mem 0x1b000000-0x1bffffff irq 1 on nexus0 usbus0: set host controller mode usbus0: EHCI version 1.0 usbus0: set host controller mode usbus0 on ehci0 arge0: at mem 0x19000000-0x19000fff irq 2 on nexus0 arge0: finishing attachment, phymask 000f, proxy null miibus0: on arge0 ukphy0: PHY 0 on miibus0 ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto ukphy1: PHY 1 on miibus0 ukphy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto ukphy2: PHY 2 on miibus0 ukphy2: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto ukphy3: PHY 3 on miibus0 ukphy3: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto arge0: Ethernet address: d4:ca:6d:59:dc:ef arge1: at mem 0x1a000000-0x1a000fff irq 3 on nexus0 arge1: finishing attachment, phymask 0010, proxy null arge1: unable to attach PHY 4: 6 device_attach: arge1 attach returned 6 ar71xx_wdog0: on nexus0 spi0: at mem 0x1f000000-0x1f00000f on nexus0 spibus0: on spi0 Timecounters tick every 1.000 msec bootpc_init: wired to interface 'arge1' usbus0: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 uhub0: 2 ports with 2 removable, self powered panic: bootpc_init: Could not find interface specified by BOOTP_WIRED_TO: arge1 Uptime: 11s Automatic reboot in 15 seconds - press a key on the console to abort --> Press a key on the console to reboot, --> or switch off the system now. However, the arge1 interface can't be attached. Any hints for this one? Thanks, Stefan