Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

OMAP L137 highly unstable

$
0
0

Hello everyone,

We are working with the OMAP L137 EVM and are unable to boot it. It was working fine a few weeks ago. We had to replace the filesystem and image when one of our teammates wrote a DSP code which broke the board. Since then, we have managed to boot the board, but it has been highly unstable. To resolve these issues, we re-flashed the uboot, uboot environment and even changed the filesystem from Angstrom to Arago, tried a changing the config options during the uImage compilation. We also tried the pre-built uImage. I have also run the mtest, but to no avail.

We are using the DaVinci PSP 3.20.00.14 with kernel 2.6.33-rc4. Ran fsck on filesystem, no errors were found.


One of the most common errors that we encounter is segmentation fault immediately after "starting udev". We were initially able to boot the board after 2-3 hard resets, but it is completely unbootable now. The errors always vary. The current output while booting is as follows (please keep in mind that this is not reproducible, but only a sample of the error we get):

Booting with TI UBL
Device OPP (300MHz, 1.2V)

U-Boot 2009.11 (Aug 22 2013 - 06:34:02)

I2C: ready
DRAM: 64 MB
In: serial
Out: serial
Err: serial
ARM Clock : 300000000 Hz
Net: More than one PHY detected.

Hit any key to stop autoboot: 0
Using device
TFTP from server 172.16.3.203; our IP address is 172.16.3.100
Filename 'uImage'.
Load address: 0xc0700000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
################################################################
done
Bytes transferred = 1990060 (1e5dac hex)
## Booting kernel from Legacy Image at c0700000 ...
Image Name: Linux-2.6.33-rc4
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1989996 Bytes = 1.9 MB
Load Address: c0008000
Entry Point: c0008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Linux version 2.6.33-rc4 (x0029463@psplinux051) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #1 PREEMPT Tue Nov 9 18:54:56 IST 2010
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: DaVinci DA830/OMAP-L137/AM17xx EVM
Memory policy: ECC disabled, Data cache writethrough
DaVinci da830/omap-l137 rev2.0 variant 0x9
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
Kernel command line: console=ttyS2,115200n8 noinitrd rw ip=none root=/dev/mmcblk0p1 rootfstype=ext2 mem=32M rootdelay=2
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 28244KB available (3764K code, 296K data, 140K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:245
Console: colour dummy device 80x30
Calibrating delay loop... 149.50 BogoMIPS (lpj=747520)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
DaVinci: 128 gpio irqs
NET: Registered protocol family 16
BUG: Bad page state in process swapper pfn:c1c4c
page:c045c980 flags:(null) count:0 mapcount:0 mapping:(null) index:0
Backtrace:
[<c002f718>] (dump_backtrace+0x0/0x114) from [<c02f32f4>] (dump_stack+0x18/0x1c)
r7:00000000 r6:00000000 r5:c045c980 r4:00000000
[<c02f32dc>] (dump_stack+0x0/0x1c) from [<c0077018>] (bad_page+0x108/0x13c)
[<c0076f10>] (bad_page+0x0/0x13c) from [<c007781c>] (__free_pages_ok+0x78/0x188)
r5:c045c980 r4:c045c980
[<c00777a4>] (__free_pages_ok+0x0/0x188) from [<c0077c24>] (__free_pages+0x48/0x4c)
[<c0077bdc>] (__free_pages+0x0/0x4c) from [<c0077c54>] (free_pages+0x2c/0x34)
r5:c1c38f50 r4:c1c352c0
[<c0077c28>] (free_pages+0x0/0x34) from [<c003d478>] (free_task+0x30/0x48)
[<c003d448>] (free_task+0x0/0x48) from [<c003e5d4>] (__put_task_struct+0x74/0x7c)
r5:c1c38f50 r4:c1c352c0
[<c003e560>] (__put_task_struct+0x0/0x7c) from [<c0040cd8>] (delayed_put_task_struct+0x38/0x3c)
r5:c1c38f50 r4:c03e66cc
[<c0040ca0>] (delayed_put_task_struct+0x0/0x3c) from [<c0070fb0>] (__rcu_process_callbacks+0x2ec/0x40c)
[<c0070cc4>] (__rcu_process_callbacks+0x0/0x40c) from [<c00710f0>] (rcu_process_callbacks+0x20/0x38)
[<c00710d0>] (rcu_process_callbacks+0x0/0x38) from [<c0044a44>] (__do_softirq+0x84/0x110)
r5:c1c22000 r4:00000103
[<c00449c0>] (__do_softirq+0x0/0x110) from [<c0044b1c>] (irq_exit+0x4c/0xb0)
[<c0044ad0>] (irq_exit+0x0/0xb0) from [<c002b078>] (asm_do_IRQ+0x78/0x94)
[<c002b000>] (asm_do_IRQ+0x0/0x94) from [<c002bb2c>] (__irq_svc+0x4c/0x9c)
Exception stack(0xc1c23e68 to 0xc1c23eb0)
3e60: c03da378 000080d0 c1c11000 000080d0 00000000 c03ea134
3e80: c1c706c0 c1c23ef4 c1c11000 00000000 c03e11d4 c1c23ed4 c1c23ed8 c1c23eb0
3ea0: c016ee50 c0051690 60000013 ffffffff
r5:febfd000 r4:ffffffff
[<c0051664>] (call_usermodehelper_setup+0x0/0xa4) from [<c016ee50>] (kobject_uevent_env+0x35c/0x3dc)
r9:00000000 r8:c1c07a80 r7:c1c11000 r6:c1c706c0 r5:00000004
r4:00000000
[<c016eaf4>] (kobject_uevent_env+0x0/0x3dc) from [<c016eee4>] (kobject_uevent+0x14/0x18)
[<c016eed0>] (kobject_uevent+0x0/0x18) from [<c0010594>] (param_sysfs_init+0x198/0x200)
[<c00103fc>] (param_sysfs_init+0x0/0x200) from [<c002b3a4>] (do_one_initcall+0x64/0x1c4)
[<c002b340>] (do_one_initcall+0x0/0x1c4) from [<c0008480>] (kernel_init+0xa8/0x12c)
r7:00000000 r6:00000000 r5:00000000 r4:c0023018
[<c00083d8>] (kernel_init+0x0/0x12c) from [<c0042768>] (do_exit+0x0/0x6b4)
r5:00000000 r4:00000000
Disabling lock debugging due to kernel taint
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pcf857x: probe of 1-003f failed with error -121
Switching to clocksource timer0_0
musb_hdrc: version 6.0, cppi4.1-dma, host, debug=0
Waiting for USB PHY clock good...
musb_hdrc: USB Host mode controller at fee00000 using DMA, IRQ 58
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
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.
JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
msgmni has been set to 55
io scheduler noop registered (default)
Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a 16550A
serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a 16550A
serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a 16550A
console [ttyS2] enabled
brd: module loaded
at24 1-0050: 32768 byte 24c256 EEPROM (writable)
Read MAC addr from EEPROM: 00:0e:99:02:ff:2b
spi_davinci spi_davinci.0: DaVinci SPI driver in EDMA mode
Using RX channel = 14 , TX channel = 15 and event queue = 1
m25p80 spi0.0: w25x32 (4096 Kbytes)
Creating 3 MTD partitions on "m25p80":
0x000000000000-0x000000040000 : "U-Boot"
0x000000040000-0x000000044000 : "U-Boot Environment"
0x000000044000-0x000000400000 : "Linux"
spi_davinci spi_davinci.0: Controller at 0xfec41000
console [netcon0] enabled
netconsole: network logging started
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci ohci.0: DA8xx OHCI
ohci ohci.0: new USB bus registered, assigned bus number 2
ohci ohci.0: irq 59, io mem 0x01e25000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
tsc2004: probe of 1-0049 failed with error -121
omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
omap_rtc: RTC power up reset detected
omap_rtc: already running
i2c /dev entries driver
Linux video capture interface: v2.00
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v0.1.0)
watchdog watchdog: heartbeat 60 sec
davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.21.
usbcore: registered new interface driver snd-usb-audio
No device for DAI tlv320aic3x
asoc: tlv320aic3x <-> davinci-i2s mapping ok
ALSA device list:
#0: DA830/OMAP-L137 EVM (tlv320aic3x)
TCP cubic registered
NET: Registered protocol family 17
Clocks: disable unused aemif
Clocks: disable unused emac
emac-mii: probed
omap_rtc omap_rtc: setting system clock to 2013-08-27 19:33:00 UTC (1377631980)
Waiting 2sec before mounting root device...
mmc0: new SD card at address b2ba
mmcblk0: mmc0:b2ba SD02G 1.89 GiB
mmcblk0: p1
EXT2-fs (mmcblk0p1): warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem) on device 179:1.
Freeing init memory: 140K
INIT: version 2.86 booting
Please wait: booting...
Starting udev
Segmentation fault
Remounting root file system...
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Setting up IP spoofing protection: rp_filter.
Configuring network interfaces... ifup: misplaced option "rootfs"
done.
INIT: Entering runlevel: 5
Starting telnet daemon.
Starting syslogd/klogd: Segmentation fault
NET: Registered protocol family 10
INIT: Id "S1" respawning too fast: disabled for 5 minutes
INIT: Id "S2" respawning too fast: disabled for 5 minutes
INIT: Id "S2" respawning too fast: disabled for 5 minutes
INIT: Id "S1" respawning too fast: disabled for 5 minutes

Please help,

Bindu


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>