2007-08-23 la fonera plus
買ったまま放置していたfonera plusをちゃんといじってみた。
シリアルを継げたのだが、9-KEだとどうも電圧のせいでうまく入力できなかったので、ここを見ながら秋月でMAX232を買ってきてちゃんとしたシリアルケーブルを作る。
というわけで、うまくコンソールが繋がりました。
でもetherが1つしか見えません。kernel config は ae* at arbus? addr ? になってるんだけど、attach してくれなかった。
phyは5つも見えてるけど、どうすればいいんだろう。dualとかquadなetherのドライバ参考にすればわかるかな。調べとこう。
無線LANは、madwifiがMIPSの32bitmodeなドライバをいつまで経っても出してくれないんで、放置。
メールでつっつけば作ってくれるのかなぁ。
RedBoot(tm) bootstrap and debug environment [ROMRAM] OpenWrt certified release, version 1.1 - built 22:32:28, May 7 2007 Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc. Board: FON 2201 RAM: 0x80000000-0x81000000, [0x80040290-0x80fe1000] available FLASH: 0xa8000000 - 0xa87f0000, 128 blocks of 0x00010000 bytes each. == Executing boot script in 5.000 seconds - enter ^C to abort RedBoot> load -r -b 0x80041000 fon_kernel.bin Using default protocol (TFTP) Raw file loaded 0x80041000-0x802268df, assumed entry at 0x80041000 RedBoot> go 0x80041000 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 [ Kernel symbol table missing! ] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 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 4.99.26 (FONERA) #10: Tue Aug 7 18:07:24 JST 2007 ryo@moveq.lab.execsw.org:/usr/src/sys/arch/evbmips/compile/FONERA Atheros AR2315 total memory = 16384 KB avail memory = 13540 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:**:**:** ukphy0 at ae0 phy 16: Generic IEEE 802.3u media interface ukphy0: Marvell 88E6060 10/100 5-port PHY switch (OUI 0x000ac2, model 0x0008), rev. 7 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ukphy1 at ae0 phy 17: Generic IEEE 802.3u media interface ukphy1: Marvell 88E6060 10/100 5-port PHY switch (OUI 0x000ac2, model 0x0008), rev. 7 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ukphy2 at ae0 phy 18: Generic IEEE 802.3u media interface ukphy2: Marvell 88E6060 10/100 5-port PHY switch (OUI 0x000ac2, model 0x0008), rev. 7 ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ukphy3 at ae0 phy 19: Generic IEEE 802.3u media interface ukphy3: Marvell 88E6060 10/100 5-port PHY switch (OUI 0x000ac2, model 0x0008), rev. 7 ukphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ukphy4 at ae0 phy 20: Generic IEEE 802.3u media interface ukphy4: Marvell 88E6060 10/100 5-port PHY switch (OUI 0x000ac2, model 0x0008), rev. 7 ukphy4: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ar531x enable wlan ath at arbus0 addr 0x10000000 cpu irq 1 not configured arspi0 at arbus0 addr 0x11300000 cpu irq 0 misc irq 2: Atheros SPI controller spi0 at arspi0: SPI bus m25p0 at spi0 slave 0: unknown or unsupported device root on ae0 nfs_boot: trying DHCP/BOOTP nfs_boot: DHCP next-server: 0.0.0.0 nfs_boot: my_name=fonplus nfs_boot: my_domain=lab.execsw.org nfs_boot: my_addr=172.17.4.77 nfs_boot: my_mask=255.255.0.0 nfs_boot: gateway=172.17.4.1 root on 172.17.4.40:/src/boot/fonplus WARNING: no TOD clock present WARNING: using filesystem time WARNING: CHECK AND RESET THE DATE! Thu Aug 23 07:07:19 JST 2007 Starting file system checks: Setting tty flags. Setting sysctl variables: Starting network. Hostname: fonplus IPv6 mode: host Configuring network interfaces: ae0. add net default: gateway 172.17.4.1 Adding interface aliases: Building databases... Starting syslogd. Mounting all filesystems... Clearing /tmp. Setting securelevel: kern.securelevel: 0 -> 1 swapctl: adding /var/tmp/swapfile as swap device at priority 0 Starting virecover. Starting local daemons:. Updating motd. Starting inetd. Starting cron. Thu Aug 23 07:09:14 JST 2007 NetBSD/evbmips (fonplus) (console) login:
USBは基板にパターンが残ってるだけで使えないし、CPUのクロックもメモリ容量も前のfoneraと同じだし、Etherが2つあってもこれといって遊べる要素はないなぁ…
EOF