Skip to content

Instantly share code, notes, and snippets.

@changyuheng
Created May 31, 2016
Embed
What would you like to do?
Boot log
U-Boot 1.1.3 (Nov 15 2013 - 16:45:31)
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: c2 20 17 c2 20 (2017c220)
find flash: MX25L6405D
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:Nov 15 2013 Time:16:45:31
============================================
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
3: System Boot system code via Flash.
## Booting image at bc050000 ...
raspi_read: from:50000 len:40
Image Name: MIPS OpenWrt Linux-3.18.29
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1139713 Bytes = 1.1 MB
Load Address: 80000000
Entry Point: 80000000
raspi_read: from:50040 len:116401
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 64
Starting kernel ...
[ 0.000000] Linux version 3.18.29 (changyuheng@ubuntu) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r49363) ) #2 Tue May 31 13:33:54 PDT 2016
[ 0.000000] Board has DDR2
[ 0.000000] Analog PMU set to hw control
[ 0.000000] Digital PMU set to hw control
[ 0.000000] SoC Type: MediaTek MT7620A ver:2 eco:3
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[ 0.000000] MIPS: machine is Flo I2CD
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x03ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x03ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x00000000-0x03ffffff]
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: console=ttyS1,57600 rootfstype=squashfs,jffs2
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Writing ErrCtl register=0007e014
[ 0.000000] Readback ErrCtl register=0007e014
[ 0.000000] Memory: 61360K/65536K available (2517K kernel code, 130K rwdata, 516K rodata, 156K init, 186K bss, 4176K reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:256
[ 0.000000] CPU Clock: 580MHz
[ 0.000000] systick: running - mult: 214748, shift: 32
[ 0.010000] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[ 0.070000] pid_max: default: 32768 minimum: 301
[ 0.070000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.080000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.090000] pinctrl core: initialized pinctrl subsystem
[ 0.100000] NET: Registered protocol family 16
[ 0.440000] mt7620-pci 10140000.pcie: PCIE0 no card, disable it(RST&CLK)
[ 0.450000] mt7620-pci: probe of 10140000.pcie failed with error -1
[ 0.470000] rt2880_gpio 10000600.gpio: registering 24 gpios
[ 0.480000] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[ 0.490000] Switched to clocksource systick
[ 0.500000] NET: Registered protocol family 2
[ 0.500000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.520000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.530000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.540000] TCP: reno registered
[ 0.550000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.560000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.570000] NET: Registered protocol family 1
[ 0.580000] rt-timer 10000100.timer: maximum frequency is 2441Hz
[ 0.600000] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.630000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.640000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.660000] msgmni has been set to 119
[ 0.670000] io scheduler noop registered
[ 0.670000] io scheduler deadline registered (default)
[ 0.680000] ralink-usb-phy usbphy: invalid resource
[ 0.690000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.710000] 10000500.uart: ttyS0 at MMIO 0x10000500 (irq = 13, base_baud = 2500000) is a 16550A
[ 0.730000] console [ttyS1] disabled
[ 0.730000] 10000c00.uartlite: ttyS1 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a 16550A
[ 0.750000] console [ttyS1] enabled
[ 0.750000] console [ttyS1] enabled
[ 0.760000] bootconsole [early0] disabled
[ 0.760000] bootconsole [early0] disabled
[ 0.790000] m25p80 spi32766.0: found mx25l6405d, expected en25q64
[ 0.800000] m25p80 spi32766.0: mx25l6405d (8192 Kbytes)
[ 0.810000] 4 ofpart partitions found on MTD device spi32766.0
[ 0.820000] Creating 4 MTD partitions on "spi32766.0":
[ 0.830000] 0x000000000000-0x000000030000 : "u-boot"
[ 0.840000] 0x000000030000-0x000000040000 : "u-boot-env"
[ 0.850000] 0x000000040000-0x000000050000 : "factory"
[ 0.860000] 0x000000050000-0x000000800000 : "firmware"
[ 0.940000] 2 uimage-fw partitions found on MTD device firmware
[ 0.950000] 0x000000050000-0x000000166441 : "kernel"
[ 0.960000] 0x000000166441-0x000000800000 : "rootfs"
[ 0.970000] mtd: device 5 (rootfs) set to be root filesystem
[ 0.980000] 1 squashfs-split partitions found on MTD device rootfs
[ 0.990000] 0x000000720000-0x000000800000 : "rootfs_data"
[ 1.010000] ralink_soc_eth 10100000.ethernet eth0 (uninitialized): port 0 link up (100Mbps/Full duplex)
[ 1.030000] ralink_soc_eth 10100000.ethernet: generated random MAC address 8a:fa:cb:74:9b:fa
[ 1.040000] libphy: mdio: probed
[ 1.050000] ralink_soc_eth 10100000.ethernet: connected port 4 to PHY at mdio-bus:04 [uid=03a2940d, driver=Generic PHY]
[ 1.070000] ralink_soc_eth 10100000.ethernet: connected port 5 to PHY at mdio-bus:05 [uid=0000ffff, driver=Generic PHY]
[ 1.100000] ralink_soc_eth 10100000.ethernet: loaded mt7620 driver
[ 1.110000] ralink_soc_eth 10100000.ethernet eth0: ralink at 0xb0100000, irq 5
[ 1.120000] rt2880_wdt 10000120.watchdog: Initialized
[ 1.130000] TCP: cubic registered
[ 1.140000] NET: Registered protocol family 17
[ 1.150000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.180000] 8021q: 802.1Q VLAN Support v1.8
[ 1.200000] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[ 1.220000] Freeing unused kernel memory: 156K (80319000 - 80340000)
[ 4.340000] init: Console is alive
[ 4.350000] init: - watchdog -
[ 7.730000] exFAT: Version 1.2.9
[ 7.780000] MTK MSDC device init.
[ 7.830000] mtk-sd: MediaTek MT6575 MSDC Driver
[ 7.840000] sdhci: Secure Digital Host Controller Interface driver
[ 7.850000] sdhci: Copyright(c) Pierre Ossman
[ 7.860000] sdhci-pltfm: SDHCI platform and OF driver helper
[ 7.910000] mmc0: BKOPS_EN bit is not set
[ 7.930000] mmc0: new high speed MMC card at address 0001
[ 7.940000] mmcblk0: mmc0:0001 OHO10C 7.28 GiB
[ 7.950000] mmcblk0boot0: mmc0:0001 OHO10C partition 1 4.00 MiB
[ 7.960000] mmcblk0boot1: mmc0:0001 OHO10C partition 2 4.00 MiB
[ 7.970000] mmcblk0: p1 p2
[ 8.440000] init: - preinit -
[ 8.970000] 8021q: adding VLAN 0 to HW filter on device eth0
[ 9.030000] random: mktemp urandom read with 19 bits of entropy available
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 10.620000] ralink_soc_eth 10100000.ethernet eth0: port 4 link up (10Mbps/Half duplex)
[ 10.630000] ralink_soc_eth 10100000.ethernet eth0: port 5 link up (10Mbps/Half duplex)
[ 12.230000] mount_root: loading kmods from internal overlay
[ 13.490000] jffs2: notice: (330) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead.
[ 13.520000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 13.550000] block: extroot: not configured
[ 13.730000] jffs2: notice: (327) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead.
[ 14.700000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 14.720000] block: extroot: not configured
[ 14.730000] mount_root: switching to jffs2 overlay
[ 14.770000] procd: - early -
[ 14.780000] procd: - watchdog -
[ 15.690000] ralink_soc_eth 10100000.ethernet eth0: port 4 link down
[ 15.700000] ralink_soc_eth 10100000.ethernet eth0: port 5 link down
[ 15.820000] procd: - ubus -
[ 16.830000] procd: - init -
Please press Enter to activate this console.
[ 18.370000] random: nonblocking pool is initialized
[ 18.720000] NET: Registered protocol family 10
[ 18.740000] ntfs: driver 2.1.31 [Flags: R/O MODULE].
[ 18.770000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 18.800000] Netfilter messages via NETLINK v0.30.
[ 18.810000] ip_set: protocol 6
[ 19.690000]
[ 19.690000]
[ 19.690000] === pAd = c050f000, size = 649088 ===
[ 19.690000]
[ 19.710000] <-- RTMPAllocTxRxRingMemory, Status=0
[ 19.720000] <-- RTMPAllocAdapterBlock, Status=0
[ 19.730000] AP Driver version-2.7.1.6
[ 19.760000] fuse init (API version 7.23)
[ 19.780000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 19.820000] nf_conntrack version 0.5.0 (961 buckets, 3844 max)
[ 19.870000] xt_time: kernel timezone is -0000
[ 21.280000] RX DESC a31ef000 size = 2048
[ 21.290000] RTMP_TimerListAdd: add timer obj c057e020!
[ 21.300000] RTMP_TimerListAdd: add timer obj c054bdc8!
[ 21.310000] RTMP_TimerListAdd: add timer obj c054bd9c!
[ 21.320000] RTMP_TimerListAdd: add timer obj c054bd70!
[ 21.330000] RTMP_TimerListAdd: add timer obj c0554b8c!
[ 21.340000] RTMP_TimerListAdd: add timer obj c0554ca8!
[ 21.350000] RTMP_TimerListAdd: add timer obj c0554bb8!
[ 21.360000] RTMP_TimerListAdd: add timer obj c054c4f4!
[ 21.370000] RTMP_TimerListAdd: add timer obj c05144b8!
[ 21.380000] RTMP_TimerListAdd: add timer obj c054c204!
[ 21.500000] APSDCapable[0]=0
[ 21.510000] APSDCapable[1]=0
[ 21.510000] APSDCapable[2]=0
[ 21.520000] APSDCapable[3]=0
[ 21.530000] APSDCapable[4]=0
[ 21.530000] APSDCapable[5]=0
[ 21.540000] APSDCapable[6]=0
[ 21.540000] APSDCapable[7]=0
[ 21.550000] APSDCapable[8]=0
[ 21.550000] APSDCapable[9]=0
[ 21.560000] APSDCapable[10]=0
[ 21.570000] APSDCapable[11]=0
[ 21.570000] APSDCapable[12]=0
[ 21.580000] APSDCapable[13]=0
[ 21.580000] APSDCapable[14]=0
[ 21.590000] APSDCapable[15]=0
[ 21.600000] default ApCliAPSDCapable[0]=0
[ 21.800000] Key1Str is Invalid key length(0) or Type(0)
[ 21.810000] Key2Str is Invalid key length(0) or Type(0)
[ 21.820000] Key3Str is Invalid key length(0) or Type(0)
[ 21.830000] Key4Str is Invalid key length(0) or Type(0)
[ 21.850000] 1. Phy Mode = 9
[ 21.860000] 2. Phy Mode = 9
[ 21.870000] E2PROM: D0 target power=0xff20
[ 21.870000] E2PROM: 40 MW Power Delta= 0
[ 21.880000] 3. Phy Mode = 9
[ 21.890000] AntCfgInit: primary/secondary ant 0/1
Initialize RF Central Registers for E2 !!!
[ 21.910000] Initialize RF Central Registers for E3 !!!
[ 21.920000] Initialize RF Channel Registers for E2 !!!
[ 21.930000] Initialize RF Channel Registers for E3 !!!
[ 21.940000] Initialize RF DCCal Registers for E2 !!!
[ 21.950000] Initialize RF DCCal Registers for E3 !!!
[ 21.960000] D1 = 1, D2 = 8, CalCode = 16 !!!
[ 21.970000] RT6352_Temperature_Init : BBPR49 = 0x1
[ 21.980000] RT6352_Temperature_Init : TemperatureRef25C = 0xfffffff7
[ 21.990000] Current Temperature from BBP_R49=0xfffffffb
[ 22.000000] TX BW Filter Calibration !!!
[ 22.130000] RX BW Filter Calibration !!!
[ 22.360000] LOFT Calibration Done!
[ 22.360000] IQCalibration Start!
[ 22.380000] IQCalibration Done! CH = 0, (gain= f, phase=3d)
[ 22.390000] IQCalibration Start!
[ 22.410000] IQCalibration Done! CH = 1, (gain= 1, phase=3f)
[ 22.420000] TX IQ Calibration Done!
[ 22.470000] MCS Set = ff ff 00 00 00
[ 22.550000] Main bssid = 00:0c:43:76:20:58
[ 22.560000] <==== rt28xx_init, Status=0
[ 22.570000] 0x1300 = 00064380
[ 28.050000] 8021q: adding VLAN 0 to HW filter on device eth0
[ 28.090000] device eth0.1 entered promiscuous mode
[ 28.100000] device eth0 entered promiscuous mode
[ 28.150000] br-lan: port 1(eth0.1) entered forwarding state
[ 28.160000] br-lan: port 1(eth0.1) entered forwarding state
[ 28.910000] ralink_soc_eth 10100000.ethernet eth0: port 4 link up (10Mbps/Half duplex)
[ 28.920000] ralink_soc_eth 10100000.ethernet eth0: port 5 link up (10Mbps/Half duplex)
[ 28.950000] RX DESC a31ef000 size = 2048
[ 28.990000] RTMP_TimerListAdd: add timer obj c057e020!
[ 29.000000] RTMP_TimerListAdd: add timer obj c054bdc8!
[ 29.010000] RTMP_TimerListAdd: add timer obj c054bd9c!
[ 29.020000] RTMP_TimerListAdd: add timer obj c054bd70!
[ 29.030000] RTMP_TimerListAdd: add timer obj c0554b8c!
[ 29.040000] RTMP_TimerListAdd: add timer obj c0554ca8!
[ 29.060000] RTMP_TimerListAdd: add timer obj c0554bb8!
[ 29.070000] RTMP_TimerListAdd: add timer obj c054c4f4!
[ 29.080000] RTMP_TimerListAdd: add timer obj c05144b8!
[ 29.090000] RTMP_TimerListAdd: add timer obj c054c204!
[ 29.210000] APSDCapable[0]=0
[ 29.210000] APSDCapable[1]=0
[ 29.220000] APSDCapable[2]=0
[ 29.220000] APSDCapable[3]=0
[ 29.230000] APSDCapable[4]=0
[ 29.230000] APSDCapable[5]=0
[ 29.240000] APSDCapable[6]=0
[ 29.250000] APSDCapable[7]=0
[ 29.250000] APSDCapable[8]=0
[ 29.260000] APSDCapable[9]=0
[ 29.260000] APSDCapable[10]=0
[ 29.270000] APSDCapable[11]=0
[ 29.270000] APSDCapable[12]=0
[ 29.280000] APSDCapable[13]=0
[ 29.290000] APSDCapable[14]=0
[ 29.290000] APSDCapable[15]=0
[ 29.300000] default ApCliAPSDCapable[0]=0
[ 29.310000] Key1Str is Invalid key length(0) or Type(0)
[ 29.320000] Key2Str is Invalid key length(0) or Type(0)
[ 29.330000] Key3Str is Invalid key length(0) or Type(0)
[ 29.340000] Key4Str is Invalid key length(0) or Type(0)
[ 29.370000] 1. Phy Mode = 9
[ 29.370000] 2. Phy Mode = 9
[ 29.380000] E2PROM: D0 target power=0xff20
[ 29.390000] E2PROM: 40 MW Power Delta= 0
[ 29.390000] 3. Phy Mode = 9
[ 29.400000] AntCfgInit: primary/secondary ant 0/1
Initialize RF Central Registers for E2 !!!
[ 29.420000] Initialize RF Central Registers for E3 !!!
[ 29.430000] Initialize RF Channel Registers for E2 !!!
[ 29.440000] Initialize RF Channel Registers for E3 !!!
[ 29.450000] Initialize RF DCCal Registers for E2 !!!
[ 29.460000] Initialize RF DCCal Registers for E3 !!!
[ 29.470000] D1 = -1, D2 = 6, CalCode = 16 !!!
[ 29.480000] RT6352_Temperature_Init : BBPR49 = 0xffffffff
[ 29.490000] RT6352_Temperature_Init : TemperatureRef25C = 0xfffffff5
[ 29.510000] Current Temperature from BBP_R49=0xfffffffa
[ 29.520000] TX BW Filter Calibration !!!
[ 29.640000] RX BW Filter Calibration !!!
[ 29.870000] LOFT Calibration Done!
[ 29.880000] IQCalibration Start!
[ 29.890000] IQCalibration Done! CH = 0, (gain= 0, phase=3f)
[ 29.900000] IQCalibration Start!
[ 29.920000] IQCalibration Done! CH = 1, (gain= f, phase=3e)
[ 29.930000] TX IQ Calibration Done!
[ 29.980000] RTMPSetPhyMode: channel is out of range, use first channel=0
[ 30.000000] MCS Set = ff ff 00 00 01
[ 30.040000] SYNC - BBP R4 to 20MHz.l
[ 30.160000] br-lan: port 1(eth0.1) entered forwarding state
[ 32.770000] Main bssid = 00:0c:43:76:20:58
[ 32.770000] <==== rt28xx_init, Status=0
[ 32.780000] 0x1300 = 00064380
[ 33.510000] device ra0 entered promiscuous mode
[ 33.520000] br-lan: port 2(ra0) entered forwarding state
[ 33.530000] br-lan: port 2(ra0) entered forwarding state
[ 35.530000] br-lan: port 2(ra0) entered forwarding state
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment