2011-10-12 NetBSD/FON2405E #2
というわけで、いつのまにやらNetBSD本家にRT3050対応のコードが入っていたので、bootさせてみる…が、何も考えてないのでダメだった。
もう一台FON2405Eをゲットしたので、秋月のFT232RLをハンダ付けして、シリアル出した状態にして沖さんに投棄。
並行して、以前沖さんが作ってくれたRT3052対応のpatchあてて、options CONSPEED=57600 を追加したら、見事bootしたー。
ohci0のattachで固まったけど、ここまで動いてしまえばすぐに追えるだろう。マズマズだな。
NetBSD使いのみんなも
U-Boot 1.1.3 (Jan 6 2010 - 07:10:30) RT3052 # tftp 80010000 netbsd.bin netboot_common, argc= 3 NetTxPacket = 0x81FE4DC0 Trying Eth0 (10/100-M) ETH_STATE_ACTIVE!! Using Eth0 (10/100-M) device TFTP from server 10.10.10.3; our IP address is 10.10.10.200 Filename 'netbsd.bin'. TIMEOUT_COUNT=10,Load address: 0x80010000 Loading: Got ARP REPLY, set server/gtwy eth addr (00:02:2a:dd:58:24) Got it T # first block received ################################################################ ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ############# done Bytes transferred = 3059056 (2ead70 hex) NetBootFileXferSize= 002ead70 RT3052 # go 80010000 ## Starting application at 0x80010000 ... Enabled early console pmap_steal_memory: seg 0: 0x3 0x3 0x10 0x10 pmap_steal_memory: seg 0: too small for 142 pages pmap_steal_memory: seg 1: 0x339 0x339 0x1fff 0x1fff Loaded initial symtab at 0x80288610, strtab at 0x802b11cc, # entries 9799 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 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.56 (RT3050) #0: Wed Oct 12 21:01:51 JST 2011 ryo@moveq:/src/cvs/NetBSD/sys/arch/evbmips/compile/RT3050 total memory = 32768 KB avail memory = 28856 KB mainbus0 (root): Ralink System Bus cpu0 at mainbus0: 320.00MHz (hz cycles = 1600000, delay divisor = 160) cpu0: MIPS 24KE (0x1964c) Rev. 76 with software emulated floating point cpu0: 32 TLB entries, 256MB max page size cpu0: 32KB/32B 4-way set-associative L1 instruction cache cpu0: 16KB/32B 4-way set-associative write-back L1 data cache rwdog0 at mainbus0: Ralink watchdog controller rwdog0: max period 40 sec. rwdog0: KTICKLE mode, period -30 sec. rgpio0 at mainbus0: Ralink GPIO controller gpio0 at rgpio0: 98 pins ri2c0 at mainbus0: Ralink I2C controller iic0 at ri2c0: I2C bus com0 at mainbus0: Au1X00 UART, working fifo com0: console ohci0 at mainbus0: OHCI USB controller ohci0:
EOF