Skip to content

Instantly share code, notes, and snippets.

contrib/gcc/config/mips/mips-dsp.md
contrib/gcc/config/mips/mips.h
contrib/gcc/config/mips/mips.md
contrib/gcc/config/mips/mips.opt
sys/conf/files.mips
sys/conf/ldscript.mips.bin
sys/dev/etherswitch/arswitch/arswitch.c
sys/dev/etherswitch/etherswitch.h
sys/dev/etherswitch/infineon/adm6996fc.c
sys/dev/etherswitch/mtkswitch/mtkswitch.c
myrc_start()
{
RS=`sysctl -n dev.mtk_wdog.0.rststat`
if [ ${RS} != 4 ]; then
# luch process
fi
[ 3.5620476] uhub0: 1 port with 1 removable, self powered
[ 3.5744599] 000003.578262 ehci_open#4@0: called!
[ 3.6365204] 000003.644348 ehci_open#4@0: pipe=0xc13acf80, addr=1, endpt=129 (1)
[ 3.7109933] 000003.713105 ehci_roothub_ctrl_locked#14@0: called!
[ 3.7730541] 000003.780526 ehci_roothub_ctrl_locked#14@0: type=0x23 request=03
[ 3.8475277] 000003.849068 ehci_roothub_ctrl_locked#14@0: portsc=0x1c000004
[ 3.9095874] 000003.917351 ehci_roothub_ctrl_locked#14@0: set port power 1 (has PPC = 16)
[ 3.9840602] 000003.986842 ehci_roothub_ctrl_locked#14@0: returning 0
[ 4.0461210] 000004.055000 ehci_roothub_ctrl_locked#15@0: called!
[ 4.1205940] 000004.122432 ehci_roothub_ctrl_locked#15@0: type=0xa0 request=00
Comcerto-1000 > md 10070000
10070000: 00020000 00020000 00000000 00000000 ................
10070010: 1fff24af 00000040 002d64c2 8010120c .$..@....d-.....
10070020: 00000c00 00000000 00000000 00000000 ................
10070030: 00000000 00000000 00000000 00000000 ................
10070040: 8000120c 00000000 00000000 00000002 ................
10070050: 01040170 2db6db6d 1ff3b0bf 00000000 p...m..-........
10070060: 00000000 00000000 00000000 00000000 ................
10070070: 00000000 00000000 00000000 00000000 ................
10070080: 00000000 00000000 00000000 00000000 ................
Bytes transferred = 3851344 (3ac450 hex)
## Booting image at 81000000 ...
Image Name: NetBSD/m83xxx
Image Type: ARM NetBSD Kernel Image (uncompressed)
Data Size: 3851280 Bytes = 3.7 MB
Load Address: 80100000
Entry Point: 80100000
Verifying Checksum ... OK
OK
## Transferring control to NetBSD stage-2 loader (at address 80100000) ...
@yamori813
yamori813 / ipfw nat
Last active June 16, 2022 02:47
iperf3
# /usr/local/bin/iperf3 -c 10.0.1.37
Connecting to host 10.0.1.37, port 5201
[ 5] local 10.0.1.1 port 60451 connected to 10.0.1.37 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 4.45 MBytes 37.3 Mbits/sec 5 58.2 KBytes
[ 5] 1.00-2.00 sec 3.43 MBytes 28.8 Mbits/sec 3 96.7 KBytes
[ 5] 2.00-3.00 sec 3.53 MBytes 29.6 Mbits/sec 7 53.9 KBytes
[ 5] 3.00-4.00 sec 3.52 MBytes 29.5 Mbits/sec 6 38.2 KBytes
[ 5] 4.00-5.00 sec 3.49 MBytes 29.3 Mbits/sec 4 65.3 KBytes
[ 5] 5.00-6.00 sec 3.54 MBytes 29.7 Mbits/sec 6 59.6 KBytes
read_stream (12 socket): read 309/16384/309 bytes (errno 35)
Conn 12: parsing request: [GET /css/gridagram.css HTTP/1.1
Host: 10.0.1.18
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:101.0) Gecko/20100101 Firefox/101.0
Accept: text/css,*/*;q=0.1
Accept-Language: ja,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate
Connection: keep-alive
Referer: http://10.0.1.18/oumon.html
u-boot> setclk 55
Selected profile 55:
- CPU: 560 MHz
- RAM: 450 MHz
- AHB: 225 MHz
- SPI: 28 MHz
Target values:
SPI_CTRL: 0x00000243
CPU_PLL_CFG: 0x00021380
UVC initialized
Device found
Device opened
DEVICE CONFIGURATION (0402:9665/[none]) ---
Status: idle
VideoControl:
bcdUVC: 0x0100
VideoStreaming(1):
bEndpointAddress: 129
Formats:
Tuple #1, code = 0x1 (Common memory descriptor), length = 3
000: d9 00 ff
Common memory device information:
Device number 1, type Function specific, WPS = ON
Speed = 250nS, Memory block size = 512b, 1 units
Tuple #2, code = 0x17 (Attribute memory descriptor), length = 4
000: 1f 3a 00 ff
Attribute memory device information:
Device number 1, type Mask ROM, WPS = ON
Speed = 3.0 x 100 ns, Memory block size = reserved, 32 units