Port-evbmips archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Crosscompiling NetBSD for Fonera not working with HEAD?



On Jun 28, 2009, at 11:17 PM, Fredrik Pettai wrote:
On May 17, 2009, at 9:54 PM, Fredrik Pettai wrote:
On May 16, 2009, at 9:42 PM, Arnaud Lacombe wrote:
Hi David,

Yes, this fix the kernel build. This change need also to be made in a couple or others files/headers (cf patch attached). I don't think any of these files include `ah_soc.h' for HAL related purpose, cf the XXX
comment found in one of them:

Yes, that did the trick.

While at the topic of Fon, I not sure which way is the best to flash it, and what forthcoming problems I might run into. The most reasonable guide/up-to-date I found was the one for the MERAKI mini.

Picking up this thread now that things calm down during the summer.

Well, I got the 5.99.11 kernel booting on one box now. Although there is still trouble with the ath0 wifi driver.
(Referring to this old thread: 
http://mail-index.netbsd.org/port-evbmips/2008/01/23/msg000011.html)

However, the HAL status is now Unknown instead of Atheros 2315 WiSoC.


I just tested a fresh NetBSD 5.99.14 built kernel and it give me almost the same error:

RedBoot> go
MIPS32/64 params: cpu arch: 32
MIPS32/64 params: TLB entries: 16
MIPS32/64 params: Icache: line = 16, total = 16384, ways = 4
                 sets = 256
MIPS32/64 params: Dcache: line = 16, total = 16384, ways = 4
                 sets = 256
  picache_stride    = 4096
  picache_loopcount = 4
  pdcache_stride    = 4096
  pdcache_loopcount = 4
Memory size: 0x01000000
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 5.99.14 (FON2100) #0: Sun Jun 28 23:49:32 CEST 2009
        root%netbsd5.99.11@localhost:/usr/obj/sys/arch/evbmips/compile/FON2100
Atheros AR2315
total memory = 16384 KB
avail memory = 12968 KB
mainbus0 (root)
cpu0 at mainbus0: 184.00MHz (hz cycles = 920000, delay divisor = 92)
cpu0: MIPS 4KEc (Rev 2) (0x19064) Rev. 100 with software emulated floating point cpu0: 16KB/16B 4-way set-associative L1 Instruction cache, 16 TLB entries
cpu0: 16KB/16B 4-way set-associative write-back L1 Data cache
wdog0 at mainbus0: 5 second period
arbus0 at mainbus0
com0 at arbus0 addr 0x11100000 cpu irq 0 misc irq 0: ns16550a, working fifo
com0: console
ae0 at arbus0 addr 0x10500000 cpu irq 2: Atheros AR531X 10/100 Ethernet
ae0: Ethernet address 00:18:84:1b:65:10
ukphy0 at ae0 phy 0: Generic IEEE 802.3u media interface
ukphy0: AC101L 10/100 media interface (OUI 0x0010a9, model 0x0012), rev. 1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ae0: WARNING: powerhook_establish is deprecated
ath0 at arbus0 addr 0x10000000 cpu irq 1: Unknown AR531X WLAN
ath0: unable to attach hardware; HAL status 3221368608
ath0: ath_attach failed
arspi0 at arbus0 addr 0x11300000 cpu irq 0 misc irq 2: Atheros SPI controller
spi0 at arspi0: SPI bus
m25p0 at spi0 slave 0
spiflash0 at m25p0: STMicro M25P64 SPI flash
spiflash0: 8192 KB, 128 sectors of 64 KB each
root device:


Home | Main Index | Thread Index | Old Index