From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpgw1fi.elektrobit.com (smtpgw1fi.elektrobit.com [194.136.18.128]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 92561E00BAA for ; Mon, 14 Apr 2014 05:40:09 -0700 (PDT) Received: from encgw2fi.ebgroup.elektrobit.com (encgw2fi.ebgroup.elektrobit.com [172.16.0.99]) by smtpgw1fi.elektrobit.com (8.14.4/8.14.4) with ESMTP id s3ECe6J9011301 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Mon, 14 Apr 2014 15:40:06 +0300 Received: from deeres07.ebgroup.elektrobit.com (deeres07.ebgroup.elektrobit.com [10.0.10.10]) by encgw2fi.ebgroup.elektrobit.com (Postfix) with ESMTPS for ; Mon, 14 Apr 2014 15:40:06 +0300 (EEST) Received: from [10.0.22.101] (10.0.22.101) by deeres07.ebgroup.elektrobit.com (10.0.10.10) with Microsoft SMTP Server (TLS) id 14.3.158.1; Mon, 14 Apr 2014 14:40:05 +0200 Message-ID: <534BD725.5080703@elektrobit.com> Date: Mon, 14 Apr 2014 14:40:05 +0200 From: Ingmar Sittl User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: X-Originating-IP: [10.0.22.101] X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (smtpgw1fi.elektrobit.com [172.16.0.202]); Mon, 14 Apr 2014 15:40:06 +0300 (EEST) X-Virus-Scanned: at elektrobit.com X-Scanned-By: MIMEDefang 2.70 on 172.16.0.202 Subject: no display output on LVDS with i.mx6Q Sabre SDB and dora X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Apr 2014 12:40:11 -0000 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit Hi, I am trying to switch the i.mx6 Linux BSPs we use from the old LTIB-based setup to Yocto, but run into problems getting the display to work. I've built fsl-image-test from dora (with X11 disabled to get a framebuffer-based OpenVG/OpenGLES setup) and installed the resulting image to an SD card. Unfortunately I don't seem to be able to configure the system so that I get output on the Hannstar display connected to LVDS0. I've tried the configuration settings recommended by others in the forum (video=mxcfb0:dev=ldb,LDB-XGA,if=RGB666 video=mxcfb1:off fbmem=10M vmalloc=400M no_console_suspend), but no luck. I am running the OpenVG "tiger" example program from /opt/viv_samples/tiger as display test, but no matter what I configure, the display stays black while producing the following output: root@imx6qsabresd:/opt/viv_samples/tiger# ./tiger id=64, a,b,g,r=0,5,6,5, d,s=16,0, AA=0,openvgbit=23 frames:100 -- fps:134.589508 The same HW setup works fine with the same mxcfb0 configuration and an older LTIB-based Linux. The boot console logs are as follows: U-Boot 2013.10 (Apr 11 2014 - 14:52:18) CPU: Freescale i.MX6Q rev1.1 at 792 MHz Reset cause: POR Board: MX6-SabreSD DRAM: 1 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2 Display: Hannstar-XGA (1024x768) In: serial Out: serial Err: serial Net: FEC [PRIME] Hit any key to stop autoboot: 0 mmc1 is current device reading boot.scr ** Unable to read file boot.scr ** reading uImage 4042492 bytes read in 205 ms (18.8 MiB/s) Booting from mmc ... reading imx6q-sabresd.dtb ** Unable to read file imx6q-sabresd.dtb ** ## Booting kernel from Legacy Image at 12000000 ... Image Name: Linux-3.0.35-4.1.0+yocto+gbdde70 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4042428 Bytes = 3.9 MiB Load Address: 10008000 Entry Point: 10008000 Verifying Checksum ... OK Loading Kernel Image ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Linux version 3.0.35-4.1.0+yocto+gbdde708 (dev@linux-8w3x.site) (gcc version 4.8.1 (GCC) ) #1 SMP PREEMPT Fri Apr 11 12:24:20 CEST 2014 CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache Machine: Freescale i.MX 6Quad/DualLite/Solo Sabre-SD Board Memory policy: ECC disabled, Data cache writealloc CPU identified as i.MX6Q, silicon rev 1.1 On node 0 totalpages: 196608 free_area_init_node: node 0, pgdat 80b79f00, node_mem_map 8b800000 DMA zone: 368 pages used for memmap DMA zone: 0 pages reserved DMA zone: 46736 pages, LIFO batch:15 Normal zone: 1680 pages used for memmap Normal zone: 147824 pages, LIFO batch:31 PERCPU: Embedded 7 pages/cpu @8c008000 s5792 r8192 d14688 u32768 pcpu-alloc: s5792 r8192 d14688 u32768 alloc=8*4096 pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 194560 Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk0p2 rootwait rw video=mxcfb0:dev=ldb,LDB-XGA,if=RGB666 video=mxcfb1:off fbmem=10M vmalloc=400M noconsole_suspend PID hash table entries: 4096 (order: 2, 16384 bytes) Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 512MB 256MB = 768MB total Memory: 765064k/765064k available, 283512k reserved, 0K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) DMA : 0xf4600000 - 0xffe00000 ( 184 MB) vmalloc : 0xc0800000 - 0xf2000000 ( 792 MB) lowmem : 0x80000000 - 0xc0000000 (1024 MB) pkmap : 0x7fe00000 - 0x80000000 ( 2 MB) modules : 0x7f000000 - 0x7fe00000 ( 14 MB) .init : 0x80008000 - 0x8003e000 ( 216 kB) .text : 0x8003e000 - 0x80b0e5b8 (11074 kB) .data : 0x80b10000 - 0x80b7c1f0 ( 433 kB) .bss : 0x80b7c214 - 0x80bf0690 ( 466 kB) SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 Preemptible hierarchical RCU implementation. NR_IRQS:624 MXC GPIO hardware sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655ms arm_max_freq=800MHz MXC_Early serial console at MMIO 0x2020000 (options '115200') bootconsole [ttymxc0] enabled Console: colour dummy device 80x30 Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available CPU1: Booted secondary processor CPU2: Booted secondary processor CPU3: Booted secondary processor Brought up 4 CPUs SMP: Total of 4 processors activated (6324.22 BogoMIPS). devtmpfs: initialized print_constraints: dummy: NET: Registered protocol family 16 print_constraints: vddpu: 725 <--> 1300 mV at 1100 mV fast normal print_constraints: vddcore: 725 <--> 1300 mV at 1100 mV fast normal print_constraints: vddsoc: 725 <--> 1300 mV at 1200 mV fast normal print_constraints: vdd2p5: 2000 <--> 2775 mV at 2400 mV fast normal print_constraints: vdd1p1: 800 <--> 1400 mV at 1100 mV fast normal print_constraints: vdd3p0: 2625 <--> 3400 mV at 3000 mV fast normal hw-breakpoint: found 6 breakpoint and 1 watchpoint registers. hw-breakpoint: 1 breakpoint(s) reserved for watchpoint single-step. hw-breakpoint: maximum watchpoint size is 4 bytes. L310 cache controller enabled l2x0: 16 ways, CACHE_ID 0x410000c7, AUX_CTRL 0x02070000, Cache size: 1048576 B bio: create slab at 0 mxs-dma mxs-dma-apbh: initialized print_constraints: SPKVDD: 4200 mV print_constraints: vmmc: 3300 mV SCSI subsystem initialized libata version 3.00 loaded. spi_imx imx6q-ecspi.0: probed usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb Freescale USB OTG Driver loaded, $Revision: 1.55 $ mc_pfuze 1-0008: ID: 0,Full lay: 1 ,Metal lay: 0 mc_pfuze 1-0008: FAB: 0 ,FIN: 0 PF100 1.0 chip found! print_constraints: PFUZE100_SW1A: 300 <--> 1875 mV at 1300 mV print_constraints: PFUZE100_SW1B: 300 <--> 1875 mV at 300 mV print_constraints: PFUZE100_SW1C: 300 <--> 1875 mV at 1300 mV print_constraints: PFUZE100_SW2: 800 <--> 3950 mV at 3300 mV print_constraints: PFUZE100_SW3A: 400 <--> 1975 mV at 1500 mV print_constraints: PFUZE100_SW3B: 400 <--> 1975 mV at 1500 mV print_constraints: PFUZE100_SW4: 800 <--> 3950 mV at 3150 mV print_constraints: PFUZE100_SWBST: 5000 <--> 5150 mV at 5000 mV print_constraints: PFUZE100_VSNVS: 1200 <--> 3000 mV at 3000 mV print_constraints: PFUZE100_VREFDDR: at 750 mV print_constraints: PFUZE100_VGEN1: 800 <--> 1550 mV at 1500 mV print_constraints: PFUZE100_VGEN2: 800 <--> 1550 mV at 1500 mV print_constraints: PFUZE100_VGEN3: 1800 <--> 3300 mV at 2500 mV print_constraints: PFUZE100_VGEN4: 1800 <--> 3300 mV at 1800 mV print_constraints: PFUZE100_VGEN5: 1800 <--> 3300 mV at 2800 mV print_constraints: PFUZE100_VGEN6: 1800 <--> 3300 mV at 3300 mV imx-ipuv3 imx-ipuv3.0: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7) imx-ipuv3 imx-ipuv3.1: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7) mxc_mipi_csi2 mxc_mipi_csi2: i.MX MIPI CSI2 driver probed mxc_mipi_csi2 mxc_mipi_csi2: i.MX MIPI CSI2 dphy version is 0x3130302a MIPI CSI2 driver module loaded Advanced Linux Sound Architecture Driver Version 1.0.24. Bluetooth: Core ver 2.16 NET: Registered protocol family 31 Bluetooth: HCI device and connection manager initialized Bluetooth: HCI socket layer initialized Bluetooth: L2CAP socket layer initialized Bluetooth: SCO socket layer initialized cfg80211: Calling CRDA to update world regulatory domain max17135_regulator_init abort: EPDC not enabled max17135 2-0048: PMIC MAX17135 for eInk display i2c-core: driver [max17135] using legacy suspend method i2c-core: driver [max17135] using legacy resume method Switching to clocksource mxc_timer1 NET: Registered protocol family 2 IP route cache hash table entries: 32768 (order: 5, 131072 bytes) TCP established hash table entries: 131072 (order: 8, 1048576 bytes) TCP bind hash table entries: 65536 (order: 7, 786432 bytes) TCP: Hash tables configured (established 131072 bind 65536) TCP reno registered UDP hash table entries: 512 (order: 2, 16384 bytes) UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. PMU: registered new PMU device of type 0 Static Power Management for Freescale i.MX6 wait mode is enabled for i.MX6 cpaddr = c0880000 suspend_iram_base=c091c000 PM driver module loaded IMX usb wakeup probe the wakeup pdata is 0xbfee0780 add wake up source irq 75 IMX usb wakeup probe the wakeup pdata is 0xbfee0a40 cpu regulator mode:ldo_bypass _regulator_get: get() with no identifier mx6_cpu_regulator_init: failed to get pu regulator i.MXC CPU frequency driver JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc. msgmni has been set to 1494 alg: No test for stdrng (krng) io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) mxc_mipi_dsi mxc_mipi_dsi: i.MX MIPI DSI driver probed MIPI DSI driver module loaded mxc_sdc_fb mxc_sdc_fb.0: register mxc display driver ldb _regulator_get: get() with no identifier imx-ipuv3 imx-ipuv3.1: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7) Console: switching to colour frame buffer device 128x48 mxc_sdc_fb mxc_sdc_fb.1: Can't get fb option for mxcfb1! mxc_sdc_fb mxc_sdc_fb.2: register mxc display driver lcd mxc_sdc_fb mxc_sdc_fb.3: register mxc display driver ldb imx-sdma imx-sdma: loaded firmware 1.1 imx-sdma imx-sdma: initialized Serial: IMX driver imx-uart.2: ttymxc2 at MMIO 0x21ec000 (irq = 60) is a IMX imx-uart.0: ttymxc0 at MMIO 0x2020000 (irq = 58) is a IMX console [ttymxc0] enabled, bootconsole disabled loop: module loaded No sata disk. m25p80 spi0.0: unrecognized JEDEC id ffffff GPMI NAND driver registered. (IMX) vcan: Virtual CAN interface driver CAN device driver interface flexcan netdevice driver FEC Ethernet Driver fec_enet_mii_bus: probed ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1 fsl-ehci fsl-ehci.0: irq 75, io base 0x02184000 fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected add wake up source irq 72 fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 2 fsl-ehci fsl-ehci.1: irq 72, io base 0x02184200 fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00 hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. ARC USBOTG Device Controller driver (1 August 2005) mousedev: PS/2 mouse device common for all mice input: gpio-keys as /devices/platform/gpio-keys/input/input0 input: max11801_ts as /devices/platform/imx-i2c.1/i2c-1/1-0048/input/input1 input: eGalax Touch Screen as /devices/platform/imx-i2c.1/i2c-1/1-0004/input/input2 egalax_ts 2-0004: egalax_ts: failed to read firmware version egalax_ts: probe of 2-0004 failed with error -5 elan - Read Hello Packet Failed elan-touch: probe of 2-0010 failed with error -22 i2c-core: driver [isl29023] using legacy suspend method i2c-core: driver [isl29023] using legacy resume method snvs_rtc snvs_rtc.0: rtc core: registered snvs_rtc as rtc0 i2c /dev entries driver Linux video capture interface: v2.00 mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video16 mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video17 mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video18 mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video19 mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video20 mag3110 2-000e: check mag3110 chip ID input: mag3110 as /devices/virtual/input/input3 mag3110 2-000e: mag3110 is probed i2c-core: driver [mag3110] using legacy suspend method i2c-core: driver [mag3110] using legacy resume method input: mma845x as /devices/virtual/input/input4 imx2-wdt imx2-wdt.0: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=1) Bluetooth: Virtual HCI driver ver 1.3 Bluetooth: HCI UART driver ver 2.2 Bluetooth: HCIATH3K protocol initialized Bluetooth: Generic Bluetooth USB driver ver 0.6 usbcore: registered new interface driver btusb sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman mmc0: SDHCI controller on platform [sdhci-esdhc-imx.2] using DMA mmc1: SDHCI controller on platform [sdhci-esdhc-imx.3] using DMA mmc2: SDHCI controller on platform [sdhci-esdhc-imx.1] using DMA mxc_vdoa mxc_vdoa: i.MX Video Data Order Adapter(VDOA) driver probed VPU initialized USB Host suspend begins will suspend roothub and its children ehci_fsl_bus_suspend begins, DR ehci_fsl_bus_suspend ends, DR host suspend ends mxc_asrc registered Galcore version 4.6.9.6622 Thermal calibration data is 0x5724bd7d Thermal sensor with ratio = 180 Anatop Thermal registered as thermal_zone0 anatop_thermal_probe: default cooling device is cpufreq! Registered led device: chg_now_led usbcore: registered new interface driver usbhid usbhid: USB HID core driver usbcore: registered new interface driver snd-usb-audio mxc_hdmi_soc mxc_hdmi_soc.0: MXC HDMI Audio mmc0: new high speed SDHC card at address b368 Cirrus Logic CS42888 ALSA SoC Codec Driver i2c-core: driver [cs42888] using legacy suspend method i2c-core: driver [cs42888] using legacy resume method mmcblk0: mmc0:b368 USD 7.45 GiB imx-hdmi-soc-dai imx-hdmi-soc-dai.0: Failed: Load HDMI-video first. mmcblk0: p1 p2 wm8962 0-001a: customer id 0 revision D input: WM8962 Beep Generator as /devices/platform/imx-i2c.0/i2c-0/0-001a/input/input5 asoc: wm8962 <-> imx-ssi.1 mapping ok input: wm8962-audio DMIC as /devices/platform/soc-audio.5/sound/card0/input6 input: wm8962-audio Ext Spk as /devices/platform/soc-audio.5/sound/card0/input7 imx_3stack asoc driver Initialize HDMI-audio failed. Load HDMI-video first! ALSA device list: #0: wm8962-audio NET: Registered protocol family 26 TCP cubic registered NET: Registered protocol family 17 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) Bluetooth: RFCOMM TTY layer initialized Bluetooth: RFCOMM socket layer initialized Bluetooth: RFCOMM ver 1.11 Bluetooth: BNEP (Ethernet Emulation) ver 1.3 Bluetooth: BNEP filters: protocol multicast Bluetooth: HIDP (Human Interface Emulation) ver 1.2 lib80211: common routines for IEEE802.11 drivers lib80211_crypt: registered algorithm 'NULL' lib80211_crypt: registered algorithm 'WEP' lib80211_crypt: registered algorithm 'CCMP' lib80211_crypt: registered algorithm 'TKIP' VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 Bus freq driver module loaded Bus freq driver Enabled mxc_dvfs_core_probe DVFS driver module loaded mmc1: new high speed DDR MMC card at address 0001 regulator_init_complete: PFUZE100_VGEN6: incomplete constraints, leaving on mmcblk1: mmc1:0001 SEM08G 7.39 GiB mmcblk1boot0: mmc1:0001 SEM08G partition 1 2.00 MiB regulator_init_complete: PFUZE100_VGEN3: incomplete constraints, leaving on mmcblk1boot1: mmc1:0001 SEM08G partition 2 2.00 MiB regulator_init_complete: PFUZE100_VGEN2: incomplete constraints, leaving on regulator_init_complete: PFUZE100_VGEN1: incomplete constraints, leaving on mmcblk1: unknown partition table snvs_rtc snvs_rtc.0: setting system clock to 1970-01-01 00:00:00 UTC (0) mmcblk1boot1: unknown partition table mmcblk1boot0: unknown partition table EXT3-fs: barriers not enabled kjournald starting. Commit interval 5 seconds EXT3-fs (mmcblk0p2): using internal journal EXT3-fs (mmcblk0p2): recovery complete EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode VFS: Mounted root (ext3 filesystem) on device 179:2. devtmpfs: mounted Freeing init memory: 216K udevd[103]: starting version 182 ehci_fsl_bus_suspend begins, Host 1 ehci_fsl_bus_suspend ends, Host 1 ov5642_read_reg:write reg error:reg=300a camera ov5642 is not found ov5640_read_reg:write reg error:reg=300a camera ov5640_mipi is not found ov5640_read_reg:write reg error:reg=300a camera ov5640 is not found eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=1:01, irq=-1) Regards, Ingmar Sittl