|
改了board_type文件,机器挂了,无限重启,ttl 用常用的 d 和ctrl+c 不能终止,求刷机救砖方案。nand的编程器太贵了 不舍得买 不然就不用这么纠结了。。。
ttl信息如下
HuaWei StartCode 2012.02 (R16C10 Mar 18 2016 - 23:27:59)
NAND: Nand ID: 0x2C 0xF1 0x80 0x95 0x04 0x00 0x00 0x00
NAND FLASH Enter Low Driver Mode
ECC Match pagesize:2K, oobzie:64, ecctype:4bit
Nand(Hardware): 128 MiB
startcode select the uboot to load
the high RAM is :8040103c
startcode uboot boot count:0
use the main slave_param area from flash, the RAM data is not OK!!!
Use the UbootA to load first
Use the UbootA to load success
U-Boot 2010.03 (R16C10 Jun 05 2016 - 19:57:32)
DRAM: 64 MB
Boot From NAND flash
Chip Type is SD5116L
NAND: Special Nand id table Version 1.23
Nand ID: 0x2C 0xF1 0x80 0x95 0x04 0x00 0x00 0x00
NAND FLASH Enter Low Driver Mode
ECC Match pagesize:2K, oobzie:64, ecctype:4bit
Nand(Hardware): Block:128KB Page:2KB Chip:128MB*1 OOB:64B ECC:4bit
128 MiB
Using default environment
In: serial
Out: serial
Err: serial
PHY power down !!!
[main.c__6080]::CRC:0x3d80a8b4, Magic1:0x5a5a5a5a, Magic2:0xa5a5a5a5, count:0, CommitedArea:0x0, Active:0x0, RunFlag:0x0
Start from main system(0x0)!
CRC:0x3d80a8b4, Magic1:0x5a5a5a5a, Magic2:0xa5a5a5a5, count:1, CommitedArea:0x0, Active:0x0, RunFlag:0x0
0x000000100000-0x000008000000 : "mtd=1"
UBI: attaching mtd1 to ubi0
Main area (A) is OK!
CRC:0x93e83925, Magic1:0x5a5a5a5a, Magic2:0xa5a5a5a5, count:1, CommitedArea:0x0, Active:0x0, RunFlag:0x0
Bootcmd:ubi read 0x82a00000 kernelA 0x19e7d2; bootm 0x82a00054
BootArgs:noalign mem=59M console=ttyAMA1,115200 ubi.mtd=1 root=/dev/mtdblock11 rootfstype=squashfs mtdparts=hinand:0x100000(startcode),0x7f00000(ubifs),-(reserved) pcie0_sel=x1 maxcpus=0 l2_cache=off user_debug=0x1f panic=1 skb_priv=128 debug_ll=on
U-boot Start from NORMAL Mode!
## Booting kernel from Legacy Image at 82a00054 ...
Image Name: Linux-3.10.53-HULK2
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1697598 Bytes = 1.6 MB
Load Address: 80e08000
Entry Point: 80e08000
Memory Start: 80500000
Loading Kernel Image ... OK
OK
kernel loaded at 0x80508000, end = 0x806a673e
Starting kernel ...
Uart base = 0x1010F000
dtb addr = 0x80B00DE0
Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0x0
Linux version 3.10.53-HULK2 (ci@SZX1000044441) (gcc version 4.7.1 (SDK V100R005C00SPC030B050) ) #1 SMP Tue Mar 15 08:08:35 UTC 2016
CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Hisilicon A9, model: HISI-CA9
skbuff priv len is 128.
Memory policy: ECC disabled, Data cache writealloc
On node 0 totalpages: 15104
free_area_init_node: node 0, pgdat c045eb40, node_mem_map c048a800
Normal zone: 148 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 15104 pages, LIFO batch:3
[dts]:cpu type is 5115
PERCPU: Embedded 7 pages/cpu @c0522000 s7488 r8192 d12992 u32768
pcpu-alloc: s7488 r8192 d12992 u32768 alloc=8*4096
pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 14956
Kernel command line: noalign mem=59M console=ttyAMA1,115200 ubi.mtd=1 root=/dev/mtdblock11 rootfstype=squashfs mtdparts=hinand:0x100000(startcode),0x7f00000(ubifs),-(reserved) pcie0_sel=x1 maxcpus=0 l2_cache=off user_debug=0x1f panic=1 skb_priv=128 debug_ll=on
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 59MB = 59MB total
Memory: 54952k/54952k available, 5464k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffe00000 - 0xfffe0000 (1920 kB)
vmalloc : 0xc4000000 - 0xff000000 ( 944 MB)
lowmem : 0xc0000000 - 0xc3b00000 ( 59 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc03f4880 (4019 kB)
.init : 0xc03f5000 - 0xc0421d40 ( 180 kB)
.data : 0xc0422000 - 0xc0462a20 ( 259 kB)
.bss : 0xc0462a20 - 0xc0487748 ( 148 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:512
sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 42949ms
Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
pid_max: default: 32768 minimum: 301
Security Framework initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0xc02e5ff0 - 0xc02e6024
Brought up 1 CPUs
SMP: Total of 1 processors activated (996.14 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
The bootargs of l2_cache= is not on, maybe the soc haven't l2 cache
bio: create slab <bio-0> at 0
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource arm,sp804
NET: Registered protocol family 2
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP: reno registered
UDP hash table entries: 256 (order: 1, 12288 bytes)
UDP-Lite hash table entries: 256 (order: 1, 12288 bytes)
NET: Registered protocol family 1
PCI: CLS 0 bytes, default 64
squashfs: version 4.0 (2009/01/31) Phillip Lougher
jffs2: version 2.2. © 2001-2006 Red Hat, Inc.
fuse init (API version 7.22)
msgmni has been set to 107
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
brd: module loaded
mtdoops: mtd device (mtddev=name/number) must be supplied
Spi id table Version 1.22
SD511x chip id:0x51163100
Special nand id table Version 1.33
Hisilicon Nand Flash Controller V301 Device Driver, Version 1.10
Nand ID: 0x2C 0xF1 0x80 0x95 0x04 0x00 0x00 0x00
Nand(Hardware): Block:128KB Page:2KB Chip:128MB OOB:64B ECC:4bit
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xf1 (Micron MT29F1G08ABAEAWP:E), 128MiB, page size: 2048, OOB size: 64
NAND_ECC_NONE selected by board driver. This is not recommended!
3 cmdlinepart partitions found on MTD device hinand
Creating 3 MTD partitions on "hinand":
0x000000000000-0x000000100000 : "startcode"
0x000000100000-0x000008000000 : "ubifs"
0x000008000000-0x000008000000 : "reserved"
mtd: partition "reserved" is out of reach -- disabled
softdog: Software Watchdog Timer: 0.08 initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0)
TCP: cubic registered
NET: Registered protocol family 17
ThumbEE CPU extension supported.
mapp kbox ddrram_address=0, ddrram_size=0 fail[WARNNING]:Kbox device descriptor struct kbox_dev_des Intialization Failed
kbox: init ddrram fail ret=-99
kbox: load OK
UBI: attaching mtd1 to ubi0
UBI: scanning is finished
UBI: attached mtd1 (name "ubifs", size 127 MiB) to ubi0
UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
UBI: good PEBs: 1016, bad PEBs: 0, corrupted PEBs: 0
UBI: user volume: 14, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 24/11, WL threshold: 512, image sequence number: 1826723822
UBI: available PEBs: 288, total reserved PEBs: 728, PEBs reserved for bad PEB handling: 20
UBI: background thread "ubi_bgt0d" started, PID 250
Warning: unable to open an initial console.
squashfs_cache_init: sqcachesize=8.
VFS: Mounted root (squashfs filesystem) readonly on device 31:11.
Freeing unused kernel memory: 176K (c03f5000 - c0421000)
******** Total Boot time: 1627 ms, uncompress initrd cost 0 ms ********
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
1010e000.uart: ttyAMA0 at MMIO 0x1010e000 (irq = 77) is a 16550A
mount file system
Loading the kernel modules:
Loading module: rng-core
Loading module: nf_conntrack
Loading module: xt_mark
Loading module: xt_connmark
Loading module: xt_MARK
modprobe: module xt_MARK not found in modules.dep
Loading module: xt_limit
Loading module: xt_state
Loading module: xt_tcpmss
Loading module: nf_nat
Loading module: ipt_MASQUERADE
Loading module: ipt_REDIRECT
modprobe: module ipt_REDIRECT not found in modules.dep
Loading module: ipt_NETMAP
modprobe: module ipt_NETMAP not found in modules.dep
Loading module: nf_conntrack_ipv4.ko
Loading module: nfnetlink.ko
Loading module: nfnetlink_log.ko
Loading module: nfnetlink_queue.ko
Loading module: xt_HL.ko
Loading module: xt_iprange.ko
Loading module: xt_multiport.ko
Loading module: arp_tables.ko
Loading module: arptable_filter.ko
Loading module: ip_tables.ko
Loading module: iptable_filter.ko
Loading module: iptable_mangle.ko
Loading module: arpt_mangle.ko
Loading module: iptable_raw.ko
Loading module: iptable_nat.ko
Loading module: ipt_ULOG.ko
Loading module: ipt_REJECT.ko
Loading module: ipt_ECN.ko
Loading module: ipt_ah.ko
Loading module: xt_LOG.ko
Setting console log message level:
Setting hostname:
Settingup the sysctl configurations:
Setting up interface lo:
Running local startup scripts.
current lastword info:Add=0xc4c01000;max_num=300;Add1=0xc4c01000;Add2=0xc4c06000;Add3=0xc4c0b000;
cp: can't stat '/etc/wap/group': No such file or directory
chmod: /var/group: No such file or directory
chown: unknown user/group osgi:osgi
chown: unknown group cplugin
Rootfs time stamp:2016-06-05_20:00:00
SVN label(ont):net.ipv6.ip6frag_high_thresh = 262144
net.ipv6.ip6frag_low_thresh = 196608
sysctl: error: 'net.netfilter.nf_conntrack_frag6_high_thresh' is an unknown key
sysctl: error: 'net.netfilter.nf_conntrack_frag6_low_thresh' is an unknown key
net.ipv4.neigh.default.base_reachable_time = 300
ICMPv6: process `sysctl' is using deprecated sysctl (syscall) net.ipv6.neigh.default.base_reachable_time - use net.ipv6.neigh.default.base_reachable_time_ms instead
net.ipv6.neigh.default.base_reachable_time = 300
xpon_mode:1
User init start......
Loading the HISI SD511X modules:
SYSCTL module is installed
SPI module is installed
GPIO module is installed
I2C module is installed
TIMER23 module is installed
SERDES module is intalled
HW module is installed
DMA module is installed
CHIP module is installed
set mac work mode ge...set port mode PMODE_SGMII...set port tx/rx enable...set mac work mode ge...set port mode PMODE_SGMII...set port tx/rx enable...
hi_adp_cnt module is installed
BRIDGE module is installed
PIE USE 1 cpus
bbsp pie install ....................... [OK]
PIE module is installed
PON_LP module is installed
gpon_api module is installed
GPON module is installed
epon_api module is installed
EPON module is installed
------ SOC is 5116L PILOT ------
COMMON For LDSP Install Successfully...
insmod hi_l3.ko napt_ext_ipv4_mode=2 napt_ext_ipv6_mode=2
L3 module is installed
L3 API module is installed!
ifconfig eth0 hw ether 74:A0:63:5F:AE:C2
I2C For LDSP Install Successfully...
GPIO For LDSP Install Successfully...
OPTIC For LDSP Install Successfully...
KEY For LDSP Install Successfully...
LED For LDSP Install Successfully...
<ldsp>board version is 7021
<ldsp>pcb version is 0
<ldsp>orig board version is 6
DEV For LDSP Install Successfully...
[DM]:board_ver=7021,pcb_ver=0
[DM]:Can not find topo file in /etc/wap/dm.cfg/topo_relation.cfg. [ui_board_ver=7021, ui_pcb_ver=0]
Kernel panic - not syncing: [DM]Get topo config file Error!
Rebooting in 3 seconds..
l2cache_base NULL
Wdt chip reset!!
----reset by wdt----
|
|