This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[OMAP3530] kernel hangup on boot try to communicate to the twl4030

Other Parts Discussed in Thread: TPS65950, OMAP3530, SYSCONFIG

hi all

i have new card copy like the mistral board

the board contained  the cpu omap3530 and the PM twl4030(tps65950)

the kernel from ti BSP OMAP35x_SDK_1.0.2.

i boot the card from the UART 3 and load the u-boot

load the kernel and boot the kernel from the sram

bootargs=mem=128M console=ttyS0,115200n8 root=/dev/ram0 initrd=0x81600000,40M ramdisk_size=40960

the kernel hangup on

OMAP3_EVM # bootm
## Booting kernel from Legacy Image at 80000000 ...
   Image Name:   Linux-2.6.22.18-omap3
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1999080 Bytes =  1.9 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.22.18-omap3 (dorons@mazurka) (gcc version 4.2.0 20070413 (prerelease) (CodeSourcery Sourcery G++ Lite 2007q1-10)) #43 Sun Mar 28 13:24:14 IDT 2010
CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=00c5387f
Machine: OMAP3EVM Board
Memory policy: ECC disabled, Data cache writeback
<7>On node 0 totalpages: 32768
<7>  DMA zone: 256 pages used for memmap
<7>  DMA zone: 0 pages reserved
<7>  DMA zone: 32512 pages, LIFO batch:7
<7>  Normal zone: 0 pages used for memmap
<4>BUG: map for 0x50000000 at 0xe0000000 can not be mapped using pages, ignoring.
<6>OMAP3430ES1
<6>SRAM: Mapped pa 0x40200000 to va 0xd7000000 size: 0x100000
CPU0: D VIPT write-through cache
CPU0: cache: 768 bytes, associativity 1, 8 byte lines, 64 sets
Built 1 zonelists.  Total pages: 32512
<5>Kernel command line: mem=128M console=ttyS0,115200n8 root=/dev/ram0 initrd=0x81600000,40M ramdisk_size=40960
<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)
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
<6>Memory: 128MB = 128MB total
<5>Memory: 84608KB available (3704K code, 451K data, 144K init)
<7>Calibrating delay loop... 499.92 BogoMIPS (lpj=1949696)
Mount-cache hash table entries: 512
<6>CPU: Testing write buffer coherency: ok
<6>NET: Registered protocol family 16
<3>twl4030: I2C Client[3] is not initialized[513]
<3>twl4030: I2C Client[3] is not initialized[462]
<6>SmartReflex driver initialized
<6>OMAP DMA hardware revision 4.0
<6>OMAP Display hardware version 2.0
<6>i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz
<6>i2c_omap i2c_omap.2: bus 2 rev3.12 at 100 kHz
<6>i2c_omap i2c_omap.3: bus 3 rev3.12 at 400 kHz
<6>TWL4030: TRY attach Slave TWL4030-ID0 on Adapter OMAP I2C adapter [1]
<6>TWL4030: TRY attach Slave TWL4030-ID1 on Adapter OMAP I2C adapter [1]
<6>TWL4030: TRY attach Slave TWL4030-ID2 on Adapter OMAP I2C adapter [1]
<6>TWL4030: TRY attach Slave TWL4030-ID3 on Adapter OMAP I2C adapter [1]
<6>TWL4030 Power Companion Active
<6><6>TWL4030: Driver registration complete.
<6>TWL4030 GPIO Demux: IRQ Range 376 to 386, Initialization Success
<7>     Device NOT-ATTACHED at bootup
<6>Initialized TWL4030 USB module<5>SCSI subsystem initialized
omap2_mcspi_probe: spi1: base = 0xd8098000 start = 0x48098000
omap2_mcspi_probe: spi2: base = 0xd809a000 start = 0x4809a000
omap2_mcspi_probe: spi3: base = 0xd80b8000 start = 0x480b8000
omap2_mcspi_probe: spi4: base = 0xd80ba000 start = 0x480ba000
<6>usbcore: registered new interface driver usbfs
<6>usbcore: registered new interface driver hub
<6>usbcore: registered new device driver usb
<6>musb_hdrc: version 2.2a/db-0.5.2/dbg, musb-dma, host, debug=1
musb_platform_resume 171:
3430-resume()<7>HS USB OTG: revision 0x33, sysconfig 0x2015, sysstatus 0x1, intrfsel 0x1, simenable  0x0
<7>musb_hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine (X), bulk split (X), HB-ISO Rx (X), HB-ISO Tx (X), SoftConn)
<7>musb_hdrc: MHDRC RTL version 1.400
<7>musb_hdrc: setup fifo_mode 4
<7>musb_hdrc: 29/33 max ep, 16384/16384 memory
<7>musb_hdrc: hw_ep 0shared, max 64
<7>musb_hdrc: hw_ep 1tx, max 512
<7>musb_hdrc: hw_ep 1rx, max 512
<7>musb_hdrc: hw_ep 2tx, max 512
<7>musb_hdrc: hw_ep 2rx, max 512
<7>musb_hdrc: hw_ep 3tx, max 512
<7>musb_hdrc: hw_ep 3rx, max 512
<7>musb_hdrc: hw_ep 4tx, max 512
<7>musb_hdrc: hw_ep 4rx, max 512
<7>musb_hdrc: hw_ep 5tx, max 512
<7>musb_hdrc: hw_ep 5rx, max 512
<7>musb_hdrc: hw_ep 6tx, max 512
<7>musb_hdrc: hw_ep 6rx, max 512
<7>musb_hdrc: hw_ep 7tx, max 512
<7>musb_hdrc: hw_ep 7rx, max 512
<7>musb_hdrc: hw_ep 8tx, max 512
<7>musb_hdrc: hw_ep 8rx, max 64
<7>musb_hdrc: hw_ep 9tx, max 512
<7>musb_hdrc: hw_ep 9rx, max 64
<7>musb_hdrc: hw_ep 10tx, max 512
<7>musb_hdrc: hw_ep 10rx, max 64
<7>musb_hdrc: hw_ep 11tx, max 256
<7>musb_hdrc: hw_ep 11rx, max 256
<7>musb_hdrc: hw_ep 12tx, max 256
<7>musb_hdrc: hw_ep 12rx, max 256
<7>musb_hdrc: hw_ep 13tx, max 256
<7>musb_hdrc: hw_ep 13rx, max 4096
<7>musb_hdrc: hw_ep 14shared, max 1024
<7>musb_hdrc: hw_ep 15shared, max 1024
<6>musb_hdrc: USB Host mode controller at c8800000 using DMA, IRQ 92
<6>musb_hdrc musb_hdrc.0: MUSB HDRC host driver
<7>drivers/usb/core/inode.c: creating file 'devices'
<7>drivers/usb/core/inode.c: creating file '001'
<6>musb_hdrc musb_hdrc.0: new USB bus registered, assigned bus number 1
<7>usb usb1: default language 0x0409
<7>usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
<6>usb usb1: Product: MUSB HDRC host driver
<6>usb usb1: Manufacturer: Linux 2.6.22.18-omap3 musb-hcd
<6>usb usb1: SerialNumber: musb_hdrc.0
<7>usb usb1: uevent
<7>usb usb1: usb_probe_device
<6>usb usb1: configuration #1 chosen from 1 choice
<7>usb usb1: adding 1-0:1.0 (config #1, interface 0)
<7>usb 1-0:1.0: uevent
<7>usb 1-0:1.0: uevent
<7>hub 1-0:1.0: usb_probe_interface
<7>hub 1-0:1.0: usb_probe_interface - got id
<6>hub 1-0:1.0: USB hub found
<6>hub 1-0:1.0: 1 port detected
<7>hub 1-0:1.0: standalone hub
<7>hub 1-0:1.0: individual port power switching
<7>hub 1-0:1.0: no over-current protection
<7>hub 1-0:1.0: Single TT
<7>hub 1-0:1.0: TT requires at most 8 FS bit times (666 ns)
<7>hub 1-0:1.0: power on to power good time: 10ms
<7>hub 1-0:1.0: local power source is good
<7>hub 1-0:1.0: enabling power on all ports
<7>hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000
<7>drivers/usb/core/inode.c: creating file '001'
musb_init_controller 2149: HOST mode, status 0, devctl 19 A
<7>Registered /proc/driver/musb_hdrc
<6>NET: Registered protocol family 2
<6>Time: 32k_counter clocksource has been installed.
<6>Switched to high resolution mode on CPU 0
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)
<6>TCP: Hash tables configured (established 4096 bind 4096)
<6>TCP reno registered
<6>checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
<6>Freeing initrd memory: 40960K
<3>Power Management for TI OMAP.
<1>Unhandled fault: external abort on non-linefetch (0x1808) at 0xd8002860
Internal error: : 1808 [#1]
Modules linked in:
CPU: 0    Not tainted  (2.6.22.18-omap3 #43)
PC is at clear_scratchpad_contents+0x28/0x54
LR is at omap3_pm_init+0x4c/0x324
pc : [<c003732c>]    lr : [<c0010d8c>]    psr: 20000013
sp : c0577f60  ip : c0577f70  fp : c0577f6c
r10: c0027000  r9 : 00000000  r8 : c0026ab8
r7 : c0576000  r6 : 00000000  r5 : 00000000  r4 : c04140a0
r3 : d8002860  r2 : 00000000  r1 : d8002a00  r0 : c03db2c0
Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  Segment kernel
Control: 00c5387f  Table: 80004018  DAC: 00000017
Process swapper (pid: 1, stack limit = 0xc05762d8)
Stack: (0xc0577f60 to 0xc0578000)
7f60: c0577f8c c0577f70 c0010d8c c0037310 c000ef50 c01a4e38 00000000 00000000
7f80: c0577ff4 c0577f90 c0008918 c0010d4c 65646f4e 2c642520 00000000 00000000
7fa0: 00000000 c0577fb0 c002cf04 c0061edc 00000000 00000000 c0008868 c0067a78
7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
7fe0: 00000000 00000000 00000000 c0577ff8 c0067a78 c0008874 2020200a 20202020
Backtrace:
[<c0037304>] (clear_scratchpad_contents+0x0/0x54) from [<c0010d8c>] (omap3_pm_init+0x4c/0x324)
[<c0010d40>] (omap3_pm_init+0x0/0x324) from [<c0008918>] (kernel_init+0xb0/0x264)
 r4:00000000
[<c0008868>] (kernel_init+0x0/0x264) from [<c0067a78>] (do_exit+0x0/0x778)
Code: 089da800 e59f3028 e59f1028 e3a02000 (e4832004)
<0>Kernel panic - not syncing: Attempted to kill init! 

 

R.G. doron sandroy

agmtonson ltd