SH7751R

PCIC
rtk がまともに probe されるくらいの能力は実装した。
キャッシュ
2-way set-associative で動作している気はしている…。
cpu0 at mainbus0: HITACHI SH4 266.666MHz PCLOCK 33.333 MHz
16KB/32B 2-way set-associative Instruction cache.
32KB/32B 2-way set-associative Data cache.
P0, U0, P3 write-back P1 write-through
full-associative 4 ITLB, 64 UTLB entries
multiple virtual storage mode, SQ access: kernel, wired 61
shpcic0 at mainbus0: HITACHI SH7751R
pci0 at shpcic0
pci0: i/o space, memory space enabled
rtk0 at pci0 dev 0 function 0: Realtek 8139 10/100BaseTX
rtk0: interrupting at irq 5
rtk0: Ethernet address XX:XX:XX:XX:XX:XX
ukphy0 at rtk0 phy 7: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000000, model 0x0000, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
NEC USB Host Controller (USB serial bus, interface 0x10, revision 0x43) at pci0 dev 2 function 0 not configured
NEC USB Host Controller (USB serial bus, interface 0x10, revision 0x43) at pci0 dev 2 function 1 not configured
NEC USB Host Controller (USB serial bus, interface 0x20, revision 0x04) at pci0 dev 2 function 2 not configured

しかし rtk はまだ正常に動作しない。

usl-5p# ping 192.168.0.2
PING koharu (192.168.0.2): 56 data bytes
^C
----koharu PING Statistics----
6 packets transmitted, 0 packets received, 100.0% packet loss
usl-5p# ifconfig -a
rtk0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: XX:XX:XX:XX:XX:XX
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet 192.168.0.17 netmask 0xffffff00 broadcast 192.168.0.255
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33196
        inet 127.0.0.1 netmask 0xff000000
usl-5p# 

ちなみに ohci, ehci を config に追加すると ehci が正常に probe されない上に wd0 の probe でダンマリ状態になる。

ohci0 at pci0 dev 2 function 0: NEC USB Host Controller (rev. 0x43)
ohci0: interrupting at irq 7
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci0 dev 2 function 1: NEC USB Host Controller (rev. 0x43)
ohci1: interrupting at irq 8
ohci1: OHCI version 1.0
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 2 function 2: NEC USB Host Controller (rev. 0x04)
ehci0: interrupting at irq 5
ehci0: EHCI version 1.0
ehci0: companion controllers, 3 ports each: ohci0 ohci1
ehci0: run timeout
ehci0: init failed, error=13
shb0 at mainbus0
scif0 at shb0
scif0: console
obio0 at mainbus0
wdc0 at obio0 port 0x14000000-0x1400000f irq 10
atabus0 at wdc0 channel 0