!LaFonela {{category 組み込み}} {{category コンピュータ関連Tips}} FON端末です。今更感もありますが、 1000円と安く売られているようなので、買ってみた。 で、とりあえず、梱包を開け、ケースも開ける。 星型ねじがゴムブッシュの裏に隠れているので回せばいい。 # 通信機器ってこんなに簡単に開けられていいんだっけ? で、シリアルでアクセスするために、 FT232RL(USB-TTLレベルなシリアル変換)と適当にハンダ付け。 いくつかのページで紹介されていた8pinのピンヘッダではなくて # 例えば[ここ|http://jauzsi.hu/2006/10/13/inside-of-the-fonera]とか。 4pinのヘッダだった。ちなみにピン配置は、下図のとおり。 FT232RLは、FreeBSDでも使える。 FreeBSD 7.0-PRERELEASEだと、 kldload uftdi で、/dev/cuaU0とかに見え、minicomでアクセスできて幸せ...と 思ったらなんか入力が効いていない気がする。 ちなみに、unameは、 Linux OpenWrt 2.4.32 #8 lun ene 8 12:33:21 UTC 2007 mips unknown で、dmesgは、 CPU revision is: 00019064 Primary instruction cache 16kB, physically tagged, 4-way, linesize 16 bytes. Primary data cache 16kB, 4-way, linesize 16 bytes. Linux version 2.4.32 (iurgi@ropero) (gcc version 3.4.6 (OpenWrt-2.0)) #8 lun ene 8 12:33:21 UTC 2007 Determined physical RAM map: memory: 01000000 @ 00000000 (usable) On node 0 totalpages: 4096 zone(0): 4096 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: console=ttyS0,9600 rootfstype=squashfs,jffs2 Using 92.000 MHz high precision timer. Calibrating delay loop... 183.50 BogoMIPS Memory: 14188k/16384k available (1327k kernel code, 2196k reserved, 92k data, 68k init, 0k highmem) Dentry cache hash table entries: 2048 (order: 2, 16384 bytes) Inode cache hash table entries: 1024 (order: 1, 8192 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) Buffer cache hash table entries: 1024 (order: 0, 4096 bytes) Page-cache hash table entries: 4096 (order: 2, 16384 bytes) Checking for 'wait' instruction... available. POSIX conformance testing by UNIFIX Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au) devfs: boot_options: 0x1 JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB. squashfs: version 3.0 (2006/03/15) Phillip Lougher pty: 256 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with no serial options enabled ttyS00 at 0xb1100003 (irq = 37) is a 16550A eth0: Dropping NETIF_F_SG since no checksum feature. eth0: Atheros AR2313: 00:18:84:83:44:40, irq 4 MTD driver for SPI flash. spiflash: Probing for Serial flash ... spiflash: Found SPI serial Flash. 8388608: size Creating 8 MTD partitions on "spiflash": 0x00000000-0x00030000 : "RedBoot" 0x00030000-0x00720000 : "rootfs" 0x001b0000-0x00720000 : "rootfs1" 0x00720000-0x00730000 : "config" 0x00730000-0x007e0000 : "vmlinux.bin.l7" 0x007e0000-0x007ef000 : "FIS directory" mtd: partition "FIS directory" doesn't end on an erase block -- force read-only 0x007ef000-0x007f0000 : "RedBoot config" mtd: partition "RedBoot config" doesn't start on an erase block boundary -- force read-only 0x007f0000-0x00800000 : "board_config" Initializing Cryptographic API NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 1024 bind 2048) ip_conntrack version 2.1 (5953 buckets, 5953 max) - 328 bytes per conntrack ip_tables: (C) 2000-2002 Netfilter core team NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. NET4: Ethernet Bridge 008 for NET4.0 802.1Q VLAN Support v1.8 Ben Greear All bugs added by David S. Miller VFS: Mounted root (squashfs filesystem) readonly. Mounted devfs on /dev Freeing unused kernel memory: 68k freed Algorithmics/MIPS FPU Emulator v1.5 Registering mini_fo version $Id$ mini_fo: using base directory: / mini_fo: using storage directory: /jffs jffs2.bbc: SIZE compression mode activated. wlan: 0.8.4.2 (0.9.0) ath_hal: 0.9.17.1 (AR5212, AR5312, RF5112, RF2316, RF2317, TX_DESC_SWAP) wlan: mac acl policy registered ath_rate_sample: 1.2 (0.9.0) ath_ahb: 0.9.4.5 (0.9.0) ath_pci: switching rfkill capability off wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps wifi0: H/W encryption support: WEP AES AES_CCM TKIP wifi0: mac 11.0 phy 4.8 radio 7.0 wifi0: Use hw queue 1 for WME_AC_BE traffic wifi0: Use hw queue 0 for WME_AC_BK traffic wifi0: Use hw queue 2 for WME_AC_VI traffic wifi0: Use hw queue 3 for WME_AC_VO traffic wifi0: Use hw queue 8 for CAB traffic wifi0: Use hw queue 9 for beacons wifi0: Atheros 2315 WiSoC: mem=0xb0000000, irq=3 Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky device eth0 entered promiscuous mode {{ref_image lafonera.png}}