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.

OMAP35x PSP 03.00.01.06 Boot errors

Other Parts Discussed in Thread: OMAP3530, TVP5146M2, DM3730

I'm trying to get started with the 3530 EVM board from Mistral and the latest PSP from TI.

I downloaded and unpacked the AM32x-OMAP35x-PSP-SDK-03.00.01.06.tgz file from the TI website. 

I then set up U-Boot to tftp the kernel provided at images/kernel/omap3530/uImage and boot it.

I also downloaded and unpacked the nfs_dvsdk_03_01_00_06.tar.gz file, and setup U-Boot to pass the appropriate bootargs to mount it over NFS.

When I boot up, I get the errors shown below - here are my questions:

1)  Do I need to worry about the 'display already enabled' error?  Later when it tries to start the demo, I don't see anything on the display...

2)  Why would the Graphics pipeline underflow and disable itself during boot?  Will this cause problems later when an App tries to use it?

3)  Why doesn't the root filesystem have a valid modules directory for the kernel (kernel is 2.6.32, fs has 2.6.29 modules)?  I don't think I need any modules (all required functionality is compiled into the kernel?), but the 2.6.29 sub-tree does contain a few modules.  I can eliminate the error by simply creating an empty 2.6.32 directory, but isn't this an issue that should be fixed in the provided root fs?

4)  Am I missing some key factor in getting the board to boot up correctly?  My bootargs are:

Kernel command line: console=ttyS0,115200 noinitrd root=/dev/nfs rw ip=192.168.16.6 nfsroot=/home/rball/roots/psp3.0729 mem=99M ip=192.168.16.235:192.168.16.6:192.168.16.1:255.255.255.0::eth0:on omapfb.rotate=1 omapfb.rotate_type=1

Thanks in advance for any help.

Rick

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

Linux version 2.6.32 (x0029463@psplinux050) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #1 Fri May 7 00:06:07 IST 2010
...

tvp514x 3-005c: tvp5146m2 found at 0xb8 (OMAP I2C adapter)
omapdss DPI error: display already enabled
omap_vout omap_vout: 'lcd' Display already enabled
omapdss DPI error: display already enabled
omap_vout omap_vout: 'lcd' Display already enabled
...

Starting udev
omapdss DISPC error: GFX_FIFO_UNDERFLOW, disabling GFX
Populating dev cache
Remounting root file system...
WARNING: Couldn't open directory /lib/modules/2.6.32: No such file or directory
FATAL: Could not open /lib/modules/2.6.32/modules.dep.temp for writing: No such file or directory
modprobe: FATAL: Could not load /lib/modules/2.6.32/modules.dep: No such file or directory

modprobe: FATAL: Could not load /lib/modules/2.6.32/modules.dep: 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.
Wed Dec  2 19:18:00 UTC 2009
Configuring update-modules
INIT: Entering runlevel: 5
Starting telnet daemon.
Starting syslogd/klogd: modprobe: FATAL: Could not load /lib/modules/2.6.32/modules.dep: No such file or directory

done
Starting thttpd.
CMEMK module: built on May 28 2010 at 19:47:28
  Reference Linux version 2.6.32
  File /Arago/arago-install/dvsdk_3_01_00_10/linuxutils_2_25_02_08/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
allocated heap buffer 0xc7000000 of size 0x17000
cmemk initialized
DSPLINK Module (1.65.00.02) created on Date: May 28 2010 Time: 19:43:04
SDMAK module: built on May 28 2010 at 19:47:30
  Reference Linux version 2.6.32
  File /Arago/arago-install/dvsdk_3_01_00_10/linuxutils_2_25_02_08/packages/ti/sdo/linuxutils/sdma/src/module/sdmak.c
Demo interface started at level 0.
                                  Error: Failed to create display device instance
                                                                                 omapdss DISPC error: GFX_FIFO_UNDERFLOW, disabling GFX
