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.

OMAP L137 highly unstable

Other Parts Discussed in Thread: OMAP-L137, DA8XX, TSC2004

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

  • Hi Bindu,

    The following are the suggestions.

    1. May be the filesystem on MMC/SD is corrupted. Make sure the MMC/SD is partitioned with ext2 filesystem correctly and all the modules of the filesystem is copied to it. You can refer to this link for creating partition and copying the target filesystem.http://processors.wiki.ti.com/index.php/Creating_filesystems_on_removable_media#MMC.2FSD_card_procedure

    2. Try mounting the filesystem through NFS first instead of MMC/SD. When it works, you can make sure that the kernel image and filesystem doesnot have any problem, then you can copy the filesystem into MMC/SD. This may help you to narrow down where the problem lies.

    You can refer these two links for mounting filesystem through NFS:

    http://processors.wiki.ti.com/index.php/Alternate_Boot_Methods_for_OMAP-L137/DA830#From_NFS

    http://processors.wiki.ti.com/index.php/Setting_up_OMAP-L137_Target_File_System#Exporting_a_Shared_File_System_for_Target_Access

     

    Regards,

    Shankari.

     

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------

  • Hello Shankari,

    We tried both things as you said. We have even tried with many SD cards. When we tried NFS filesystem, it says Unable to get nfsd port number from server. There is also a BUG in process swapper, that also happened sometimes before.

    Here is the error we have (uboot arguments are shown, as well as server/nfshost address):

    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 = 2005504 (1e9a00 hex)
    ## Booting kernel from Legacy Image at c0700000 ...
    Image Name: Angstrom/2.6.32+2.6.33-rc4-r50+g
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 2005440 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 (koen@dominion) (gcc version 4.3.3 (GCC) ) #2 PREEMPT Tue Dec 7 13:48:02 CET 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 ip=none root=/dev/nfs nfsroot=172.16.3.203:/home/cubesat/workdir/filesys,nolock mem=32M
    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)
    BUG: Bad page state in process swapper pfn:c1745
    page:c04588a0 flags:(null) count:0 mapcount:14680257 mapping:(null) index:0
    Backtrace:
    [<c002d724>] (dump_backtrace+0x0/0x10c) from [<c02f9c60>] (dump_stack+0x18/0x1c)
    r7:00000000 r6:00000005 r5:c04588a0 r4:00000000
    [<c02f9c48>] (dump_stack+0x0/0x1c) from [<c00761c8>] (bad_page+0x114/0x150)
    [<c00760b4>] (bad_page+0x0/0x150) from [<c0076a44>] (__free_pages_ok+0x7c/0x19c)
    r5:c0458800 r4:c04588a0
    [<c00769c8>] (__free_pages_ok+0x0/0x19c) from [<c0076e70>] (__free_pages+0x4c/0x50)
    [<c0076e24>] (__free_pages+0x0/0x50) from [<c00240f8>] (__free_pages_bootmem+0x84/0x88)
    r4:ffffffff
    [<c0024074>] (__free_pages_bootmem+0x0/0x88) from [<c0012be8>] (free_all_bootmem_core+0x104/0x220)
    [<c0012ae4>] (free_all_bootmem_core+0x0/0x220) from [<c0012d38>] (free_all_bootmem_node+0x14/0x18)
    [<c0012d24>] (free_all_bootmem_node+0x0/0x18) from [<c000c690>] (mem_init+0xf0/0x210)
    [<c000c5a0>] (mem_init+0x0/0x210) from [<c00088c0>] (start_kernel+0x130/0x2f8)
    r7:c03e23d8 r6:c0026010 r5:c0409410 r4:c0409404
    [<c0008790>] (start_kernel+0x0/0x2f8) from [<c0008034>] (__enable_mmu+0x0/0x2c)
    r6:c0026414 r5:c04096b8 r4:00053175
    Disabling lock debugging due to kernel taint
    Memory: 32MB = 32MB total
    Memory: 28092KB available (3792K code, 296K data, 132K 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
    devtmpfs: initialized
    DaVinci: 128 gpio irqs
    NET: Registered protocol family 16
    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
    Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
    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-29 19:51:14 UTC (1377805874)
    Looking up port of RPC 100003/2 on 172.16.3.203
    rpcbind: server 172.16.3.203 not responding, timed out
    Root-NFS: Unable to get nfsd port number from server, using default
    Looking up port of RPC 100005/1 on 172.16.3.203

    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
    U-Boot > pri
    bootdelay=3
    baudrate=115200
    bootfile="uImage"
    ethaddr=00:0e:99:02:ff:2b
    bootcmd=tftp 0xc0700000 uImage; bootm
    fileaddr=C0700000
    ipaddr=172.16.3.100
    serverip=172.16.3.203
    rootpath=/home/cubesat/workdir/filesys
    filesize=1e9a00
    nfshost=172.16.3.203
    bootargs=console=ttyS2,115200n8 noinitrd ip=none root=/dev/nfs nfsroot=172.16.3.203:/home/cubesat/workdir/filesys,nolock mem=32M
    stdin=serial
    stdout=serial
    stderr=serial
    ver=U-Boot 2009.11 (Aug 22 2013 - 06:34:02)

    Environment size: 460/16380 bytes
    U-Boot > ping 172.16.3.203
    Using device
    host 172.16.3.203 is alive

    Please help,

    Bindu

  • Hi Bindu,

    1. Please ensure that the NFS service is running on Host machine. The below command should list the NFS exported file system.

    Example:

    $ sudo exportfs 

    /home/cubesat/workdir/filesys

                                       <world>

     If it fails to list as example shown above, then please add the entry in /etc/exports(NFS) and restart the NFS server. Please refer below wiki link.

    http://processors.wiki.ti.com/index.php/Linux_Host_Configuration_-_Ubuntu#Installing_a_NFS_Server

    2. Please refer the below wiki link for u-boot bootargs for mounting NFS. The IP field should have either static ip or dhcp to mount file system through network. 

    http://processors.wiki.ti.com/index.php/GSG:_Setting_up_OMAP-L1/AM1x_Target_File_System#From_NFS

    Please refer Category page OMAPL1 that will have more wiki links to understand about OMAP-L1x.

    http://processors.wiki.ti.com/index.php/Category:OMAPL1

    Some of the important links which shall be referred (From main category page) to solve your issue.

    Boot methods and boot arguments:

    http://processors.wiki.ti.com/index.php/Alternate_Boot_Methods_for_OMAP-L137/DA830

    http://processors.wiki.ti.com/index.php/Booting_Linux_kernel_using_U-Boot

    http://processors.wiki.ti.com/index.php/GSG:_Setting_up_OMAP-L1/AM1x_Target_File_System

    Latest PSP Releases:

    http://processors.wiki.ti.com/index.php/DaVinci_(ARM9)_PSP_Releases#DA850.28Spectrum_Digital_EVM.29.2C_DA830.28Spectrum_Digital_EVM_and_Spectrum_Digital_WiFi_EVM.29_and_OMAP-L138.28_Logic_PD_EVM_and_LCDK.29

  • Hello Rajasekaran,

    NFS mount now works, but we are still getting the same error. There's usually a seg fault after "starting udev". We have already tried everything else -- different SD cards, different kernel, re-building kernel, different file system, re-downloading the filesystem, even tried the older PSP available on the TI website. Also re-written the uboot image in the SPI flash. We have basically refreshed everything on the entire board!

    Errors usually are:

    "Segmentation fault" [AND / OR]

    "unable to handle kernel paging request at virtual address xyz" [AND / OR]

    "BUG: scheduling while atomic" [AND / OR]

    "BUG: bad page state in process swapper"

    Please help!

    Bindu

  • Hi Bindu,

    I have one more suggestion to check.

    Could you please check the u-boot parameter mem with the value 48M or 64M or without mem param?

    Thanks.

  • Hi Bindu,

    If the above suggestion did not solve the issue then please run the memory test(Address bus & Data bus) to ensure the 64MB DDR is working properly. 

    Please download the EVMOMAPL137 Test Code that has the memory test app.

    http://support.spectrumdigital.com/boards/evmomapl137/revg/

    Thanks.

  • Hello Rajasekaran,

    We tried the 64 MB, 48 MB and having no option for mem value. None of them worked. We downloaded the tests you suggested and run the tests in the .../dsp/tests folder. All of them passed, except the two below:

    emac_loopback:

    01 Testing Ethernet RMII loopback...
    Waiting for link...
    Link Detected
    PHY1[0] = 3120
    PHY1[1] = 7808
    PHY2[0] = 3120
    PHY2[1] = 782c

    FAIL... error code 4... quitting

    AND

    UART:

    01 Testing UART...
    FAIL... error code -1... quitting

    Does this mean those two are bad/corrupt in same way?

    Thanks,

    Bindu

  • Also, the SDRAM tests yielded the following:

    01 Testing DDR...
    pppp PASS

    ***ALL Tests Passed***

  • Has anyone found an answer to this? What do those test results mean?