刷机前TTL显示信息,发现这个FON就不给人重刷Uboot,自带的Uboot就只能刷固件了,无法更新Uboot。 刷了腾达 W311R的固件起不来,其实这个和腾达 W311R硬件配置基本一样,可是刷了就是不行,总是转到“starting httpd server from server 192.168.0.250 就不行了。可以登录192.168.0.250,显示一个页面说是可以查询数据,不过不能用,也许我不会用吧。
##### The CPU freq = 320 MHZ ####
SDRAM bus set to 16 bit
SDRAM size =32 Mbytes
Please choose the operation:
1: Boot system code via Flash (default).
2: Load system code then write to Flash via TFTP.
3: Entr boot command line interface. /*一般有9项,第9项是更新Uboot用的,这个没有。[size=font-size: 10.5pt,10.5pt]
booting from flash
## Booting image at bf020000 ...
raspi_read: from:20000 len:40
Image Name: FON Linux-2.6.21
Created: 2011-07-11 17:10:36UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 646362 Bytes = 631.2 kB
Load Address: 80000000
Entry Point: 80000000
raspi_read: from:20040 len:9dcda
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 32
继续上网研究鬼子的那个自定义固件,毕竟这个是证实可刷可用的,后来找到鬼子的博客,上去看了半天,终于找到他自己编译的“自定义固件”,下来以后刷进去,果然能够启动,不过这个固件有个缺点,就是全E文的,web设置界面非常不友好,简直可以说很差了,并且启动速度也比较慢,要四五十秒的样子。
[size=font-size: 10.5pt,10.5pt] U-Boot 1.1.3 (Jan 6 2010 - 07:10:30)
Board: Fonera
DRAM: 32 MB
relocate_code Pointer at:81fac000
spi_wait_nsec: 3e
spi deice id: c2 20 15 c2 20(2015c220)
find flash: mx25l1605d
raspi_read: from:41030000len:1000
Using default environment
##### The CPU freq = 320 MHZ ####
SDRAM bus set to 16 bit
SDRAM size =32 Mbytes
Please choose the operation:
1: Boot system code via Flash(default).
2: Load system code then write toFlash via TFTP.
3: Entr boot command lineinterface.
booting from flash
## Booting image at bf020000 ...
raspi_read: from:20000 len:40
Image Name: Linux Kernel Image
Created: 2012-01-02 15:52:17 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1881239 Bytes = 1.8 MB
Load Address: 80000000
Entry Point: 802d8000
raspi_read: from:20040 len:1cb497
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux(at address 802d8000) ...
## Giving linux memsize in MB, 32
Starting kernel ...
LINUX started...
THIS IS ASIC
Linux version 2.6.21 (root@bt)(gcc version 3.4.2) #27 Mon Jan 2 10:51:49 EST 2012
The CPU feqenuce set to 320 MHz
CPU revision is: 0001964c
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Initrd not found or empty -disabling initrd
Built 1 zonelists. Total pages: 8128
Kernel command line:console=ttyS1,57600n8 root=/dev/ram0
Primary instruction cache 32kB,physically tagged, 4-way, linesize 32 bytes.
Primary data cache 16kB, 4-way,linesize 32 bytes.
goahead:waiting for nvram_daemon Will output 1024 bit dss secret key to'/etc/dropbear/dropbear_dss_host_key'
Generatingkey, this may take a while...
internet.sh
[font='Times New Roman', serif]/* 以下省略[font='Times New Roman', serif]N多行[font='Times New Roman', serif]********************/
换上的flash已经烧好固件,直接上电,发现启动不了,报自检出错,这个错误换flash之前刷了有的版本也报Bad Magic Number,
##### The CPU freq = 320 MHZ ####
SDRAM bus set to 16 bit
SDRAM size =32 Mbytes
Please choose the operation:
1: Boot system code via Flash (default).
2: Load system code then write to Flash via TFTP.
3: Entr boot command line interface.
booting from flash
## Booting image at bf020000 ...
raspi_read: from:20000 len:40Bad Magic Number,48445230