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.

Linux: monitor shows out of range 38.7 khz/78 hz

Part Number: TMDSLCDK138
Other Parts Discussed in Thread: OMAPL138, DA8XX, PMP, TLV320AIC3106

Tool/software: Linux

Hi, 

I am using TMDSLCDK138 development board and ti-processor-sdk-linux-omapl138-lcdk-04.02.00.09-Linux-x86-Install.bin as SDK.

when I connect VGA cable to monitor, it shows  "out of range 38.7 khz/78 hz" and nothing displayed.

How can I solve this issue?

Regards,

Allwyn

  • Hi,

    Can you test with another monitor? Or try the following commands:
    xrandr -s 0

    OR
    xrandr -s <your_screen_resolution>

    Also you can use dmesg to see if the kernel outputs any additional debug info.

    Best Regards,
    Yordan
  • Hi Yordan,

    I checked with other monitor, nothing is displayed.

    I checked with "xrandr" in omapl138 development board, it shows command not found.

    I am attaching following ,

    root@omapl138-lcdk:~# dmesg

    [ 0.253620] NET: Registered protocol family 1
    [ 0.255248] RPC: Registered named UNIX socket transport module.
    [ 0.255285] RPC: Registered udp transport module.
    [ 0.255299] RPC: Registered tcp transport module.
    [ 0.255310] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.260785] workingset: timestamp_bits=14 max_order=15 bucket_order=1
    [ 0.292393] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
    [ 0.292443] io scheduler noop registered (default)
    [ 0.292468] io scheduler mq-deadline registered
    [ 0.292487] io scheduler kyber registered
    [ 0.294921] pinctrl-single 1c14120.pinmux: 160 pins at pa fec14120 size 80
    [ 0.626831] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [ 0.639595] console [ttyS2] disabled
    [ 0.639881] serial8250.2: ttyS2 at MMIO 0x1d0d000 (irq = 61, base_baud = 8250000) is a TI DA8xx/66AK2x
    [ 1.042613] console [ttyS2] enabled
    [ 1.053876] brd: module loaded
    [ 1.057857] mdio_bus fixed-0: GPIO lookup for consumer reset
    [ 1.057896] mdio_bus fixed-0: using lookup tables for GPIO lookup
    [ 1.057920] mdio_bus fixed-0: lookup for GPIO reset failed
    [ 1.057984] libphy: Fixed MDIO Bus: probed
    [ 1.066785] mdio_bus davinci_mdio.0: GPIO lookup for consumer reset
    [ 1.066827] mdio_bus davinci_mdio.0: using lookup tables for GPIO lookup
    [ 1.066851] mdio_bus davinci_mdio.0: lookup for GPIO reset failed
    [ 1.118705] davinci_mdio davinci_mdio.0: davinci mdio revision 1.5, bus freq 2200000
    [ 1.125232] davinci_mdio davinci_mdio.0: detected phy mask ffffff7f
    [ 1.133127] libphy: davinci_mdio.0: probed
    [ 1.136003] davinci_mdio davinci_mdio.0: phy[7]: device davinci_mdio.0:07, driver SMSC LAN8710/LAN8720
    [ 1.145988] i2c /dev entries driver
    [ 1.148949] IR NEC protocol handler initialized
    [ 1.152228] IR RC5(x/sz) protocol handler initialized
    [ 1.156003] IR RC6 protocol handler initialized
    [ 1.159648] IR JVC protocol handler initialized
    [ 1.162919] IR Sony protocol handler initialized
    [ 1.166256] IR SANYO protocol handler initialized
    [ 1.169979] IR Sharp protocol handler initialized
    [ 1.173423] IR MCE Keyboard/mouse protocol handler initialized
    [ 1.177982] IR XMP protocol handler initialized
    [ 1.183526] sdhci: Secure Digital Host Controller Interface driver
    [ 1.188639] sdhci: Copyright(c) Pierre Ossman
    [ 1.192519] davinci_mmc da830-mmc.0: GPIO lookup for consumer cd
    [ 1.192556] davinci_mmc da830-mmc.0: using device tree for GPIO lookup
    [ 1.192673] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/soc@1c00000/mmc@40000[0]' - status (0)
    [ 1.192718] davinci_mmc da830-mmc.0: Got CD GPIO
    [ 1.196098] davinci_mmc da830-mmc.0: GPIO lookup for consumer wp
    [ 1.196117] davinci_mmc da830-mmc.0: using device tree for GPIO lookup
    [ 1.196160] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/soc@1c00000/mmc@40000[0]'
    [ 1.196193] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/soc@1c00000/mmc@40000[0]'
    [ 1.196213] davinci_mmc da830-mmc.0: using lookup tables for GPIO lookup
    [ 1.196234] davinci_mmc da830-mmc.0: lookup for GPIO wp failed
    [ 1.249697] davinci_mmc da830-mmc.0: Using DMA, 4-bit mode
    [ 1.254519] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 1.276457] NET: Registered protocol family 10
    [ 1.284058] Segment Routing with IPv6
    [ 1.286697] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [ 1.294264] NET: Registered protocol family 17
    [ 1.311404] console [netcon0] enabled
    [ 1.314017] mmc0: host does not support reading read-only switch, assuming write-enable
    [ 1.321503] mmc0: new high speed SDHC card at address e624
    [ 1.323203] mmcblk0: mmc0:e624 SS08G 7.40 GiB
    [ 1.330205] mmcblk0: p1 p2
    [ 1.341808] netconsole: network logging started
    [ 1.346048] davinci_emac davinci_emac.1: incompatible machine/device type for reading mac address
    [ 1.354151] davinci_emac davinci_emac.1: using random MAC addr: 1e:e2:5b:38:73:75
    [ 1.367612] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-keys/user1[0]' - status (0)
    [ 1.367670] gpio-36 (GPIO Key USER1): gpiod_set_debounce: missing set() or set_config() operations
    [ 1.367897] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-keys/user2[0]' - status (0)
    [ 1.367942] gpio-37 (GPIO Key USER2): gpiod_set_debounce: missing set() or set_config() operations
    [ 1.369255] input: gpio-keys as /devices/platform/gpio-keys/input/input0
    [ 1.379080] hctosys: unable to open rtc device (rtc0)
    [ 1.383401] ALSA device list:
    [ 1.385094] No soundcards found.
    [ 1.429528] random: fast init done
    [ 1.504662] EXT4-fs (mmcblk0p2): 1 orphan inode deleted
    [ 1.508981] EXT4-fs (mmcblk0p2): recovery complete
    [ 1.527151] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 1.534578] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [ 1.557261] devtmpfs: mounted
    [ 1.560362] Freeing unused kernel memory: 236K
    [ 1.563550] This architecture does not have kernel memory protection.
    [ 2.166236] systemd[1]: System time before build time, advancing clock.
    [ 2.373746] systemd[1]: systemd 234 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN default-hierarchy=hybrid)
    [ 2.396487] systemd[1]: Detected architecture arm.
    [ 2.444236] systemd[1]: Set hostname to <omapl138-lcdk>.
    [ 4.546396] random: systemd: uninitialized urandom read (16 bytes read)
    [ 4.553449] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [ 4.632081] random: systemd: uninitialized urandom read (16 bytes read)
    [ 4.651151] systemd[1]: Created slice System Slice.
    [ 4.689795] random: systemd: uninitialized urandom read (16 bytes read)
    [ 4.702887] systemd[1]: Created slice system-getty.slice.
    [ 4.761962] systemd[1]: Mounting Kernel Debug File System...
    [ 4.881741] systemd[1]: Listening on Process Core Dump Socket.
    [ 4.942210] systemd[1]: Mounting POSIX Message Queue File System...
    [ 4.971655] systemd[1]: Listening on Journal Socket (/dev/log).
    [ 5.324061] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [ 5.822982] cryptodev: loading out-of-tree module taints kernel.
    [ 5.852569] cryptodev: driver 1.9 loaded.
    [ 8.008229] systemd-journald[60]: Received request to flush runtime journal from PID 1
    [ 14.781430] davinci-rproc davinci-rproc.0: assigned reserved memory node dsp-memory@c3000000
    [ 14.910912] remoteproc remoteproc0: dsp is available
    [ 15.070868] alloc_contig_range: [c6440, c6441) PFNs busy
    [ 15.274615] evbug: Connected device: input0 (gpio-keys at gpio-keys/input0)
    [ 15.500356] remoteproc remoteproc0: powering up dsp
    [ 15.504049] remoteproc remoteproc0: Booting fw image rproc-dsp-fw, size 3985484
    [ 16.368974] remoteproc remoteproc0: registered virtio0 (type 7)
    [ 16.373675] remoteproc remoteproc0: remote processor dsp is now up
    [ 16.511260] omap_rtc 1c23000.rtc: char device (253:0)
    [ 16.511834] omap_rtc 1c23000.rtc: registered as rtc0
    [ 16.529770] alloc_contig_range: [c6440, c6441) PFNs busy
    [ 16.595888] alloc_contig_range: [c6440, c6441) PFNs busy
    [ 17.455589] SCSI subsystem initialized
    [ 17.521359] davinci-wdt davinci-wdt: heartbeat 60 sec
    [ 17.629698] alloc_contig_range: [c6440, c6441) PFNs busy
    [ 17.969490] libata version 3.00 loaded.
    [ 18.179058] vpif vpif: vpif probe success
    [ 18.186604] alloc_contig_range: [c6440, c6441) PFNs busy
    [ 18.264273] ahci_da850 ahci_da850: forcing PORTS_IMPL to 0x1
    [ 18.319961] ahci_da850 ahci_da850: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    [ 18.327547] ahci_da850 ahci_da850: flags: ncq sntf pm led clo only pmp pio slum part ccc
    [ 18.402829] alloc_contig_range: [c6440, c6441) PFNs busy
    [ 18.410726] usbcore: registered new interface driver usbfs
    [ 18.411085] usbcore: registered new interface driver hub
    [ 18.449529] usbcore: registered new device driver usb
    [ 18.473333] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [ 18.591639] of_get_named_gpiod_flags: can't parse 'gpio-reset' property of node '/soc@1c00000/i2c@22000/tlv320aic3106@18[0]'
    [ 18.591725] tlv320aic3x-codec 0-0018: 0-0018 supply IOVDD not found, using dummy regulator
    [ 18.591997] tlv320aic3x-codec 0-0018: 0-0018 supply DVDD not found, using dummy regulator
    [ 18.592349] tlv320aic3x-codec 0-0018: 0-0018 supply AVDD not found, using dummy regulator
    [ 18.592617] tlv320aic3x-codec 0-0018: 0-0018 supply DRVDD not found, using dummy regulator
    [ 18.592884] tlv320aic3x-codec 0-0018: Invalid supply voltage(s) AVDD: -22, DVDD: -22
    [ 18.596028] alloc_contig_range: [c6440, c6441) PFNs busy
    [ 18.610730] asoc-simple-card sound: ASoC: Failed to create card debugfs directory
    [ 18.613440] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/sound[0]'
    [ 18.613487] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/sound[0]'
    [ 18.620270] ohci-da8xx: DA8XX
    [ 18.679012] alloc_contig_range: [c6440, c6460) PFNs busy
    [ 18.708758] alloc_contig_range: [c6440, c6460) PFNs busy
    [ 18.719708] asoc-simple-card sound: tlv320aic3x-hifi <-> davinci-mcasp.0 mapping ok
    [ 18.879002] alloc_contig_range: [c6440, c6441) PFNs busy
    [ 18.985916] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [ 18.985933] [drm] No driver support for vblank timestamp query.
    [ 19.000405] [drm] EDID readout failed, falling back to standard modes
    [ 19.512195] tvp514x 0-005d: tvp514x 0-005d decoder driver registered !!
    [ 19.512784] vpif_capture vpif_capture: registered sub device tvp514x-0
    [ 19.525982] vpif_capture vpif_capture: VPIF capture driver initialized
    [ 19.892410] tilcdc da8xx_lcdc.0: tilcdc_crtc_irq(0x00000160): FIFO underflow
    [ 20.024705] Console: switching to colour frame buffer device 100x37
    [ 20.045332] scsi host0: ahci_da850
    [ 20.046659] ata1: SATA max UDMA/133 mmio [mem 0x01e18000-0x01e19fff] port 0x100 irq 67
    [ 20.047806] ohci-da8xx ohci-da8xx: USB Host Controller
    [ 20.047987] ohci-da8xx ohci-da8xx: new USB bus registered, assigned bus number 1
    [ 20.550535] tilcdc da8xx_lcdc.0: fb0: frame buffer device
    [ 20.625977] [drm] Initialized tilcdc 1.0.0 20121205 for da8xx_lcdc.0 on minor 0
    [ 20.712121] alloc_contig_range: 1 callbacks suppressed
    [ 20.712152] alloc_contig_range: [c6440, c6441) PFNs busy
    [ 20.809816] ohci-da8xx ohci-da8xx: irq 59, io mem 0x01e25000
    [ 20.940591] hub 1-0:1.0: USB hub found
    [ 20.976181] hub 1-0:1.0: 1 port detected
    [ 21.035836] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
    [ 21.179718] alloc_contig_range: [c6440, c6441) PFNs busy
    [ 21.260576] alloc_contig_range: [c6440, c6441) PFNs busy
    [ 21.402588] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    [ 21.407236] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 2
    [ 21.580453] hub 2-0:1.0: USB hub found
    [ 21.636289] hub 2-0:1.0: 1 port detected
    [ 22.039338] ata1: SATA link down (SStatus 0 SControl 300)
    [ 23.120080] random: crng init done
    [ 23.122252] random: 7 urandom warning(s) missed due to ratelimiting
    [ 26.370484] davinci_mdio davinci_mdio.0: resetting idled controller
    [ 26.550956] SMSC LAN8710/LAN8720 davinci_mdio.0:07: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=davinci_mdio.0:07, irq=POLL)
    [ 26.697959] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 29.583012] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [ 32.960267] NET: Registered protocol family 15
    [ 36.052529] Initializing XFRM netlink socket
    [ 36.292405] virtio_rpmsg_bus virtio0: rpmsg host is online
    [ 36.296931] virtio_rpmsg_bus virtio0: creating channel rpmsg-proto addr 0x3d
    [ 43.144879] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xcc
    [ 43.242723] nand: Micron MT29F4G16ABADAH4
    [ 43.289079] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [ 43.414973] Bad block table not found for chip 0
    [ 43.484170] Bad block table not found for chip 0
    [ 43.487552] Scanning device for bad blocks
    [ 45.937693] NET: Registered protocol family 44
    [ 47.133302] Bad block table written to 0x00001ffe0000, version 0x01
    [ 47.162318] Bad block table written to 0x00001ffc0000, version 0x01
    [ 47.373849] 3 ofpart partitions found on MTD device davinci-nand.0
    [ 47.386797] Creating 3 MTD partitions on "davinci-nand.0":
    [ 47.420903] 0x000000000000-0x000000020000 : "u-boot env"
    [ 47.459807] 0x000000020000-0x0000000a0000 : "u-boot"
    [ 47.496220] 0x0000000a0000-0x000020000000 : "free space"
    [ 47.572820] davinci_nand davinci-nand.0: controller rev. 2.5
    root@omapl138-lcdk:~#

    Regards,

    Allwyn

  • Hi Allwyn,

    The following log:
    [ 18.985916] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [ 18.985933] [drm] No driver support for vblank timestamp query.
    [ 19.000405] [drm] EDID readout failed, falling back to standard modes

    Indicates that the kernel cannot read your display's edid structure. You could manually setup one, try the following approach:
    e2e.ti.com/.../641400

    Best Regards,
    Yordan
  • Hi Yordan,

    I have gone through the above link. I didn't understand the procedure. I am new to this. So could you please explain the exact procedure for solving this issue.

    Regards,
    Allwyn
  • It is quite well explained.

    In the kernel source there is an EDID HOW TO located in Documentation/EDID/HOWTO.txt . You can see how to set your screen resolution & frequency there.

    Copy the edid in lib/firmware folder in the kernel sources

    After that in the defconfig file tisdk_omapl138-lcdk_defconfig located in arch/arm/configs you add CONFIG_DRM_LOAD_EDID_FIRMWARE=y

    Recompile the kernel.

    Best Regards,
    Yordan
  • Hi Yordan,

    I checked with above procedure as you mentioned. I didn't get the result.

    The monitor shows,

    my monitor supports following resolutions 1600x900, 1280x1024, 1024x768, 800x600.

    How can i solve this?

  • Hi,

    Could you please test with the latest Processor SDK Linux:
    www.ti.com/.../processor-sdk-omapl138

    There are quite a lot of changes since SDK 04.02.

    Best Regards,
    Yordan