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.

NFS kernel startup fail in OMAP-L138 EVM

Guru 20755 points
Other Parts Discussed in Thread: OMAP-L138, DA8XX, PMP

Hello,

I am using omap-l138 EVM with PSP 03.21.00.04, and I use nfs filesystem. the images of the u-boot and kernel I use are those that given in the image directory of this PSP. The problem is that the startup of the kernel fails when starting the nfs. If I only change the uImage to be from the previous PSP I have used so far (03.20.00.11) everything works well. What is the problem ?maybe the target filesystem should be different with the new PSP ?
It is also strange that there is no printing such as "Looking up port of RPC 100003/2 on 192.168.... " , might it suggest how to solve this issue ?
I would appreciate any idea on this issue.

Best Regards,

Ran

U-Boot 2009.11.01.08 (Jul 04 2011 - 18:08:09)

I2C:   ready
DRAM:  64 MB
NAND:  128 MiB
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
In:    serial
Out:   serial
Err:   serial
ARM Clock : 300000000 Hz
DDR Clock : 132000000 Hz
SF: Detected FM25V02 with size 32 kB
Net:   phy_id=7c0f1
Ethernet PHY: GENERIC @ 0x00

Hit any key to stop autoboot:  0
gpio set success
Using  device
TFTP from server 192.168.3.10; our IP address is 192.168.3.11
Filename 'uImage'.
Load address: 0xc0700000
Loading: #################################################################
         ##############################################################
