kernel build fails for Routerboard 450g

Stefan Kooman stefan at kooman.org
Fri Jan 25 22:50:59 UTC 2013


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


More information about the freebsd-mips mailing list