Hello,
I am using PowerTrace (MDS) to trace applications on EVM3530 board. All I have done is below
1. Power on PowerTrace, connect it to PC via USB cable, connect it to EVM board via ETM cable
2. Power on EVM board
This is what I see while linux is starting
///////////////////////////////////////////////////////////////////////////////////////////////////////////
OMAP35X-Family-GP rev 2, CPU-OPP2 L3-165MHz
OMAP3 EVM board + LPDDR/NAND
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 6 5 4 3 2 1 0
NAND read: device 0 offset 0x280000, size 0x220000
2228224 bytes read: OK
## Booting kernel from Legacy Image at 80000000 ...
Image Name: Linux-2.6.29-rc3-omap1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2128064 Bytes = 2 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux........................................................................................................................................... done, booting the kernel.
<5>Linux version 2.6.29-rc3-omap1 (x0029463@psplinux050) (gcc version 4.2.3 (Sourcery G++ Lite 2008q1-126)) #1 Mon Sep 14 13:51:49 IST 2009
CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c5387f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: OMAP3 EVM
Memory policy: ECC disabled, Data cache writeback
<7>On node 0 totalpages: 25344
<7>free_area_init_node: node 0, pgdat c0440c24, node_mem_map c0464000
<7> Normal zone: 198 pages used for memmap
<7> Normal zone: 0 pages reserved
<7> Normal zone: 25146 pages, LIFO batch:7
<6>OMAP3530 ES3.1 (full speed SGX, IVA2)
<6>SRAM: Mapped pa 0x40200000 to va 0xd7000000 size: 0x100000
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 25146
<5>Kernel command line: mem=99M console=ttyS0,115200n8 noinitrd ip=dhcp rw root=/dev/nfs nfsroot=192.168.1.10:/home/thuhang/workdir/filesys,nolock mpurate=600 omapfb.rotate=1 omapfb.rotate_type=1 omap_vout.vid1_static_vrfb_alloc=y ip=192.168.1.40:192.168.1.10::255.255.254.0::eth0:on
<6>Clocking rate (Crystal/DPLL/MPU core): 26.0/332/500 MHz
<6>IVA2 clocking rate: 360 MHz
<6>Reprogramming SDRC
<6>GPMC revision 5.0
<6>IRQ: Found an INTC at 0xd8200000 (revision 4.0) with 96 interrupts
<6>Total of 96 interrupts on 1 active controller
<6>OMAP34xx GPIO hardware version 2.5
PID hash table entries: 512 (order: 9, 2048 bytes)
<6>OMAP clockevent source: GPTIMER1 at 32768 Hz
Console: colour dummy device 80x30
<6>Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
<6>Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
<6>Memory: 99MB = 99MB total
<5>Memory: 95800KB available (3928K code, 370K data, 156K init)
<6>Calibrating delay loop... 499.92 BogoMIPS (lpj=1949696)
Mount-cache hash table entries: 512
<6>CPU: Testing write buffer coherency: ok
<6>net_namespace: 520 bytes
<6>NET: Registered protocol family 16
<4>MUX: setup AF26_34XX_GPIO0 (0xd80021e0): 0x011c -> 0x0118
<4>MUX: setup L8_34XX_GPIO63 (0xd80020ce): 0x0118 -> 0x0004
<4>MUX: setup AF9_34XX_GPIO22 (0xd80025ec): 0x0100 -> 0x011c
<4>MUX: setup U3_34XX_GPIO61 (0xd80020c8): 0x0118 -> 0x011c
<4>MUX: setup AH14_34XX_GPIO21 (0xd80025ea): 0x0100 -> 0x011c
<4>MUX: setup AA10_3430_USB2HS_PHY_STP (0xd80025f2): 0x0100 -> 0x0003
<4>MUX: setup AA8_3430_USB2HS_PHY_CLK (0xd80025f0): 0x0100 -> 0x0003
<4>MUX: setup AA9_3430_USB2HS_PHY_DIR (0xd80025f4): 0x0100 -> 0x010b
<4>MUX: setup AB11_3430_USB2HS_PHY_NXT (0xd80025f6): 0x0100 -> 0x010b
<4>MUX: setup AB10_3430_USB2HS_PHY_D0 (0xd80025f8): 0x0100 -> 0x010b
<4>MUX: setup AB9_3430_USB2HS_PHY_D1 (0xd80025fa): 0x0100 -> 0x010b
<4>MUX: setup W3_3430_USB2HS_PHY_D2 (0xd80021d4): 0x0108 -> 0x010b
<4>MUX: setup T4_3430_USB2HS_PHY_D3 (0xd80021de): 0x0108 -> 0x010b
<4>MUX: setup T3_3430_USB2HS_PHY_D4 (0xd80021d8): 0x0100 -> 0x010b
<4>MUX: setup R3_3430_USB2HS_PHY_D5 (0xd80021da): 0x0100 -> 0x010b
<4>MUX: setup R4_3430_USB2HS_PHY_D6 (0xd80021dc): 0x0108 -> 0x010b
<4>MUX: setup T2_3430_USB2HS_PHY_D7 (0xd80021d6): 0x0100 -> 0x010b
<3>twl4030: client 1 is not initialized
<3>twl4030: client 1 is not initialized
<4>MUX: setup AA21_34XX_GPIO157 (0xd800218e): 0x0018 -> 0x011c
<4>MUX: setup C23_34XX_GPIO98 (0xd8002114): 0x0004 -> 0x011c
<6>omap3evmdc: Driver registration complete
<6>Switched to new clocking rate (Crystal/Core/MPU): 26.0/332/600 MHz
<6>IVA2 clocking rate: 430 MHz
<6>Calibrating delay loop... 597.64 BogoMIPS (lpj=2334720)
<6>OMAP DMA hardware revision 4.0
<3>USB: No board-specific platform config found
<6>OMAP DSS rev 2.0
<6>OMAP DISPC rev 3.0
<6>OMAP VENC rev 2
<6>OMAP DSI rev 1.0
bio: create slab <bio-0> at 0
<6>i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz
<3>i2c_omap i2c_omap.1: controller timed out waiting for start condition to finish
<3>i2c_omap i2c_omap.1: controller timed out waiting for start condition to finish
<3>i2c_omap i2c_omap.1: controller timed out waiting for start condition to finish
<3>i2c_omap i2c_omap.1: controller timed out waiting for start condition to finish
<3>twl4030: clock init err [-110]
<3>i2c_omap i2c_omap.1: controller timed out waiting for start condition to finish
<3>twl4030: err -110 initializing gpio IMR
<3>i2c_omap i2c_omap.1: controller timed out waiting for start condition to finish
<3>twl4030: err -110 initializing gpio SIH_CTRL
<3>i2c_omap i2c_omap.1: controller timed out waiting for start condition to finish
<3>twl4030: err -110 initializing keypad IMR
<3>i2c_omap i2c_omap.1: controller timed out waiting for start condition to finish
.....................................
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
And I have to wait for a long long time until it appears the login line.
The SW4: 2,4 is on (I also try the case of that 2,4,6 is on) and the SW1: 6 is on (I also try the case of that none is on) but the result is the same as above
Linux runs normally if I don't plug in the ETM cable
It seems that the ETM port is muxed with some other peripheral port and when ETM port is active, it sill detects other modes also. But I don't know how to fix so that linux can run normally as not pluging in the ETM cable.
Please give me some advice
Thanks
Hang