omapdss DISPC error: GO bit not down for channel 0


  • Rick,

    I am not using the file system that you quote but I will try to help anyway.

    1) don't care. I see this often.

    2) that should not happen and is probably the primary reason you don't see anything on the display

    3) we would never provide the right kernel modules... I prefer to keep the modules out of the file sys as they change with any kernel build. However we need better documentation on that. As you say in most cases we have all necessary modules built into the kernel anyway for simplicity so right now it is a don't care for most cases.

    4) There are some issues with your boot args. There are two IP= statements. Seems like the kernel takes only one as you can get the NFS filesystem connected.

    You do not provide a display resolution config. So it is not clear what gets used. There should be instructions in the DVSDK docs what display should be used for the demo that starts (DVI, LCD,...) and what resolution is required. You only specify the rotation options. are they needed? See also the Display User guide on the wiki.

    To make things easier you could start with the file system that is provided with the PSP (not the one from DVSDK...). This should start the Matrix GUI on the onboard LCD-VGA display.

    Regards.

  • Hi Rick,what are the options i need to enable under kernel> Device Drivers> Graphics support ........    in kernel 2.6.32 source code using make menuconfig so that while booting kernel on beagleboard-xm i shall be able to see text messages on the LCD display?

    Here are the boot messages of my kernel on minicom:

    Texas Instruments X-Loader 1.4.4ss (Aug 19 2010 - 02:49:27)
    Beagle xM Rev A
    Reading boot sector
    Loading u-boot.bin from mmc


    U-Boot 2010.03-dirty (Aug 20 2010 - 20:50:46)

    OMAP3630/3730-GP ES2.0, CPU-OPP2, L3-165MHz,
    OMAP3 Beagle board + LPDDR/NAND
    I2C:   ready
    DRAM:  512 MB
    NAND:  0 MiB
    *** Warning - bad CRC or NAND, using default environment

    In:    serial
    Out:   serial
    Err:   serial

    Probing for expansion boards, if none are connected you'll see a harmless I2C error.

    No EEPROM on expansion board
    Beagle xM Rev A
    Die ID #4c8200019ff80000015eeaa10102301d
    Hit any key to stop autoboot:  0
    mmc1 is available
    The user button is currently NOT pressed.
    reading boot.scr

    ** Unable to read "boot.scr" from mmc 1:1 **
    reading user.scr

    755 bytes read
    Running bootscript from mmc ...
    ## Executing script at 80200000
    mmc1 is available
    reading ramdisk.gz

    19960110 bytes read
    reading uImage

    2605052 bytes read
    Booting from ramdisk ...
    ## Booting kernel from Legacy Image at 80200000 ...
       Image Name:   Linux-2.6.32
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2604988 Bytes =  2.5 MB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux.....................................................................................................................................................
    Linux version 2.6.32 (root@punit-desktop) (gcc version 4.3.1 (GCC) ) #0 Thu Sep 22 13:50:28 IST 2011
    CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
    Machine: OMAP3 Beagle Board
    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
    Reserving 16777216 bytes SDRAM for VRAM
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 117760
    Kernel command line: console=tty0 console=ttyS2,115200n8 mem=80M@0x80000000 mem=384M@0x88000000 mpurate=1000 buddy=none camera=lbcm3m1 vram=16M omapfb.vram=0:8M,1:4M,22
    Beagle expansionboard: none
    PID hash table entries: 2048 (order: 1, 8192 bytes)
    Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    Memory: 80MB 384MB = 464MB total
    Memory: 317440KB available (4584K code, 827K data, 184K init, 0K highmem)
    Hierarchical RCU implementation.
    NR_IRQS:402
    Clocking rate (Crystal/Core/MPU): 26.0/332/600 MHz
    Reprogramming SDRC clock to 332000000 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: GPTIMER12 at 32768 Hz
    Console: colour dummy device 80x30
    console [tty0] enabled
    Calibrating delay loop... 515.72 BogoMIPS (lpj=2015232)
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    regulator: core version 0.5
    NET: Registered protocol family 16
    Found NAND on CS0
    Registering NAND on CS0
    Unable to get DVI reset GPIO
    Target VDD1 OPP = 4, VDD2 OPP = 2
    OMAP DMA hardware revision 5.0
    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
    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
    regulator: VUSB1V5: 1500 mV normal standby
    regulator: VUSB1V8: 1800 mV normal standby
    regulator: VUSB3V1: 3100 mV normal standby
    twl4030_usb twl4030_usb: Initialized TWL4030 USB module
    regulator: VMMC1: 1850 <--> 3150 mV normal standby
    regulator: VDAC: 1800 mV normal standby
    regulator: VPLL2: 1800 mV normal standby
    regulator: VSIM: 1800 <--> 3000 mV normal standby
    regulator: VAUX3: 1800 mV normal standby
    regulator: VAUX4: 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 100 kHz
    Switching to clocksource 32k_counter
    musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0
    musb_hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
    NET: Registered protocol family 2
    IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
    TCP established hash table entries: 16384 (order: 5, 131072 bytes)
    TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
    TCP: Hash tables configured (established 16384 bind 16384)
    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.
    Trying to unpack rootfs image as initramfs...
    rootfs image is not initramfs (no cpio magic); looks like an initrd
    Freeing initrd memory: 131072K
    omap-iommu omap-iommu.0: isp registered
    NetWinder Floating Point Emulator V0.97 (double precision)
    ashmem: initialized
    VFS: Disk quotas dquot_6.5.2
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
    yaffs Sep 22 2011 13:55:17 Installing.
    msgmni has been set to 876
    alg: No test for stdrng (krng)
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    OMAP DSS rev 2.0
    OMAP DISPC rev 3.0
    OMAP VENC rev 2
    Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
    serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
    serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
    console [ttyS2] enabled
    brd: module loaded
    loop: module loaded
    usbcore: registered new interface driver asix
    usbcore: registered new interface driver cdc_ether
    usbcore: registered new interface driver cdc_eem
    usbcore: registered new interface driver dm9601
    usbcore: registered new interface driver smsc95xx
    usbcore: registered new interface driver gl620a
    usbcore: registered new interface driver net1080
    usbcore: registered new interface driver plusb
    usbcore: registered new interface driver rndis_host
    usbcore: registered new interface driver cdc_subset
    usbcore: registered new interface driver zaurus
    usbcore: registered new interface driver MOSCHIP usb-ethernet driver
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
    ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
    ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
    ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 3 ports detected
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    android init
    android_probe pdata: c04df54c
    android_bind
    android_usb gadget: android_usb ready
    musb_hdrc musb_hdrc: MUSB HDRC host driver
    musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    f_adb init
    android_register_function adb
    adb_bind_config
    f_mass_storage init
    android_register_function usb_mass_storage
    mice: PS/2 mouse device common for all mice
    input: gpio-keys as /devices/platform/gpio-keys/input/input0
    i2c /dev entries driver
    Linux video capture interface: v2.00
    mt9v113 2-003c: Registered to v4l2 master omap34xxcam!!
    omap-iommu omap-iommu.0: isp: version 1.1
    OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
    mmci-omap-hs mmci-omap-hs.1: err -16 configuring card detect
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    logger: created 64K log 'log_main'
    logger: created 256K log 'log_events'
    logger: created 64K log 'log_radio'
    logger: created 64K log 'log_system'
    Advanced Linux Sound Architecture Driver Version 1.0.21.
    usbcore: registered new interface driver snd-usb-audio
    usb 1-2: new high speed USB device using ehci-omap and address 2
    No device for DAI omap-mcbsp-dai-0
    No device for DAI omap-mcbsp-dai-1
    No device for DAI omap-mcbsp-dai-2
    No device for DAI omap-mcbsp-dai-3
    No device for DAI omap-mcbsp-dai-4
    OMAP3 Beagle SoC init
    asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok
    ALSA device list:
      #0: omap3beagle (twl4030)
    TCP cubic registered
    NET: Registered protocol family 17
    NET: Registered protocol family 15
    Power Management for TI OMAP3.
    Unable to set L3 frequency (400000000)
    Switched to new clocking rate (Crystal/Core/MPU): 26.0/332/1000 MHz
    IVA2 clocking rate: 800 MHz
    SmartReflex driver initialized
    omap3beaglelmb: Driver registration complete
    VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    fbcvt: 1024x768@60: CVT Name - .786M3-R
    regulator_init_complete: incomplete constraints, leaving VAUX4 on
    regulator_init_complete: incomplete constraints, leaving VAUX3 on
    regulator_init_complete: incomplete constraints, leaving VDVI on
    regulator_init_complete: incomplete constraints, leaving VDAC on
    drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
    hub 1-2:1.0: USB hub found
    hub 1-2:1.0: 5 ports detected
    mt9v113 2-003c: chip id mismatch read 0x0,                               expecting 0x2280
    mt9v113 2-003c: Unable to detect decoder
    mt9v113 2-003c: chip id mismatch read 0x0,                               expecting 0x2280
    mt9v113 2-003c: Unable to detect decoder
    mt9v113 2-003c: chip id mismatch read 0x0,                               expecting 0x2280
    mt9v113 2-003c: Unable to detect decoder
    mt9v113 2-003c: chip id mismatch read 0x0,                               expecting 0x2280

    mt9v113 2-003c: Unable to detect decoder
    omapdss DPI error: display already enabled
    omap_vout omap_vout: 'dvi' Display already enabled
    omapdss DPI error: display already enabled
    omap_vout omap_vout: 'dvi' Display already enabled
    omap_vout omap_vout: Buffer Size = 3686400
    mmc0: host does not support reading read-only switch. assuming write-enable.
    mmc0: new SDHC card at address e624
    mmcblk0: mmc0:e624 SU04G 3.69 GiB
     mmcblk0:
    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
     p1
    RAMDISK: gzip image found at block 0
    usb 1-2.1: new high speed USB device using ehci-omap and address 3
    smsc95xx v1.0.4
    usb0: register 'smsc95xx' at usb-ehci-omap.0-2.1, smsc95xx USB 2.0 Ethernet, 5e:45:db:99:44:6a
    VFS: Mounted root (ext2 filesystem) on device 1:0.
    Freeing init memory: 184K
    INIT: version 2.86 booting
    Please wait: booting...
    Starting udev
    FAT: invalid media value (0x00)
    VFS: Can't find a valid FAT filesystem on dev mmcblk0.
    yaffs: dev is 187695104 name is "mmcblk0"
    yaffs: passed flags ""
    yaffs: Attempting MTD mount on 179.0, "mmcblk0"
    yaffs: dev is 187695104 name is "mmcblk0"
    yaffs: passed flags ""
    yaffs: Attempting MTD mount on 179.0, "mmcblk0"
    Remounting root file system...
    Caching udev devnodes
    Populating dev cache
    logger: mount: mount point /proc/bus/usb does not exist
    Configuring network interfaces... ifconfig: SIOCGIFFLAGS: No such device
    udhcpc (v1.13.2) started
    Sending discover...
    Sending discover...
    Sending discover...
    No lease, forking to background
    done.
    Setting up IP spoofing protection: rp_filter.
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    Fri Aug 20 20:54:00 UTC 2010
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    Configuring update-modules.
    Configuring ti-dsplink-module.
    Configuring ti-lpm-module.
    Configuring util-linux-ng.
    update-alternatives: Linking //bin/dmesg to dmesg.util-linux-ng
    update-alternatives: Linking //bin/kill to kill.util-linux-ng
    update-alternatives: Linking //bin/more to more.util-linux-ng
    update-alternatives: Linking //sbin/mkswap to mkswap.util-linux-ng
    update-alternatives: Linking //sbin/pivot_root to pivot_root.util-linux-ng
    update-alternatives: Linking //sbin/sln to sln.util-linux-ng
    update-alternatives: Linking //sbin/mkfs.minix to mkfs.minix.util-linux-ng
    update-alternatives: Linking //sbin/fsck.minix to fsck.minix.util-linux-ng
    update-alternatives: Linking //usr/bin/hexdump to hexdump.util-linux-ng
    update-alternatives: Linking //usr/bin/last to last.sysvinit
    update-alternatives: Linking //usr/bin/logger to logger.util-linux-ng
    update-alternatives: Linking //usr/bin/mesg to mesg.sysvinit
    update-alternatives: Linking //usr/bin/renice to renice.util-linux-ng
    update-alternatives: Linking //usr/bin/wall to wall.sysvinit
    update-alternatives: Linking //usr/bin/chfn to chfn.util-linux-ng
    update-alternatives: Linking //usr/bin/newgrp to newgrp.util-linux-ng
    update-alternatives: Linking //usr/bin/chsh to chsh.util-linux-ng
    update-alternatives: Linking //bin/login to login.util-linux-ng
    update-alternatives: Error: not linking //sbin/vipw to vipw.util-linux-ng since //sbin/vipw exists and is not a link
    update-alternatives: Linking //sbin/vigr to vigr.util-linux-ng
    update-alternatives: Linking //usr/bin/reset to reset.util-linux-ng
    update-alternatives: Linking //usr/bin/setsid to setsid.util-linux-ng
    update-alternatives: Linking //usr/bin/chrt to chrt.util-linux-ng
    update-alternatives: Linking //sbin/hwclock to ../bin/busybox
    update-alternatives: Linking //sbin/shutdown to shutdown.sysvinit
    update-alternatives: Linking //sbin/reboot to reboot.sysvinit
    update-alternatives: Linking //sbin/halt to halt.sysvinit
    INIT: Entering runlevel: 5
    Creating Dropbear SSH server RSA host key.
    Will output 1024 bit rsa secret key to '/etc/dropbear/dropbear_rsa_host_key'
    Generating key, this may take a while...
    Public key portion is:
    ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgwCa45i7RJTrjIsipCMbTa12anRbPQdxGU1MNPxkQQsL+BvIRWIqQPF1ulPGnCjFppyUulqUmt8o2vv5ZT9bYCUiRB+GskmykRgd5sQYfBGst7e6I0oc7uyuRurfS0ksG60d
    Fingerprint: md5 a3:61:cd:41:92:fc:18:8f:e3:3c:82:b4:7f:56:7a:dc
    Starting Dropbear SSH server: dropbear.
    Starting syslogd/klogd: done

    .-------.                                           
    |       |                  .-.                      
    |   |   |-----.-----.-----.| |   .----..-----.-----.
    |       |     | __  |  ---'| '--.|  .-'|     |     |
    |   |   |  |  |     |---  ||  --'|  |  |  '  | | | |
    '---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
                    -'  |
                    '---'

    The Angstrom Distribution beagleboard ttyS2

    Angstrom 2010.7-test-20100820 beagleboard ttyS2

    beagleboard login:
    끮TRL-A Z for help |115200 8N1 | NOR | Minicom 2.4    | VT102 |      Offline

  • Hi Rick,


    Let me try to answer your kernel/driver related questions,

     

    1)  Do I need to worry about the 'display already enabled' error?  Later when it tries to start the demo, I don't see anything on the display...

    [Vaibhav] This is not an error actually, in the kernel boot sequence, Fbdev driver gets registered before omap_vout driver and both tries to enable the display driver. You can ignore it.

    2)  Why would the Graphics pipeline underflow and disable itself during boot?  Will this cause problems later when an App tries to use it?

    [Vaibhav] This error means, the DSS DMA is not able to fill the FIFO at the desired rate. Can you try disabling rotation? Do not specify any boot argument related to rotation. Once you get GFX FIFO underflow error, the driver disables the overlay, then you have to manually enable it.

    Thanks,

    Vaibhav