Skip to content

Instantly share code, notes, and snippets.

@puhitaku
Created March 20, 2022 06:39
Show Gist options
  • Save puhitaku/52f193cd8bfc870f2080f647bb284208 to your computer and use it in GitHub Desktop.
Save puhitaku/52f193cd8bfc870f2080f647bb284208 to your computer and use it in GitHub Desktop.
SB-WR03-WICR Bootlog
U-Boot 1.1.3 (Oct 3 2014 - 14:23:51)
Board: Ralink APSoC DRAM: 64 MB
relocate_code Pointer at: 83fb4000
enable ephy clock...done. rf reg 29 = 5
SSC disabled.
spi_wait_nsec: 29
spi device id: ef 40 18 0 0 (40180000)
find flash: W25Q128BV
raspi_read: from:30000 len:1000
raspi_read: from:30000 len:1000
============================================
Ralink UBoot Version: 4.1.2.0
--------------------------------------------
ASIC 7620_MP (Port5<->None)
DRAM component: 512 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 64 MBytes
Flash component: SPI Flash
Date:Oct 3 2014 Time:14:23:51
============================================
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768
##### The CPU freq = 580 MHZ ####
estimate memory size =64 Mbytes
Please choose the operation:
1: Load system code to SDRAM via TFTP.
2: Load system code then write to Flash via TFTP.
3: Boot system code via Flash (default).
4: Entr boot command line interface.
5: Load system code then write to Flash via Serial.
7: Load Boot Loader code then write to Flash via Serial.
9: Load Boot Loader code then write to Flash via TFTP.
 0