done
Bytes transferred = 1861376 (1c6700 hex)
## Booting kernel from Legacy Image at c0700000 ...
   Image Name:   Linux-2.6.37
   Created:      2011-08-01  11:08:18 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1861312 Bytes =  1.8 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.37 (root@ho-desktop) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #14 PREEMPT Mon Aug 1 14:08:13 IDT 2011
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: DaVinci DA850/OMAP-L138/AM18x EVM
Memory policy: ECC disabled, Data cache writeback
DaVinci da850/omap-l138/am18x variant 0x1
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: mem=32M console=ttyS2,115200n8 root=/dev/nfs nfsroot=192.168.3.10:/home/ho/OMAP-L138_arm_1_00_00_11/FileSystem/ ip=192.168.3.11:192.168.3.10:192.168.3.10:255.255.0.0:xxx:eth0:on
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: 28500k/28500k available, 4268k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xff000000 - 0xffe00000   (  14 MB)
    vmalloc : 0xc2800000 - 0xfea00000   ( 962 MB)
    lowmem  : 0xc0000000 - 0xc2000000   (  32 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc002d000   ( 148 kB)
      .text : 0xc002d000 - 0xc0398000   (3500 kB)
      .data : 0xc0398000 - 0xc03bb860   ( 143 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Preemptable hierarchical RCU implementation.
        RCU-based detection of stalled CPUs is disabled.
        Verbose stalled-CPUs detection is disabled.
NR_IRQS:245
Console: colour dummy device 80x30
Calibrating delay loop... 149.50 BogoMIPS (lpj=747520)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
DaVinci: 144 gpio irqs
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
SCSI subsystem initialized
Switching to clocksource timer0_1
musb-hdrc: version 6.0, peripheral, debug=0
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.
<<<<<<<<<<<<<<<<<<<< da850_evm_config_emac
EMAC: RMII PHY configured, MII PHY will not be functional
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 AR7
serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a AR7
serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a AR7
console [ttyS2] enabled
brd: module loaded
ONFI flash detected
ONFI param page 0 valid
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xa1 (Micron NAND 128MiB 1,8V 8-bit)
Creating 6 MTD partitions on "davinci_nand.1":
0x000000000000-0x000000040000 : "U-Boot Env"
0x000000040000-0x0000000c0000 : "U-Boot MTP"
0x0000000c0000-0x0000002c0000 : "Kernel"
0x0000002c0000-0x000007ac0000 : "Filesystem"
0x000007ac0000-0x000007cc0000 : "Log"
0x000007f00000-0x000008000000 : "Bad Blocks Table"
davinci_nand davinci_nand.1: controller rev. 2.5
spi_davinci spi_davinci.1: DMA: supported
spi_davinci spi_davinci.1: DMA: RX channel: 18, TX channel: 19, event queue: 0
m25p80 spi1.0: at45db321d (32768 Kbytes)
Creating 4 MTD partitions on "m25p80":
0x000000000000-0x000000040000 : "UBL"
0x000000040000-0x0000000c0000 : "U-Boot OTP"
0x0000000c0000-0x000001cc0000 : "Filesystem"
0x000001ff0000-0x000002000000 : "MAC-Address"
Read MAC addr from SPI Flash: ff:ff:ff:ff:ff:ff
spi_davinci spi_davinci.1: Controller at 0xfef0e000
davinci_mdio davinci_mdio.0: davinci mdio revision 1.5
davinci_mdio davinci_mdio.0: detected phy mask fffffffe
davinci_mdio.0: probed
davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver SMSC LAN8710/LAN8720
console [netcon0] enabled
netconsole: network logging started
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
cpuidle: using governor ladder
cpuidle: using governor menu
TCP cubic registered
NET: Registered protocol family 17
davinci_emac_probe: using random MAC addr: 4a:f5:d0:a6:f9:df
omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
davinci_mdio davinci_mdio.0: resetting idled controller
net eth0: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=0:00, id=7c0f1)
IP-Config: Complete:
     device=eth0, addr=192.168.3.11, mask=255.255.0.0, gw=192.168.3.10,
     host=xxx, domain=, nis-domain=(none),
     bootserver=192.168.3.10, rootserver=192.168.3.10, rootpath=
PHY: 0:00 - Link is Up - 100/Full
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00             256 mtdblock0  (driver?)
1f01             512 mtdblock1  (driver?)
1f02            2048 mtdblock2  (driver?)
1f03          122880 mtdblock3  (driver?)
1f04            2048 mtdblock4  (driver?)
1f05            1024 mtdblock5  (driver?)
1f06             256 mtdblock6  (driver?)
1f07             512 mtdblock7  (driver?)
1f08           28672 mtdblock8  (driver?)
1f09              64 mtdblock9  (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
Backtrace:
[<c003171c>] (dump_backtrace+0x0/0x114) from [<c02c8470>] (dump_stack+0x18/0x1c)
 r7:00008000 r6:c1813000 r5:c0024bb4 r4:c03bbe10
[<c02c8458>] (dump_stack+0x0/0x1c) from [<c02c84ec>] (panic+0x78/0x19c)
[<c02c8474>] (panic+0x0/0x19c) from [<c0008fcc>] (mount_block_root+0x1e0/0x220)
 r3:00000000 r2:00000000 r1:c1825f58 r0:c034b0fc
[<c0008dec>] (mount_block_root+0x0/0x220) from [<c00090b8>] (mount_root+0xac/0xd0)
 r8:00000000 r7:00000013 r6:c00457e8 r5:c0024bb4 r4:00200000
[<c000900c>] (mount_root+0x0/0xd0) from [<c000924c>] (prepare_namespace+0x170/0x1c8)
 r4:c03bb8c4
[<c00090dc>] (prepare_namespace+0x0/0x1c8) from [<c00084c0>] (kernel_init+0x114/0x154)
 r5:c00083ac r4:c03bb860
[<c00083ac>] (kernel_init+0x0/0x154) from [<c00457e8>] (do_exit+0x0/0x6e0)
 r5:c00083ac r4:00000000

  • Hi Ran,

    The u-boot and Kernel images you are using doesn't seem to be from the release package as the u-boot version in the release package is 2010.12 and the kernel image is built on a system linuxpsp051. But the images you are using has different u-boot version and the Linux kernel image is built on ho-desktop. Also the prebuilt Linux Kernel image size is 2105672 Bytes = 2 MiB, but in your case it is 1861312 Bytes =  1.8 MB. Please verify this and it may solve your problem.

    Regards, Sudhakar

  • Hi Sudhakar,

    Thankx for the reply. you were right about that, I have attached the wrong print. Following text contains the right printing, but unfortunately the result is the same. As I understand the u-boot & kernel images version are now the same as those given in the PSP. I check these released version on OMAP-L138 EVM (LogicPD) board.

    Your help is appreciated,

    Ran

    Booting TI User Boot Loader
            UBL Version: 1.65
            UBL Flashtype: SPI
    Starting SPI Memory Copy...
    Valid magicnum, 0x55424CBB, found at offset 0x00010000.
       DONE
    Jumping to entry point at 0xC1080000.
    MMC:   davinci: 0
    SF: Detected M25P64 with page size 256, total 8 MiB
    In:    serial
    Out:   serial
    Err:   serial
    ARM Clock : 300000000 Hz
    DDR Clock : 150000000 Hz
    Net:   Ethernet PHY: GENERIC @ 0x00
    DaVinci-EMAC
    Hit any key to stop autoboot:  0
    U-Boot > version

    U-Boot 2010.12 (Apr 21 2011 - 18:57:49)
    U-Boot > boot
    Using DaVinci-EMAC device
    TFTP from server 192.168.3.10; our IP address is 192.168.3.11
    Filename 'uImage'.
    Load address: 0xc0700000
    Loading: #################################################################
             #################################################################
             ##############
    done
    Bytes transferred = 2105768 (2021a8 hex)
    ## Booting kernel from Legacy Image at c0700000 ...
       Image Name:   Linux-2.6.37+
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2105704 Bytes = 2 MiB
       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.37+ (x0029463@psplinux051) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #1 PREEMPT Thu Apr 21 19:09:31 IST 2011
    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
    CPU: VIVT data cache, VIVT instruction cache
    Machine: DaVinci DA850/OMAP-L138/AM18x EVM
    Memory policy: ECC disabled, Data cache writeback
    DaVinci da850/omap-l138 variant 0x0
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
    Kernel command line: mem=32M console=ttyS2,115200n8 root=/dev/nfs nfsroot=192.168.3.10:/home/ho/OMAP-L138_arm_1_00_00_11/FileSystem/ ip=192.168.3.11:192.168.3.10:192.168.3.10:255.255.0.0:xxx:eth0:on
    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: 27976k/27976k available, 4792k reserved, 0K highmem
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
        DMA     : 0xff000000 - 0xffe00000   (  14 MB)
        vmalloc : 0xc2800000 - 0xfea00000   ( 962 MB)
        lowmem  : 0xc0000000 - 0xc2000000   (  32 MB)
        modules : 0xbf000000 - 0xc0000000   (  16 MB)
          .init : 0xc0008000 - 0xc002e000   ( 152 kB)
          .text : 0xc002e000 - 0xc0415000   (3996 kB)
          .data : 0xc0416000 - 0xc043ca80   ( 155 kB)
    SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    Preemptable hierarchical RCU implementation.
            RCU-based detection of stalled CPUs is disabled.
            Verbose stalled-CPUs detection is disabled.
    NR_IRQS:245
    Console: colour dummy device 80x30
    Calibrating delay loop... 149.50 BogoMIPS (lpj=747520)
    pid_max: default: 32768 minimum: 301
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    DaVinci: 144 gpio irqs
    regulator: core version 0.5
    regulator: dummy:
    NET: Registered protocol family 16
    WARNING: both McASP and McBSP are enabled, but they share pins.
            Only McASP will work. If you want McBSP support, disable McASP.
    da850_evm_init: eHRPWM module 0 cannot be used since it is being used by MII interface
    da850_evm_init: eHRPWM module1 outputA cannot be used since it is being used by LCD
    da850_evm_init: eHRPWM module1 outputB cannot be used since it is being used by spi1
    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
    pca953x 1-0020: failed reading register
    pca953x 1-0021: interrupt support not compiled in
    regulator: VDCDC1: 3200 <--> 3300 mV at 3300 mV
    regulator: VDCDC2: 1750 <--> 3300 mV at 3300 mV
    regulator: VDCDC3: 950 <--> 1350 mV at 1200 mV
    regulator: LDO1: 1800 mV
    regulator: LDO2: 1150 <--> 1300 mV at 1200 mV
    i2c-gpio i2c-gpio.1: using pins 20 (SDA) and 21 (SCL)
    Advanced Linux Sound Architecture Driver Version 1.0.23.
    Switching to clocksource timer0_1
    musb-hdrc: version 6.0, host, debug=0
    musb-hdrc musb-hdrc: dma type: dma-cppi41
    Waiting for USB PHY clock good...
    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
    musb-hdrc musb-hdrc: USB Host mode controller at fee00000 using DMA, IRQ 58
    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.
    EMAC: MII PHY configured, RMII PHY will not be functional
    McBSP:Probed McBSP1
    JFFS2 version 2.2. (NAND) ?© 2001-2006 Red Hat, Inc.
    msgmni has been set to 54
    io scheduler noop registered (default)
    da8xx_lcdc da8xx_lcdc.0: GLCD: Found Sharp_LK043T1DG01 panel
    Console: switching to colour frame buffer device 60x34
    Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
    serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a AR7
    serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a AR7
    serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a AR7
    console [ttyS2] enabled
    brd: module loaded
    at24 1-0050: 32768 byte 24c256 EEPROM (writable)
    ahci ahci: forcing PORTS_IMPL to 0x1
    ahci ahci: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    ahci ahci: flags: ncq sntf pm led clo only pmp pio slum part ccc
    scsi0 : ahci_platform
    ata1: SATA max UDMA/133 mmio [mem 0x01e18000-0x01e19fff] port 0x100 irq 67
    spi_davinci spi_davinci.1: DMA: supported
    spi_davinci spi_davinci.1: DMA: RX channel: 18, TX channel: 19, event queue: 0
    m25p80 spi1.0: m25p64 (8192 Kbytes)
    Creating 6 MTD partitions on "m25p80":
    0x000000000000-0x000000010000 : "UBL"
    0x000000010000-0x000000090000 : "U-Boot"
    0x000000090000-0x0000000a0000 : "U-Boot-Env"
    0x0000000a0000-0x000000320000 : "Kernel"
    0x000000320000-0x000000720000 : "Filesystem"
    0x0000007f0000-0x000000800000 : "MAC-Address"
    Read MAC addr from SPI Flash: ff:ff:ff:ff:ff:ff
    spi_davinci spi_davinci.1: Controller at 0xfef0e000
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.5
    davinci_mdio davinci_mdio.0: detected phy mask fffffffe
    davinci_mdio.0: probed
    davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver SMSC LAN8710/LAN8720
    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
    Waiting for USB PHY clock good...
    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.
    input: gpio-keys-polled as /devices/platform/gpio-keys-polled.1/input/input0
    input: TPS6507x Touchscreen as /devices/platform/i2c-gpio.1/i2c-1/1-0048/input/input1
    omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
    omap_rtc: RTC power up reset detected
    ata1: SATA link down (SStatus 0 SControl 300)
    i2c /dev entries driver
    watchdog watchdog: heartbeat 60 sec
    cpuidle: using governor ladder
    cpuidle: using governor menu
    davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    1-0018 supply IOVDD not found, using dummy regulator
    1-0018 supply DVDD not found, using dummy regulator
    1-0018 supply AVDD not found, using dummy regulator
    1-0018 supply DRVDD not found, using dummy regulator
    asoc: tlv320aic3x-hifi <-> davinci-mcasp.0 mapping ok
    ALSA device list:
      #0: DA850/OMAP-L138 EVM
    TCP cubic registered
    NET: Registered protocol family 17
    regulator_init_complete: incomplete constraints, leaving LDO2 on
    regulator_init_complete: incomplete constraints, leaving LDO1 on
    regulator_init_complete: incomplete constraints, leaving VDCDC3 on
    regulator_init_complete: incomplete constraints, leaving VDCDC2 on
    regulator_init_complete: incomplete constraints, leaving VDCDC1 on
    davinci_emac_probe: using random MAC addr: 12:ba:8c:61:25:e2
    omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    davinci_mdio davinci_mdio.0: resetting idled controller
    net eth0: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=0:00, id=7c0f1)
    IP-Config: Complete:
         device=eth0, addr=192.168.3.11, mask=255.255.0.0, gw=192.168.3.10,
         host=xxx, domain=, nis-domain=(none),
         bootserver=192.168.3.10, rootserver=192.168.3.10, rootpath=
    PHY: 0:00 - Link is Up - 100/Full
    VFS: Unable to mount root fs via NFS, trying floppy.
    VFS: Cannot open root device "nfs" or unknown-block(2,0)
    Please append a correct "root=" boot option; here are the available partitions:
    1f00              64 mtdblock0  (driver?)
    1f01             512 mtdblock1  (driver?)
    1f02              64 mtdblock2  (driver?)
    1f03            2560 mtdblock3  (driver?)
    1f04            4096 mtdblock4  (driver?)
    1f05              64 mtdblock5  (driver?)
    Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
    Backtrace:
    [<c003271c>] (dump_backtrace+0x0/0x114) from [<c0320be0>] (dump_stack+0x18/0x1c)
     r7:00008000 r6:c1813000 r5:c0025f24 r4:c043d050
    [<c0320bc8>] (dump_stack+0x0/0x1c) from [<c0320c5c>] (panic+0x78/0x19c)
    [<c0320be4>] (panic+0x0/0x19c) from [<c0008fcc>] (mount_block_root+0x1e0/0x220)
     r3:00000000 r2:00000000 r1:c1825f58 r0:c03b81cc
    [<c0008dec>] (mount_block_root+0x0/0x220) from [<c00090b8>] (mount_root+0xac/0xd0)
     r8:00000000 r7:00000013 r6:c0047054 r5:c0025f24 r4:00200000
    [<c000900c>] (mount_root+0x0/0xd0) from [<c000924c>] (prepare_namespace+0x170/0x1c8)
     r4:c043cae4
    [<c00090dc>] (prepare_namespace+0x0/0x1c8) from [<c00084c0>] (kernel_init+0x114/0x154)
     r5:c00083ac r4:c043ca80
    [<c00083ac>] (kernel_init+0x0/0x154) from [<c0047054>] (do_exit+0x0/0x6e0)
     r5:c00083ac r4:00000000

     

     

  • Hi Ran,

    Can you post the output when the board is booting successfully with 03.20.00.11 image?

    Regards, Sudhakar

  • Yes, here it is. You can also see that with the new release the print "Looking up port of RPC..." is missing.

    Regards,

    Ran

    Booting TI User Boot Loader
            UBL Version: 1.65
            UBL Flashtype: SPI
    Starting SPI Memory Copy...
    Valid magicnum, 0x55424CBB, found at offset 0x00010000.
       DONE
    Jumping to entry point at 0xC1080000.
    MMC:   davinci: 0
    SF: Detected M25P64 with page size 256, total 8 MiB
    In:    serial
    Out:   serial
    Err:   serial
    ARM Clock : 300000000 Hz
    DDR Clock : 150000000 Hz
    Net:   Ethernet PHY: GENERIC @ 0x00
    DaVinci-EMAC
    Hit any key to stop autoboot:  0
    Using DaVinci-EMAC device
    TFTP from server 192.168.3.10; our IP address is 192.168.3.11
    Filename 'uImage'.
    Load address: 0xc0700000
    Loading: #################################################################
             #################################################################
             ##############
    done
    Bytes transferred = 2113744 (2040d0 hex)
    ## Booting kernel from Legacy Image at c0700000 ...
       Image Name:   Linux-2.6.33-rc4
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2113680 Bytes = 2 MiB
       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 Thu Mar 25 15:06:29 IST 2010
    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
    CPU: VIVT data cache, VIVT instruction cache
    Machine: DaVinci DA850/OMAP-L138/AM18xx EVM
    Memory policy: ECC disabled, Data cache writeback
    DaVinci da850/omap-l138 variant 0x0
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
    Kernel command line: mem=32M console=ttyS2,115200n8 root=/dev/nfs nfsroot=192.168.3.10:/home/ho/OMAP-L138_arm_1_00_00_11/FileSystem/ ip=192.168.3.11:192.168.3.10:192.168.3.10:255.255.0.0:xxx:eth0:on
    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: 27972KB available (4012K code, 315K data, 148K 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: 144 gpio irqs
    regulator: core version 0.5
    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
    regulator: VDCDC1: 3200 <--> 3300 mV at 3300 mV
    regulator: VDCDC2: 1750 <--> 3300 mV at 3300 mV
    regulator: VDCDC3: 950 <--> 1375 mV at 1200 mV
    regulator: LDO1: 1800 mV
    regulator: LDO2: 1150 <--> 1300 mV at 1200 mV
    pca953x 1-0020: failed reading register
    i2c-gpio i2c-gpio.1: using pins 20 (SDA) and 21 (SCL)
    Switching to clocksource timer0_1
    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.
    EMAC: MII PHY configured, RMII PHY will not be functional
    JFFS2 version 2.2. (NAND) ?© 2001-2006 Red Hat, Inc.
    msgmni has been set to 54
    io scheduler noop registered (default)
    da8xx_lcdc da8xx_lcdc.0: GLCD: Found Sharp_LK043T1DG01 panel
    Console: switching to colour frame buffer device 60x34
    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
    ahci ahci: forcing PORTS_IMPL to 0x1
    ahci ahci: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
    ahci ahci: flags: ncq sntf pm led clo only pmp pio slum part ccc
    scsi0 : ahci
    ata1: SATA max UDMA/133 irq 67
    spi_davinci spi_davinci.1: DaVinci SPI driver in EDMA mode
    Using RX channel = 18 , TX channel = 19 and event queue = 1
    m25p80 spi1.0: m25p64 (8192 Kbytes)
    Creating 4 MTD partitions on "m25p80":
    0x000000000000-0x000000040000 : "U-Boot"
    0x000000040000-0x000000050000 : "U-Boot Environment"
    0x000000050000-0x0000007f0000 : "Linux"
    0x0000007f0000-0x000000800000 : "MAC Address"
    Read MAC addr from EEPROM: ff:ff:ff:ff:ff:ff
    spi_davinci spi_davinci.1: Controller at 0xfef0e000
    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.
    input: TPS6507x Touchscreen as /devices/platform/i2c-gpio.1/i2c-1/1-0048/input/input0
    omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
    omap_rtc: RTC power up reset detected
    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
    cpuidle: using governor ladder
    cpuidle: using governor menu
    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: DA850/OMAP-L138 EVM (tlv320aic3x)
    TCP cubic registered
    NET: Registered protocol family 17
    Clocks: disable unused i2c1
    Clocks: disable unused emac
    Clocks: disable unused aemif
    Clocks: disable unused spi0
    Clocks: disable unused mcbsp0
    Clocks: disable unused mcbsp1
    Clocks: disable unused vpif
    regulator_init_complete: incomplete constraints, leaving LDO2 on
    regulator_init_complete: incomplete constraints, leaving LDO1 on
    regulator_init_complete: incomplete constraints, leaving VDCDC3 on
    regulator_init_complete: incomplete constraints, leaving VDCDC2 on
    regulator_init_complete: incomplete constraints, leaving VDCDC1 on
    davinci_emac_probe: using random MAC addr: e6:09:df:92:8e:5d
    ata1: SATA link down (SStatus 0 SControl 300)
    emac-mii: probed
    omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    eth0: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=1:00, id=7c0f1)
    IP-Config: Complete:
         device=eth0, addr=192.168.3.11, mask=255.255.0.0, gw=192.168.3.10,
         host=xxx, domain=, nis-domain=(none),
         bootserver=192.168.3.10, rootserver=192.168.3.10, rootpath=
    Looking up port of RPC 100003/2 on 192.168.3.10
    PHY: 1:00 - Link is Up - 100/Full
    Looking up port of RPC 100005/1 on 192.168.3.10
    VFS: Mounted root (nfs filesystem) on device 0:13.
    Freeing init memory: 148K
    INIT: version 2.86 booting
    Please wait: booting...
    Starting udev
    udev: starting version 141
    udevd[523]: inotify_add_watch(3, (null), 10) failed: Bad address

    Remounting root file system...
    modprobe: FATAL: Could not open 'kernel/fs/minix/minix.ko': No such file or directory

    root: mount: mounting rootfs on / failed: No such file or directory
    root: mount: mounting usbfs on /proc/bus/usb failed: No such file or directory
    Setting up IP spoofing protection: rp_filter.
    Configuring network interfaces... done.
    Fri Dec 11 14:19:00 UTC 2009
    INIT: Entering runlevel: 5
    Starting telnet daemon.
    modprobe: FATAL: Could not open 'kernel/net/ipv6/ipv6.ko': No such file or directory

    Starting syslogd/klogd: done
    Starting thttpd.

     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|

    Arago Project http://arago-project.org da850-omapl138-evm ttyS2

    Arago 2009.11 da850-omapl138-evm ttyS2

    da850-omapl138-evm login: root
    root@da850-omapl138-evm:~#

  • Hi Ran,

    Are you trying these two images on the same board? Because I see a difference in the mii_bus:phy_addr value. With the image which is booting, it is showing it as 1:00 and with the 03.21.00.04 image, it is showing 0:00.

    eth0: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=1:00, id=7c0f1) - Booting

    eth0: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=0:00, id=7c0f1) - Not booting

     

    Regards, Sudhakar

  • Hi Sudhakar,

    Yes the board is the same (OMAP L138 EVM LogicPD).
    I actually change nothing except the uImage downloaded in tftp (In my last print I posted when I ran 2.6.33 I actually did not change uboot (left the new PSP  u-boot) , but also with the right u-boot from PSP 3.20.0.11, kernel 2.6.33 runs OK). so the target filesystem, u-boot, board , hardware connections are all the same, and only the uImage (from the image directory of the different PSP package) is changed.

    Regards,

    Ran

  •  I also checked it now with another EVM board, and the results are just the same  (and also PHY address is changed according to the uImage used, just as we've seen in the first EVM board).

    Regards,Ran

  • You could try adding "rootdelay=10" to your bootargs. That will delay mount for 10 seconds. Even though the PHY Link says up, maybe the network driver is not really up yet.

  • Hi Norman,

    Did you mean bootdelay (not rootdelay) ?
    I have also tried to change to higher number, but I do not see any delay effect, maybe still something is wrong in my boot environments ?

    Ran

    U-Boot > pri
    baudrate=115200
    bootargs=mem=32M console=ttyS2,115200n8 root=/dev/nfs nfsroot=192.168.3.10:/home/ho/OMAP-L138_arm_1_00_00_11/FileSystem/ ip=192.168.3.11:192.168.3.10:192.168.3.10:255.255.0.0:xxx:eth0:on
    bootcmd=run rl
    bootdelay=10
    bootfile="uImage"
    ethact=DaVinci-EMAC
    ethaddr=12:13:14:15:16:17
    fileaddr=700000
    filesize=2040D0
    ipaddr=192.168.3.11
    rl=tftp 0xc0700000 uImage; bootm
    serverip=192.168.3.10
    stderr=serial
    stdin=serial
    stdout=serial
    ver=U-Boot 2010.12 (Apr 21 2011 - 18:57:49)

    Environment size: 519/65532 bytes

  • I added rootdelay as you suggested to bootargs, but no change. I also did not notice any delay effect.

    Ran

  • Adding a rootdelay should have resulted in a message being printed out and a noticable delay. The bootargs with root delay would be

    bootargs=mem=32M console=ttyS2,115200n8 root=/dev/nfs nfsroot=192.168.3.10:/home/ho/OMAP-L138_arm_1_00_00_11/FileSystem/ ip=192.168.3.11:192.168.3.10:192.168.3.10:255.255.0.0:xxx:eth0:off rootdelay=10

    Also, the "ip" argument should have "off" when using static IP. The kernel code doesn't seem to be written to care but just in case.

     

  • Hi Norman,

    Yes, it works!

    I should note that the phy addres is still 0:00 (with the old kernel it showd 1:00), but it seems all works now.

    Thank you all,

    Ran

  • Hello Norman,

    I would like to add that the upgrade we've made from psp kernel 2.6.33 to 2.6.37 works fantastic now thanks to you and Sudhakar help.
    The only problem we have in this upgrade is concerned with the USB (gadget), which worked in 2.6.33 and now does not work.
    I hope you can take a look at it at your time in  http://e2e.ti.com/support/embedded/f/354/t/130340.aspx .

    Many Thanks,

    Ran

     

  • I have not looked too deeply into the USB Gadget driver. I usually use it "as is". The later kernels seem to have less USB bugs.

    Perhaps you should add more detail to your other thread. Which specific gadget are you having problems with? What is the failure? Any console output?

  • Hi

    which gadget driver is not working? can you provide console logs.

    Regards

    Ravi B

  • HI ran,

     

    what are the bootargs provided?

    Best Regards

    Prabhakar Lad