2009-09-16 MZK-W04G
PLANEX DIRECTのガレージセールでMZK-W04Gが安かったので、先日ついIYHしてしまったものが届いた。当然STR91xxなCPUボード目当てです。


いつものように秋月のADM3202でシリアルケーブル作って38400bpsで接続。
ARMboot 1.1.0 (Sep 13 2007 - 14:41:53) Star maintain version 0.15.100000000 ARMboot code: 00000000 -> 0001b684 STR9100 CPU Clock: 250 Mhz 1.8V Regulator Regulated vdd Output : b101 2.5V Regulator Regulated vdd Output : b100 DDR Bank #0: 00000000 64 MB DDR Controller Data Bus Width: 32 bits flash type: EON_EN29LV640HL Flash Bank #1: 8 MB *** Using my specific environment Hit any key to stop autoboot: 0 STR9100> STR9100> STR9100>help go - start application at address 'addr' run - run commands in an environment variable bootm - boot application image from memory bootp - boot image via network using BootP/TFTP protocol tftpboot- boot image via network using TFTP protocol and env variables ipaddr and serverip rarpboot- boot image via network using RARP/TFTP protocol bootd - boot default, i.e., run 'bootcmd' loads - load S-Record file over serial line loadb - load binary file over serial line (kermit mode) autoscr - run script from memory md - memory display mm - memory modify (auto-incrementing) nm - memory modify (constant address) mw - memory write (fill) cp - memory copy cmp - memory compare crc32 - checksum calculation base - print or set address offset printenv- print environment variables setenv - set environment variables saveenv - save environment variables to persistent storage protect - enable or disable FLASH write protection erase - erase FLASH memory flinfo - print FLASH memory information bdinfo - print Board Info structure iminfo - print header information for application image loop - infinite loop on address range mtest - simple RAM test reset - Perform RESET of the CPU echo - echo args to console sleep - delay execution for some time version - print monitor version help - print online help ? - alias for 'help' adjust regulator STR9100>printenv bootcmd=go 10040000 bootdelay=2 baudrate=38400 ipaddr=192.168.1.254 serverip=192.168.1.230 netmask=255.255.255.0 ethaddr=00:90:cc:f3:ab:06 Environment size: 139/32764 bytes
U-Boot(ARMBoot)がsaveenvも対応していた。
LAN EVOLUTIONはsaveenvできたがCMR-350はsaveenvできなかったので不便だったのだ。
デフォルトでtftpbootにできる分、CMR-350よりこっちで開発したほうが楽っぽいな。
STR9100>boot ## Starting application at 0x10040000 ... Uncompressing Linux............................................................................................. done, booting the kernel. Linux version 2.6.16-star (root@localhost.localdomain) (gcc version 3.4.6) #25 Fri Jan 23 20:41:34 JST 2009 CPU: FA526id(wb) [66015261] revision 1 (ARMv4) Machine: STAR STR9100 Memory policy: ECC disabled, Data cache writeback CPU0: D VIVT write-back cache CPU0: I cache: 16384 bytes, associativity 2, 16 byte lines, 512 sets CPU0: D cache: 16384 bytes, associativity 2, 16 byte lines, 512 sets CPU clock at 250MHz AHB clock at 125MHz APB clock at 62MHz Enable I-ScratchPad Address Start : c0025000 Built 1 zonelists Kernel command line: root=/dev/ram0 PID hash table entries: 512 (order: 9, 8192 bytes) Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 64MB = 64MB total Memory: 55936KB available (2356K code, 564K data, 116K init) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok checking if image is initramfs...it isn't (no cpio magic); looks like an initrd Freeing initrd memory: 5852K NET: Registered protocol family 16 PCI clock at 33M PCI: bus0: Fast back to back transfers disabled PCI Bridge found PCI: enabling device 0000:00:00.0 (0140 -> 0142) PCI map irq: 00:00.00 slot 0, pin 1, irq: 0 PCI map irq: 00:01.00 slot 1, pin 1, irq: 5 SCSI subsystem initialized usbcore: registered new driver usbfs usbcore: registered new driver hub JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc. Initializing Cryptographic API io scheduler noop registered io scheduler deadline registered (default) GPIO interrupt handler install ok. STR9100 Real Time Clock Driver v2.0.0 Serial: 8250/16550 driver $Revision: 1.61 $ 1 ports, IRQ sharing disabled serial8250: ttyS0 at MMIO 0x78000000 (irq = 10) is a 16550A RAMDISK driver initialized: 4 RAM disks of 18432K size 1024 blocksize Star GSW Driver(for Linux Kernel 2.6) - Star Semiconductor mac addr: 00:90:cc:f3:ab:06 mac len: 17 flash mac : 0:90:cc:f3:ab:6 VLAN0_VLAN_TAG: 1 configure VSC7385 Check MAC/PHY 0 Link Status : DOWN! INIT VSC8601 VSC8601: AN Completed. PPP generic driver version 2.4.2 PPP Deflate Compression module registered PPP BSD Compression module registered NET: Registered protocol family 24 Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx STR9100 NOR Flash: Found 1 x16 devices at 0x0 in 16-bit bank Amd/Fujitsu Extended Query Table at 0x0040 STR9100 NOR Flash: CFI does not contain boot bank location. Assuming top. number of CFI chips: 1 cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness. Creating 3 MTD partitions on "STR9100 NOR Flash": 0x00000000-0x00040000 : "ARMBOOT" 0x00040000-0x007e0000 : "Linux Kernel" 0x007e0000-0x00800000 : "Config" str9100-ehci str9100-ehci: str9100-ehci str9100-ehci str9100-ehci: new USB bus registered, assigned bus number 1 str9100-ehci str9100-ehci: irq 24, io mem 0xcc000000 str9100-ehci str9100-ehci: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (STR9100) str9100-ohci str9100-ohci: str9100-ohci str9100-ohci str9100-ohci: new USB bus registered, assigned bus number 2 str9100-ohci str9100-ohci: irq 23, io mem 0xc4000000 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected Netfilter messages via NETLINK v0.30. NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 2, 16384 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered ip_conntrack version 2.4 (512 buckets, 4096 max) - 240 bytes per conntrack ip_tables: (C) 2000-2006 Netfilter Core Team TCP bic registered NET: Registered protocol family 1 NET: Registered protocol family 17 NET: Registered protocol family 15 ieee80211: 802.11 data/management/control stack, git-1.1.7 ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com> RAMDISK: Compressed image found at block 0 VFS: Mounted root (ext2 filesystem) readonly. Freeing init memory: 116K Mounting root fs rw ... open mac port 0 port 0 already open Init router config ... str9100_shnat: module license 'Proprietary' taints kernel. [RLDBG] init_func_ptr: HOOK POINT INIT OK STAR9100 Software HNAT Driver Initialized star_ioctl: Unsupport command device eth0 entered promiscuous mode star_ioctl: Unsupport command br0: port 1(eth0) entering learning state br0: topology change detected, propagating br0: port 1(eth0) entering forwarding state PCI: enabling device 0000:00:01.0 (0140 -> 0142) === pAd = c5081000, size = 486108 === <-- RTMPAllocAdapterBlock, Status=0 Initializing USB Mass Storage driver... usbcore: registered new driver usb-storage USB Mass Storage support registered. # RX DESC ffc30000 size = 2048 <-- RTMPAllocTxRxRingMemory, Status=0 WPAPSK_KEY, key len (should be 8~64) incorrect!!!, your key len = 0 I/F(ra0) Key1Str is Invalid key length! KeyLen = 0! 1. Phy Mode = 0 2. Phy Mode = 0 RTMPSetPhyMode: channel is out of range, use first channel=0 3. Phy Mode = 0 RTMPSetPhyMode: channel is out of range, use first channel=0 MCS Set = 00 00 00 00 00 SYNC - BBP R4 to 20MHz.l Main bssid = 00:90:cc:f3:5d:12 The UUID Hex string is:bc329e001dd811b286010090ccf35d12 The UUID ASCII string is:bc329e00-1dd8-11b2-8601-0090ccf35d12! <==== RTMPInitialize, Status=0 0x1300 = 00064220 device ra0 entered promiscuous mode br0: port 2(ra0) entering learning state br0: topology change detected, propagating br0: port 2(ra0) entering forwarding state Open Orion Fast Path Tunnel Device # ? /bin/sh: ?: not found # ps auxw PID Uid VmSize Stat Command 1 root 344 S init 2 root SWN [ksoftirqd/0] 3 root SW< [events/0] 4 root SW< [khelper] 5 root SW< [kthread] 12 root SW< [kblockd/0] 15 root SW< [khubd] 49 root SW [pdflush] 50 root SW [pdflush] 52 root SW< [aio/0] 51 root SW [kswapd0] 570 root SW< [cqueue/0] 590 root SW [mtdblockd] 636 root 912 S /usr/local/sbin/router_config 666 root 440 S /usr/local/sbin/thttpd -C /etc/thttpd.conf 667 root 244 S /usr/local/sbin/wd 670 root 288 S /sbin/klogd 674 root SW [rtmpWscHandle] 676 root 300 S /sbin/syslogd -C 16 681 root 404 S /bin/sh 796 root 268 S udhcpd 805 root 256 S /usr/local/sbin/miniupnpd -f /var/miniupnpd.conf 808 root 324 R ps auxw # df Filesystem 1k-blocks Used Available Use% Mounted on /dev/root 17845 14122 3723 79% / # ls -la / drwxr-xr-x 15 root root 1024 Jan 23 2009 . drwxr-xr-x 15 root root 1024 Jan 23 2009 .. drwxr-xr-x 2 1000 1000 1024 Oct 7 2008 bin drwxrwxrwx 6 root root 1024 Jan 1 09:00 dev drwxr-xr-x 7 1000 1000 1024 Jan 1 09:00 etc drwxr-xr-x 4 1000 1000 2048 Jan 23 2009 lib lrwxrwxrwx 1 root root 11 Jan 23 2009 linuxrc -> bin/busybox drwx------ 2 root root 12288 Jan 23 2009 lost+found drwxr-xr-x 3 1000 1000 1024 Jun 7 2007 man drwxr-xr-x 5 1000 1000 1024 Sep 7 2007 mnt dr-xr-xr-x 36 root root 0 Jan 1 09:00 proc drwxr-xr-x 2 1000 1000 1024 Oct 1 2008 root drwxr-xr-x 2 1000 1000 1024 Oct 4 2007 sbin drwxr-xr-x 2 1000 1000 1024 Jan 1 09:00 tmp drwxr-xr-x 7 1000 1000 1024 Jun 12 2007 usr drwxr-xr-x 6 1000 1000 1024 Jan 1 09:00 var # cat /proc/cpuinfo Processor : FA526id(wb) rev 1 (v4l) BogoMIPS : 191.69 Features : swp half CPU implementer : 0x66 CPU architecture: 4 CPU variant : 0x0 CPU part : 0x526 CPU revision : 1 Cache type : write-back Cache clean : cp15 c7 ops Cache lockdown : format B Cache format : Harvard I size : 16384 I assoc : 2 I line length : 16 I sets : 512 D size : 16384 D assoc : 2 D line length : 16 D sets : 512 Hardware : STAR STR9100 Revision : 0000 Serial : 0000000000000000 #
おいおい。デフォルトでshellが上がってるよ。すげー。
CPUとクロックが判明したので表を更新
AREA LAN EVOLUTION | STR8132 250MHz | LAN,USB |
CNET CWR-635M(※) | STR9105 200MHz | LAN,USB,mini-pci(WiFi) |
COREGA CG-BARPROG | STR9102 200MHz | LAN |
PLANEX MZK-W04G | STR9102 250MHz | LAN,USB,mini-pci(WiFi) |
NetIndex クティオ | STR91?? ?MHz | LAN,USB,WiFi,CF |
EOF