3: System Boot system code via Flash.
LOW_TEMP: 16
MIDDLE_TEMP: 37
HIGH_TEMP: 143
charger_ic_reg_config_1:
register 0 value:32
register 1 value:10
register 2 value:29
register 3 value:0
register 4 value:93
register 5 value:88
register 6 value:3
register 7 value:b
charger_ic_reg_config_2:
register 0 value:32
register 1 value:10
register 2 value:69
register 3 value:0
register 4 value:93
register 5 value:88
register 6 value:3
register 7 value:b
## Booting image at bc050000 ...
raspi_read: from:50000 len:40
Image Name: Linux Kernel Image
Image Type: MIPS Linux Kernel Image (gzip compressed)
Data Size: 5537174 Bytes = 5.3 MB
Load Address: 80000000
Entry Point: 8000c310
raspi_read: from:50040 len:547d96
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 8000c310) ...
## Giving linux memsize in MB, 64
Starting kernel ...
LINUX started...
THIS IS ASIC
Linux version 2.6.36+ (AVC@Panasonic) (gcc version 3.4.2) #1 Fri Oct 3 14:18:01 CST 2014
The CPU feqenuce set to 580 MHz
MIPS CPU sleep mode enabled.
PCIE: bypass PCIe DLL.
PCIE: Elastic buffer control: Addr:0x68 -> 0xB4
disable all power about PCIe
CPU revision is: 00019650 (MIPS 24Kc)
Determined physical RAM map:
memory: 04000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
Normal 0x00000000 -> 0x00004000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x00004000
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
Kernel command line: console=ttyS1,57600n8 root=/dev/ram0 bat_chrg_continued=0 console=ttyS0
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
Writing ErrCtl register=00079c1a
Readback ErrCtl register=00079c1a
Memory: 57252k/65536k available (2370k kernel code, 8284k reserved, 653k data, 4468k init, 0k highmem)
NR_IRQS:128
MTK/Ralink System Tick Counter init... cd:802e6c38, m:214748, s:32
console [ttyS1] enabled
Calibrating delay loop... 386.04 BogoMIPS (lpj=772096)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
Switching to clocksource Ralink external timer
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
Load Kernel WDG Timer Module
Load Ralink Timer0 Module
fuse init (API version 7.15)
msgmni has been set to 111
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered (default)
Ralink gpio driver initialized
i2cdrv_major = 218
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x10000500 (irq = 37) is a 16550A
serial8250: ttyS1 at MMIO 0x10000c00 (irq = 12) is a 16550A
brd: module loaded
deice id : ef 40 18 0 0 (40180000)
W25Q128BV(ef 40180000) (16384 Kbytes)
mtd .name = raspi, .size = 0x01000000 (0M) .erasesize = 0x00000010 (0K) .numeraseregions = 65536
Creating 5 MTD partitions on "raspi":
0x000000000000-0x000001000000 : "ALL"
0x000000000000-0x000000030000 : "Bootloader"
0x000000030000-0x000000040000 : "Config"
0x000000040000-0x000000050000 : "Factory"
0x000000050000-0x000001000000 : "Kernel"
rdm_major = 253
MTK MSDC device init.
mtk-sd: MediaTek MT6575 MSDC Driver
GRE over IPv4 demultiplexor driver
TCP cubic registered
NET: Registered protocol family 17
msdc0 -> ops_get_cd return<1> <- msdc_ops_get_cd() : L<2360> PID<kworker/u:0><0x5>
Freeing unused kernel memory: 4468k freed
init started: BusyBox v1.12Algorithmics/MIPS FPU Emulator v1.5
.1 (2014-10-03 14:06:02 CST)
stdevpts: called with bogus options
arting pid 24, tty '': '/etc_ro/rcS'
mount: mounting none on /proc/bus/usb failed: No such file or directory
Welcome to
_______ _______ ___ __ ____ _ _ ___
| ___ \| __ || | |__|| \ | || | / /
| |___| || |__| || |__ __ | \| || |/ /
| _ /| _ || || || |\ || \
|__| \__\|__| |__||______||__||_| \____||_|\___\
=System Architecture Department=
Battery Manager Started.
Battery clild process
sleep_sec: 1
under_cut_voltage_detect_mode: 1
under_cut_voltage_times: 1
LOW_TEMP: 16
MIDDLE_TEMP: 37
HIGH_TEMP: 143
charger_ic_reg_config_1:
register 0 value:32
register 1 value:10
register 2 value:29
register 3 value:0
register 4 value:93
register 5 value:88
register 6 value:3
register 7 value:b
charger_ic_reg_config_2:
register 0 value:32
register 1 value:10
register 2 value:69
register 3 value:0
register 4 value:93
register 5 value:88
register 6 value:3
register 7 value:b
internet.sh
starting pid 54, tty '/dev/ttyS1': '/bin/sh'
BusyBox v1.12.1 (2014-10-03 14:06:02 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
# Password for 'admin' changed
rmmod: ralink_wdt: No such file or directory
rmmod: cls: No such file or directory
rmmod: hw_nat: No such file or directory
rmmod: raeth: No such file or directory
insmod: bridge.ko: module not found
insmod: mii.ko: module not found
insmod: raeth.ko: module not found
##### disable 1st wireless interface #####
rmmod: rt2860v2_ap_net: No such file or directory
rmmod: rt2860v2_ap: No such file or directory
rmmod: rt2860v2_ap_util: No such file or directory
rmmod: rt2860v2_sta_net: No such file or directory
rmmod: rt2860v2_sta: No such file or directory
rmmod: rt2860v2_sta_util: No such file or directory
insmod: rt2860v2_ap_util.ko: module not found
Polling Period 0 Seconds
Traffic Threshold 102400 Bytes
insmod: rt2860v2_ap_net.ko: module not found
ifconfig: ioctl 0x8913 failed: No such device
/sbin/internet.sh: line 615: brctl: not found
/sbin/internet.sh: line 618: iptables: not found
/sbin/internet.sh: line 619: iptables: not found
/sbin/internet.sh: line 620: iptables: not found
ifconfig: SIOCSIFADDR: No such device
Panasonic WiFi Reader no br0
/sbin/internet.sh: line 928: brctl: not found
ifconfig: SIOCSIFADDR: No such device
/sbin/wan.sh: line 122: route: not found
/sbin/wan.sh: line 122: route: not found
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
killall: udhcpd: no process killed
/sbin/lan.sh: line 157: radvd.sh: not found
/sbin/nat.sh: line 47: cannot create /proc/sys/net/ipv4/netfilter/ip_conntrack_udp_timeout: nonexistent directory
/sbin/nat.sh: line 47: cannot create /proc/sys/net/ipv4/netfilter/ip_conntrack_tcp_timeout_established: nonexistent directory
/sbin/nat.sh: line 47: iptables: not found
/sbin/internet.sh: line 950: route: not found
***** mmcblk0 *****
chkexfat.pana: Not exFAT format
mount: mounting /dev/mmcblk0 on /media/mmcblk0 failed: Invalid argument
mount: mounting /dev/mmcblk0 on /media/mmcblk0 failed: Invalid argument
mount: mounting /dev/mmcblk0 on /media/mmcblk0 failed: Invalid argument
/sbin/automount_boot.sh: line 55: ntfs-3g: not found
/sbin/automount_boot.sh: line 55: ntfs-3g: not found
/sbin/automount_boot.sh: line 55: ntfs-3g: not found
***** mmcblk0p1 *****
chkexfat.pana: Not exFAT format
##### Hotplug device init #####
***** mmcblk0p2 *****
***** mmcblk0 *****
chkexfat.pana: Not exFAT format
***** mmcblk0p1 *****
chkexfat.pana: Not exFAT format
***** mmcblk0p2 *****
read_maccaddrfile: MACADDR B4:EE:B4:5E:15:64
killall rt2860apd 1>/dev/null 2>&1
Jan 1 00:00:20 miniupnpd[827]: HTTP listening on port 6352
iptables -F -t filter 1>/dev/null 2>&1
iptables -D FORWARD -j macipport_filter 1>/dev/null 2>&1
iptables -F macipport_filter 1>/dev/null 2>&1
iptables -D FORWARD -j web_filter 1>/dev/null 2>&1
iptables -F web_filter 1>/dev/null 2>&1
iptables -D FORWARD -j malicious_filter 1>/dev/null 2>&1
iptables -F malicious_filter 1>/dev/null 2>&1
iptables -D INPUT -j malicious_input_filter 1>/dev/null 2>&1
iptables -F malicious_input_filter 1>/dev/null 2>&1
iptables -P INPUT ACCEPT
sh: iptables: not found
iptables -P OUTPUT ACCEPT
sh: iptables: not found
iptables -P FORWARD ACCEPT
sh: iptables: not found
iptables -t filter -N web_filter 1>/dev/null 2>&1
iptables -t filter -N macipport_filter 1>/dev/null 2>&1
iptables -t filter -N malicious_filter 1>/dev/null 2>&1
iptables -t filter -N synflood_filter 1>/dev/null 2>&1
iptables -t filter -N malicious_input_filter 1>/dev/null 2>&1
iptables -t filter -N synflood_input_filter 1>/dev/null 2>&1
iptables -t filter -A FORWARD -j web_filter 1>/dev/null 2>&1
iptables -t filter -A FORWARD -j macipport_filter 1>/dev/null 2>&1
iptables -t filter -A FORWARD -j malicious_filter 1>/dev/null 2>&1
iptables -t filter -A malicious_filter -p tcp --syn -j synflood_filter 1>/dev/null 2>&1
iptables -t filter -A INPUT -j malicious_input_filter 1>/dev/null 2>&1
iptables -t filter -A malicious_input_filter -p tcp --syn -j synflood_input_filter 1>/dev/null 2>&1
iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 1>/dev/null 2>&1
iptables -A malicious_input_filter -i eth2 -p tcp --dport 80 -j DROP
sh: iptables: not found
/bin/super_dmz -f
sh: /bin/super_dmz: not found
iptables -t nat -D PREROUTING -j port_forward 1>/dev/null 2>&1
iptables -t nat -F port_forward 1>/dev/null 2>&1; iptables -t nat -X port_forward 1>/dev/null 2>&1
iptables -t nat -D PREROUTING -j DMZ 1>/dev/null 2>&1
iptables -t nat -F DMZ 1>/dev/null 2>&1; iptables -t nat -X DMZ 1>/dev/null 2>&1
cat /proc/sys/net/netfilter/nf_conntrack_udp_timeout > /var/.udpbackup
cat: can't open '/proc/sys/net/netfilter/nf_conntrack_udp_timeout': No such file or directory
echo 0 > /proc/sys/net/netfilter/nf_conntrack_udp_timeout
sh: cannot create /proc/sys/net/netfilter/nf_conntrack_udp_timeout: nonexistent directory
cat /var/.udpbackup > /proc/sys/net/netfilter/nf_conntrack_udp_timeout; rm -f /var/.udpbackup
sh: cannot create /proc/sys/net/netfilter/nf_conntrack_udp_timeout: nonexistent directory
cat /proc/sys/net/netfilter/nf_conntrack_tcp_timeout_established > /var/.tcpbackup
cat: can't open '/proc/sys/net/netfilter/nf_conntrack_tcp_timeout_established': No such file or directory
echo 0 > /proc/sys/net/netfilter/nf_conntrack_tcp_timeout_established
sh: cannot create /proc/sys/net/netfilter/nf_conntrack_tcp_timeout_established: nonexistent directory
cat /var/.tcpbackup > /proc/sys/net/netfilter/nf_conntrack_tcp_timeout_established; rm -f /var/.tcpbackup
sh: cannot create /proc/sys/net/netfilter/nf_conntrack_tcp_timeout_established: nonexistent directory
iptables -t nat -N port_forward 1>/dev/null 2>&1; iptables -t nat -I PREROUTING 1 -j port_forward 1>/dev/null 2>&1
iptables -t nat -N DMZ 1>/dev/null 2>&1; iptables -t nat -I PREROUTING 2 -j DMZ 1>/dev/null 2>&1
ntp.sh
ddns.sh
sh: ddns.sh: not found
kill -9 `cat /var/run/wscd.pid.ra0`
cat: can't open '/var/run/wscd.pid.ra0': No such file or directory
kill: you need to specify whom to kill
iwpriv ra0 set WscConfMode=0 1>/dev/null 2>&1
iwpriv ra0 set WscConfMode=7
iwpriv ra0 set WscV2Support=0
route add -host 239.255.255.250 dev br0 1>/dev/null 2>&1
killall -q klogd
killall -q syslogd
syslogd -C8 1>/dev/null 2>&1
klogd 1>/dev/null 2>&1
killall -q zebra
killall -q ripd
webs: Listening for HTTP requests at address 192.168.100.1:8504
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment