タグ: USB

WR8750Nメモ USB Controlloer Register

AR9344にぶら下がっているuPD720114が、NECのBootloader上で tp usb を実行しない場合Full-Speedで、実行した場合High-Speedで認識されるため、その比較用メモ。

IPL:HARD-RESET
memory test ... ok
flinstall OK

boot version: 1.0.0

PKG "Orthos-HP"
CPU "Atheros/AR9344"
Revision 212.1 CLOCK 560.0 MHz
HEAP MEMORY 262144 bytes
Boot:InitFilesystem

welcome to boot console
Password:
boot> debug memory read 0xbb000000 1d8
bb000000:00000000 00000000 00000000 00000000 ................
bb000010:00000000 00000000 00000000 00000000 ................
bb000020:00000000 00000000 00000000 00000000 ................
bb000030:00000000 00000000 00000000 00000000 ................
bb000040:00000000 00000000 00000000 00000000 ................
bb000050:00000000 00000000 00000000 00000000 ................
bb000060:00000000 00000000 00000000 00000000 ................
bb000070:00000000 00000000 00000000 00000000 ................
bb000080:00000000 00000000 00000000 00000000 ................
bb000090:00000000 00000000 00000000 00000000 ................
bb0000a0:00000000 00000000 00000000 00000000 ................
bb0000b0:00000000 00000000 00000000 00000000 ................
bb0000c0:00000000 00000000 00000000 00000000 ................
bb0000d0:00000000 00000000 00000000 00000000 ................
bb0000e0:00000000 00000000 00000000 00000000 ................
bb0000f0:00000000 00000000 00000000 00000000 ................
bb000100:00000000 00000000 00000000 00000000 ................
bb000110:00000000 00000000 00000000 00000000 ................
bb000120:00000000 00000000 00000000 00000000 ................
bb000130:00000000 00000000 00000000 00000000 ................
bb000140:00000000 00000000 00000000 00000000 ................
bb000150:00000000 00000000 00000000 00000000 ................
bb000160:00000000 00000000 00000000 00000000 ................
bb000170:00000000 00000000 00000000 00000000 ................
bb000180:00000000 00000000 00000000 00000000 ................
bb000190:00000000 00000000 00000000 00000000 ................
bb0001a0:00000000 00000000 00000000 00000000 ................
bb0001b0:00000000 00000000 00000000 00000000 ................
bb0001c0:00000000 00000000 00000000 00000000 ................
bb0001d0:00000000 00000000                   ........
boot> tp usb
USB Test .... 
 USB Specification 2.00
 Vendor ID   : 0x0409
 Product ID  : 0x005a
 Release No  : 1.00
 MANUFACTURER: 
 PRODUCT     : 
 USB SPEED   : HIGH
PASS
boot> debug memory read 0xbb000000 1d8
bb000000:e241fa05 00000013 10020001 0000000d .A..............
bb000010:80060908 00000608 00000000 00000000 ................
bb000020:00000000 00000000 00000000 00000000 ................
bb000030:00000000 00000000 00000000 00000000 ................
bb000040:00000000 00000000 00000000 00000000 ................
bb000050:00000000 00000000 00000000 00000000 ................
bb000060:00000000 00000000 00000000 00000000 ................
bb000070:00000000 00000000 00000000 00000000 ................
bb000080:00000000 00000000 00000000 00000000 ................
bb000090:00000000 00000000 00000000 00000000 ................
bb0000a0:00000000 00000000 00000000 00000000 ................
bb0000b0:00000000 00000000 00000000 00000000 ................
bb0000c0:00000000 00000000 00000000 00000000 ................
bb0000d0:00000000 00000000 00000000 00000000 ................
bb0000e0:00000000 00000000 00000000 00000000 ................
bb0000f0:00000000 00000000 00000000 00000000 ................
bb000100:01000040 00010011 00000006 00000000 ...@............
bb000110:00000000 00000000 00000000 00000000 ................
bb000120:00000001 00000186 00000000 00000000 ................
bb000130:00000000 00003000 00000000 00000000 ......0.........
bb000140:00080000 00000080 00000000 00000000 ................
bb000150:00000000 00000000 00000000 00000000 ................
bb000160:00001010 00000000 00000000 00000000 ................
bb000170:00000000 00000000 00000000 00000000 ................
bb000180:00000001 1c001004 00000000 00000000 ................
bb000190:00000000 00000000 00000000 00000000 ................
bb0001a0:00000000 00200e20 00000000 00000000 ..... . ........
bb0001b0:00000000 00000000 00000000 00000000 ................
bb0001c0:00800080 00000000 00000000 00000000 ................
bb0001d0:00000000 00000000

tp usb 実行せずOpenWrtをブートした場合

root@OpenWrt:/# devmem 0x1b000184
0x10001805

bootlog(一部)

[    6.122725] usbcore: registered new interface driver usbfs
[    6.188433] usbcore: registered new interface driver hub
[    6.252082] usbcore: registered new device driver usb
[    6.318579] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.398490] ehci-platform: EHCI generic platform driver
[    6.461027] random: fast init done
[    6.501952] ehci-platform 1b000000.usb: EHCI Host Controller
[    6.569744] ehci-platform 1b000000.usb: new USB bus registered, assigned bus number 1
[    6.663483] ehci-platform 1b000000.usb: irq 3, io mem 0x1b000000
[    6.758179] ehci-platform 1b000000.usb: USB 2.0 started, EHCI 1.00
[    6.832993] hub 1-0:1.0: USB hub found
[    6.878373] hub 1-0:1.0: 1 port detected
[    6.926793] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    7.023731] init: - preinit -
[    7.281836] random: jshn: uninitialized urandom read (4 bytes read)
[    7.356863] usb 1-1: new full-speed USB device number 2 using ehci-platform
[    7.532611] random: jshn: uninitialized urandom read (4 bytes read)
[    7.720513] usb 1-1: not running at top speed; connect to a high speed hub
[    7.890395] random: procd: uninitialized urandom read (4 bytes read)
[    7.966902] hub 1-1:1.0: USB hub found
[    8.041900] hub 1-1:1.0: 4 ports detected

tp usb 実行してOpenWrtをブートした場合

root@OpenWrt:/# devmem 0x1b000184 32
0x18001205

bootlog(一部)

[    6.122611] usbcore: registered new interface driver usbfs
[    6.188329] usbcore: registered new interface driver hub
[    6.251971] usbcore: registered new device driver usb
[    6.318552] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.398486] ehci-platform: EHCI generic platform driver
[    6.461022] random: fast init done
[    6.501949] ehci-platform 1b000000.usb: EHCI Host Controller
[    6.569739] ehci-platform 1b000000.usb: new USB bus registered, assigned bus number 1
[    6.663478] ehci-platform 1b000000.usb: irq 3, io mem 0x1b000000
[    6.758180] ehci-platform 1b000000.usb: USB 2.0 started, EHCI 1.00
[    6.832994] hub 1-0:1.0: USB hub found
[    6.878355] hub 1-0:1.0: 1 port detected
[    6.926796] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    7.023728] init: - preinit -
[    7.279908] random: jshn: uninitialized urandom read (4 bytes read)
[    7.354986] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    7.532959] random: jshn: uninitialized urandom read (4 bytes read)
[    7.719652] random: procd: uninitialized urandom read (4 bytes read)
[    7.796097] hub 1-1:1.0: USB hub found
[    7.888197] hub 1-1:1.0: 4 ports detected
広告