|
本帖最后由 maimaiti 于 2019-10-16 17:59 编辑
如题,手里有台中国电信定制给的一台TP-LINK WDR 5620 V2.0,千兆版,内存是64M ,flash 8m ,取下flash用编程器刷入几乎十几款 mtk7620的breed(包括7628和7688的breed)之后,路由都不能正常工作,连breed都启动不了。。。后来ttl搞了些数据出来
看哪个大佬有工夫搞下。。。
我把贴片给改成直插的了,,刷机方便。。。要不我也不会试了十几个BREED。。。。。
8M的 25Q64
TTL 接口,我自己加的针,,,从左到右依次是VCC GND TX RX
2.4G
螃蟹的RTL8367S
MTK7620DA 处理器,集成64M内存
下面是作了中断之后的,有命令,但没玩过,不会。。。。
U-Boot 1.1.3 (Jun 29 2018 - 18:15:44)
Board: Ralink APSoC 64 MB
relocate_code Pointer at: 83fa8000
enable ephy clock...done. rf reg 29 = 5
SSC disabled.
spi_wait_ns
[15:03:26.287]发→◇slp
□ec: 29
spi device id: ef 40 17 0 0 (40170000)
find flash: W25Q64BV
raspi_read: from:30000 len:1000
*** Warning - bad CRC, using default environment
Press reset button to enter recovery mode.
Autobooting in 500 mseconds
[15:03:26.395]发→◇slp
□
[15:03:26.398]收←◆============================================
Ralink UBoot Version: 5.0.0.0
--------------------------------------------
ASIC 7620_MP (Port5<->GigaSW)
DRAM component: 512 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 64 MBytes
Flash component: SPI Flash
Date:Jun 29 2018 Time:18:15:44
============================================
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
[15:03:26.504]发→◇slp
□
[15:03:26.508]收←◆---rtl_init_switch--- done
raspi_read: from:40028 len:6
MT7620 #
MT7620 #
MT7620 #
MT7620 #
[15:10:35.823]发→◇help
□
[15:10:35.828]收←◆help
? - alias for 'help'
bootm - boot application image from memory
cp - memory copy
erase - erase SPI FLASH memory
go - start application at address 'addr'
help - print online help
httpd - start www server for firmware recovery
loadb - load binary file over serial line (kermit mode)
md - memory display
mdio - Ralink PHY register R/W command !!
mm - memory modify (auto-incrementing)
mtest - simple RAM test
nm - memory modify (constant address)
printenv- print environment variables
reset - Perform RESET of the CPU
rf - read/write rf register
saveenv - save environment variables to persistent storage
setenv - set environment variables
tftpboot- boot image via network using TFTP protocol
version - print monitor version
MT7620 #
下面是没作中断
U-Boot 1.1.3 (Jun 29 2018 - 18:21:26)
Board: Ralink APSoC 64 MB
relocate_code Pointer at: 83fbc000
enable ephy clock...done. rf reg 29 = 5
SSC disabled.
spi_wait_nsec: 29
spi device id: ef 40 17 0 0 (40170000)
find flash: W25Q64BV
raspi_read: from:10000 len:1000
*** Warning - bad CRC, using default environment
============================================
Ralink UBoot Version: 4.3.S.0
--------------------------------------------
ASIC 7620_MP (Port5<->GigaSW)
DRAM component: 512 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 64 MBytes
Flash component: SPI Flash
Date:Jun 29 2018 Time:18:21:26
============================================
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
---rtl_init_switch--- done
raspi_read: from:20028 len:6
Autobooting in 100 mseconds
[11:04:52.773]收←◆## Booting image at bc040000 ...
Uncompressing Kernel Image ...
[11:04:59.319]收←◆OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 64
Starting kernel ...
LINUX started...
THIS IS ASIC
[ 0.000000] Linux version 3.10.14 (jenkins@Sohocilnx1) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Fri Jun 29 18:29:19 CST 2018
[ 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: 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] 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: 16256
[ 0.000000] Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock6 rootfstype=squashfs,jffs2 noinitrd 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=0000a4a1
[ 0.000000] Readback ErrCtl register=0000a4a1
[ 0.000000] Memory: 60008k/65536k available (3485k kernel code, 5528k reserved, 987k data, 196k init, 0k highmem)
[ 0.000000] NR_IRQS:128
[ 0.000000] console [ttyS1] enabled
[ 0.108000] Calibrating delay loop...
[11:04:59.713]收←◆385.02 BogoMIPS (lpj=770048)
[ 0.148000] pid_max: default: 32768 minimum: 301
[ 0.152000] Mount-cache hash table entries: 512
[ 0.156000] NET: Registered protocol family 16
[ 0.160000] RALINK_GPIOMODE = 1ab01d
[ 0.164000] RALINK_GPIOMODE = 18b01d
[ 0.168000] PPLL_CFG1=0xe2c000
[ 0.172000] MT7620 PPLL lock
[ 0.176000] PPLL_DRV =0x80080504
[ 0.180000] start PCIe register access
[11:05:00.289]收←◆[ 0.680000] RALINK_RSTCTRL = 2400000
[ 0.684000] RALINK_CLKCFG1 = 75afffc0
[ 0.688000]
[ 0.688000] *************** MT7620 PCIe RC mode *************
[11:05:00.817]收←◆[ 1.188000] PCIE0 enabled
[ 1.192000] Port 0 N_FTS = 1b105000
[ 1.196000] init_rt2880pci done
[ 1.220000] bio: create slab <bio-0> at 0
[ 1.224000] PCI host bridge to bus 0000:00
[ 1.228000] pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff]
[ 1.232000] pci_bus 0000:00: root bus resource [io 0x10160000-0x1016ffff]
[ 1.236000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 1.240000] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 1.244000] pci 0000:00:00.0: BAR 0: can't assign mem (size 0x80000000)
[ 1.248000] pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x200fffff]
[ 1.252000] pci 0000:00:00.0: BAR 9: assigned [mem 0x20100000-0x201fffff pref]
[ 1.256000] pci 0000:00:00.0: BAR 1: assigned [mem 0x20200000-0x2020ffff]
[ 1.260000] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff 64bit]
[ 1.264000] pci 0000:01:00.0: BAR 6: assigned [mem 0x20100000-0x2010ffff pref]
[ 1.268000] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 1.272000] pci 0000:00:00.0: bridge window [mem 0x20000000-0x200fffff]
[ 1.276000] pci 0000:00:00.0: bridge window [mem 0x20100000-0x201fffff pref]
[ 1.280000] BAR0 at slot 0 = 0
[ 1.284000] bus=0x0, slot = 0x0
[ 1.288000] res[0]->start = 0
[ 1.292000] res[0]->end = 0
[ 1.296000] res[1]->start = 20200000
[ 1.300000] res[1]->end = 2020ffff
[ 1.304000] res[2]->start = 0
[ 1.308000] res[2]->end = 0
[ 1.312000] res[3]->start = 0
[ 1.316000] res[3]->end = 0
[ 1.320000] res[4]->start = 0
[ 1.324000] res[4]->end = 0
[ 1.328000] res[5]->start = 0
[ 1.332000] res[5]->end = 0
[ 1.336000] bus=0x1, slot = 0x0
[ 1.340000] res[0]->start = 20000000
[ 1.344000] res[0]->end = 200fffff
[ 1.348000] res[1]->start = 0
[ 1.352000] res[1]->end = 0
[ 1.356000] res[2]->start = 0
[ 1.360000] res[2]->end = 0
[ 1.364000] res[3]->start = 0
[ 1.368000] res[3]->end = 0
[ 1.372000] res[4]->start = 0
[ 1.376000] res[4]->end = 0
[ 1.380000] res[5]->start = 0
[ 1.384000] res[5]->end = 0
[ 1.388000] cfg80211: Calling CRDA to update world regulatory domain
[ 1.392000] Switching to clocksource MIPS
[ 1.396000] NET: Registered protocol family 2
[ 1.408000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 1.420000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 1.432000] TCP: Hash tables configured (established 512 bind 512)
[ 1.444000] TCP: reno registered
[ 1.452000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 1.464000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 1.476000] NET: Registered protocol family 1
[ 1.488000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.500000] jffs2: version 2.2. (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 1.520000] msgmni has been set to 117
[ 1.528000] io scheduler noop registered (default)
[ 1.544000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 1.560000] serial8250: ttyS0 at MMIO 0x10000500 (irq = 37) is a 16550A
[ 1.572000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 12) is a 16550A
[ 1.588000] deice id : ef 40 17 0 0 (40170000)
[ 1.596000] W25Q64BV(ef 40170000) (8192 Kbytes)
[ 1.604000] mtd .name = raspi, .size = 0x00800000 (0M) .erasesize = 0x00000008 (0K) .numeraseregions = 65536
[ 1.624000] Searching for RedBoot partition table
[ 1.636000] 9 RedBoot partitions found on MTD device raspi
[ 1.644000] Creating 9 MTD partitions on "raspi":
[ 1.656000] 0x000000000000-0x00000001d800 : "factory_boot" ------------------------------------------------------------------------------------------------------这
[ 1.664000] mtd: partition "factory_boot" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only ------------几
[ 1.692000] 0x00000001d800-0x00000001e000 : "factory_info" -------------------------------------------------------------------------------------------------------个
[ 1.704000] 0x00000001e000-0x000000020000 : "art" --------------------------------------------------------------------------------------------------------应
[ 1.716000] 0x000000020000-0x000000030000 : "config" --------------------------------------------------------------------------------------------------------该
[ 1.728000] 0x000000030000-0x000000040000 : "normal_boot" --------------------------------------------------------------------------------------------------------是
[ 1.740000] 0x000000040000-0x0000001ccc14 : "kernel" ---------------------------------------------------------------------------------------------------------做
[ 1.752000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only 备
[ 1.776000] 0x0000001ccc14-0x0000006b0000 : "rootfs" ----------------------------------------------------------------------------------------------------------份
[ 1.788000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only 有
[ 1.812000] mtd: device 6 (rootfs) set to be root filesystem 用
[ 1.824000] 0x0000006b0000-0x000000800000 : "rootfs_data" ---------------------------------------------------------------------------------------------------------的
[ 1.836000] 0x000000040000-0x000000800000 : "firmware" ---------------------------------------------------------------------------------------------------------吧
[ 1.848000] register rt2860
[ 1.864000]
[ 1.864000]
[ 1.864000] === pAd = c0181000, size = 1514000 ===
[ 1.864000]
[ 1.880000] <-- RTMPAllocTxRxRingMemory, Status=0
[ 1.892000] <-- RTMPAllocAdapterBlock, Status=0
[ 1.900000] pAd->CSRBaseAddress =0xc0080000, csr_addr=0xc0080000!
[ 1.912000] device_id =0x7662
[ 1.920000] ==>rlt_wlan_chip_onoff(): OnOff:1, Reset= 1, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0x20a
[ 1.940000] RtmpChipOpsEepromHook::e2p_type=0, inf_Type=5
[ 1.948000] RtmpEepromGetDefault::e2p_dafault=2
[ 1.960000] NVM is FLASH mode
[ 1.964000] tpsteer_netlink_init
[ 1.972000] rdm_major = 253
[ 1.976000] netif_napi_add() called with weight 128 on device eth0
[ 1.988000] SMACCR1 -- : 0x0000000c
[ 1.996000] SMACCR0 -- : 0x432880e6
[ 2.004000] Ralink APSoC Ethernet Driver Initilization. v3.1 512 rx/tx descriptors allocated, mtu = 1500!
[ 2.024000] NAPI enable, Tx Ring = 512, Rx Ring = 512
[ 2.032000] SMACCR1 -- : 0x0000000c
[ 2.040000] SMACCR0 -- : 0x4328809b
[ 2.048000] PROC INIT OK!
[ 2.052000] u32 classifier
[ 2.060000] Performance counters on
[ 2.068000] input device check on
[ 2.072000] Actions configured
[ 2.080000] TCP: cubic registered
[ 2.088000] NET: Registered protocol family 17
[ 2.096000] 8021q: 802.1Q VLAN Support v1.8
[ 2.108000] registered taskstats version 1
[ 2.116000] Registered character driver slp_flash_chrdev
[ 2.132000] Flash UID signiture check failed.
[ 2.144000] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.
[ 2.160000] Freeing unused kernel memory: 196K (8045f000 - 80490000)
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
×
|