找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 4211|回复: 7

关于EA6500,EA6700改SPI的问题

[复制链接]
我EA6500V2刷死了,改了SPI,CFE进去是命令行模式,这个怎么刷机呀,还 是说EA6500不支持SPI进CFE或mini系统,nand闪存已经被我拿掉了
CFE> help
Available commands:

et                  Broadcom Ethernet utility.
devinfo             devinfo utility.
nvram               NVRAM utility.
reboot              Reboot.
mfg                 Manufacture test
set console         Change the active console device
loop                Loop a command
flash               Update a flash memory device
memtest             Test memory.
f                   Fill contents of memory.
e                   Modify contents of memory.
d                   Dump memory.
u                   Disassemble instructions.
batch               Load a batch file into memory and execute it
go                  Verify and boot OS image.
boot                Load an executable file into memory and execute it
load                Load an executable file into memory without executing it
save                Save a region of memory to a remote file via TFTP
ping                Ping a remote IP host.
arp                 Display or modify the ARP Table
ifconfig            Configure the Ethernet interface
show clocks         Show current values of the clocks.
show heap           Display information about CFE's heap
show memory         Display the system physical memory map.
show devices        Display information about the installed devices.
unsetenv            Delete an environment variable.
printenv            Display the environment variables
setenv              Set an environment variable.
help                Obtain help for CFE commands

For more information about a command, enter 'help command-name'
*** command status = 0
CFE> show devices
Device Name          Description
-------------------  ---------------------------------------------------------
uart0                NS16550 UART at 0x18000300
uart1                NS16550 UART at 0x18000400
*** command status = 0
CFE> printenv
Variable Name        Value
-------------------- --------------------------------------------------
BOOT_CONSOLE         uart0
CFE_VERSION          1.0.37
CFE_BOARDNAME        BCM947XX
CFE_MEMORYSIZE       262144
STARTUP              go;
*** command status = 0
CFE> nvram show
pmon_ver=CFE 6.39.163.39 (r394801)
nvram_space=65536
sdram_config=0x0000
sdram_refresh=0x8040
sdram_ncdl=0x00000000
sdram_init=0x0419
size: 154 bytes (65382 left)
*** command status = 0
CFE> flash

     flash [options] filename [flashdevice]
     
     Copies data from a source file name or device to a flash memory device.
     The source device can be a disk file (FAT filesystem), a remote file
     (TFTP) or a flash device.  The destination device may be a flash or eeprom.
     If the destination device is your boot flash (usually flash0), the flash
     command will restart the firmware after the flash update is complete

     -noerase     Don't erase flash before writing
     -offset=*    Begin programming at this offset in the flash device
     -size=*      Size of source device when programming from flash to flash
     -noheader    Override header verification, flash binary without checking
     -forceflash  Dangerous Command, Don't use if you don't know what you do
     -erase       Erase the partition, can set the  offset and length
     -mem         Use memory as source instead of a device

*** command status = -2
CFE> flash -noerase -noheader 192.168.1.2:128.bin flash1.trx
flash1.trx: Device not found
*** command status = -6
CFE>
我的恩山、我的无线 The best wifi forum is right here.
EA6500V2(EA6700)官方cfe不带miniweb的,需要刷入第三方修改版的cfe
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

flash -noheader : flash1.trx

回车后tftp上传固件即可
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
longlo 发表于 2021-5-27 17:53
flash -noheader : flash1.trx

回车后tftp上传固件即可

CFE> show devices
Device Name          Description
-------------------  ---------------------------------------------------------
uart0                NS16550 UART at 0x18000300
uart1                NS16550 UART at 0x18000400
*** command status = 0
好像提示没有flash1:trx这个
CFE> flash -noerase -noheader 192.168.1.2:128.bin flash1.trx
flash1.trx: Device not found
*** command status = -6
CFE>
CFE> printenv
Variable Name        Value
-------------------- --------------------------------------------------
BOOT_CONSOLE         uart0
CFE_VERSION          1.0.37
CFE_BOARDNAME        BCM947XX
CFE_MEMORYSIZE       262144
STARTUP              go;
*** command status = 0
CFE> nvram show
pmon_ver=CFE 6.39.163.39 (r394801)
nvram_space=65536
sdram_config=0x0000
sdram_refresh=0x8040
sdram_ncdl=0x00000000
sdram_init=0x0419
size: 154 bytes (65382 left)
*** command status = 0
也没有192.168.1.1这个IP地址,开机就直接进CFE了,网线灯也正常闪烁,LED灯慢闪,CFE命令行模式的

NAND已经被我取下来了,现在只用16M的SPI闪存,刷入改版CFE也是差不多。所以我想,是不是不支持SPI启动,是不是把这个CFE想办法用编程器写进NAND里面,然后再焊回主板,就可以了,就能够像正常机器一样可以进CFE界面正常刷机了。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
afeng11 发表于 2021-5-27 17:12
EA6500V2(EA6700)官方cfe不带miniweb的,需要刷入第三方修改版的cfe

第三方修改的CFE情况也差不多,也无法打开MINIWEB,网口灯也正常闪烁,但PING不通,所以浏览器打不开192.168.1.1。进CFE就是命令行模式,我在想是不是SPI的闪存有什么BUG。主板不能从这个启动,或者说是我把NAND拿掉的原因,我想问一下,
1,如果搞到这个NAND Flash,并且找编程器把CFE写进去,只要写CFE.bin这一个文件进去,就可以焊回主板使用并刷机了,还是还要有其他什么文件一起写进NAND?
2,直接写第三方CFE单文件进NAND行不行?焊回主板能不能启动刷机?
3,如果能,这个情况是直接刷DD固件还是其他的?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

xueshanjuelian 发表于 2021-5-28 10:00
第三方修改的CFE情况也差不多,也无法打开MINIWEB,网口灯也正常闪烁,但PING不通,所以浏览器打不开192. ...

这个路由有一个跳线的,要把路由切换到spi启动,然后刷16M以内的固件就可以了

点评

请问跳线在哪里?怎么找  详情 回复 发表于 2021-11-25 16:54
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

afeng11 发表于 2021-5-28 10:04
这个路由有一个跳线的,要把路由切换到spi启动,然后刷16M以内的固件就可以了

请问跳线在哪里?怎么找
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

你怎么改的,可以分享一下吗?另外NAND必须焊在上面,你拿掉了,肯定找不到对应设备啊。建议参考下K3的SPI教程。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

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

GMT+8, 2024-4-29 05:21

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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