Last active
December 22, 2015 03:18
-
-
Save hkwi/6409257 to your computer and use it in GitHub Desktop.
Buffalo WHR-300HP2 captured boot sequence. baud rate was 57600.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
U-Boot 1.1.3 (Apr 3 2013 - 20:22:35) | |
Board: Ralink APSoC DRAM: 64 MB | |
relocate_code Pointer at: 83fb4000 | |
enable ephy clock...done. rf reg 29 = 5 | |
SSC disabled. | |
****************************** | |
Software System Reset Occurred | |
****************************** | |
spi_wait_nsec: 29 | |
spi device id: ef 40 17 0 0 (40170000) | |
find flash: W25Q64BV | |
raspi_read: from:30000 len:1000 | |
raspi_read: from:30000 len:1000 | |
*** Check if data is correct or not... | |
*** Data is correct. | |
============================================ | |
Ralink UBoot Version: 4.1.1.0 | |
Buffalo UBoot Version: 3.00 | |
-------------------------------------------- | |
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:Apr 3 2013 Time:20:22:35 | |
============================================ | |
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. | |
7: Load Boot Loader code then write to Flash via Serial. | |
9: Load Boot Loader code then write to Flash via TFTP. | |
0 | |
aossgpio=[8192] | |
3: System Boot system code via Flash. | |
raspi_read: from:30000 len:10000 | |
Erasing SPI Flash... | |
raspi_erase: offs:30000 len:10000 | |
. | |
Writing to SPI Flash... | |
raspi_write: to:30000 len:10000 | |
. | |
done | |
## Booting image at bc050000 ... | |
raspi_read: from:50000 len:40 | |
Image Name: Linux Kernel Image | |
Image Type: MIPS Linux Kernel Image (lzma compressed) | |
Data Size: 5180075 Bytes = 4.9 MB | |
Load Address: 80000000 | |
Entry Point: 8000c310 | |
raspi_read: from:50040 len:4f0aab | |
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 (root@SWD1-CVS3) (gcc version 3.4.2) #17 Thu May 2 10:13:33 CST 2013 | |
The CPU feqenuce set to 580 MHz | |
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 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=00000008 | |
Readback ErrCtl register=00000008 | |
Memory: 56052k/65536k available (4316k kernel code, 9484k reserved, 807k data, 3572k init, 0k highmem) | |
NR_IRQS:128 | |
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 | |
RALINK_GPIOMODE = 1a311c | |
RALINK_GPIOMODE = 18311c | |
PPLL_CFG1=0xe80000 | |
MT7620 PPLL lock | |
PPLL_DRV =0x80080504 | |
start PCIe register access | |
RALINK_PCI_PCICFG_ADDR = 1000f0 | |
*************** MT7620 PCIe RC mode ************* | |
PCIE0 no card, disable it(RST&CLK) | |
bio: create slab <bio-0> at 0 | |
vgaarb: loaded | |
SCSI subsystem initialized | |
Switching to clocksource MIPS | |
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 | |
squashfs: version 4.0 (2009/01/31) Phillip Lougher | |
JFFS2 version 2.2 (NAND) (SUMMARY) (ZLIB) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. | |
fuse init (API version 7.15) | |
msgmni has been set to 109 | |
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) | |
io scheduler noop registered (default) | |
HDLC line discipline maxframe=4096 | |
N_HDLC line discipline registered. | |
#####GPIOMODE = 18111d##### | |
Ralink gpio driver initialized | |
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 | |
flash0: started | |
deice id : ef 40 17 0 0 (40170000) | |
W25Q64BV(ef 40170000) (8192 Kbytes) | |
mtd .name = raspi, .size = 0x00800000 (0M) .erasesize = 0x00000008 (0K) .numeraseregions = 65536 | |
Creating 5 MTD partitions on "raspi": | |
0x000000000000-0x000000030000 : "Bootloader" | |
0x000000030000-0x000000040000 : "Config" | |
0x000000040000-0x000000050000 : "Factory" | |
0x000000050000-0x000000600000 : "Kernel" | |
0x000000600000-0x000000700000 : "User_CFG" | |
rdm_major = 253 | |
SMACCR1 -- : 0x0000000c | |
SMACCR0 -- : 0x43762077 | |
Ralink APSoC Ethernet Driver Initilization. v3.0 256 rx/tx descriptors allocated, mtu = 1500! | |
SMACCR1 -- : 0x0000000c | |
SMACCR0 -- : 0x43762077 | |
PROC INIT OK! | |
PPP generic driver version 2.4.2 | |
PPP BSD Compression module registered | |
PPP MPPE Compression module registered | |
NET: Registered protocol family 24 | |
=== pAd = c0156000, size = 808880 === | |
<-- RTMPAllocTxRxRingMemory, Status=0 | |
<-- RTMPAllocAdapterBlock, Status=0 | |
AP Driver version-2.7.1.5 | |
Ralink APSoC Hardware Watchdog Timer | |
Netfilter messages via NETLINK v0.30. | |
nf_conntrack version 0.5.0 (875 buckets, 3500 max) | |
ctnetlink v0.93: registering with nfnetlink. | |
IPVS: Registered protocols () | |
IPVS: Connection hash table configured (size=4096, memory=32Kbytes) | |
IPVS: ipvs loaded. | |
ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone | |
TCP cubic registered | |
NET: Registered protocol family 17 | |
L2TP core driver, V2.0 | |
PPPoL2TP kernel driver, V2.0 | |
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com> | |
All bugs added by David S. Miller <davem@redhat.com> | |
Freeing unused kernel memory: 3572k freed | |
init started: BusyBox v1.12.1 (2013-Algorithmics/MIPS FPU Emulator v1.5 | |
05-02 10:06:23 CST) | |
starting pid 28, tty '': '/etc_ro/rcS' | |
led=9, on=1, off=1, blinks,=4000, reset=1, time=4000 | |
devpts: called with bogus options | |
mount: mounting none on /proc/bus/usb failed: No such file or directory | |
Welcome to | |
_______ _______ ___ __ ____ _ _ ___ | |
| ___ \| __ || | |__|| \ | || | / / | |
| |___| || |__| || |__ __ | \| || |/ / | |
| _ /| _ || || || |\ || \ | |
|__| \__\|__| |__||______||__||_| \____||_|\___\ | |
=System Architecture Department= | |
[check_jffs]80 : JFFS_OK | |
Set: phy[0].reg[0] = 3100 | |
Set: phy[1].reg[0] = 3100 | |
Set: phy[2].reg[0] = 3100 | |
Set: phy[3].reg[0] = 3100 | |
Set: phy[4].reg[0] = 3100 | |
nvram_init: INFO=>nvram MAC initialized successfully! | |
==>shm_init()!! | |
check_shm_hash: Check shm hash value | |
hashNum are the same with WIFITxRate1, -1718058408!!! | |
nvram_init: INFO=>nvram conf initialized successfully! | |
nvram_init: INFO=> RAM CONF successful created! | |
nvram_init: INFO=> RC.CONF successful created! | |
---------------- Get WLAN MAC b0:c7:45:ad:bf:48--------------- | |
switch reg write offset=94, value=1000 | |
switch reg write offset=2004, value=ff0003 | |
switch reg write offset=2104, value=ff0003 | |
switch reg write offset=2204, value=ff0003 | |
switch reg write offset=2304, value=ff0003 | |
switch reg write offset=2404, value=ff0003 | |
switch reg write offset=2504, value=ff0003 | |
switch reg write offset=2010, value=810000c0 | |
switch reg write offset=2110, value=810000c0 | |
switch reg write offset=2210, value=810000c0 | |
switch reg write offset=2310, value=810000c0 | |
switch reg write offset=2410, value=810000c0 | |
switch reg write offset=2510, value=810000c0 | |
switch reg write offset=2610, value=81000000 | |
switch reg write offset=2710, value=81000000 | |
switch reg write offset=2604, value=20ff0003 | |
switch reg write offset=2704, value=20ff0003 | |
Special Tag Disabled | |
switch reg write offset=2610, value=81000000 | |
switch reg writeRaeth v3.0 ( oTaskletff) | |
set=2 | |
phy_tx_ring = 0x0248d000, tx_ring = 0xa248d000 | |
phy_rx_ring0 = 0x0248e000, rx_ring0 = 0xa248e000 | |
SMACCR1 -- : 0x0000b0c7 | |
SMACCR0 -- : 0x45adbf48 | |
01CDMA_CSG_CFG = 81000000 | |
4,GDMA1_FWD_CFG = 20710000 | |
value=10001 | |
switch reg write offset=2114, value=10001 | |
switch reg write offset=2214, value=10001 | |
switch reg write offset=2314, value=10001 | |
switch reg write offset=2414, value=10002 | |
switch reg write offset=2514, value=10001 | |
REG_ESW_WT_MAC_ATC is 0x7ff0002 | |
done. | |
device vlan0001 entered promiscuous mode | |
device eth2 entered promiscuous mode | |
input_access=[3] | |
echo 3 > /proc/lan_wlan_access_controller | |
br0: port 1(vlan0001) entering learning state | |
br0: port 1(vlan0001) entering learning state | |
led=58, on=4000, off=1, blinks,=1, reset=1, time=4000 | |
led=57, on=1, off=1, blinks,=4000, reset=1, time=4000 | |
getbootloaderenv : bootloader_ver =3.00 | |
br0: port 1(vlan0001) entering forwarding state | |
Fri Jan 1 00:00:00 GMT 2010 | |
rmmod: ipv6passthru: No such file or directory | |
rmmod: ipv6passthru: No such file or directory | |
/usr/shell/dnsmasq.sh stop ok | |
dnsmasq: read /tmp/iphost - 1 addresses | |
dnsmasq: [truncated] m | |
/usr/shell/dnsmasq.sh start ok | |
/usr/shell/udhcpd.sh config ok | |
/usr/shell/udhcpd.sh start ok | |
***** g_wl_interface = ra0 ****** | |
MAX_NUM_SESSIONS : 5; NUM_SEES: 64 | |
[Enter Test] in wlan_led_ctrl.c main() | |
.brctl setwlanforward br0 15 | |
libupnp: using UDP SSDP_PORT = 1900 | |
killall: pptpd: no process killed | |
starting pid 4808, tty '/dev/ttyS1': '/bin/sh' | |
BusyBox v1.12.1 (2013-05-02 10:06:23 CST) built-in shell (ash) | |
Enter 'help' for a list of built-in commands. | |
# help | |
Built-in commands: | |
------------------- | |
. : break cd chdir continue eval exec exit export false hash | |
help let local pwd read readonly return set shift source times | |
trap true type ulimit umask unset wait | |
# pwd | |
/ | |
# ls | |
proc mnt dev media sbin var bin usr | |
sys etc init home lib www tmp etc_ro | |
# cat /proc/cpuinfo | |
system type : Ralink SoC | |
processor : 0 | |
cpu model : MIPS 24Kc V5.0 | |
BogoMIPS : 386.04 | |
wait instruction : yes | |
microsecond timers : yes | |
tlb_entries : 32 | |
extra interrupt vector : yes | |
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ff8, 0x0ff8, 0x0ae3, 0x0ff8] | |
ASEs implemented : mips16 dsp | |
shadow register sets : 1 | |
core : 0 | |
VCED exceptions : not available | |
VCEI exceptions : not available | |
--------------------------------------- | |
u-boot Entr boot command line interface | |
--------------------------------------- | |
MT7620 # printenv | |
bootcmd=tftp | |
bootdelay=1 | |
baudrate=57600 | |
ethaddr="00:AA:BB:CC:DD:10" | |
filesize=408bee | |
fileaddr=80A00000 | |
ipaddr=192.168.11.1 | |
serverip=192.168.11.168 | |
autostart=no | |
bootfile=firmware_WHR-300HP2.ram | |
inspection=0 | |
bootloader_ver=3.00 | |
stdin=serial | |
stdout=serial | |
stderr=serial | |
pushaoss=0 | |
Environment size: 277/4092 bytes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment