|
老大,能否搞个百米3(拆机https://www.right.com.cn/forum/thread-164940-1-1.html)的?先谢谢了。还想请问下,如果没刷Breed的话,能否有办法得出GPIO?如下是原厂TTL输出:
U-Boot 1.1.3 (Dec 25 2014 - 13:53:24)
Board: Ralink APSoC DRAM: 128 MB
relocate_code Pointer at: 87fb4000
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
size = 16MB, sector size = 64KB, 256 sectors
raspi_read: from:30000 len:1000
raspi_read: from:30000 len:1000
============================================
Ralink UBoot Version: 4.2.S.1
--------------------------------------------
ASIC 7620_MP (Port5<->None)
DRAM component: 1024 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 128 MBytes
Flash component: SPI Flash
Dateec 25 2014 Time:13:53:24
============================================
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 = 128 Mbytes
## Booting image at bc080000 ...
raspi_read: from:80000 len:40
Image Name: MIPS OpenWrt Linux-3.10.14-p1128
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1227055 Bytes = 1.2 MB
Load Address: 80000000
Entry Point: 80000000
raspi_read: from:80040 len:12b92f
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 128
Starting kernel ...
怘?奦??x臸怘怘ff斆旦f[ 0.000000] Linux version 3.10.14 (james@localhost.localdomain) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 unknown) ) #18 Tue Jan 13 16:51:05 CST 2015
[ 0.000000]
[ 0.000000] The CPU feqenuce set to 580 MHz
[ 0.000000] PCIE: bypass PCIe DLL.
[ 0.000000] PCIE: Elastic buffer control: Addr:0x68 -> 0xB4
[ 0.000000] disable all power about PCIe
[ 0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[ 0.000000] Software DMA cache coherency
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x07ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x07ffffff]
[ 0.000000] Primary instruction cache 64kB, 4-way, VIPT, 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: 32512
[ 0.000000] Kernel command line: console=ttyS1,115200n8 root=/dev/mtdblock6 rootfstype=squashfs,jffs2
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Writing ErrCtl register=0003b657
[ 0.000000] Readback ErrCtl register=0003b657
[ 0.000000] Memory: 125724k/131072k available (2692k kernel code, 5348k reserved, 654k data, 172k init, 0k highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:128
[ 0.000000] console [ttyS1] enabled
[ 0.110000] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[ 0.170000] pid_max: default: 32768 minimum: 301
[ 0.170000] Mount-cache hash table entries: 512
[ 0.180000] NET: Registered protocol family 16
[ 0.180000] RALINK_GPIOMODE = 1a311c
[ 0.190000] RALINK_GPIOMODE = 18311c
[ 0.190000] PPLL_CFG1=0xe64000
[ 0.190000] MT7620 PPLL lock
[ 0.190000] PPLL_DRV =0x80080504
[ 0.200000] start PCIe register access
[ 0.700000] RALINK_RSTCTRL = 2400000
[ 0.700000] RALINK_CLKCFG1 = 75afffc0
[ 0.710000]
[ 0.710000] *************** MT7620 PCIe RC mode *************
[ 1.210000] PCIE0 no card, disable it(RST&CLK)
[ 1.220000] PCIE0 enabled
[ 1.220000] Port 0 N_FTS = ffffffff
[ 1.220000] init_rt2880pci done
[ 1.250000] bio: create slab <bio-0> at 0
[ 1.250000] PCI host bridge to bus 0000:00
[ 1.260000] pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff]
[ 1.260000] pci_bus 0000:00: root bus resource [io 0x10160000-0x1016ffff]
[ 1.270000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 1.270000] Switching to clocksource MIPS
[ 1.280000] NET: Registered protocol family 2
[ 1.280000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 1.290000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 1.300000] TCP: Hash tables configured (established 1024 bind 1024)
[ 1.300000] TCP: reno registered
[ 1.310000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 1.310000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 1.320000] NET: Registered protocol family 1
[ 1.320000] MTK/Ralink EHCI/OHCI init.
[ 1.350000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.350000] NTFS driver 2.1.30 [Flags: R/W].
[ 1.360000] jffs2: version 2.2. (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 1.370000] msgmni has been set to 245
[ 1.370000] io scheduler noop registered
[ 1.380000] io scheduler deadline registered (default)
[ 1.380000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 1.390000] serial8250: ttyS0 at MMIO 0x10000500 (irq = 37) is a 16550A
[ 1.400000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 12) is a 16550A
[ 1.400000] Ralink gpio driver initialized
[ 1.410000] Enable Ralink GDMA Controller Module
[ 1.410000] GDMA IP Version=3
[ 1.420000] spidrv_major = 217
[ 1.420000] deice id : ef 40 18 0 0 (40180000)
[ 1.430000] W25Q128BV(ef 40180000) (16384 Kbytes)
[ 1.430000] mtd .name = raspi, .size = 0x01000000 (16M) .erasesize = 0x00010000 (64K) .numeraseregions = 256
[ 1.440000] Creating 6 MTD partitions on "raspi":
[ 1.450000] 0x000000000000-0x000001000000 : "ALL"
[ 1.450000] 0x000000000000-0x000000030000 : "Bootloader"
[ 1.460000] 0x000000030000-0x000000040000 : "Config"
[ 1.470000] 0x000000040000-0x000000050000 : "Factory"
[ 1.470000] 0x000000050000-0x000000080000 : "roduct"
[ 1.480000] 0x000000080000-0x000000800000 : "firmware"
[ 1.490000] 0x0000001ab96f-0x000000800000 : "rootfs"
[ 1.490000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 1.510000] mtd: partition "rootfs_data" created automatically, ofs=0x690000, len=0x170000
[ 1.510000] 0x000000690000-0x000000800000 : "rootfs_data"
[ 1.520000] rdm_major = 253
[ 1.530000] SMACCR1 -- : 0x00002405
[ 1.530000] SMACCR0 -- : 0x0f3f5c66
[ 1.530000] Ralink APSoC Ethernet Driver Initilization. v3.1 256 rx/tx descriptors allocated, mtu = 1500!
[ 1.540000] SMACCR1 -- : 0x00002405
[ 1.550000] SMACCR0 -- : 0x0f3f5c66
[ 1.550000] PROC INIT OK!
[ 1.550000] Ralink APSoC Hardware Watchdog Timer
[ 1.560000] MTK MSDC device init.
[ 1.600000] mtk-sd: MediaTek MT6575 MSDC Driver
[ 1.600000] Netfilter messages via NETLINK v0.30.
[ 1.610000] TCP: cubic registered
[ 1.610000] NET: Registered protocol family 17
[ 1.610000] 8021q: 802.1Q VLAN Support v1.8
[ 1.630000] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.
[ 1.630000] Freeing unused kernel memory: 172K (80345000 - 80370000)
[ 2.170000] mmc0: SD Status: Invalid Allocation Unit size.
procd: Console is alive
[ 2.310000] mmc0: new high speed SD card at address b368
[ 2.310000] mmcblk0: mmc0:b368 SMI 244 MiB
[ 2.320000] mmcblk0: p4
[ 3.160000] usbcore: registered new interface driver usbfs
[ 3.160000] usbcore: registered new interface driver hub
[ 3.170000] usbcore: registered new device driver usb
[ 3.180000] SCSI subsystem initialized
[ 3.190000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.200000] ehci-platform: EHCI generic platform driver
[ 3.230000] ehci-platform ehci-platform: EHCI Host Controller
[ 3.230000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 3.240000] ehci-platform ehci-platform: irq 18, io mem 0x101c0000
[ 3.270000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 3.270000] hub 1-0:1.0: USB hub found
[ 3.280000] hub 1-0:1.0: 1 port detected
[ 3.290000] usbcore: registered new interface driver usb-storage
procd: - preinit -
[ 4.140000] Raeth v3.1 (Workqueue)
[ 4.150000]
[ 4.150000] phy_tx_ring = 0x07f66000, tx_ring = 0xa7f66000
[ 4.150000]
[ 4.150000] phy_rx_ring0 = 0x07f67000, rx_ring0 = 0xa7f67000
[ 4.160000] SMACCR1 -- : 0x00002405
[ 4.170000] SMACCR0 -- : 0x0f3f5c66
[ 4.170000] CDMA_CSG_CFG = 81000000
[ 4.170000] GDMA1_FWD_CFG = 20010000
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
kmod: ran 1 iterations
[ 7.730000] jffs2: notice: (273) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 10 of xref (0 dead, 0 orphan) found.
block: extroot: no root or overlay mount defined
jffs2 is ready
jffs2 is ready
[ 7.780000] jffs2: notice: (270) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 10 of xref (0 dead, 0 orphan) found.
switching to overlay
[ 7.810000] ra2880stop()...Done
[ 7.820000] Free TX/RX Ring Memory!
procd: - early -
[ 8.190000] FAT-fs (mmcblk0p4): codepage cp437 not found
procd: - ubus -
procd: - init -
Please press Enter to activate this console.
[ 9.820000] u32 classifier
[ 9.820000] input device check on
[ 9.830000] Actions configured
[ 9.840000] Mirror/redirect action on
[ 9.860000] Failed to load ipt action
[ 10.540000] mt7620: module license 'unspecified' taints kernel.
[ 10.540000] Disabling lock debugging due to kernel taint
[ 10.610000]
[ 10.610000]
[ 10.610000] === pAd = c0633000, size = 873520 ===
[ 10.610000]
[ 10.620000] <-- RTMPAllocTxRxRingMemory, Status=0
[ 10.620000] <-- RTMPAllocAdapterBlock, Status=0
[ 10.630000] AP Driver version-2.7.1.6
[ 10.640000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 10.650000] Type=Linux
[ 10.670000] nf_conntrack version 0.5.0 (1967 buckets, 7868 max)
[ 10.760000] xt_time: kernel timezone is -0000
[ 10.780000] PPP generic driver version 2.4.2
[ 10.780000] NET: Registered protocol family 24
[ 15.220000] FAT-fs (mmcblk0p4): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 15.930000] Raeth v3.1 (Workqueue)
[ 15.930000]
[ 15.930000] phy_tx_ring = 0x06cb8000, tx_ring = 0xa6cb8000
[ 15.940000]
[ 15.940000] phy_rx_ring0 = 0x06cc1000, rx_ring0 = 0xa6cc1000
[ 15.950000] SMACCR1 -- : 0x00002405
[ 15.950000] SMACCR0 -- : 0x0f3f5c66
[ 15.950000] CDMA_CSG_CFG = 81000000
[ 15.960000] GDMA1_FWD_CFG = 20010000
[ 16.010000] device eth0.1 entered promiscuous mode
[ 16.010000] device eth0 entered promiscuous mode
[ 16.050000] br-lan: port 1(eth0.1) entered forwarding state
[ 16.050000] br-lan: port 1(eth0.1) entered forwarding state
[ 16.800000] RX DESC a74a4000 size = 2048
[ 17.350000] APSDCapable[0]=1
[ 17.350000] APSDCapable[1]=1
[ 17.360000] APSDCapable[2]=1
[ 17.360000] APSDCapable[3]=1
[ 17.360000] APSDCapable[4]=1
[ 17.370000] APSDCapable[5]=1
[ 17.370000] APSDCapable[6]=1
[ 17.370000] APSDCapable[7]=1
[ 17.370000] APSDCapable[8]=1
[ 17.380000] APSDCapable[9]=1
[ 17.380000] APSDCapable[10]=1
[ 17.380000] APSDCapable[11]=1
[ 17.390000] APSDCapable[12]=1
[ 17.390000] APSDCapable[13]=1
[ 17.390000] APSDCapable[14]=1
[ 17.400000] APSDCapable[15]=1
[ 17.400000] default ApCliAPSDCapable[0]=1
[ 17.410000] Key1Str is Invalid key length(0) or Type(0)
[ 17.410000] Key2Str is Invalid key length(0) or Type(0)
[ 17.420000] Key3Str is Invalid key length(0) or Type(0)
[ 17.420000] Key4Str is Invalid key length(0) or Type(0)
[ 17.470000] RTMPSetDefaultChannel() : default channel to 1
[ 17.470000] 1. Phy Mode = 9
[ 17.480000] 2. Phy Mode = 9
[ 17.480000] E2PROM: D0 target power=0xff20
[ 17.480000] E2PROM: 40 MW Power Delta= 0
[ 17.490000] 3. Phy Mode = 9
[ 17.490000] AntCfgInit: primary/secondary ant 0/1
Initialize RF Central Registers for E2 !!!
[ 17.500000] Initialize RF Central Registers for E3 !!!
[ 17.500000] Initialize RF Channel Registers for E2 !!!
[ 17.510000] Initialize RF Channel Registers for E3 !!!
[ 17.510000] Initialize RF DCCal Registers for E2 !!!
[ 17.520000] Initialize RF DCCal Registers for E3 !!!
[ 17.530000] D1 = -1, D2 = 6, CalCode = 16 !!!
[ 17.530000] RT6352_Temperature_Init : BBPR49 = 0xffffffff
[ 17.540000] RT6352_Temperature_Init : TemperatureRef25C = 0xfffffff5
[ 17.550000] Current Temperature from BBP_R49=0xfffffff5
[ 17.550000] TX BW Filter Calibration !!!
[ 17.670000] RX BW Filter Calibration !!!
[ 17.900000] LOFT Calibration Done!
[ 17.910000] IQCalibration Start!
[ 17.920000] IQCalibration Done! CH = 0, (gain= f, phase=3d)
[ 17.930000] IQCalibration Start!
[ 17.940000] IQCalibration Done! CH = 1, (gain= f, phase=3d)
[ 17.950000] TX IQ Calibration Done!
[ 17.990000] RXIQ si=553, sq=556, riq=-13, bbpval 553, vga_idx 0
[ 17.990000] RXIQ si=4963, sq=4989, riq=-117, bbpval 4963, vga_idx 5
[ 18.000000] RXIQ si=7983, sq=8006, riq=-189, bbpval 7983, vga_idx 6
[ 18.010000] RXIQ si=12577, sq=12560, riq=-322, bbpval 12577, vga_idx 7
[ 18.010000] Sigma_i=1121, Sigma_q=1120, R_iq=-3220
[ 18.020000] RXIQ Sigma_i=1121, Sigma_q=1120, R_iq=-3220
[ 18.020000] RXIQ G_imb=0, Ph_rx=-5
[ 18.030000] RXIQ si=680, sq=694, riq=-4, bbpval 680, vga_idx 0
[ 18.030000] RXIQ si=3782, sq=3861, riq=-19, bbpval 3782, vga_idx 4
[ 18.040000] RXIQ si=5684, sq=5800, riq=-45, bbpval 5684, vga_idx 5
[ 18.050000] br-lan: port 1(eth0.1) entered forwarding state
[ 18.050000] RXIQ si=8947, sq=9112, riq=-79, bbpval 8947, vga_idx 6
[ 18.060000] RXIQ si=13971, sq=14247, riq=-131, bbpval 13971, vga_idx 7
[ 18.070000] Sigma_i=1181, Sigma_q=1193, R_iq=-1310
[ 18.070000] RXIQ Sigma_i=1181, Sigma_q=1193, R_iq=-1310
[ 18.080000] RXIQ G_imb=1, Ph_rx=-2
[ 18.080000] Change as Normal Mode(0x4171d)
[ 18.080000] After Change, now GPIO_MODE value is 0x4171d
[ 18.090000] MCS Set = ff ff 00 00 00
[ 18.130000] SYNC - BBP R4 to 20MHz.l
[ 20.420000] Main bssid = 24:05:0f:01:00:AA
[ 20.430000] <==== rt28xx_init, Status=0
[ 20.460000] 0x1300 = 00064320
[ 21.470000] device ra0 entered promiscuous mode
[ 21.480000] br-lan: port 2(ra0) entered forwarding state
[ 21.480000] br-lan: port 2(ra0) entered forwarding state
[ 22.610000] Started WatchDog Timer.
[ 23.480000] br-lan: port 2(ra0) entered forwarding state
procd: - init complete -
procd: Instance uhttpd::instance2 s in a crash loop 6 crashes, 0 seconds since last crash
|
|