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.

AM5718: IDK and HDMI output

Part Number: AM5718
Other Parts Discussed in Thread: PMP, DRA722

from customer:

Customer got today AM57128 IDK (no LCD board).

Then he asked about LCD/display possibilities. I checked the user’s guide and found there is an option for touch LCD if the board is configured with 4 ETH connectors. I think the board we got has 6 connectors leaving the HDMI connection as the only alternative. This is fine, but do you have any pointers to instructions/documents on how to enable video output to the HDMI?

  • Hi Rogerio,

    As far as I know there is only one AM571x IDK. I don't understand this part about "there is an option for touch LCD if the board is configured with 4 ETH connectors. I think the board we got has 6 connectors..."
  • Biser,
    I sent the link to field team and they will come back with the details. But if I am understanding the question correctly, they got the IDK without the LCD and customer wants to use the existing HDMI connector...
  • Rogerio,

    I am clear now on what they mean. The next question is what software are they running on the board?
  • Biser,

    Wolfgang here, it's my customer starting up the EVM. I got the notion of 4 or 6 ETH connectors from the User's Guide http://www.ti.com/lit/ug/sprui97/sprui97.pdf page 20 paragraph 9.3:

    "The LCD output functionality is available only when the AM571x IDK EVM is configured for the 4-port Ethernet mode.When the AM571x IDK EVM is configured for the 6-port Ethernet mode, the LCD output is no longer available since the same pins on the AM5718 device are used for both functions."

    I probably misinterpreted this as two different HW build configurations.

    At any rate, the EVM did not include an LCD and the customer wishes to use the HDMI for display output. The customer is commented the following on their EVM bring up:

    We downloaded and installed software-dl.ti.com/.../index_FDS.html

    ti-processor-sdk-linux-am57xx-evm-03.02.00.05  using an SD-card.

    I can now boot the kernel (can see this on /dev/ttyUSBx).
    There is nothing coming out on HDMI.

    Also looking for a way to access the EVM via Ethernet.

    Thank you.

    Regards,

    / Wolfgang

  • Hi Wolfgang,

    From what I see on the SDK download pages, this board is supported only by the Linux-RT and RTOS SDK's:

    software-dl.ti.com/.../index_FDS.html
    software-dl.ti.com/.../index_FDS.html
  • Hi Biser,

    Thank you for pointing that out. I'll ask the customer to try one of these versions instead.

    Regards,
    / Wolfgang
  • Hello,
    I am using the same board AM57128 IDK (no LCD board) with Linux RT (software-dl.ti.com/.../index_FDS.html).
    When booting from SD-Card, I see in the terminal, that the kernel boots up (I cannot see anything strange). I have connected a screen through HDMI - it gets a signal, which is just a black screen.

    I am wondering is how I can access the board. It seems not to be possible to access it through the UART.
    I like to connect through an ssh via Ethernet. Can you describe me how to do it? I see that J3 and J5 seem to be available after booting. At least they blink, when connecting a cable, but they are not picking up an address from the DHCP server.
    Can you please help me? It is a bit difficult to debug something on a device, I cannot even access.

    Thank you in advance

    Astrid


    PS: here is my boot log:

    U-Boot 2016.05-g6c5519b6fc (Dec 14 2016 - 20:12:52 -0500)

    CPU : DRA722-GP ES2.0
    Model: TI AM5718 IDK
    Board: AM571x IDK REV 1.3B
    DRAM: 1 GiB
    MMC: no pinctrl for sdr104
    no pinctrl for ddr50
    no pinctrl for sdr50
    no pinctrl for sdr25
    no pinctrl for sdr12
    OMAP SD/MMC: 0, OMAP SD/MMC: 1
    reading uboot.env

    ** Unable to read "uboot.env" from mmc0:1 **
    Using default environment

    am57x_idk_lcd_detect: Touch screen detect failed: 1
    SCSI: SATA link 0 timeout.
    AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
    flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
    scanning bus for devices...
    Found 0 device(s).
    Net:
    Warning: ethernet@48484000 using MAC address from ROM
    eth0: ethernet@48484000
    Hit any key to stop autoboot: 0
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    reading boot.scr
    ** Unable to read file boot.scr **
    reading uEnv.txt
    574 bytes read in 3 ms (186.5 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc0 ...
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    3564080 bytes read in 214 ms (15.9 MiB/s)
    99510 bytes read in 56 ms (1.7 MiB/s)
    Kernel image @ 0x82000000 [ 0x000000 - 0x366230 ]
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 8ffe4000, end 8ffff4b5 ... OK

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Initializing cgroup subsys cpuset
    [ 0.000000] Initializing cgroup subsys cpu
    [ 0.000000] Initializing cgroup subsys cpuacct
    [ 0.000000] Linux version 4.4.32-rt41-ge26c84b0ac (gtbldadm@ubuntu-16) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #1 SMP PREEMPT RT Wed Dec 14 19:34:32 EST 2016
    [ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [ 0.000000] Machine model: TI AM5718 IDK
    [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
    [ 0.000000] Reserved memory: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
    [ 0.000000] Reserved memory: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
    [ 0.000000] Reserved memory: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
    [ 0.000000] cma: Reserved 24 MiB at 0x00000000be400000
    [ 0.000000] Forcing write-allocate cache policy for SMP
    [ 0.000000] Memory policy: Data cache writealloc
    [ 0.000000] OMAP4: Map 0x00000000bfd00000 to fe600000 for dram barrier
    [ 0.000000] DRA722 ES2.0
    [ 0.000000] PERCPU: Embedded 11 pages/cpu @ef63f000 s15296 r8192 d21568 u45056
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 210496
    [ 0.000000] Kernel command line: console=ttyO2,115200n8 root=PARTUUID=42403383-02 rw rootfstype=ext4 rootwait
    [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
    [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [ 0.000000] Memory: 648976K/848896K available (6519K kernel code, 366K rwdata, 2456K rodata, 340K init, 331K bss, 19696K reserved, 180224K cma-reserved, 234496K highmem)
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    [ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc08cc034 (8977 kB)
    [ 0.000000] .init : 0xc08cd000 - 0xc0922000 ( 340 kB)
    [ 0.000000] .data : 0xc0922000 - 0xc097d9a0 ( 367 kB)
    [ 0.000000] .bss : 0xc0980000 - 0xc09d2e2c ( 332 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
    [ 0.000000] RCU kthread priority: 1.
    [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
    [ 0.000000] NR_IRQS:16 nr_irqs:16 16
    [ 0.000000] ti_dt_clocks_register: failed to lookup clock node gmac_gmii_ref_clk_div
    [ 0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [ 0.000000] Architected cp15 timer(s) running at 6.14MHz (phys).
    [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    [ 0.000004] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [ 0.000011] Switching to timer-based delay loop, resolution 162ns
    [ 0.000321] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [ 0.000324] OMAP clocksource: 32k_counter at 32768 Hz
    [ 0.000743] Console: colour dummy device 80x30
    [ 0.000867] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    [ 0.000869] This ensures that you still see kernel messages. Please
    [ 0.000871] update your kernel commandline.
    [ 0.000884] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [ 0.000887] pid_max: default: 32768 minimum: 301
    [ 0.000971] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.000977] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.001531] Initializing cgroup subsys io
    [ 0.001542] Initializing cgroup subsys memory
    [ 0.001562] Initializing cgroup subsys devices
    [ 0.001571] Initializing cgroup subsys freezer
    [ 0.001577] Initializing cgroup subsys perf_event
    [ 0.001584] Initializing cgroup subsys pids
    [ 0.001631] CPU: Testing write buffer coherency: ok
    [ 0.001821] /cpus/cpu@0 missing clock-frequency property
    [ 0.001860] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [ 0.001897] Setting up static identity map for 0x800082c0 - 0x80008318
    [ 0.080058] Brought up 1 CPUs
    [ 0.080070] SMP: Total of 1 processors activated (12.29 BogoMIPS).
    [ 0.080077] CPU: All CPU(s) started in HYP mode.
    [ 0.080083] CPU: Virtualization extensions available.
    [ 0.080402] devtmpfs: initialized
    [ 0.110122] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [ 0.111126] omap_hwmod: l3_main_2 using broken dt data from ocp
    [ 0.308176] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.314026] pinctrl core: initialized pinctrl subsystem
    [ 0.314943] NET: Registered protocol family 16
    [ 0.316099] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.325590] OMAP GPIO hardware version 0.1
    [ 0.332951] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [ 0.356282] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [ 0.356293] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [ 0.356777] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [ 0.356787] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [ 0.357426] OMAP DMA hardware revision 0.0
    [ 0.441185] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [ 0.442580] edma 43300000.edma: memcpy is disabled
    [ 0.447361] edma 43300000.edma: TI EDMA DMA engine driver
    [ 0.451299] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [ 0.451591] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [ 0.451852] omap-iommu 58882000.mmu: 58882000.mmu registered
    [ 0.452114] omap-iommu 55082000.mmu: 55082000.mmu registered
    [ 0.455224] palmas 0-0058: Irq flag is 0x00000004
    [ 0.472864] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
    [ 0.554503] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [ 0.554724] media: Linux media interface: v0.10
    [ 0.554777] Linux video capture interface: v2.00
    [ 0.554819] pps_core: LinuxPPS API ver. 1 registered
    [ 0.554826] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.554851] PTP clock support registered
    [ 0.554907] EDAC MC: Ver: 3.0.0
    [ 0.561295] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400
    [ 0.561587] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400
    [ 0.561880] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [ 0.562064] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [ 0.562390] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.563255] clocksource: Switched to clocksource arch_sys_counter
    [ 0.573631] NET: Registered protocol family 2
    [ 0.574152] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.574228] TCP bind hash table entries: 8192 (order: 5, 229376 bytes)
    [ 0.574526] TCP: Hash tables configured (established 8192 bind 8192)
    [ 0.574593] UDP hash table entries: 512 (order: 3, 32768 bytes)
    [ 0.574651] UDP-Lite hash table entries: 512 (order: 3, 32768 bytes)
    [ 0.574933] NET: Registered protocol family 1
    [ 0.585254] RPC: Registered named UNIX socket transport module.
    [ 0.585264] RPC: Registered udp transport module.
    [ 0.585270] RPC: Registered tcp transport module.
    [ 0.585277] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.586326] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [ 0.588739] futex hash table entries: 256 (order: 2, 16384 bytes)
    [ 0.606687] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.617376] NFS: Registering the id_resolver key type
    [ 0.617408] Key type id_resolver registered
    [ 0.617417] Key type id_legacy registered
    [ 0.617479] ntfs: driver 2.1.32 [Flags: R/O].
    [ 0.619938] bounce: pool size: 64 pages
    [ 0.620103] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
    [ 0.620119] io scheduler noop registered
    [ 0.620133] io scheduler deadline registered
    [ 0.620366] io scheduler cfq registered (default)
    [ 0.622632] ldousb: supplied by VMAIN
    [ 0.626147] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [ 0.626270] pinctrl-single 4a002e8c.pinmux: 1 pins at pa fc002e8c size 4
    [ 0.697255] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [ 0.700242] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 299, base_baud = 3000000) is a 8250
    [ 1.526240] console [ttyS2] enabled
    [ 1.530905] [drm] Initialized drm 1.1.0 20060810
    [ 1.537141] ldoln: supplied by VMAIN
    [ 1.541279] OMAP DSS rev 6.1
    [ 1.545065] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
    [ 1.553606] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
    [ 1.649636] loop: module loaded
    [ 1.656335] m25p80 spi32766.0: s25fl256s1 (32768 Kbytes)
    [ 1.661730] 7 ofpart partitions found on MTD device spi32766.0
    [ 1.667589] Creating 7 MTD partitions on "spi32766.0":
    [ 1.672751] 0x000000000000-0x000000040000 : "QSPI.SPL"
    [ 1.688854] 0x000000040000-0x000000140000 : "QSPI.u-boot"
    [ 1.705178] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os"
    [ 1.722096] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"
    [ 1.738788] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"
    [ 1.756151] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel"
    [ 1.772470] 0x0000009e0000-0x000002000000 : "QSPI.file-system"
    [ 1.790232] libphy: Fixed MDIO Bus: probed
    [ 1.843270] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
    [ 1.849393] davinci_mdio 48485000.mdio: detected phy mask fffffffc
    [ 1.870251] libphy: 48485000.mdio: probed
    [ 1.874285] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver Micrel KSZ9031 Gigabit PHY
    [ 1.883984] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver Micrel KSZ9031 Gigabit PHY
    [ 1.894381] cpsw 48484000.ethernet: Detected MACID = 5c:f8:21:5f:0c:e4
    [ 1.901032] cpsw 48484000.ethernet: cpts: overflow check period 800
    [ 1.908023] cpsw 48484000.ethernet: cpsw: Detected MACID = 5c:f8:21:5f:0c:e5
    [ 1.916560] mousedev: PS/2 mouse device common for all mice
    [ 1.932650] i2c /dev entries driver
    [ 1.938921] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [ 1.944059] smps9: supplied by VMAIN
    [ 1.947870] V3_3D: supplied by smps9
    [ 1.951759] ldo1: supplied by VMAIN
    [ 2.003758] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [ 2.010141] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    [ 2.074154] NET: Registered protocol family 10
    [ 2.093888] sit: IPv6 over IPv4 tunneling driver
    [ 2.099068] NET: Registered protocol family 17
    [ 2.113692] Key type dns_resolver registered
    [ 2.118104] omap_voltage_late_init: Voltage driver support not added
    [ 2.134660] Power Management for TI OMAP4+ devices.
    [ 2.139801] Registering SWP/SWPB emulation handler
    [ 2.164911] dmm 4e000000.dmm: initialized all PAT entries
    [ 2.170749] ldo3: supplied by VMAIN
    [ 2.186379] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [ 2.193025] [drm] No driver support for vblank timestamp query.
    [ 2.235339] omap_hsmmc 4809c000.mmc: card busy
    [ 2.276796] mmc0: error -110 whilst initialising SD card
    [ 2.346673] mmc1: MAN_BKOPS_EN bit is not set
    [ 2.396214] mmc1: new DDR MMC card at address 0001
    [ 2.411526] mmcblk0: mmc1:0001 R1J56L 13.8 GiB
    [ 2.426346] mmcblk0boot0: mmc1:0001 R1J56L partition 1 4.00 MiB
    [ 2.442537] mmcblk0boot1: mmc1:0001 R1J56L partition 2 4.00 MiB
    [ 2.506732] [drm] Enabling DMM ywrap scrolling
    [ 2.528452] Console: switching to colour frame buffer device 240x67
    [ 2.550826] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [ 2.583707] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
    [ 2.600434] hctosys: unable to open rtc device (rtc0)
    [ 2.620864] ALSA device list:
    [ 2.623854] No soundcards found.
    [ 2.628476] Waiting for root device PARTUUID=42403383-02...
    [ 124.512207] random: nonblocking pool is initialized
  • Astrid,

    your kernel booted from first partition but then there is an issue with the SD:

    Astrid Rost said:
    [ 2.276796] mmc0: error -110 whilst initialising SD card

    So the root file system is not available and kernel can't complete the boot. You should see a login prompt at the end.

    Try another SD card from different vendor. Sometimes that helps...

    Regards,

  • Astrid,

    by the way you should open a new thread instead of hijacking... Easier to manage for everyone.

    Regards,
  • Hello Frank,
    Thanks, this helped. This was an Sandisk MicroSDHC Class-4 8 GB, which is not working.

    Regards

    Astrid
  • Hi Frank,
    Wolfgang here, local EP FAE. It's my 'fault' as I asked Astrid to jump into this existing thread that was started by Rogerio as a result of an initial question from Astrid's team. I'll start a new thread for their continued support.

    Regards,
    / Wolfgang
  • AM571x IDK supports Linux PSDK too.

    Default display framework uses wayland and it requires mouse to be connected to the board for display to come. If you exit wayland using command on serial termianl #/etc/init.d/weston stop, then no restrictions on mouse connection.

    For the LCD to work, J51 jumper needs to be connected as mentioned in AM571x-IDK quick start guide:
    www.ti.com/.../sprw297.pdf
  • Thank you Manisha,

    I have informed my customer and await their response.

    Regards,

    / Wolfgang