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.

HDMI out for rotating cube demo

Other Parts Discussed in Thread: AM3517, TSC2004

Hi, I have an AM3517 EVM and I'd like to send the rotating cube demo out to the HDMI port. What do I need to do?

 

  •    These are the bootarg parameters I use to display on an HDMI monitor on the Mistral OMAP35x EVM for the OMAP35x-PSP-SDK-setuplinux-02.01.03.11 package.  They should be the same for the AM3517 EVM too.  Check the UserGuide.pdf for the PSP package you are using to confirm.

     omapfb.rotate=1 omapfb.rotate_type=1 omap_vout.vid1_static_vrfb_alloc=y omap-dss.def_disp=dvi omapfb.video_mode=720x480MR-16@60'

    Regards, Clay

  • Thanks Clay.

    I have a 1013636 Rev 7 SOM and a 1013702 Rev 4 baseboard. I got some tips from one of my TI contacts, but the changes made to my kit did not enable HDMI. I have S7:8 ON. Here is the output of my print command:


    Texas Instruments X-Loader 1.44 (Dec  8 2009 - 22:58:46)
    Starting OS Bootloader...


    U-Boot 2009.08-dirty (Jan 05 2010 - 10:21:46)

    AM35xx-GP ES1.0, L3-165MHz
    am3517evm board + LPDDR/NAND
    I2C:   ready
    DRAM:  256 MB
    NAND:  512 MiB
    In:    serial
    Out:   serial
    Err:   serial
    I2C read: I/O error
    HECC U20: port before = 000000FF
    I2C read: I/O error
    I2C read: I/O error
    HECC U20: programmed CAN_STB low
    I2C read: I/O error
    HECC U20: port after = 000000FF
    Die ID #030c00000000000001543b210200a00a
    Net:   davinci_emac_initialize
    No ETH PHY detected!!!
    DaVinci EMAC
    Hit any key to stop autoboot:  0
    AM3517_EVM # print
    bootcmd=if mmc init; then if run loadbootscript; then run bootscript; else if ru
    n loaduimage; then run mmcboot; else run nandboot; fi; fi; else run nandboot; fi
    bootdelay=10
    baudrate=115200
    bootfile=uImage
    loadaddr=0x82000000
    console=ttyS2,115200n8
    mmcargs=setenv bootargs console=${console} root=/dev/mmcblk0p2 rw rootfstype=ext
    3 rootwait
    loadbootscript=fatload mmc 0 ${loadaddr} boot.scr
    bootscript=echo Running bootscript from mmc ...; source ${loadaddr}
    loaduimage=fatload mmc 0 ${loadaddr} uImage
    mmcboot=echo Booting from mmc ...; run mmcargs; bootm ${loadaddr}
    nandboot=echo Booting from nand ...; run nandargs; nand read ${loadaddr} 280000
    400000; bootm ${loadaddr}
    dieid#=030c00000000000001543b210200a00a
    ethact=DaVinci EMAC
    nandargs=setenv bootargs console=${console} root=/dev/mtdblock4 rw rootfstype=jf
    fs2 omapdss.def_disp=dvi omapfb.mode=dvi:1024x768MR-16@60 vram=14M omapfb.vram=0
    :14M

    stdin=serial
    stdout=serial
    stderr=serial

    Environment size: 940/131068 bytes
    AM3517_EVM #

    Should I replace the red highlighted section with your stuff?

    Thanks for your help.

     

  •  

      You need to combine these parameters with the others you need for booting into a single command line for the setenv command.  Since the 3517 EVM has a landscape LCD you should drop the rotation parameters " omapfb.rotate=1 omapfb.rotate_type=1 omap_vout.vid1_static_vrfb_alloc=y".  So, at the U-boot prompt, enter something like this:

    setenv bootargs 'console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs nfsroot=128.247.100.72:/target,nolock,rsize=1024,wsize=1024 mem=128M mpurate=600  omap-dss.def_disp=dvi omapfb.video_mode=720x480MR-16@60'

      This must be entered as a single line.  This example assumes you are using NFS boot and the 2.6.29 kernel.

       I'm not sure which kernel version you are using.  The "omapdss.def_disp" and "omapfb.mode=dvi:" syntax from your example is for a 2.6.32 kernel.

    The syntax in my example is for the 2.6.29 kernel from the OMAP35x-PSP-SDK-setuplinux-02.01.03.11 package.

    Regards, Clay

  • Clay,

    I tried to go back to the 4.3" display and of course that doesn't work either now. It actually boots all the way and the terminal says it's running, but the screen is white.. Do you know if settings are saved in flash somewhere? could that be messing me up?

    Here is a boot log, it looks like I have a kit with 2.6.32...


    Texas Instruments X-Loader 1.44 (Dec  8 2009 - 22:58:46)
    Starting OS Bootloader...


    U-Boot 2009.08-dirty (Jan 05 2010 - 10:21:46)

    AM35xx-GP ES1.0, L3-165MHz
    am3517evm board + LPDDR/NAND
    I2C:   ready
    DRAM:  256 MB
    NAND:  512 MiB
    In:    serial
    Out:   serial
    Err:   serial
    I2C read: I/O error
    HECC U20: port before = 000000FF
    I2C read: I/O error
    I2C read: I/O error
    HECC U20: programmed CAN_STB low
    I2C read: I/O error
    HECC U20: port after = 000000FF
    Die ID #030c00000000000001543b210200a00a
    Net:   davinci_emac_initialize
    No ETH PHY detected!!!
    DaVinci EMAC
    Hit any key to stop autoboot:  0
    No MMC card found
    Booting from nand ...

    NAND read: device 0 offset 0x280000, size 0x400000
     4194304 bytes read: OK
    ## Booting kernel from Legacy Image at 82000000 ...
       Image Name:   Linux-2.6.32-rc5
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2265552 Bytes =  2.2 MB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux.............................................................
    ................................................................................
    .. done, booting the kernel.
    Linux version 2.6.32-rc5 (lb@iaqt7) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1
    -203) ) #1 Mon Dec 14 15:46:28 CST 2009
    CPU: ARMv7 Processor [411fc087] revision 7 (ARMv7), cr=10c53c7f
    CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
    Machine: OMAP3517/AM3517 EVM
    Memory policy: ECC disabled, Data cache writeback
    AM3517 ES1.0
     - l2cache : Y
     - iva : Y
     - sgx : Y
     - neon : Y
     - isp : Y
     - 720m : N
    SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x100000
    Reserving 14680064 bytes SDRAM for VRAM
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
    Kernel command line: console=ttyS2,115200n8 root=/dev/mtdblock4 rw rootfstype=jf
    fs2 omapdss.def_disp=dvi omapfb.mode=dvi:1024x768MR-16@60 vram=14M omapfb.vram=0
    :14M
    PID hash table entries: 1024 (order: 0, 4096 bytes)
    Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    Memory: 256MB = 256MB total
    Memory: 240768KB available (3952K code, 354K data, 152K init, 0K highmem)
    Hierarchical RCU implementation.
    NR_IRQS:368
    Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz
    IVA2 clocking rate: 0 MHz
    GPMC revision 5.0
    IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
    Total of 96 interrupts on 1 active controller
    OMAP GPIO hardware version 2.5
    OMAP clockevent source: GPTIMER1 at 32768 Hz
    Console: colour dummy device 80x30
    Calibrating delay loop... 499.92 BogoMIPS (lpj=1949696)
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    NET: Registered protocol family 16
    Display initialized successfully
    MUX: setup N5_3517_GPIO57_OUT (0xfa0020ba): 0x0100 -> 0x0004
    MUX: setup Y9_3430_USB1HS_PHY_STP (0xfa0025d8): 0x0018 -> 0x0003
    MUX: setup Y8_3430_USB1HS_PHY_CLK (0xfa0025da): 0x0000 -> 0x0003
    MUX: setup AA14_3430_USB1HS_PHY_DIR (0xfa0025ec): 0x0100 -> 0x010b
    MUX: setup AA11_3430_USB1HS_PHY_NXT (0xfa0025ee): 0x0100 -> 0x010b
    MUX: setup W13_3430_USB1HS_PHY_D0 (0xfa0025dc): 0x0100 -> 0x010b
    MUX: setup W12_3430_USB1HS_PHY_D1 (0xfa0025de): 0x0100 -> 0x010b
    MUX: setup W11_3430_USB1HS_PHY_D2 (0xfa0025e0): 0x0108 -> 0x010b
    MUX: setup Y11_3430_USB1HS_PHY_D3 (0xfa0025ea): 0x0100 -> 0x010b
    MUX: setup W9_3430_USB1HS_PHY_D4 (0xfa0025e4): 0x0100 -> 0x010b
    MUX: setup Y12_3430_USB1HS_PHY_D5 (0xfa0025e6): 0x0100 -> 0x010b
    MUX: setup W8_3430_USB1HS_PHY_D6 (0xfa0025e8): 0x0100 -> 0x010b
    MUX: setup Y13_3430_USB1HS_PHY_D7 (0xfa0025e2): 0x0100 -> 0x010b
    MUX: setup U1_34XX_GPIO65 (0xfa0020d2): 0x0118 -> 0x011c
    MUX: setup M2_34XX_GPIO55 (0xfa0020b6): 0x0118 -> 0x011c
    OMAP DMA hardware revision 4.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 rev3.12 at 400 kHz
    i2c_omap i2c_omap.2: bus 2 rev3.12 at 400 kHz
    i2c_omap i2c_omap.3: bus 3 rev3.12 at 400 kHz
    Switching to clocksource 32k_counter
    musb_hdrc: version 6.0, cppi4.1-dma, otg (peripheral+host), debug=0
    AM3517 OTG revision 4ea41001, PHY f0036a2, control 00
    musb_hdrc: USB OTG mode controller at d0810000 using DMA, IRQ 71
    NET: Registered protocol family 2
    IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    TCP: Hash tables configured (established 8192 bind 8192)
    TCP reno registered
    NET: Registered protocol family 1
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    AM3517 Linux PSP version 03.00.00.03 (AM3517EVM)
    NetWinder Floating Point Emulator V0.97 (double precision)
    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.
    msgmni has been set to 470
    alg: No test for stdrng (krng)
    io scheduler noop registered
    io scheduler anticipatory registered (default)
    io scheduler deadline registered
    io scheduler cfq registered
    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
    omap2-nand driver initializing
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xbc (Micron NAND 512MiB 1,8V 16-bi
    t)
    Creating 5 MTD partitions on "omap2-nand.0":
    0x000000000000-0x000000080000 : "xloader-nand"
    0x000000080000-0x000000240000 : "uboot-nand"
    0x000000240000-0x000000280000 : "params-nand"
    0x000000280000-0x000000780000 : "linux-nand"
    0x000000780000-0x000020000000 : "jffs2-nand"
    vcan: Virtual CAN interface driver
    CAN device driver interface
    TI High End CAN Controller Driver 0.7
    ti_hecc ti_hecc.1: device registered (reg_base=d0870000, irq=24)
    usbcore: registered new interface driver cdc_ether
    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
    usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb1: Product: OMAP-EHCI Host Controller
    usb usb1: Manufacturer: Linux 2.6.32-rc5 ehci_hcd
    usb usb1: SerialNumber: ehci-omap.0
    usb usb1: configuration #1 chosen from 1 choice
    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.
    usbcore: registered new interface driver usbtest
    g_ether gadget: using random self ethernet address
    g_ether gadget: using random host ethernet address
    usb0: MAC 66:51:0d:bb:3c:dd
    usb0: HOST MAC ba:39:59:a5:68:25
    g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
    g_ether gadget: g_ether ready
    musb_hdrc musb_hdrc: MUSB HDRC host driver
    musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2
    usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb2: Product: MUSB HDRC host driver
    usb usb2: Manufacturer: Linux 2.6.32-rc5 musb-hcd
    usb usb2: SerialNumber: musb_hdrc
    usb usb2: configuration #1 chosen from 1 choice
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    input: TSC2004 Touchscreen as /class/input/input0
    rtc-s35390a 1-0030: rtc core: registered rtc-s35390a as rtc0
    Linux video capture interface: v2.00
    usbcore: registered new interface driver uvcvideo
    USB Video Class driver (v0.1.0)
    vpfe_init
    vpfe-capture: vpss clock vpfe_ck enabled
    vpfe-capture: vpss clock vpfe_pck enabled
    vpfe-capture vpfe-capture: v4l2 device registered
    vpfe-capture vpfe-capture: video device registered
    tvp514x 3-005c: tvp514x 3-005c decoder driver registered !!
    vpfe-capture vpfe-capture: v4l2 sub device tvp514x registered
    dm644x_ccdc_init
    vpfe_register_ccdc_device: DM6446 CCDC
    DM6446 CCDC is registered with vpfe.
    usbcore: registered new interface driver usbhid
    usbhid: v2.6: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 tlv320aic23
    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
    OMAP3517 / AM3517 EVM SoC init
    AIC23 Audio Codec 0.1
    tlv320aic23_write cannot write 000 to register R15
    asoc: tlv320aic23 <-> omap-mcbsp-dai-0 mapping ok
    tlv320aic23_write cannot write 001 to register R9
    tlv320aic23_write cannot write 004 to register R5
    tlv320aic23_write cannot write 117 to register R0
    tlv320aic23_write cannot write 117 to register R1
    tlv320aic23_write cannot write 010 to register R4
    tlv320aic23_write cannot write 070 to register R2
    tlv320aic23_write cannot write 070 to register R3
    tlv320aic23_write cannot write 001 to register R9
    ALSA device list:
      #0: am3517evm (tlv320aic23)
    TCP cubic registered
    NET: Registered protocol family 17
    NET: Registered protocol family 15
    can: controller area network core (rev 20090105 abi 8)
    NET: Registered protocol family 29
    can: raw protocol (rev 20090105)
    can: broadcast manager protocol (rev 20090105 t)
    Power Management for TI OMAP3.
    VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
    fbcvt: 1024x768@60: CVT Name - .786M3-R
    omapdss DSS error: Requested pixel clock not possible with the current OMAP2_DSS
    _MIN_FCK_PER_PCK setting. Turning the constraint off.
    omapdss DSS error: Requested pixel clock not possible with the current OMAP2_DSS
    _MIN_FCK_PER_PCK setting. Turning the constraint off.
    davinci_emac_probe: using random MAC addr: 1e:ac:ea:bb:8f:6b
    emac-mii: probed
    rtc-s35390a 1-0030: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    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_voutBuffer Size = 3686400
    omap_vout: registered and initialized video device 1 [v4l2]
    omap_voutBuffer Size = 3686400
    omap_vout: registered and initialized video device 2 [v4l2]
    Empty flash at 0x00c76610 ends at 0x00c76800
    Empty flash at 0x108ca0e0 ends at 0x108ca800
    VFS: Mounted root (jffs2 filesystem) on device 31:4.
    Freeing init memory: 152K
    INIT: version 2.86 booting
    Please wait: booting...
    Starting udev
    udev: starting version 141
    udev: deprecated sysfs layout; update the kernel or disable CONFIG_SYSFS_DEPRECA
    TED; some udev features will not work correctly
    udevd[484]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[484]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[484]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[484]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[484]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[484]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[484]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[484]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[484]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[484]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[484]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[484]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[484]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[484]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[484]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[484]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[484]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[484]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[484]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[484]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[484]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[484]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[484]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[484]: inotify_add_watch(3, (null), 10) failed: Bad address

    Remounting root file system...
    root: mount: mounting rootfs on / failed: No such file or directory
    Setting up IP spoofing protection: rp_filter.
    Configuring network interfaces... eth0: no PHY found
    ifconfig: SIOCSIFFLAGS: Operation not permitted
    done.
    Wed Dec  2 18:59:00 UTC 2009
    INIT: Entering runlevel: 5
    Starting telnet daemon.
    Starting syslogd/klogd: done
    Loaded PowerVR consumer services.
    Profiling enabled
                     Demo started.
                                  display[3] w: 1024, h: 768
                                                            Capture device: /dev/vid
    eo3

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

    Arago Project http://arago-project.org arago ttyS2

    Arago 2009.11 arago ttyS2

    arago login:
                 device: BufferDevice0
                                       num: 2, width: 320, height: 240, format: 0x19
    07

    FPS: 60.67      CPU Load:  5%

     

  • Clay -

    I'm trying to get that demo going for ESC on HDMI as well. Do you know if anyone there has actually run it? I talked to one of my contacts and he said he couldn't recall testing it through HDMI.

    It would be a huge help for me to know someone has actually taken an EVM and flipped S7:8 ON and changed the bootargs and run HDMI out.

    Regards

    Richard

  • Clay,

     

    I was able to get my EVM restored to working order - I must have had the wrong kind of ' - because it showed up as a funky character after a cut and paste to TeraTerm.

    Thanks

     

  • Richard,

        For the 2.6.32 kernel, you should be using these parameters in your bootargs:

    omapdss.def_disp="dvi"

    omapfb.mode=dvi:720x480@60

    The boot args are only saved in flash when you use this command:

    saveenv

    Regards, Clay

  • Clay -

    The "dvi" fixed it !! I get the cube rotating and the USB camera is working.

    I don't get the Processor utilization and the background. I'm using the 1024 x 768 version - do you know if it matters?

    Thanks!!