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.

PROCESSOR-SDK-AM335X: DSS not supported on this SoC

Part Number: PROCESSOR-SDK-AM335X
Other Parts Discussed in Thread: DA8XX, TPS65910, DP83640

When I boot up my kernel, I get the following error (in syslog) - DSS not supported on this SoC

I am using TI SDK 7.00.00, the am335x and using a similar DT as the am335x-evm.dts

Can some tell me why I am getting this and how to remove the error?

I am assuming its because I must have something configured (perhaps in DT) that is enabling the Display Sub System which appears to be not

support with the Soc that I am using.

  • For correct settings please see processors.wiki.ti.com/.../Linux_Core_LCD_Controller_User_Guide
    AM335x devices do not have a DSS, they have an LCD controller.
  • HI Biser,

    Thanks for the information.

    We are using SDK 7.0 (which has the 3.12 kernel) and we are using fbdev.

    We have the device tree correct and we are enabling
    CONFIG_FB_DA8XX=y
    CONFIG_FB_DA8XX_TDA998X=y


    I suspect that the reason we are getting the error at boot up "DSS not supported on this SoC" is we have
    enabled the OMAP2_DSS (from the am335x EVM .config), which we started with.

    And since the AM335x doesn't support DSS, I would assume we can disable these.

    CONFIG_OMAP2_DSS=y
    # CONFIG_OMAP2_DSS_DEBUG is not set
    # CONFIG_OMAP2_DSS_DEBUGFS is not set
    CONFIG_OMAP2_DSS_DPI=y
    CONFIG_OMAP2_DSS_DRA7XX_DPI=y
    CONFIG_OMAP2_DSS_VENC=y
    CONFIG_OMAP4_DSS_HDMI=y
    CONFIG_OMAP5_DSS_HDMI=y
    CONFIG_OMAP2_DSS_SDI=y
    CONFIG_OMAP2_DSS_DSI=y
    CONFIG_OMAP2_DSS_MIN_FCK_PER_PCK=0
    CONFIG_OMAP2_DSS_SLEEP_AFTER_VENC_RESET=y

    CONFIG_FB_OMAP2=y
    CONFIG_FB_OMAP2_DEBUG_SUPPORT=y
    CONFIG_FB_OMAP2_NUM_FBS=3
  • Biser,

    So I have .config as the following

    CONFIG_FB_DA8XX=y
    CONFIG_FB_DA8XX_TDA998X=y

    # CONFIG_OMAP2_DSS is not set
    # CONFIG_FB_DDC is not set

    Unfortunately, after I reboot, I am still getting "DSS not supported on this SoC".
    Any ideas on why?

    Peter
  • Hi Peter,

    Could you post your boot log?

    Best Regards,
    Yordan
  • Hi Yordan,

    It appears that the error is generated

    int __init omap_display_init(struct omap_dss_board_info *board_data)

    {

    int r = 0;

    struct platform_device *pdev;

    int i, oh_count;

    const struct omap_dss_hwmod_data *curr_dss_hwmod;

    struct platform_device *dss_pdev;

    enum omapdss_version ver;

    /* create omapdss device */

    ver = omap_display_get_version();

    if (ver == OMAPDSS_VER_UNKNOWN) {

    pr_err("DSS not supported on this SoC\n");

    return -ENODEV;

    }

    And that this function is returning OMAPDSS_VER_UNKNOWN

    static enum omapdss_version __init omap_display_get_version(void)
    {
    if (cpu_is_omap24xx())
    return OMAPDSS_VER_OMAP24xx;
    else if (cpu_is_omap3630())
    return OMAPDSS_VER_OMAP3630;
    else if (cpu_is_omap34xx()) {
    if (soc_is_am35xx()) {
    return OMAPDSS_VER_AM35xx;
    } else {
    if (omap_rev() < OMAP3430_REV_ES3_0)
    return OMAPDSS_VER_OMAP34xx_ES1;
    else
    return OMAPDSS_VER_OMAP34xx_ES3;
    }
    } else if (omap_rev() == OMAP4430_REV_ES1_0)
    return OMAPDSS_VER_OMAP4430_ES1;
    else if (omap_rev() == OMAP4430_REV_ES2_0 ||
    omap_rev() == OMAP4430_REV_ES2_1 ||
    omap_rev() == OMAP4430_REV_ES2_2)
    return OMAPDSS_VER_OMAP4430_ES2;
    else if (cpu_is_omap44xx())
    return OMAPDSS_VER_OMAP4;
    else if (soc_is_omap54xx())
    return OMAPDSS_VER_OMAP5;
    else if (soc_is_dra7xx())
    return OMAPDSS_VER_DRA7xx;
    else if (soc_is_am43xx())
    return OMAPDSS_VER_AM43xx;
    else
    return OMAPDSS_VER_UNKNOWN;
    }
     

    Here is the log.

    [    0.000000] Booting Linux on physical CPU 0x0

    [    0.000000] Linux version 3.12.10-Edwards.00.00.17-ti2013.12.01 (root@ubuntu) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #4 Sat Feb 4 10:06:53 EST 2017

    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d

    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

    [    0.000000] Machine: Generic AM33XX (Flattened Device Tree), model: UTC Edwards 4-CPU v. 99.00.06

    [    0.000000] cma: CMA: reserved 24 MiB at 8d800000

    [    0.000000] Memory policy: ECC disabled, Data cache writeback

    [    0.000000] CPU: All CPU(s) started in SVC mode.

    [    0.000000] AM335X ES2.1 (sgx neon )

    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64256

    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 rootfstype=ext3 rw rootwait ip=off lpj=3590144 video=/dev/fb0:480x640@60 fbcon=rotate:1

    [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)

    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)

    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)

    [    0.000000] Memory: 223504K/259072K available (5575K kernel code, 565K rwdata, 1784K rodata, 344K init, 235K bss, 35568K reserved, 0K highmem)

    [    0.000000] Virtual kernel memory layout:

    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)

    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)

    [    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)

    [    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)

    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)

    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)

    [    0.000000]       .text : 0xc0008000 - 0xc073804c   (7361 kB)

    [    0.000000]       .init : 0xc0739000 - 0xc078f2f8   ( 345 kB)

    [    0.000000]       .data : 0xc0790000 - 0xc081d700   ( 566 kB)

    [    0.000000]        .bss : 0xc081d700 - 0xc0858410   ( 236 kB)

    [    0.000000] NR_IRQS:16 nr_irqs:16 16

    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts

    [    0.000000] Total of 128 interrupts on 1 active controller

    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz

    [    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms

    [    0.000000] OMAP clocksource: timer1 at 24000000 Hz

    [    0.000000] Console: colour dummy device 80x30

    [    0.000261] Calibrating delay loop (skipped) preset value.. 718.02 BogoMIPS (lpj=3590144)

    [    0.000277] pid_max: default: 32768 minimum: 301

    [    0.000357] Security Framework initialized

    [    0.000402] Mount-cache hash table entries: 512

    [    0.006950] CPU: Testing write buffer coherency: ok

    [    0.007323] Setting up static identity map for 0xc0577e68 - 0xc0577ed8

    [    0.008086] devtmpfs: initialized

    [    0.009579] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3

    [    0.073168] omap_hwmod: debugss: _wait_target_disable failed

    [    0.073802] pinctrl core: initialized pinctrl subsystem

    [    0.074555] regulator-dummy: no parameters

    [    0.076711] NET: Registered protocol family 16

    [    0.078521] DMA: preallocated 256 KiB pool for atomic coherent allocations

    [    0.080735] cpuidle: using governor ladder

    [    0.080750] cpuidle: using governor menu

    [    0.089058] OMAP GPIO hardware version 0.1

    [    0.099239] DSS not supported on this SoC

    [    0.099258] No ATAGs?

    [    0.099267] hw-breakpoint: debug architecture 0x4 unsupported.

    [    0.117987] bio: create slab <bio-0> at 0

    [    0.129395] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver

    [    0.130191] vbat: 5000 mV

    [    0.132589] vgaarb: loaded

    [    0.133588] SCSI subsystem initialized

    [    0.134643] usbcore: registered new interface driver usbfs

    [    0.134787] usbcore: registered new interface driver hub

    [    0.134941] usbcore: registered new device driver usb

    [    0.135718] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins, deferring probe

    [    0.135743] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral

    [    0.135766] omap_i2c 4802a000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c1_pins, deferring probe

    [    0.135779] platform 4802a000.i2c: Driver omap_i2c requests probe deferral

    [    0.135797] omap_i2c 4819c000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c2_pins, deferring probe

    [    0.135809] platform 4819c000.i2c: Driver omap_i2c requests probe deferral

    [    0.136105] pps_core: LinuxPPS API ver. 1 registered

    [    0.136114] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>

    [    0.136219] PTP clock support registered

    [    0.138348] Switched to clocksource timer1

    [    0.152792] NET: Registered protocol family 2

    [    0.153359] TCP established hash table entries: 2048 (order: 2, 16384 bytes)

    [    0.153403] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

    [    0.153427] TCP: Hash tables configured (established 2048 bind 2048)

    [    0.153488] TCP: reno registered

    [    0.153500] UDP hash table entries: 256 (order: 0, 4096 bytes)

    [    0.153516] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

    [    0.153681] NET: Registered protocol family 1

    [    0.154018] RPC: Registered named UNIX socket transport module.

    [    0.154030] RPC: Registered udp transport module.

    [    0.154037] RPC: Registered tcp transport module.

    [    0.154043] RPC: Registered tcp NFSv4.1 backchannel transport module.

    [    0.154762] NetWinder Floating Point Emulator V0.97 (double precision)

    [    0.155289] PM: Loading am335x-pm-firmware.bin

    [    0.270149] NFS: Registering the id_resolver key type

    [    0.270235] Key type id_resolver registered

    [    0.270243] Key type id_legacy registered

    [    0.270280] jffs2: version 2.2. (NAND) (SUMMARY)  Â© 2001-2006 Red Hat, Inc.

    [    0.270433] msgmni has been set to 484

    [    0.271733] NET: Registered protocol family 38

    [    0.271773] io scheduler noop registered

    [    0.271780] io scheduler deadline registered

    [    0.271800] io scheduler cfq registered (default)

    [    0.273479] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568

    [    0.322495] Console: switching to colour frame buffer device 60x40

    [    0.328801] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled

    [    0.331111] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a OMAP UART0

    [    0.931186] console [ttyO0] enabled

    [    0.936064] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20

    [    0.950989] brd: module loaded

    [    0.958214] loop: module loaded

    [    0.967121] vcan: Virtual CAN interface driver

    [    0.971897] CAN device driver interface

    [    0.977012] c_can_platform 481d0000.d_can: c_can_platform device registered (regs=fa1d0000, irq=71)

    [    0.988025] usbcore: registered new interface driver asix

    [    0.993907] usbcore: registered new interface driver ax88179_178a

    [    1.000459] usbcore: registered new interface driver cdc_ether

    [    1.006724] usbcore: registered new interface driver r815x

    [    1.012609] usbcore: registered new interface driver smsc95xx

    [    1.018783] usbcore: registered new interface driver net1080

    [    1.024862] usbcore: registered new interface driver cdc_subset

    [    1.031194] usbcore: registered new interface driver zaurus

    [    1.037233] usbcore: registered new interface driver cdc_ncm

    [    1.043616] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

    [    1.050494] ehci-pci: EHCI PCI platform driver

    [    1.055325] ehci-omap: OMAP-EHCI Host Controller driver

    [    1.061578] usbcore: registered new interface driver cdc_wdm

    [    1.067692] usbcore: registered new interface driver usb-storage

    [    1.074363] usbcore: registered new interface driver usbserial

    [    1.081394] mousedev: PS/2 mouse device common for all mice

    [    1.088823] input: ti-tsc as /devices/ocp.2/44e0d000.tscadc/TI-am335x-tsc/input/input0

    [    1.099022] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0

    [    1.106455] 44e3e000.rtc: already running

    [    1.111345] i2c /dev entries driver

    [    1.115130] Driver for 1-wire Dallas network protocol.

    [    1.122461] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec

    [    1.131245] edma-dma-engine edma-dma-engine.0: allocated channel for 0:3

    [    1.138288] edma-dma-engine edma-dma-engine.0: allocated channel for 0:2

    [    1.145484] omap_hsmmc 481d8000.mmc: unable to get vmmc regulator -517

    [    1.152374] edma-dma-engine edma-dma-engine.0: freeing channel for 2

    [    1.159060] edma-dma-engine edma-dma-engine.0: freeing channel for 3

    [    1.165800] platform 481d8000.mmc: Driver omap_hsmmc requests probe deferral

    [    1.173742] ledtrig-cpu: registered to indicate activity on CPUs

    [    1.180380] edma-dma-engine edma-dma-engine.0: allocated channel for 0:36

    [    1.187541] omap-sham 53100000.sham: hw accel on OMAP rev 4.3

    [    1.194611] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2

    [    1.200757] edma-dma-engine edma-dma-engine.0: allocated channel for 0:5

    [    1.207801] edma-dma-engine edma-dma-engine.0: allocated channel for 0:6

    [    1.215946] usbcore: registered new interface driver usbhid

    [    1.221825] usbhid: USB HID core driver

    [    1.227689] oprofile: no performance counters

    [    1.232644] oprofile: using timer interrupt.

    [    1.237228] nf_conntrack version 0.5.0 (3876 buckets, 15504 max)

    [    1.244114] ip_tables: (C) 2000-2006 Netfilter Core Team

    [    1.249718] TCP: cubic registered

    [    1.253189] Initializing XFRM netlink socket

    [    1.257939] NET: Registered protocol family 10

    [    1.263336] ip6_tables: (C) 2000-2006 Netfilter Core Team

    [    1.269103] sit: IPv6 over IPv4 tunneling driver

    [    1.274911] NET: Registered protocol family 17

    [    1.279700] NET: Registered protocol family 15

    [    1.284357] can: controller area network core (rev 20120528 abi 9)

    [    1.290907] NET: Registered protocol family 29

    [    1.295586] can: raw protocol (rev 20120528)

    [    1.300073] can: broadcast manager protocol (rev 20120528 t)

    [    1.306012] can: netlink gateway (rev 20130117) max_hops=1

    [    1.311884] Key type dns_resolver registered

    [    1.317008] cpu cpu0: cpu0 regulator not ready, retry

    [    1.322442] platform cpufreq-cpu0.0: Driver cpufreq-cpu0 requests probe deferral

    [    1.330799] ThumbEE CPU extension supported.

    [    1.339620] at24 0-0050: 2048 byte 24c16 EEPROM, writable, 16 bytes/write

    [    1.346788] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 100 kHz

    [    1.354190] tps65910 1-002d: No interrupt support, no core IRQ

    [    1.362164] vrtc: 1800 mV

    [    1.365263] vrtc: supplied by vbat

    [    1.370005] vio: at 1500 mV

    [    1.373084] vio: supplied by vbat

    [    1.377812] vdd_mpu: 912 <--> 1375 mV at 1325 mV

    [    1.382829] vdd_mpu: supplied by vbat

    [    1.387898] vdd_core: 912 <--> 1150 mV at 1137 mV

    [    1.392997] vdd_core: supplied by vbat

    [    1.397850] vdd3: 5000 mV

    [    1.401746] vdig1: at 1800 mV

    [    1.405000] vdig1: supplied by vbat

    [    1.409747] vdig2: at 1800 mV

    [    1.413002] vdig2: supplied by vbat

    [    1.417706] vpll: at 1800 mV

    [    1.420886] vpll: supplied by vbat

    [    1.425506] vdac: at 1800 mV

    [    1.428686] vdac: supplied by vbat

    [    1.433321] vaux1: at 1800 mV

    [    1.436575] vaux1: supplied by vbat

    [    1.441312] vaux2: at 3300 mV

    [    1.444572] vaux2: supplied by vbat

    [    1.449295] vaux33: at 3300 mV

    [    1.452642] vaux33: supplied by vbat

    [    1.457450] vmmc_reg: 1800 <--> 3300 mV at 3300 mV

    [    1.462643] vmmc_reg: supplied by vbat

    [    1.469038] at24 1-0050: 2048 byte 24c16 EEPROM, writable, 16 bytes/write

    [    1.476198] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 400 kHz

    [    1.484824] at24 2-0050: 2048 byte 24c16 EEPROM, writable, 16 bytes/write

    [    1.492058] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz

    [    1.498617] edma-dma-engine edma-dma-engine.0: allocated channel for 0:3

    [    1.505660] edma-dma-engine edma-dma-engine.0: allocated channel for 0:2

    [    1.601054] mmc0: BKOPS_EN bit is not set

    [    1.607310] mmc0: new high speed MMC card at address 0001

    [    1.613568] mmcblk0: mmc0:0001 8GND3R 7.28 GiB

    [    1.618392] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6

    [    1.624778] davinci_mdio 4a101000.mdio: detected phy mask 7ffffff5

    [    1.631402] mmcblk0boot0: mmc0:0001 8GND3R partition 1 4.00 MiB

    [    1.637733] mmcblk0boot1: mmc0:0001 8GND3R partition 2 4.00 MiB

    [    1.646657]  mmcblk0: p1 p2 p3 p4

    [    1.654995] dp83640: master PTP_STS  0x0100

    [    1.660060] dp83640: master PTP_ESTS 0x00fd

    [    1.665062] dp83640: slave  PTP_STS  0x0000

    [    1.670072] dp83640: slave  PTP_ESTS 0x0000

    [    1.674537]  mmcblk0boot1: unknown partition table

    [    1.680080] dp83640: slave offset 909960 nanoseconds

    [    1.687540]  mmcblk0boot0: unknown partition table

    [    1.693451] libphy: 4a101000.mdio: probed

    [    1.697685] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver NatSemi DP83640

    [    1.706848] davinci_mdio 4a101000.mdio: phy[3]: device 4a101000.mdio:03, driver NatSemi DP83640

    [    1.715982] davinci_mdio 4a101000.mdio: phy[31]: device 4a101000.mdio:1f, driver NatSemi DP83640

    [    1.725980] Detected MACID = 80:30:dc:90:88:2d

    [    1.731959] cpsw: Detected MACID = 80:30:dc:90:88:2f

    [    1.738727] omap_rtc 44e3e000.rtc: setting system clock to 2015-07-04 08:03:10 UTC (1435996990)

    [    1.747943] ### dt-test ### No testcase data in device tree; not running tests

    [    1.761360] kjournald starting.  Commit interval 5 seconds

    [    1.767854] EXT3-fs (mmcblk0p2): using internal journal

    [    1.773373] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode

    [    1.780648] VFS: Mounted root (ext3 filesystem) on device 179:2.

    [    1.787817] devtmpfs: mounted

    [    1.791399] Freeing unused kernel memory: 344K (c0739000 - c078f000)

    INIT: version 2.88 booting

    Starting S01AllRunLevels

    rm: can't remove '/etc/bind/zone.local.com': No such file or directory

    Starting udev

    [    2.193827] udevd[856]: starting version 182

    [    2.536445] PM: CM3 Firmware Version = 0x186

    [    3.628927] davinci_cpld sound.6:  gcpld-audio <-> 4803c000.mcasp mapping ok

    [    3.645730] davinci_audtel sound.8:  gaudtel-audio <-> 48038000.mcasp mapping ok

    [    3.732237] net eth1: initializing cpsw version 1.12 (0)

    [    3.740316] net eth1: phy found : id is : 0x20005ce1

    [    3.788551] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready

    [    3.794836] net eth0: initializing cpsw version 1.12 (0)

    [    3.802831] net eth0: phy found : id is : 0x20005ce1

    [    4.085968] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

    [    5.739299] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null)

    [    5.852834] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)

    [    5.875301] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

    [    6.196840] musb-hdrc musb-hdrc.0.auto: Enabled SW babble control

    [    6.290503] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver

    [    6.368213] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1

    [    6.459045] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

    [    6.466201] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

    [    6.473803] usb usb1: Product: MUSB HDRC host driver

    [    6.479020] usb usb1: Manufacturer: Linux 3.12.10-Edwards.00.00.17-ti2013.12.01 musb-hcd

    [    6.487501] usb usb1: SerialNumber: musb-hdrc.0.auto

    [    6.739737] hub 1-0:1.0: USB hub found

    [    6.754315] hub 1-0:1.0: 1 port detected

    [    6.765534] musb-hdrc musb-hdrc.1.auto: Enabled SW babble control

    [    6.781217] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver

    [    6.796468] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 2

    [    6.826562] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002

    [    6.833772] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1

    [    6.841361] usb usb2: Product: MUSB HDRC host driver

    [    6.846563] usb usb2: Manufacturer: Linux 3.12.10-Edwards.00.00.17-ti2013.12.01 musb-hcd

    [    6.855056] usb usb2: SerialNumber: musb-hdrc.1.auto

    [    6.861756] hub 2-0:1.0: USB hub found

    [    6.865729] hub 2-0:1.0: 1 port detected

    Configuring network interfaces... ifup: interface lo already configured

    ifup: interface eth0 already configured

    ifup: interface eth1 already configured

    ifconfig: SIOCGIFFLAGS: No such device

    ifconfig: SIOCGIFFLAGS: No such device

    ifconfig: SIOCGIFFLAGS: No such device

    Configuration file: /etc/hostapd/hostapd.conf

    [    7.612533] cfg80211: Calling CRDA to update world regulatory domain

    Could not read interface wlan0 flags: No such device

    nl80211: Driver does not support authentication/association or connect commands

    nl80211: deinit ifname=wlan0 disabled_11b_rates=0

    Could not read interface wlan0 flags: No such device

    nl80211 driver initialization failed.

    wlan0: interface state UNINITIALIZED->DISABLED

    wlan0: AP-DISABLED

    hostapd_free_hapd_data: Interface wlan0 wasn't started

    done.

    [    7.750700] using random self ethernet address

    [    7.755384] using random host ethernet address

    [    7.763665] usb0: HOST MAC fa:02:0c:ba:8d:06

    [    7.778639] usb0: MAC d2:c1:37:06:f1:61

    [    7.782768] using random self ethernet address

    [    7.787428] using random host ethernet address

    [    7.804235] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008

    [    7.811265] g_ether gadget: g_ether ready

    net.ipv4.ip_forward = 1

    [    7.887989] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready

  • Hi,

    Make sure you have the following in your dts files:
    1. in am33xx.dtsi:
    lcdc: lcdc@0x4830e000 {
    compatible = "ti,am33xx-tilcdc";

    2. in your dts file (for the example I refer to am335x-evm.dts):
    lcdc: lcdc@0x4830e000 {
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&lcd_pins_default>;
    pinctrl-1 = <&lcd_pins_sleep>;
    status = "okay";
    display-timings {
    800x480p62 {
    clock-frequency = <30000000>;
    hactive = <800>;
    vactive = <480>;
    hfront-porch = <39>;
    hback-porch = <39>;
    hsync-len = <47>;
    vback-porch = <29>;
    vfront-porch = <13>;
    vsync-len = <2>;
    hsync-active = <1>;
    vsync-active = <1>;
    };
    };
    };

    panel {
    compatible = "ti,tilcdc,panel";
    status = "okay";
    pinctrl-names = "default";
    pinctrl-0 = <&lcd_pins_default>;
    panel-info {
    ac-bias = <255>;
    ac-bias-intrpt = <0>;
    dma-burst-sz = <16>;
    bpp = <32>;
    fdd = <0x80>;
    sync-edge = <0>;
    sync-ctrl = <1>;
    raster-order = <0>;
    fifo-th = <0>;
    };

    display-timings {
    800x480p62 {
    clock-frequency = <30000000>;
    hactive = <800>;
    vactive = <480>;
    hfront-porch = <39>;
    hback-porch = <39>;
    hsync-len = <47>;
    vback-porch = <29>;
    vfront-porch = <13>;
    vsync-len = <2>;
    hsync-active = <1>;
    vsync-active = <1>;
    };
    };
    };

    You should NOT reference any of the following as a compatible driver :
    static const char * const omapdss_compat_names[] __initconst = {
    "ti,omap2-dss",
    "ti,omap3-dss",
    "ti,omap4-dss",
    "ti,omap5-dss",
    "ti,dra7-dss",
    };

    Make sure you have the above dts settings along with the modifications you shared in the tisdk_am335x-evm_defconfig. Rebuild your kernel and see if you'll work around the issue.

    Best Regards,
    Yordan
  • Yordan,

    We have the following:
    in am33xx.dtsi:
    lcdc: lcdc@0x4830e000 {
    compatible = "ti,am33xx-tilcdc";
    reg = <0x4830e000 0x1000>;
    interrupt-parent = <&intc>;
    interrupts = <36>;
    clocks = <&lcd_gclk>;
    clock-names = "fck";
    ti,hwmods = "lcdc";
    status = "disabled";

    in our dts for the LCD
    lcdc: lcdc@0x4830e000 {
    compatible = "ti,am33xx-tilcdc";
    reg = <0x4830e000 0x1000>;
    interrupts = <36>;
    ti,hwmods = "lcdc";
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&lcd_pins_default>;
    pinctrl-1 = <&lcd_pins_sleep>;
    status = "okay";
    display-timings {
    640x480p62 {
    clock-frequency = <25000000>;
    hactive = <640>;
    vactive = <480>;
    hfront-porch = <16>;
    hback-porch = <114>;
    hsync-len = <30>;
    vback-porch = <32>;
    vfront-porch = <10>;
    vsync-len = <3>;
    hsync-active = <0>;
    vsync-active = <0>;
    pixelclk-active = <1>;
    };
    };
    };

    Now, I don't have 'panel' in ours like you suggest. I will try that and let you know.

    By the way, I did put some debug code in omap_display_get_version(void) and what I had noticed was
    cpu_is_omap34xx() and soc_is_am35xx() returned '0'. In fact all of the test of the SOC or OMAP returned '0'.
    Hence the code would fall to the last else, which is OMAPDSS_VER_UNKNOWN, and therefore the "DSS not supported on this SoC" was printed. So, I find it strange that none of the test seem to pass.
    In the .config, we have the following set (again as per the default "tisdk_am335x-evm_defconfig").
    CONFIG_ARCH_OMAP=y
    CONFIG_ARCH_OMAP2=y
    CONFIG_ARCH_OMAP3=y
    CONFIG_ARCH_OMAP4=y
    CONFIG_SOC_OMAP5=y
    CONFIG_SOC_AM33XX=y
    CONFIG_SOC_AM43XX=y
  • Hi,

    Your defconfig seems correct. However, you shouldn't have anything that uses the DSS driver.. So indeed try adding the panel, which is compatible with "ti,tilcdc,panel", and see if it will change the behavior of your system.

    Best Regards,
    Yordan
  • Peter M said:

    And that this function is returning OMAPDSS_VER_UNKNOWN

    static enum omapdss_version __init omap_display_get_version(void)
    {

    FYI, I see this same message even in the TI binaries from SDK 7.00.  It looks like this function above is called from within omap_display_init.  I couldn't see from code inspection who might be calling omap_display_init though.  Could you output the call stack from within that function so we can get a better idea of how you end up there?  Directions on how to do that are given here:

    http://processors.wiki.ti.com/index.php/Enabling_Stack_Dumping_in_Linux_Kernel

  • Brad,

    Here is the stack trace.

    .099196] [<c0017c44>] (dump_backtrace+0x0/0x10c) from [<c0018028>] (show_stack+0x18/0x1c)

    [    0.099203]  r6:c085ffc0 r5:00000003 r4:c07e54b0 r3:00000000

    [    0.099235] [<c0018010>] (show_stack+0x0/0x1c) from [<c0594c00>] (dump_stack+0x20/0x28)

    [    0.099254] [<c0594be0>] (dump_stack+0x0/0x28) from [<c0796c98>] (omap_display_get_version+0x10/0x230)

    [    0.099266] [<c0796c88>] (omap_display_get_version+0x0/0x230) from [<c079719c>] (omapdss_init_of+0x10/0xdc)

    [    0.099272]  r4:c07e54b0 r3:60000113

    [    0.099291] [<c079718c>] (omapdss_init_of+0x0/0xdc) from [<c079cd54>] (omap_generic_init+0x30/0x38)

    [    0.099296]  r4:c07e54b0 r3:60000113

    [    0.099315] [<c079cd24>] (omap_generic_init+0x0/0x38) from [<c078e2fc>] (customize_machine+0x24/0x48)

    [    0.099329] [<c078e2d8>] (customize_machine+0x0/0x48) from [<c0008a3c>] (do_one_initcall+0xf4/0x154)

    [    0.099342] [<c0008948>] (do_one_initcall+0x0/0x154) from [<c078cb40>] (kernel_init_freeable+0xf0/0x1bc)

    [    0.099356] [<c078ca50>] (kernel_init_freeable+0x0/0x1bc) from [<c0590044>] (kernel_init+0x10/0xec)

    [    0.099378] [<c0590034>] (kernel_init+0x0/0xec) from [<c0014718>] (ret_from_fork+0x14/0x3c)

    [    0.099384]  r4:00000000 r3:00000000

    It appears that it is being called in arch\arm\mach-opmap2\board-generic.c, There is a vector table for the am33xx (which we are compatible with). It calls omapdss_init_of(); which then calls the function to get the omap_display_get_version version.

    #ifdef CONFIG_SOC_AM33XX

    static const char *am33xx_boards_compat[] __initdata = {

         "ti,am33xx",

         NULL,

    };

    DT_MACHINE_START(AM33XX_DT, "Generic AM33XX (Flattened Device Tree)")

         .reserve    = am33xx_reserve,

         .map_io           = am33xx_map_io,

         .init_early = am33xx_init_early,

         .init_late  = am33xx_init_late,

         .init_irq   = omap_intc_of_init,

         .handle_irq = omap3_intc_handle_irq,

         .init_machine     = omap_generic_init,

         .init_late  = am33xx_init_late,

         .init_time  = omap3_gptimer_timer_init,

         .dt_compat  = am33xx_boards_compat,

         .restart    = am33xx_restart,

    MACHINE_END

    #endif

  • Ok, I see that you were coming from omapdss_init_of. Take a look at the corresponding implementation from kernel 3.14:

    git.ti.com/.../display.c

    There are a couple of calls to omapdss_find_dss_of_node(), which is implemented just above in the same file. It looks like it checks the device tree for some specific dss references, and if it doesn't find anything then it returns before you even get to omap_display_get_version(). I believe that's the key to this whole thing.
  • Yes, I think we are on the eventual path to resolution on this issue. I will pull the 3.14 display.c and see how it can be patched in and will let you know.

    Of course, we have the other issues to tackle. I have an idea where the fault occurs on the vmmc as well. I will also look at future updates to see if it was changed. Now, that code is more complicated.