とあるリサイクルショップで、Softbank Airターミナル3を100円で買って来た。 Huawei Technologies Co., Ltd.製で、型番はB610s-77aと裏面に書いてある。
はるろいどの冒険日記 SoftBank Air ターミナル3で遊ぶ(準備編)によると、 底面のSIMカードスロットの隣にあるUSB micro B端子にUARTの端子が出ているらしい。
USB端子の接点 | UART |
---|---|
GND | GND |
D+ | RXD |
D- | TXD |
と言うことで、micro BとUSB Type-Cを両端に持ったUSBケーブルを底面のUSB micro B端子に差し込み、 秋月電子のUSBtype-CコネクターDIP化キット(全ピン版)にUSB Type-C側の端子を接続した。 更に、USBtype-CコネクターDIP化キット(全ピン版)の10番のD-ピンはTXDなので、 秋月電子のFTDI USBシリアル変換ケーブル(3.3V)の黄色の線のRXDに接続し、 9番のD+ピンはRXDなので橙色の線のTXDに、 8番のGNDピンはUARTでもGNDなので黒色のGNDに接続した。
FTDI USBシリアル変換ケーブル(3.3V)のUSB A端子をNetBSDマシンに接続して、ucom1として認識された。 以下のように実行して、115200 bpsで接続すれば、ブートメッセージを見ることができた。
# cu -115200 -l /dev/ttyU1 Connected onchip NF id boot! NF ID 0x2CAC9026 0x54000000 NF pagesz 0x00001000B,pagenm 0x00000040,oobsz 0x000000E0B,ecc 0x00000018,addrnum 0x00000005,chipsz 0x00000200MB Nand save 0x748B0142 UnSec_boot!mddrc init ok 13 src_addr :0x00080000 dst_addr :0x4FD00000 img_size :0x00030E5C 4 sec disable 56 Start mic now ... /proc/power_on open failed start_mode = 0 ifconfig: SIOCGIFFLAGS: No such device ATP_FOM_RET_OTHER_ERR err1 ATP_FOM_RET_OTHER_ERR err1 GlobeMac Init OK NV_Read: Para is Error mac num={1,4,0,0,0,4} ATP_MIC_UpgValueChange ulDbInit=0 Load db now ... now lAccessSemID [0] will be set to -1 ATP_MIC_UpgValueChange ulDbInit=1 already config sync cFlags:2 mic web [/usr1/z00425786/z00216571/B610MR/vendor/hisi/modem/atpv2/vendor/atp/package/atp/libraries/private/ssp/mic/main/src/webmicadapt.c] [MicCheckPortInUse] [211] MicCheckPortInUse sscanf_s failed! mic web [/usr1/z00425786/z00216571/B610MR/vendor/hisi/modem/atpv2/vendor/atp/package/atp/libraries/private/ssp/mic/main/src/webmicadapt.c] [MicWebSocketInit] [249] MicWebSocketInit type is 0... mic web [/usr1/z00425786/z00216571/B610MR/vendor/hisi/modem/atpv2/vendor/atp/package/atp/libraries/private/ssp/mic/main/src/webmicadapt.c] [MicWebStartCreateSockTimer] [285] Start MicWebStartCreatSockTimer now ... ****ledservice wifi init.***** ******ledservice wps init.******n>>>>>>button_Create over&t;&t;&t;&t;&t;&t;&t;&t;&t;&t; >>>>>>button_Create over&t;&t;&t;&t;&t;&t;&t;&t;&t;&t; >>>>>>button_Create over&t;&t;&t;&t;&t;&t;&t;&t;&t;&t; >>>>>>button_Create over&t;&t;&t;&t;&t;&t;&t;&t;&t;&t; Info, init t_exit_cond. pid: 189 Init_sys_netlink completely! mic enter message loop now. Info, init t_exit_cond. pid: 238 Info, init t_exit_cond. pid: 236 Info, init t_exit_cond. pid: 235 Info, init t_exit_cond. pid: 245 Info, init t_exit_cond. pid: 239 Mode Switch:Mode=3 Mode Switch:Mode1_check_flag=0 get_antenna_enable 0 ready to load Wi-Fi ko........... Wi-Fi driver used nvram file is B610s-77a.nvm Info, init t_exit_cond. pid: 240 AT_Cnum excute fail! ##sendmsg return 16, errno 2. ************************Write db to flash now ... done sync enable iptv failed: Operation not supported on transport endpoint ========> macalgrithm_4RSVD failed, ulMacType = 80000335 ulConutIndex = 0 *ulMacTypes[4].pulMacnum = 0, ulLength = 32 EthGetCfgNum return 2 enable vport process status is 0 nvram file :/var/nvram/bcm43217_nvm.txt enable iptv failed: Operation not supported on transport endpoint ifconfig: SIOCGIFFLAGS: No such device smuxctl: socket or ioctl error for rem: Invalid argument Wanumtscms: func[ WUTR098IniDevice] line[520]Initial UMTS device wl0.1: No such device wl1.1: No such device -l sh start /var/firewall_init.sh ifconfig wl1 up ===========set tcpnodelay failed ===========set tcpnodelay failed ===========set tcpnodelay failed open led file err ===========set tcpnodelay failed wl0.1: No such device 2 wl1.1: No such device 3 Sorry, rule does not exist. Sorry, rule does not exist. Wanumtscms: func[WUIniPrivateMobileDevice] line[ 99]E5 device initial ChannelWanGuide...0.. deal with rules over... Read ppp session flash area error. open led file errcms init ok. set_sys_autosleep write data failed. Wanumtscms: func[ WUAtserverMsgProc] line[172]Nofift dialup to start detecting signal Wanumtscms: func[ WUDialupMsgProc] line[483]Wireless device service down srv=[1] AT_Cnum excute fail! AT_Cnum excute fail! ip6tables: Bad rule (does a matching rule exist in that chain?). Sorry, rule does not exist. Sorry, rule does not exist. Sorry, rule does not exist. Sorry, rule does not exist. wl0.1: No such device wl1.1: No such device Unable to chmod /var/atp_boot_track.log: No such file or directory Start mic now ... /proc/power_on open failed start_mode = 0 iptables: Bad rule (does a matching rule exist in that chain?). iptables: Bad rule (does a matching rule exist in that chain?). ip6tables: Bad rule (does a matching rule exist in that chain?). -l sh end /var/firewall_init.sh ip6tables: Bad rule (does a matching rule exist in that chain?). ************************Write db to flash now ... done sync WPS: set msglevel to 0x0 Failed to open /var/devgpio ### wps_wfi_init(): <wl0_wfi_enable=0><wl1_wfi_enable=0><wl1.1_wfi_enable=(null)><wl0.1_wfi_enable=(null)>WFI is not enabled ### -------------------------------------------------------------------- ---------------------------Welcome To Cli--------------------------- --SBAir3, B610s-77aTCPU-V100R001B192D11SP00C643, 54:25:EA:24:60:99-- -------------------------------------------------------------------- Login: >>>>upnp Disalbed...... ************************Write db to flash now ... done sync ifconfig wl0 up open led file err Login incorrect! Login: