找回密码
 立即注册
img_loading
智能检测中

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888广告投放联系QQ68610888
查看: 4507|回复: 11

新手求助如何刷uboot,型号乐光D300

[复制链接]
发表于 2019-11-2 10:12 | 显示全部楼层 |阅读模式
TTL信息:U-Boot 1.1.3 (Jun 17 2015 - 12:10:51)

Board: Ralink APSoC DRAM:  128 MB
relocate_code Pointer at: 87fb8000
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:20000 len:1000
*** Warning - bad CRC, using default environment

## Set GPIO0 0
============================================
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
Date:Jun 17 2015  Time:12:10: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 =128 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 bc040000 ...
raspi_read: from:40000 len:40
   Image Name:   Linux Kernel Image
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    9023449 Bytes =  8.6 MB
   Load Address: 80000000
   Entry Point:  8000c310
raspi_read: from:40040 len:89afd9
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 8000c310) ...
## Giving linux memsize in MB, 128

Starting kernel ...


LINUX started...

THIS IS ASIC
Linux version 2.6.36 (root@linux-d4ub) (gcc version 3.4.2) #509 Wed Jul 8 17:19:58 CST 2015

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)
Software DMA cache coherency
Determined physical RAM map:
memory: 08000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00008000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00008000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: console=ttyS1,57600n8 root=/dev/ram0
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Primary instruction cache 64kB, VIPT, , 4-waylinesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
Writing ErrCtl register=0006f67f
Readback ErrCtl register=0006f67f
Memory: 117892k/131072k available (3194k kernel code, 13180k reserved, 1158k data, 7420k 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 = a311d
RALINK_GPIOMODE = 8311d
PPLL_CFG1=0xe6c000
MT7620 PPLL lock
PPLL_DRV =0x80080504
start PCIe register access
RALINK_RSTCTRL = 2400000
RALINK_CLKCFG1 = 75afffc0

*************** MT7620 PCIe RC mode *************
PCIE0 enabled
init_rt2880pci done
bio: create slab <bio-0> at 0
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pci 0000:00:00.0: BAR 0: can't assign mem (size 0x80000000)
pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x200fffff]
pci 0000:00:00.0: BAR 9: assigned [mem 0x20100000-0x201fffff pref]
pci 0000:00:00.0: BAR 1: assigned [mem 0x20200000-0x2020ffff]
pci 0000:00:00.0: BAR 1: set to [mem 0x20200000-0x2020ffff] (PCI address [0x20200000-0x2020ffff]
pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff 64bit]
pci 0000:01:00.0: BAR 0: set to [mem 0x20000000-0x200fffff 64bit] (PCI address [0x20000000-0x200fffff]
pci 0000:01:00.0: BAR 6: assigned [mem 0x20100000-0x2010ffff pref]
pci 0000:00:00.0: PCI bridge to [bus 01-01]
pci 0000:00:00.0:   bridge window [io  disabled]
pci 0000:00:00.0:   bridge window [mem 0x20000000-0x200fffff]
pci 0000:00:00.0:   bridge window [mem 0x20100000-0x201fffff pref]
BAR0 at slot 0 = 0
bus=0x0, slot = 0x0
res[0]->start = 0
res[0]->end = 0
res[1]->start = 20200000
res[1]->end = 2020ffff
res[2]->start = 0
res[2]->end = 0
res[3]->start = 0
res[3]->end = 0
res[4]->start = 0
res[4]->end = 0
res[5]->start = 0
res[5]->end = 0
bus=0x1, slot = 0x0
res[0]->start = 20000000
res[0]->end = 200fffff
res[1]->start = 0
res[1]->end = 0
res[2]->start = 0
res[2]->end = 0
res[3]->start = 0
res[3]->end = 0
res[4]->start = 0
res[4]->end = 0
res[5]->start = 0
res[5]->end = 0
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: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
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 Ralink Timer0 Module
Load Ralink Timer1 Module
RT3xxx EHCI/OHCI init.
squashfs: version 4.0 (2009/01/31) Phillip Lougher
NTFS driver 2.1.29 [Flags: R/W DEBUG].
fuse init (API version 7.15)
NILFS version 2 loaded
alg: No test for stdrng (krng)
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.
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
loop: module loaded
SCSI Media Changer driver v0.25
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-0x000000020000 : "Bootloader"
0x000000020000-0x000000030000 : "Config"
0x000000030000-0x000000040000 : "Factory"
0x000000040000-0x000001000000 : "Kernel"
0x000000000000-0x000001000000 : "All"
rdm_major = 253
SMACCR1 -- : 0x000078d3
SMACCR0 -- : 0x8dca3fc9
Ralink APSoC Ethernet Driver Initilization. v3.0  256 rx/tx descriptors allocated, mtu = 1500!
SMACCR1 -- : 0x000078d3
SMACCR0 -- : 0x8dca3fc9
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
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
rt3xxx-ehci rt3xxx-ehci: Ralink EHCI Host Controller
rt3xxx-ehci rt3xxx-ehci: new USB bus registered, assigned bus number 1
rt3xxx-ehci rt3xxx-ehci: irq 18, io mem 0x101c0000
rt3xxx-ehci rt3xxx-ehci: USB 0.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: Ralink EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.36 ehci_hcd
usb usb1: SerialNumber: rt3xxx
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
rt3xxx-ohci rt3xxx-ohci: RT3xxx OHCI Controller
rt3xxx-ohci rt3xxx-ohci: new USB bus registered, assigned bus number 2
rt3xxx-ohci rt3xxx-ohci: irq 18, io mem 0x101c1000
usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: RT3xxx OHCI Controller
usb usb2: Manufacturer: Linux 2.6.36 ohci_hcd
usb usb2: SerialNumber: rt3xxx-ohci
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
nf_conntrack version 0.5.0 (1842 buckets, 7368 max)
matchsize=264
ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone
TCP cubic registered
NET: Registered protocol family 17
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: 7420k freed
init started: BusyBox v1.22.1 (20Algorithmics/MIPS FPU Emulator v1.5
15-07-08 17:17:39 CST)
starting pid 31, tty ''devpts: called with bogus options
: '/etc_ro/rcS'
date: invalid date '010100002014'
rt2860v2_ap: module license 'unspecified' taints kernel.
Disabling lock debugging due to kernel taint


=== pAd = c059b000, size = 998576 ===

<-- RTMPAllocTxRxRingMemory, Status=0
<-- RTMPAllocAdapterBlock, Status=0
AP Driver version-2.7.2.0
register rt2860


=== pAd = c0b82000, size = 1654800 ===

<-- RTMPAllocTxRxRingMemory, Status=0
<-- RTMPAllocAdapterBlock, Status=0
pAd->CSRBaseAddress =0xc0a80000, csr_addr=0xc0a80000!
device_id =0x7662
==>rlt_wlan_chip_onoff(): OnOff:1, Reset= 1, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0x20a
WaitForAsicReady(0x0):AsicNotReady!
chipOps hook error
CMD_RTPRIV_IOCTL_INF_STATS_GET: can not find mbss I/F
Raeth v3.0 (Tasklet)

phy_tx_ring = 0x0550c000, tx_ring = 0xa550c000

phy_rx_ring0 = 0x05e1e000, rx_ring0 = 0x85e1e000
SMACCR1 -- : 0x000078d3
SMACCR0 -- : 0x8dca3fc9
CDMA_CSG_CFG = 81000000
GDMA1_FWD_CFG = 20010000
/var/mount_dev_name=
RX DESC 85e2c000  size = 4096
APSDCapable[0]=0
APSDCapable[1]=0
APSDCapable[2]=0
APSDCapable[3]=0
APSDCapable[4]=0
APSDCapable[5]=0
APSDCapable[6]=0
APSDCapable[7]=0
APSDCapable[8]=0
APSDCapable[9]=0
APSDCapable[10]=0
APSDCapable[11]=0
APSDCapable[12]=0
APSDCapable[13]=0
APSDCapable[14]=0
APSDCapable[15]=0
default ApCliAPSDCapable[0]=0
Key1Str is Invalid key length(0) or Type(0)
Key1Str is Invalid key length(0) or Type(0)
Key1Str is Invalid key length(0) or Type(0)
Key1Str is Invalid key length(0) or Type(0)
Key2Str is Invalid key length(0) or Type(0)
Key2Str is Invalid key length(0) or Type(0)
Key2Str is Invalid key length(0) or Type(0)
Key2Str is Invalid key length(0) or Type(0)
Key3Str is Invalid key length(0) or Type(0)
Key3Str is Invalid key length(0) or Type(0)
Key3Str is Invalid key length(0) or Type(0)
Key3Str is Invalid key length(0) or Type(0)
Key4Str is Invalid key length(0) or Type(0)
Key4Str is Invalid key length(0) or Type(0)
Key4Str is Invalid key length(0) or Type(0)
Key4Str is Invalid key length(0) or Type(0)
e8:b9:6b:68:f4:e8:14:37:79:81:e7:6d:1f:19:3e:21:
12:c7:61:8b:e4:cd:87:66:b0:82:4a:96:9c:19:28:10:

I/F(apcli0) Key1Str is Invalid key length!
I/F(apcli0) Key2Str is Invalid key length!
I/F(apcli0) Key3Str is Invalid key length!
I/F(apcli0) Key4Str is Invalid key length!
1. Phy Mode = 9
2. Phy Mode = 9
E2PROM: D0 target power=0xff20
E2PROM: 40 MW Power Delta= 0
3. Phy Mode = 9
AntCfgInit: primary/secondary ant 0/1
Initialize RF Central Registers for E2 !!!
Initialize RF Central Registers for E3 !!!
Initialize RF Channel Registers for E2 !!!
Initialize RF Channel Registers for E3 !!!
Initialize RF DCCal Registers for E2 !!!
Initialize RF DCCal Registers for E3 !!!
Change as GPIO Mode(0x18141d)
D1 = -2, D2 = 15, CalCode = 40 !!!
RT6352_Temperature_Init : BBPR49 = 0xfffffffe
RT6352_Temperature_Init : TemperatureRef25C = 0xfffffff4
Current Temperature from BBP_R49=0xfffffff4
TX BW Filter Calibration !!!
RX BW Filter Calibration !!!
LOFT Calibration Done!
IQCalibration Start!
IQCalibration Done! CH = 0, (gain= 0, phase=3e)
IQCalibration Start!
IQCalibration Done! CH = 1, (gain= f, phase=3e)
TX IQ Calibration Done!
Change as Normal Mode(0x8141d)
After Change, now GPIO_MODE value is 0x8141d
RT6352_Init_ExtPA_ExtLNA: Enable Ext-PA. init MAC
RT6352_Init_ExtPA_ExtLNA: Enable Ext-LNA.
RT6352_Init_ExtPA_ExtLNA: Enable Ext-PA.
RT6352_Init_ExtPA_ExtLNA: Init Ext-LNA BBP.
RT6352_Init_ExtPA_ExtLNA: Init Ext-PA MAC.
MCS Set = ff ff 00 00 01
Main bssid = 78:d3:8d:ca:3f:c8
<==== rt28xx_init, Status=0
0x1300 = 00064320
Set AutoKickStaThreshold -90 dBm
device ra0 entered promiscuous mode
WaitForAsicReady(0x0):AsicNotReady!
!!! rt28xx init fail !!!
device rapci0 entered promiscuous mode
device rapci0 left promiscuous mode
device eth2.1 entered promiscuous mode
device eth2 entered promiscuous mode
device ra1 entered promiscuous mode
device ra2 entered promiscuous mode
device ra3 entered promiscuous mode
br0: port 3(ra1) entering learning state
br0: port 3(ra1) entering learning state
br0: port 2(eth2.1) entering learning state
br0: port 2(eth2.1) entering learning state
br0: port 1(ra0) entering learning state
br0: port 1(ra0) entering learning state
Ralink HW NAT Module Enabled
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
starting pid 808, tty '': '/sbin/getty 57600 /dev/ttyS1'

SR800 login: br0: port 3(ra1) entering forwarding state
br0: port 2(eth2.1) entering forwarding state
br0: port 1(ra0) entering forwarding state

网上找了几个现在变砖了,编程器也被搞坏了,新的还在路上!!!!
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2019-11-2 10:32 | 显示全部楼层
串口刷固件啊,刷x-wrt系统,选择 AC9531-010 或者 AC9531-020

点评

MT7620N+7612 1200MB双频路由  详情 回复 发表于 2019-11-2 13:09
选择1或者2然后从你编的固件选择其他型号的7620固件可以吗?  详情 回复 发表于 2019-11-2 12:35
这是7620的板子吧。。。  详情 回复 发表于 2019-11-2 10:36
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

发表于 2019-11-2 10:36 | 显示全部楼层
ptpt52 发表于 2019-11-2 10:32
串口刷固件啊,刷x-wrt系统,选择 AC9531-010 或者 AC9531-020

这是7620的板子吧。。。

点评

哦,那搞错了  发表于 2019-11-2 10:37
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

发表于 2019-11-2 10:49 | 显示全部楼层
一看ttl输出就是7620的,16+128的配置,中规中矩
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

发表于 2019-11-2 11:45 | 显示全部楼层


这个就是刷BootLoader的...

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

点评

现在已经砖了。明天编程器到先恢复备份再试试  详情 回复 发表于 2019-11-2 12:30
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2019-11-2 12:30 | 显示全部楼层
邪恶海盗 发表于 2019-11-2 11:45
这个就是刷BootLoader的...

现在已经砖了。明天编程器到先恢复备份再试试
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2019-11-2 12:35 | 显示全部楼层
ptpt52 发表于 2019-11-2 10:32
串口刷固件啊,刷x-wrt系统,选择 AC9531-010 或者 AC9531-020

选择1或者2然后从你编的固件选择其他型号的7620固件可以吗?
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2019-11-2 13:09 | 显示全部楼层
ptpt52 发表于 2019-11-2 10:32
串口刷固件啊,刷x-wrt系统,选择 AC9531-010 或者 AC9531-020

MT7620N+7612  1200MB双频路由

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2019-11-5 19:46 | 显示全部楼层
已经救回来,刷了wrt,tomato,老毛子,ASUS,爱快,磊科,极路由.....固件,能刷的都刷了个遍,原来的WAN不能用,第一个LAN口变成了WAN口,WIFI信号极差!!5G没法用!

点评

你好,最终你刷那个固件了?  详情 回复 发表于 2020-3-9 09:24
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

发表于 2020-3-9 09:24 | 显示全部楼层
zhangj360 发表于 2019-11-5 19:46
已经救回来,刷了wrt,tomato,老毛子,ASUS,爱快,磊科,极路由.....固件,能刷的都刷了个遍,原来的WAN不能 ...

你好,最终你刷那个固件了?
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛

只谈技术、莫论政事!切勿转播谣言!为了你也为了他人。
只谈技术、莫论政事!(点击见详情) 切记不要随意传播谣言,把自己的日子过安稳了就行,为了自己好也为了大家好。 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。

查看 »

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2025-6-11 09:51

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com

快速回复 返回顶部 返回列表