Due to the USB OTG performance issues on the AM37x evm board I was suggested to use Linux PSP-03.00.02.07 (
But once I run it the kernel panics. There were no linux config/kernel command line/toolchain or any other changes.
Kernel command line: mem=96M mpurate=600 vram=8M omapdss.def_disp=lcd omapfb.rotate=1 omapfb.rotate_type=1 omap_vout.vid1_static_vrfb_alloc=y console=ttyS0,115200n8 debug earlyprintk=ttyS0,115200
Kernel log is provided below. Can someone please, tell me what is wrong?
Thank you for your help.
Eugene
Uncompressing Linux... done, booting the kernel.
Linux version 2.6.34 (titan@ubuntu) (gcc version 4.4.4 (Buildroot 2010.05) ) #2 PREEMPT Thu Jul 22 12:59:34 CDT 2010
CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: OMAP3 EVM
Reserving 8388608 bytes SDRAM for VRAM
Memory policy: ECC disabled, Data cache writeback
OMAP3630/DM3730 ES1.0 (l2cache iva sgx neon isp 192mhz_clk )
SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x100000
On node 0 totalpages: 24576
free_area_init_node: node 0, pgdat c039ce18, node_mem_map c03b5000
Normal zone: 192 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 24384 pages, LIFO batch:3
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 24384
Kernel command line: mem=96M mpurate=600 vram=8M omapdss.def_disp=lcd omapfb.rotate=1 omapfb.rotate_type=1 omap_vout.vid1_static_vrfb_alloc=y console=ttyS0,115200n8 debug earlyprintk=ttyS0,115200
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 96MB = 96MB total
Memory: 85452k/85452k available, 12852k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
vmalloc : 0xc6800000 - 0xf8000000 ( 792 MB)
lowmem : 0xc0000000 - 0xc6000000 ( 96 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.init : 0xc0008000 - 0xc0029000 ( 132 kB)
.text : 0xc0029000 - 0xc0358000 (3260 kB)
.data : 0xc036c000 - 0xc039d420 ( 198 kB)
NR_IRQS:402
Clocking rate (Crystal/Core/MPU): 26.0/400/600 MHz
(null): no physical address for uart#3, so skipping early_init...
Reprogramming SDRC clock to 400000000 Hz
GPMC revision 5.0
IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
Total of 96 interrupts on 1 active controller
OMAP GPIO hardware version 2.5
OMAP clockevent source: GPTIMER1 at 32768 Hz
Calibrating delay loop... 597.64 BogoMIPS (lpj=2334720)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
regulator: core version 0.5
NET: Registered protocol family 16
mux: Setting signal i2c2_scl.i2c2_scl 0x0118 -> 0x0100
mux: Setting signal i2c2_sda.i2c2_sda 0x0118 -> 0x0100
mux: Setting signal i2c3_scl.i2c3_scl 0x0118 -> 0x0100
mux: Setting signal i2c3_sda.i2c3_sda 0x0118 -> 0x0100
------------[ cut here ]------------
WARNING: at arch/arm/mach-omap2/serial.c:727 omap_serial_init_port+0x5c/0x2e0()
(null): can't init uart3, no clocks available
Modules linked in:
[<c002fff8>] (unwind_backtrace+0x0/0xf0) from [<c0051458>] (warn_slowpath_common+0x48/0x60)
[<c0051458>] (warn_slowpath_common+0x48/0x60) from [<c00514a8>] (warn_slowpath_fmt+0x24/0x30)
[<c00514a8>] (warn_slowpath_fmt+0x24/0x30) from [<c000cc8c>] (omap_serial_init_port+0x5c/0x2e0)
[<c000cc8c>] (omap_serial_init_port+0x5c/0x2e0) from [<c000cf38>] (omap_serial_init+0x28/0x34)
[<c000cf38>] (omap_serial_init+0x28/0x34) from [<c000ec10>] (omap3_evm_init+0xf4/0x3e0)
[<c000ec10>] (omap3_evm_init+0xf4/0x3e0) from [<c00096dc>] (customize_machine+0x18/0x24)
[<c00096dc>] (customize_machine+0x18/0x24) from [<c0029370>] (do_one_initcall+0x58/0x1b0)
[<c0029370>] (do_one_initcall+0x58/0x1b0) from [<c0008404>] (kernel_init+0xa4/0x15c)
[<c0008404>] (kernel_init+0xa4/0x15c) from [<c002af70>] (kernel_thread_exit+0x0/0x8)
---[ end trace 1b75b31a2719ed1c ]---
mux: Setting signal etk_d8.gpio22 0x0100 -> 0x011c
mux: Setting signal gpmc_nbe1.gpio61 0x0118 -> 0x011c
mux: Setting signal etk_d7.gpio21 0x0100 -> 0x011c
NAND/OneNAND: Unable to find configuration in GPMC
Switched to new clocking rate (Crystal/Core/MPU): 26.0/600/400 MHz
OMAP DMA hardware revision 5.0
bio: create slab <bio-0> at 0
tps65010: version 2 May 2005
tps65010: no chip?
SCSI subsystem initialized
i2c_omap i2c_omap.1: bus 1 rev4.0 at 2600 kHz
twl4030: PIH (irq 7) chaining IRQs 368..375
twl4030: power (irq 373) chaining IRQs 376..383
twl4030: gpio (irq 368) chaining IRQs 384..401
mux: Setting signal gpmc_wait1.gpio63 0x0118 -> 0x0104
mux: Setting signal gpmc_wait1.gpio63 0x0104 -> 0x011c
mux: Setting signal sdmmc1_clk.sdmmc1_clk 0x0018 -> 0x0118
mux: Setting signal sdmmc1_cmd.sdmmc1_cmd 0x0118 -> 0x0118
mux: Setting signal sdmmc1_dat0.sdmmc1_dat0 0x0118 -> 0x0118
mux: Setting signal sdmmc1_dat1.sdmmc1_dat1 0x0118 -> 0x0118
mux: Setting signal sdmmc1_dat2.sdmmc1_dat2 0x0118 -> 0x0118
mux: Setting signal sdmmc1_dat3.sdmmc1_dat3 0x0118 -> 0x0118
regulator: VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby
regulator: VDAC: 1800 mV normal standby
regulator: VAUX2_4030: 1800 mV normal standby
regulator: VPLL2: 1800 mV normal standby
regulator: VSIM: 1800 <--> 3000 mV at 1800 mV normal standby
i2c_omap i2c_omap.2: bus 2 rev4.0 at 400 kHz
i2c_omap i2c_omap.3: bus 3 rev4.0 at 400 kHz
Advanced Linux Sound Architecture Driver Version 1.0.22.1.
Switching to clocksource 32k_counter
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
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
mux: Setting signal mcbsp1_fsr.gpio157 0x0018 -> 0x011c
mux: Setting signal cam_fld.gpio98 0x0004 -> 0x011c
omap-iommu omap-iommu.0: isp registered
msgmni has been set to 166
alg: No test for stdrng (krng)
io scheduler noop registered (default)
OMAP DSS rev 2.0
OMAP DISPC rev 3.0
OMAP VENC rev 2
sharp_ls_panel display0: failed to set lcd brightness
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
console [ttyS0] enabled
serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
smsc911x: Driver version 2008-10-21.
smsc911x-mdio: probed
eth0: attached PHY driver [SMSC LAN8700] (mii_bus:phy_addr=ffffffff:01, irq=-1)
net eth0: MAC Address: 00:50:c2:7e:92:dc
twl_rtc: dev (254:0)
twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
i2c /dev entries driver
Linux media interface: v0.10
Linux video capture interface: v2.00
omap3isp omap3isp: Revision 15.0 found
omap3isp omap3isp: no mem resource?
omap34xxcam_probe: can't get ISP
------------[ cut here ]------------
WARNING: at drivers/base/core.c:131 device_release+0x68/0x7c()
Device 'omap3isp' does not have a release() function, it is broken and must be fixed.
Modules linked in:
[<c002fff8>] (unwind_backtrace+0x0/0xf0) from [<c0051458>] (warn_slowpath_common+0x48/0x60)
[<c0051458>] (warn_slowpath_common+0x48/0x60) from [<c00514a8>] (warn_slowpath_fmt+0x24/0x30)
[<c00514a8>] (warn_slowpath_fmt+0x24/0x30) from [<c019a32c>] (device_release+0x68/0x7c)
[<c019a32c>] (device_release+0x68/0x7c) from [<c0161508>] (kobject_release+0x5c/0x70)
[<c0161508>] (kobject_release+0x5c/0x70) from [<c0162218>] (kref_put+0x5c/0x6c)
[<c0162218>] (kref_put+0x5c/0x6c) from [<c01dba54>] (omap34xxcam_remove+0x44/0x64)
[<c01dba54>] (omap34xxcam_remove+0x44/0x64) from [<c01dd608>] (omap34xxcam_probe+0x444/0x498)
[<c01dd608>] (omap34xxcam_probe+0x444/0x498) from [<c019dd64>] (platform_drv_probe+0x18/0x1c)
[<c019dd64>] (platform_drv_probe+0x18/0x1c) from [<c019cf24>] (driver_probe_device+0xa0/0x14c)
[<c019cf24>] (driver_probe_device+0xa0/0x14c) from [<c019d030>] (__driver_attach+0x60/0x84)
[<c019d030>] (__driver_attach+0x60/0x84) from [<c019c7a0>] (bus_for_each_dev+0x48/0x84)
[<c019c7a0>] (bus_for_each_dev+0x48/0x84) from [<c019c0f8>] (bus_add_driver+0x9c/0x214)
[<c019c0f8>] (bus_add_driver+0x9c/0x214) from [<c019d300>] (driver_register+0xac/0x138)
[<c019d300>] (driver_register+0xac/0x138) from [<c0029370>] (do_one_initcall+0x58/0x1b0)
[<c0029370>] (do_one_initcall+0x58/0x1b0) from [<c0008404>] (kernel_init+0xa4/0x15c)
[<c0008404>] (kernel_init+0xa4/0x15c) from [<c002af70>] (kernel_thread_exit+0x0/0x8)
---[ end trace 1b75b31a2719ed1d ]---
omap34xxcam: probe of omap34xxcam.0 failed with error -16
cpuidle: using governor ladder
cpuidle: using governor menu
ALSA device list:
No soundcards found.
TCP cubic registered
NET: Registered protocol family 17
Power Management for TI OMAP3.
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
omapfb omapfb: no driver for display
omapfb omapfb: failed to setup omapfb
regulator_init_complete: incomplete constraints, leaving VPLL2 on
twl_rtc twl_rtc: setting system clock to 2000-01-25 02:56:01 UTC (948768961)
omap_vout omap_vout: Buffer Size = 3686400
omap_vout omap_vout: : registered and initialized video device 0
omap_vout omap_vout: Buffer Size = 3686400
omap_vout omap_vout: : registered and initialized video device 1
Unable to handle kernel NULL pointer dereference at virtual address 00000058
pgd = c0004000
[00000058] *pgd=00000000
Internal error: Oops: 5 [#1] PREEMPT
last sysfs file:
Modules linked in:
CPU: 0 Tainted: G W (2.6.34 #2)
PC is at omap_vout_probe+0x788/0x89c
LR is at omap_vout_probe+0x74c/0x89c
pc : [<c001b63c>] lr : [<c001b600>] psr: 80000013
sp : c5c0fec0 ip : 00000000 fp : 00000004
r10: 00000001 r9 : c5d1e508 r8 : c0371800
r7 : c5d1e500 r6 : c5d1e50c r5 : 00000000 r4 : 00000003
r3 : c0379c08 r2 : 00000000 r1 : 00000000 r0 : c0379c08
Flags: Nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 10c5387d Table: 80004019 DAC: 00000017
Process swapper (pid: 1, stack limit = 0xc5c0e2e8)
Stack: (0xc5c0fec0 to 0xc5c10000)
fec0: c5ca5248 c5c0fed4 00000000 c5d1e500 c5d16e80 00000003 00000003 00000002
fee0: c5d1e500 c5d1e51c c5d1e500 c5d16e80 c5c0fef8 00000004 c5c71750 c0371800
ff00: c0371834 c0398408 c0398408 00000000 00000000 00000000 00000000 c019dd64
ff20: c0371800 c019cf24 c0371800 c0371834 c0398408 00000000 00000000 c019d030
ff40: c0398408 c5c0ff50 c019cfd0 c019c7a0 c5c1ac38 c5c717f0 c0398408 c0398408
ff60: c5d1e240 c03922c0 00000000 c019c0f8 c03062d0 c03062d0 c5c0ff78 c0398408
ff80: c00213fc 00000001 00000000 00000000 00000000 c019d300 c001ae88 c00213fc
ffa0: 00000001 00000000 00000000 c001ae94 c001ae88 c0029370 c001ae88 c01614ac
ffc0: c039d440 c039d440 c00213f0 c00213fc 00000000 00000000 00000000 00000000
ffe0: 00000000 c0008404 00000000 00000000 00000000 c002af70 00020080 c0004000
[<c001b63c>] (omap_vout_probe+0x788/0x89c) from [<c019dd64>] (platform_drv_probe+0x18/0x1c)
[<c019dd64>] (platform_drv_probe+0x18/0x1c) from [<c019cf24>] (driver_probe_device+0xa0/0x14c)
[<c019cf24>] (driver_probe_device+0xa0/0x14c) from [<c019d030>] (__driver_attach+0x60/0x84)
[<c019d030>] (__driver_attach+0x60/0x84) from [<c019c7a0>] (bus_for_each_dev+0x48/0x84)
[<c019c7a0>] (bus_for_each_dev+0x48/0x84) from [<c019c0f8>] (bus_add_driver+0x9c/0x214)
[<c019c0f8>] (bus_add_driver+0x9c/0x214) from [<c019d300>] (driver_register+0xac/0x138)
[<c019d300>] (driver_register+0xac/0x138) from [<c001ae94>] (omap_vout_init+0xc/0x2c)
[<c001ae94>] (omap_vout_init+0xc/0x2c) from [<c0029370>] (do_one_initcall+0x58/0x1b0)
[<c0029370>] (do_one_initcall+0x58/0x1b0) from [<c0008404>] (kernel_init+0xa4/0x15c)
[<c0008404>] (kernel_init+0xa4/0x15c) from [<c002af70>] (kernel_thread_exit+0x0/0x8)
Code: e5963060 e2866004 e1a00003 e593c138 (e59cc058)
---[ end trace 1b75b31a2719ed1f ]---
Kernel panic - not syncing: Attempted to kill init!