Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jan 2013 23:50:54 +0100
From:      Stefan Kooman <stefan@kooman.org>
To:        Aleksandr Rybalko <ray@freebsd.org>
Cc:        freebsd-mips@freebsd.org
Subject:   Re: kernel build fails for Routerboard 450g
Message-ID:  <20130125225053.GA10775@nettie>
In-Reply-To: <20130124164036.8120091a7711983037c2b4b4@freebsd.org>
References:  <20130107214419.GB16119@archie.kooman.org> <CA%2BsBSoJ_vPrWOqyqMH6rzfmAndGJ5v%2Bf6irSihKe9k6Ew4Ej%2Bw@mail.gmail.com> <20130124025512.GA504@archie.kooman.org> <20130124164036.8120091a7711983037c2b4b4@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <Atheros AR71XX GPIO driver> on apb0
gpio0: [GIANT-LOCKED]
gpio0: gpio pinmask=0x0
gpioc0: <GPIO controller> on gpio0
gpiobus0: <GPIO bus> on gpio0
gpioled0: <GPIO led> at pin(s) 4 on gpiobus0
ehci0: <AR71XX Integrated USB 2.0 controller> 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: <Atheros AR71xx built-in ethernet interface> at mem
0x19000000-0x19000fff irq 2 on nexus0
arge0: finishing attachment, phymask 000f, proxy null
miibus0: <MII bus> on arge0
ukphy0: <Generic IEEE 802.3u media interface> PHY 0 on miibus0
ukphy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
1000baseT-FDX, 1000baseT-FDX-master, auto
ukphy1: <Generic IEEE 802.3u media interface> PHY 1 on miibus0
ukphy1:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
1000baseT-FDX, 1000baseT-FDX-master, auto
ukphy2: <Generic IEEE 802.3u media interface> PHY 2 on miibus0
ukphy2:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
1000baseT-FDX, 1000baseT-FDX-master, auto
ukphy3: <Generic IEEE 802.3u media interface> 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: <Atheros AR71xx built-in ethernet interface> 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: <Atheros AR71XX watchdog timer> on nexus0
spi0: <AR71XX SPI> at mem 0x1f000000-0x1f00000f on nexus0
spibus0: <spibus bus> on spi0
Timecounters tick every 1.000 msec
bootpc_init: wired to interface 'arge1'
usbus0: 480Mbps High Speed USB v2.0
ugen0.1: <Atheros> at usbus0
uhub0: <Atheros EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130125225053.GA10775>