|
通过TTL线连接,bootload中选择“ 2: Load system code then write to Flash via TFTP ”刷机…………提示done完成后启动还是报错,看来是变砖了,把记录贴上来,请大家点拨一二。
U-Boot 1.1.3 (Dec 24 2014 - 10:26:40)
Board: Ralink APSoC DRAM: 128 MB
Reserving 4M for kernel logbuffer at 87bffc00
relocate_code Pointer at: 87b70000
enable ephy clock...done. rf reg 29 = 5
SSC disabled.
****************************
Software System Reset Occurred
****************************
spi_wait_nsec: 29
spi device id: ef 40 18 0 0 (40180000)
find flash: W25Q128BV
raspi_read: from:30000 len:1000
* Warning - bad CRC, using default environment
============================================
Ralink UBoot Version: 4.2.1.0
UBoot Software Version: 1.0.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 24 2014 Time:10:26:40
============================================
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
raspi_read: from:40028 len:6
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. 1
You choosed 2
0
2: System Load Linux Kernel then write to Flash via TFTP.
Warning!! Erase Linux in Flash then burn new one. Are you sure?(Y/N)
Please Input new ones /or Ctrl-C to discard
Input device IP (192.168.1.253) ==:192.168.0.1
Input server IP (192.168.1.254) ==:192.168.0.2
Input Linux Kernel filename () ==penwrt-15.05-ramips-mt7620-mt7620a_mt7610e-squashfs-sysupgrade.bin
netboot_common, argc= 3
NetTxPacket = 0x87BB5E00
KSEG1ADDR(NetTxPacket) = 0xA7BB5E00
NetLoop,call eth_halt !
NetLoop,call eth_init !
Trying Eth0 (10/100-M)
Waitting for RX_DMA_BUSY status Start... done
ETH_STATE_ACTIVE!!
TFTP from server 192.168.0.2; our IP address is 192.168.0.1
Filename 'openwrt-15.05-ramips-mt7620-mt7620a_mt7610e-squashfs-sysupgrade.bin'.
TIMEOUT_COUNT=3,Load address: 0x80100000
Loading: Got ARP REPLY, set server/gtwy eth addr (3c:97:0e:8b:0d:a8)
Got it
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
##################################################Got ARP REQUEST, return our IP
###############
#################################################################
################
done
Bytes transferred = 3407876 (340004 hex)
NetBootFileXferSize= 00340004
raspi_erase_write: offs:50000, count:340004
raspi_erase: offs:50000 len:340000
....................................................
raspi_write: to:50000 len:340000
....................................................
raspi_read: from:50000 len:10000
raspi_read: from:60000 len:10000
raspi_read: from:70000 len:10000
raspi_read: from:80000 len:10000
raspi_read: from:90000 len:10000
raspi_read: from:a0000 len:10000
raspi_read: from:b0000 len:10000
raspi_read: from:c0000 len:10000
raspi_read: from:d0000 len:10000
raspi_read: from:e0000 len:10000
raspi_read: from:f0000 len:10000
raspi_read: from:100000 len:10000
raspi_read: from:110000 len:10000
raspi_read: from:120000 len:10000
raspi_read: from:130000 len:10000
raspi_read: from:140000 len:10000
raspi_read: from:150000 len:10000
raspi_read: from:160000 len:10000
raspi_read: from:170000 len:10000
raspi_read: from:180000 len:10000
raspi_read: from:190000 len:10000
raspi_read: from:1a0000 len:10000
raspi_read: from:1b0000 len:10000
raspi_read: from:1c0000 len:10000
raspi_read: from:1d0000 len:10000
raspi_read: from:1e0000 len:10000
raspi_read: from:1f0000 len:10000
raspi_read: from:200000 len:10000
raspi_read: from:210000 len:10000
raspi_read: from:220000 len:10000
raspi_read: from:230000 len:10000
raspi_read: from:240000 len:10000
raspi_read: from:250000 len:10000
raspi_read: from:260000 len:10000
raspi_read: from:270000 len:10000
raspi_read: from:280000 len:10000
raspi_read: from:290000 len:10000
raspi_read: from:2a0000 len:10000
raspi_read: from:2b0000 len:10000
raspi_read: from:2c0000 len:10000
raspi_read: from:2d0000 len:10000
raspi_read: from:2e0000 len:10000
raspi_read: from:2f0000 len:10000
raspi_read: from:300000 len:10000
raspi_read: from:310000 len:10000
raspi_read: from:320000 len:10000
raspi_read: from:330000 len:10000
raspi_read: from:340000 len:10000
raspi_read: from:350000 len:10000
raspi_read: from:360000 len:10000
raspi_read: from:370000 len:10000
raspi_read: from:380000 len:10000
raspi_read: from:390000 len:10000
raspi_erase: offs:390000 len:10000
.
raspi_write: to:390000 len:10000
.
raspi_read: from:390000 len:10000
Done!
## Booting image at bc050000 ...
raspi_read: from:50000 len:40
Image Name: MIPS OpenWrt Linux-3.18.20
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1099949 Bytes = 1 MB
Load Address: 80000000
Entry Point: 80000000
raspi_read: from:50040 len:10c8ad
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 128
Starting kernel ...
[ 0.000000] Linux version 3.18.20 (buildbot@builder1) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r46450) ) #1 Fri Sep 4 18:55:05 CEST 2015
[ 0.000000] Board has DDR2
[ 0.000000] Analog PMU set to hw control
[ 0.000000] Digital PMU set to hw control
[ 0.000000] SoC Type: Ralink MT7620A ver:2 eco:6
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[ 0.000000] MIPS: machine is Ralink MT7620A evaluation board
[ 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] Initmem setup node 0 [mem 0x00000000-0x07ffffff]
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, 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=ttyS0,57600 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=0006f2d0
[ 0.000000] Readback ErrCtl register=0006f2d0
[ 0.000000] Memory: 126332K/131072K available (2656K kernel code, 131K rwdata, 340K rodata, 192K init, 190K bss, 4740K reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:256
[ 0.000000] CPU Clock: 580MHz
[ 0.000000] systick: running - mult: 214748, shift: 32
[ 0.010000] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[ 0.070000] pid_max: default: 32768 minimum: 301
[ 0.070000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.080000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.090000] pinctrl core: initialized pinctrl subsystem
[ 0.100000] NET: Registered protocol family 16
[ 0.110000] pinctrl core: failed to register map default (0): invalid type given
[ 0.120000] Kernel bug detected[#1]:
[ 0.120000] CPU: 0 PID: 1 Comm: swapper Not tainted 3.18.20 #1
[ 0.120000] task: 87828000 ti: 8782c000 task.ti: 8782c000
[ 0.120000] $ 0 : 00000000 00000000 81002860 00000001
[ 0.120000] $ 4 : 00000000 80143984 80143984 00000000
[ 0.120000] $ 8 : 0000006e 64696c61 70797420 69672065
[ 0.120000] $12 : 6c696166 00000007 00000000 74206465
[ 0.120000] $16 : 8787fc80 8787fc18 8787fc18 00100100
[ 0.120000] $20 : 00200200 81105c94 81105d04 81105bc8
[ 0.120000] $24 : 00000003 80163704
[ 0.120000] $28 : 8782c000 8782db20 811015c8 80163074
[ 0.120000] Hi : 0000044c
[ 0.120000] Lo : 00001130
[ 0.120000] epc : 8009b268 0x8009b268
[ 0.120000] Not tainted
[ 0.120000] ra : 80163074 0x80163074
[ 0.120000] Status: 11008403 KERNEL EXL IE
[ 0.120000] Cause : 10800034
[ 0.120000] PrId : 00019650 (MIPS 24KEc)
[ 0.120000] Modules linked in:
[ 0.120000] Process swapper (pid: 1, threadinfo=8782c000, task=87828000, tls=00000000)
[ 0.120000] Stack : 00000000 00000000 8787fc00 00000000 8787fc00 ffffffea 00000000 8787b700
00000000 80163344 00000000 00000000 00000000 00000318 00000006 00000007
00000006 80143984 00000001 811015c8 811015dc 00000000 8787fc00 80366bc0
8786d510 8787fb80 00000048 8787c37c 00000049 80300000 803061b8 80160cf0
00000048 8787c370 00000048 802a0000 8787b690 8004722c 8787b700 80300000
...
[ 0.120000] Call Trace:[<80163344>] 0x80163344
[ 0.120000] [<80143984>] 0x80143984
[ 0.120000] [<80160cf0>] 0x80160cf0
[ 0.120000] [<8004722c>] 0x8004722c
[ 0.120000] [<801612e4>] 0x801612e4
[ 0.120000] [<80163bdc>] 0x80163bdc
[ 0.120000] [<800f17dc>] 0x800f17dc
[ 0.120000] [<80310230>] 0x80310230
[ 0.120000] [<8019a608>] 0x8019a608
[ 0.120000] [<8019a700>] 0x8019a700
[ 0.120000] [<80198ee0>] 0x80198ee0
[ 0.120000] [<80199078>] 0x80199078
[ 0.120000] [<8019902c>] 0x8019902c
[ 0.120000] [<801974d0>] 0x801974d0
[ 0.120000] [<80198dcc>] 0x80198dcc
[ 0.120000] [<801420ec>] 0x801420ec
[ 0.120000] [<8019834c>] 0x8019834c
[ 0.120000] [<801965fc>] 0x801965fc
[ 0.120000] [<801ceaa4>] 0x801ceaa4
[ 0.120000] [<801cfa48>] 0x801cfa48
[ 0.120000] [<801ce5c0>] 0x801ce5c0
[ 0.120000] [<801cfb98>] 0x801cfb98
[ 0.120000] [<801420ec>] 0x801420ec
[ 0.120000] [<801cfd9c>] 0x801cfd9c
[ 0.120000] [<80199ef0>] 0x80199ef0
[ 0.120000] [<80199fa8>] 0x80199fa8
[ 0.120000] [<80312810>] 0x80312810
[ 0.120000] [<80312878>] 0x80312878
[ 0.120000] [<8031eaac>] 0x8031eaac
[ 0.120000] [<80320ed4>] 0x80320ed4
[ 0.120000] [<8000d4cc>] 0x8000d4cc
[ 0.120000] [<80194f0c>] 0x80194f0c
[ 0.120000] [<800392bc>] 0x800392bc
[ 0.120000] [<80310c14>] 0x80310c14
[ 0.120000] [<80310230>] 0x80310230
[ 0.120000] [<800091f0>] 0x800091f0
[ 0.120000] [<80009200>] 0x80009200
[ 0.120000] [<800091f0>] 0x800091f0
[ 0.120000] [<80004878>] 0x80004878
[ 0.120000]
[ 0.120000]
Code: 8c430000 3063c000 2c630001 <00030336> 8c450000 7ca50380 10a00002 00000000 8c450038
[ 0.130000] ---[ end trace 6a3a8b4b28387fd7 ]-
[ 0.130000] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[ 0.130000]
[ 0.130000] -[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[ 0.130000]
[ 82.560000] random: nonblocking pool is initialize
|
|