如果codeviser不能debug请check两个地方

.mt53xx_kernel.cmm档如下位置需要对应正常启动位置②的log
 


.ko档如下位置需要对应正常启动位置①的log
 


正常启动debug版的log:
Boot-
DRAM Channel A Calibration.
Byte 0 : DQS(7 ~ 34), Size 28, Set 18.
Byte 1 : DQS(0 ~ 29), Size 30, Set 12.
DRAM A Size = 256 Mbytes.
Boot
Start Pmain
0x00002b20
LZHS addr:0x00002b80
LZHS size:0x000417f0
LZHS checksum:0x000000bb
Boot
Start Lmain

MT5365 Boot Loader v0.9
Boot reason: A/C power on!!read from eeprom
SIF_Master0: new design
SIF_Master1: old design
eeprom para:3a0(d3d340) u4MemLen:0x00000100

Load VGA internal EDID.................
-------------use external edid, disable internal edid------------------
eeprom para:140(cf0f84) u4MemLen:0x00000009
eeprom para:149(cf0f78) u4MemLen:0x00000009
eeprom para:152(cf0f6c) u4MemLen:0x00000009
eeprom para:140(cf0f38) u4MemLen:0x00000009
eeprom para:149(cf0f38) u4MemLen:0x00000009
eeprom para:152(cf0f38) u4MemLen:0x00000009
eeprom para:140(d48ad4) u4MemLen:0x00000009
Boot reason: A/C power on!!T8032 init A/C on case loader stage...
Load T8032 FW (addr: 0x  d19ca4, size: 24576)success!!
LDR_FlashCopy 0xf010 0x18f00 0x80
Detect flash #0: MXIC(25L640)
Boot reason: A/C power on!!Boot reason: A/C power on!!Boot reason: A/C power on!!WT6720 gpio init

A_Mute GPIO=326 release
AMP mute GPIO=324 release
eeprom para:140(cf0f60) u4MemLen:0x00000009
Reset Demod GPIO=320, 0->1

NOR load lzhs header from:0x40000
Decompression uboot to 0x00f00000...
LZHS hardware decode start
LZHS hardware decode done
Starting image...

U-Boot starts...

NAND Flash:  Detect NAND flash ID: 0x9510DAAD
Detect HY27UF082G2B NAND flash: 256MB
256 MiB
Booting sequence is from NAND Flash
*** Warning - bad CRC or NAND, using default environment

Erasing Nand...
Erasing at 0x200000 -- 100% complete.
Writing to Nand... done
In:    serial
Out:   serial
Err:   serial
eeprom para:140(6ffc90) u4MemLen:0x00000009
eeprom para:149(6ffc84) u4MemLen:0x00000009
eeprom para:152(6ffc78) u4MemLen:0x00000009
eeprom para:140(6ffc4c) u4MemLen:0x00000009
eeprom para:149(6ffc4c) u4MemLen:0x00000009
eeprom para:152(6ffc4c) u4MemLen:0x00000009
eeprom para:140(6ffec0) u4MemLen:0x00000009
Hit any key to stop autoboot:  0
Partition rootfsA defined at mtdparts:
ID:6, Offset:0x00c00000, Size:0x00a00000

Loading from nand0, offset 0x800000
Automatic boot of image at addr 0x00008000 ...
## Booting kernel from Legacy Image at 00008000 ...
   XIP Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux....................................................................................... done, booting the kernel.
Linux version 2.6.27 (mtk70975@mszslx09) (gcc version 4.4.2 (GCC for MediaTek 4.4.2-20100805)) #1 PREEMPT Sun Mar 6 22:28:53 CST 2011
CPU: ARMv6-compatible processor [410fb764] revision 4 (ARMv7), cr=00c5387d
Machine: MT5365
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIPT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 28956
Kernel command line: root=/dev/mtdblock6 lpj=3506176 console=ttyMT0,115200n1 mtdparts=mt53xx-nand:2M(uboot),2M(uboot_env),2M(sigA),2M(sigB),2M(kernelA),2M(ker
nelB),10M(rootfsA),10M(rootfsB),25M(basic),176M(rw_area),5M(perm),128k(reserved),2M(channelsA),2M(channelsB),2M(pq),2M(aq),3M(logo)                                     èlog ①
PID hash table entries: 512 (order: 9, 2048 bytes)
Console: colour dummy device 80x30
console [ttyMT0] enabled
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 114MB = 114MB total              èlog ②
Memory: 112752KB available (2516K code, 148K data, 88K init)
Calibrating delay loop (skipped) preset value.. 1402.47 BogoMIPS (lpj=3506176)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 288 bytes
NET: Registered protocol family 16
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
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (double precision)
squashfs: version 3.4 (2008/08/26) Phillip Lougher
msgmni has been set to 220
io scheduler noop registered (default)
Serial: MT5365 driver $Revision: #1 $
ttyMT0 at MMIO 0xf000c000 (irq = 17) is a MT5365 Serial
ttyMT1 at MMIO 0xf000c000 (irq = 17) is a MT5365 Serial
ttyMT2 at MMIO 0xf0028800 (irq = 0) is a MT5365 Serial
brd: module loaded
star: eth_base=0xc7800000
star: pinmux_base=0xc7802400
star: ipll_base1=0xc7804000
star: desc addr: 0xffc00000(virtual)/0x06c81000(physical)
Star Ethernet: IC+IP101A PHY
star: PHY addr = 0x0001
star: Star MAC init done
Detect NAND flash ID: 0x9510DAAD
Detect HY27UF082G2B NAND flash: 256MB
NAND device: Manufacturer ID: 0xad, Chip ID: 0xda (Hynix NAND 256MiB 3,3V 8-bit)
17 cmdlinepart partitions found on MTD device mt53xx-nand
Creating 17 MTD partitions on "mt53xx-nand":
0x00000000-0x00200000 : "uboot"
0x00200000-0x00400000 : "uboot_env"
0x00400000-0x00600000 : "sigA"
0x00600000-0x00800000 : "sigB"
0x00800000-0x00a00000 : "kernelA"
0x00a00000-0x00c00000 : "kernelB"
0x00c00000-0x01600000 : "rootfsA"
0x01600000-0x02000000 : "rootfsB"
0x02000000-0x03900000 : "basic"
0x03900000-0x0e900000 : "rw_area"
0x0e900000-0x0ee00000 : "perm"
0x0ee00000-0x0ee20000 : "reserved"
0x0ee20000-0x0f020000 : "channelsA"
0x0f020000-0x0f220000 : "channelsB"
0x0f220000-0x0f420000 : "pq"
0x0f420000-0x0f620000 : "aq"
0x0f620000-0x0f920000 : "logo"
TCP cubic registered
NET: Registered protocol family 17
VFS: Mounted root (squashfs filesystem) readonly.
Freeing init memory: 88K
INIT: version 2.86 booting
Mounting local filesystems: mount mount: according to /proc/mounts, /dev/root is already mounted on /
Running rc.local...
net.ipv4.tcp_window_scaling = 6
# mount basic
UBI device number 0, total 200 LEBs (25395200 bytes, 24.2 MiB), available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB)
real    0m 0.08s
user    0m 0.00s
sys     0m 0.02s
UBIFS: recovery needed
UBIFS: recovery completed
real    0m 0.05s
user    0m 0.00s
sys     0m 0.02s
#
 

你可能感兴趣的:(Linux)