FreeBSD/mipsが某ルータで起動した
http://svn.freebsd.org/base/user/jmallett/octeonをcheckoutしてきて、ブートローダの違いで動かん部分をゴニョゴニョした。
まぁ、殆どコメントアウトしただけなんだが。
Cache info: picache_stride = 4096 picache_loopcount = 4 pdcache_stride = 128 pdcache_loopcount = 64 cpu0: Cavium processor v2.2 MMU: Standard TLB, 32 entries L1 i-cache: 2 ways of 64 sets, 128 bytes per line L1 d-cache: 64 ways of 1 sets, 128 bytes per line Config1=0xbe3103da<COP2,PerfCount,WatchRegs,EJTAG> Config3=0x80 Physical memory chunk(s): 0x44d000 - 0x7ffffff, 129708032 bytes (31667 pages) Maxmem is 0x8000000 KDB: debugger backends: ddb KDB: current backend: ddb hz=100 timer1hz:400 cyl_per_tick:1248000 cyl_per_usec:499 freq:499200000 Available Octeon features: CRYPTO USB Copyright (c) 1992-2010 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 9.0-CURRENT #18 r209482M: Tue Jun 15 02:01:45 JST 2010 root@.localdomain:/usr/obj/mips/usr/octeon/sys/OCTEON1 mips real memory = 134217728 (131072K bytes) Physical memory chunk(s): 0x004d9000 - 0x07d67fff, 126414848 bytes (30863 pages) avail memory = 125599744 (119MB) wlan: <802.11 Link Layer> nfslock: pseudo-device null: <null device, zero device> random: <entropy source, Software, Yarrow> mem: <memory> nexus0: <MIPS32 root nexus> clock0: <Generic MIPS32 ticker> on nexus0 clock0: [FILTER] rnd0: <Cavium Octeon Random Number Generator> on nexus0 ciu0: <Cavium Octeon Central Interrupt Unit> on nexus0 ciu0: [FILTER] obio0 on ciu0 uart1: <Octeon-16550 channel 1> on obio0 uart1: [FILTER] uart1: fast interrupt uart1: console (115200,n,8,1) uart0: <Octeon-16550 channel 0> on obio0 uart0: [FILTER] uart0: fast interrupt uart0: console (115200,n,8,1) Device configuration finished. Timecounter "MIPS32" frequency 499200000 Hz quality 800 Timecounters tick every 10.000 msec lo0: bpf attached ATA PseudoRAID loaded Trying to mount root from ufs:cf0s1 ROOT MOUNT ERROR: If you have invalid mount options, reboot, and first try the following from the loader prompt: set vfs.root.mountfrom.options=rw and then remove invalid mount options from /etc/fstab. Loader variables: vfs.root.mountfrom= vfs.root.mountfrom.options= Manual root filesystem specification: <fstype>:<device> Mount <device> using filesystem <fstype> eg. zfs:tank eg. ufs:/dev/da0s1a eg. cd9660:/dev/acd0 This is equivalent to: mount -t cd9660 /dev/acd0 / ? List valid disk boot devices <empty line> Abort manual input mountroot>
まーここまでくりゃ十分じゃないかね。