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.

AM3352 QT framebuffer error

Other Parts Discussed in Thread: AM3352, DA8XX, TPS65217

Hello,

I'm using an AM3352 processor with the TI SDK 07.00.00.00.

When I follow the QT wiki page and start the example I get an error:

QScreenLinuxFb::connect: No such file or directory
Error opening framebuffer device /dev/fb0

This is error repeats until I stop the programm.

In my menuconfig the following is turned on:

Device Drivers --> Graphics Support 

<*> Support for frame buffer device -->

    [*] Enable firmware EDID

    [*'] Framebuffer foreign endianness support

    <*> DA8xx/OMAP-L1xx/AM335x Framebuffer support

   [*] Simple framebuffer support.

But this does not help, what can I do?

Kind regards

Patrick

  • Hi Patrick,

    Can you attach your boot log to check if there are any error messages related to the framebuffer?

    Best regards,
    Miroslav

  • Hello Miroslav,

    Here is the boot log:

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 3.12.10-ti2013.12.01 (patrick@patrick-VirtualBox) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #11 Mon Aug 25 13:49:47 CEST 2014
    [ 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: TI AM335x BeagleBone
    [ 0.000000] cma: CMA: reserved 24 MiB at 9d800000
    [ 0.000000] Memory policy: ECC disabled, Data cache writeback
    [ 0.000000] CPU: All CPU(s) started in SVC mode.
    [ 0.000000] AM335X ES2.0 (sgx neon )
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129280
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait
    [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [ 0.000000] Memory: 482856K/521216K available (5947K kernel code, 568K rwdata, 1964K rodata, 348K init, 226K bss, 38360K 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 : 0xe0800000 - 0xff000000 ( 488 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc07c20ec (7913 kB)
    [ 0.000000] .init : 0xc07c3000 - 0xc081a1c4 ( 349 kB)
    [ 0.000000] .data : 0xc081c000 - 0xc08aa0f8 ( 569 kB)
    [ 0.000000] .bss : 0xc08aa0f8 - 0xc08e2978 ( 227 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.000247] Calibrating delay loop... 663.55 BogoMIPS (lpj=3317760)
    [ 0.049782] pid_max: default: 32768 minimum: 301
    [ 0.049864] Security Framework initialized
    [ 0.049906] Mount-cache hash table entries: 512
    [ 0.055696] CPU: Testing write buffer coherency: ok
    [ 0.056027] Setting up static identity map for 0xc05d4768 - 0xc05d47d8
    [ 0.056721] devtmpfs: initialized
    [ 0.058177] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 0.117976] omap_hwmod: debugss: _wait_target_disable failed
    [ 0.118545] pinctrl core: initialized pinctrl subsystem
    [ 0.119221] regulator-dummy: no parameters
    [ 0.121216] NET: Registered protocol family 16
    [ 0.122914] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.124751] cpuidle: using governor ladder
    [ 0.124765] cpuidle: using governor menu
    [ 0.131158] platform mpu.1: FIXME: clock-name 'fck' DOES NOT exist in dt!
    [ 0.131973] platform 49000000.edma: FIXME: clock-name 'fck' DOES NOT exist in dt!
    [ 0.132930] OMAP GPIO hardware version 0.1
    [ 0.139407] platform 56000000.sgx: FIXME: clock-name 'fck' DOES NOT exist in dt!
    [ 0.141270] DSS not supported on this SoC
    [ 0.141283] No ATAGs?
    [ 0.141291] hw-breakpoint: debug architecture 0x4 unsupported.
    [ 0.161734] bio: create slab <bio-0> at 0
    [ 0.172631] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
    [ 0.173282] vmmcsd_fixed: 3300 mV
    [ 0.176126] SCSI subsystem initialized
    [ 0.177139] usbcore: registered new interface driver usbfs
    [ 0.177277] usbcore: registered new interface driver hub
    [ 0.177429] usbcore: registered new device driver usb
    [ 0.178143] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins, deferring probe
    [ 0.178165] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral
    [ 0.178190] omap_i2c 4802a000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c1_pins, deferring probe
    [ 0.178201] platform 4802a000.i2c: Driver omap_i2c requests probe deferral
    [ 0.178367] media: Linux media interface: v0.10
    [ 0.178497] Linux video capture interface: v2.00
    [ 0.178685] pps_core: LinuxPPS API ver. 1 registered
    [ 0.178692] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.178789] PTP clock support registered
    [ 0.179875] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.180596] Bluetooth: Core ver 2.16
    [ 0.180742] NET: Registered protocol family 31
    [ 0.180750] Bluetooth: HCI device and connection manager initialized
    [ 0.180769] Bluetooth: HCI socket layer initialized
    [ 0.180779] Bluetooth: L2CAP socket layer initialized
    [ 0.180799] Bluetooth: SCO socket layer initialized
    [ 0.181297] Switched to clocksource timer1
    [ 0.195339] NET: Registered protocol family 2
    [ 0.195853] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    [ 0.195920] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.195958] TCP: Hash tables configured (established 4096 bind 4096)
    [ 0.196015] TCP: reno registered
    [ 0.196026] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.196041] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.196193] NET: Registered protocol family 1
    [ 0.196492] RPC: Registered named UNIX socket transport module.
    [ 0.196502] RPC: Registered udp transport module.
    [ 0.196508] RPC: Registered tcp transport module.
    [ 0.196513] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.197234] NetWinder Floating Point Emulator V0.97 (double precision)
    [ 0.197726] PM: Loading am335x-pm-firmware.bin
    [ 0.317272] VFS: Disk quotas dquot_6.5.2
    [ 0.317331] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 0.317843] NFS: Registering the id_resolver key type
    [ 0.317918] Key type id_resolver registered
    [ 0.317925] Key type id_legacy registered
    [ 0.317958] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
    [ 0.318119] msgmni has been set to 991
    [ 0.319368] NET: Registered protocol family 38
    [ 0.319602] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
    [ 0.319613] io scheduler noop registered
    [ 0.319620] io scheduler deadline registered
    [ 0.319637] io scheduler cfq registered (default)
    [ 0.321073] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [ 0.323986] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [ 0.326092] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a OMAP UART0
    [ 0.979566] console [ttyO0] enabled
    [ 0.984350] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [ 0.998886] brd: module loaded
    [ 1.006086] loop: module loaded
    [ 1.013810] mtdoops: mtd device (mtddev=name/number) must be supplied
    [ 1.023317] usbcore: registered new interface driver asix
    [ 1.029144] usbcore: registered new interface driver ax88179_178a
    [ 1.035677] usbcore: registered new interface driver cdc_ether
    [ 1.041937] usbcore: registered new interface driver r815x
    [ 1.047836] usbcore: registered new interface driver smsc95xx
    [ 1.053980] usbcore: registered new interface driver net1080
    [ 1.060045] usbcore: registered new interface driver cdc_subset
    [ 1.066372] usbcore: registered new interface driver zaurus
    [ 1.072414] usbcore: registered new interface driver cdc_ncm
    [ 1.078755] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 1.085629] ehci-pci: EHCI PCI platform driver
    [ 1.090445] ehci-platform: EHCI generic platform driver
    [ 1.096173] ehci-omap: OMAP-EHCI Host Controller driver
    [ 1.102293] usbcore: registered new interface driver cdc_wdm
    [ 1.108386] usbcore: registered new interface driver usb-storage
    [ 1.114817] usbcore: registered new interface driver ums-realtek
    [ 1.121939] mousedev: PS/2 mouse device common for all mice
    [ 1.128924] input: matrix_keypad.3 as /devices/ocp.2/matrix_keypad.3/input/input0
    [ 1.138409] input: ti-tsc as /devices/ocp.2/44e0d000.tscadc/TI-am335x-tsc/input/input1
    [ 1.148382] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [ 1.156459] i2c /dev entries driver
    [ 1.160522] Driver for 1-wire Dallas network protocol.
    [ 1.167759] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 1.175401] Bluetooth: HCI UART driver ver 2.2
    [ 1.180065] Bluetooth: HCI H4 protocol initialized
    [ 1.185106] Bluetooth: HCI BCSP protocol initialized
    [ 1.190309] Bluetooth: HCILL protocol initialized
    [ 1.196443] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25
    [ 1.203682] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24
    [ 1.251630] edma-dma-engine edma-dma-engine.0: allocated channel for 0:3
    [ 1.258674] edma-dma-engine edma-dma-engine.0: allocated channel for 0:2
    [ 1.299755] mmc0: host does not support reading read-only switch. assuming write-enable.
    [ 1.308882] ledtrig-cpu: registered to indicate activity on CPUs
    [ 1.315295] mmc0: new high speed SD card at address 1234
    [ 1.321571] edma-dma-engine edma-dma-engine.0: allocated channel for 0:36
    [ 1.328741] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [ 1.334833] mmcblk0: mmc0:1234 SA02G 1.83 GiB
    [ 1.341221] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [ 1.347442] mmcblk0: p1 p2
    [ 1.351143] edma-dma-engine edma-dma-engine.0: allocated channel for 0:5
    [ 1.358528] edma-dma-engine edma-dma-engine.0: allocated channel for 0:6
    [ 1.369882] usbcore: registered new interface driver usbhid
    [ 1.375798] usbhid: USB HID core driver
    [ 1.387250] davinci_evm sound.5: ASoC: CODEC (null) not registered
    [ 1.393864] davinci_evm sound.5: snd_soc_register_card failed (-517)
    [ 1.400544] platform sound.5: Driver davinci_evm requests probe deferral
    [ 1.408393] oprofile: no performance counters
    [ 1.413309] oprofile: using timer interrupt.
    [ 1.418024] TCP: cubic registered
    [ 1.421529] Initializing XFRM netlink socket
    [ 1.426073] NET: Registered protocol family 17
    [ 1.430789] NET: Registered protocol family 15
    [ 1.435505] 8021q: 802.1Q VLAN Support v1.8
    [ 1.439957] Key type dns_resolver registered
    [ 1.444996] cpu cpu0: cpu0 regulator not ready, retry
    [ 1.450312] platform cpufreq-cpu0.0: Driver cpufreq-cpu0 requests probe deferral
    [ 1.458641] ThumbEE CPU extension supported.
    [ 1.466927] DCDC1: at 1500 mV
    [ 1.470980] vdd_mpu: 925 <--> 1375 mV at 1325 mV
    [ 1.476744] vdd_core: 925 <--> 1150 mV at 1125 mV
    [ 1.482634] LDO1: at 1800 mV
    [ 1.486541] LDO2: at 3300 mV
    [ 1.490943] LDO3: 1800 mV
    [ 1.494572] LDO4: at 3300 mV
    [ 1.498278] tps65217 0-0024: TPS65217 ID 0xe version 1.2
    [ 1.503925] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [ 1.512462] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz
    [ 1.554319] davinci_evm sound.5: tlv320aic31xx-hifi <-> 48038000.mcasp mapping ok
    [ 1.575081] tlv320aic31xx-codec 1-0018: ASoC: mux CM M-Terminal has no paths
    [ 1.651317] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [ 1.657725] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [ 1.664882] libphy: 4a101000.mdio: probed
    [ 1.669098] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
    [ 1.679264] Detected MACID = c8:a0:30:ab:dd:06
    [ 1.685438] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    [ 1.694570] ### dt-test ### No testcase data in device tree; not running tests
    [ 1.704509] ALSA device list:
    [ 1.707638] #0: AM43x-EPOS-EVM
    [ 1.716109] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
    [ 1.723833] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
    [ 1.804652] mmc1: BKOPS_EN bit is not set
    [ 1.812251] mmc1: new high speed MMC card at address 0001
    [ 1.818760] mmcblk1: mmc1:0001 MMC02G 1.78 GiB
    [ 1.823678] mmcblk1boot0: mmc1:0001 MMC02G partition 1 1.00 MiB
    [ 1.831511] mmcblk1boot1: mmc1:0001 MMC02G partition 2 1.00 MiB
    [ 1.842492] mmcblk1: p1 p2
    [ 1.847364] mmcblk1boot1: unknown partition table
    [ 1.853880] mmcblk1boot0: unknown partition table
    [ 5.474151] EXT4-fs (mmcblk0p2): recovery complete
    [ 5.777603] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 5.786166] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
    [ 5.798531] devtmpfs: mounted
    [ 5.802113] Freeing unused kernel memory: 348K (c07c3000 - c081a000)

    INIT: version 2.88 booting

    Error opening /dev/fb0: No such file or directory
    Starting udev
    [ 6.441472] udevd[853]: starting version 182
    [ 6.784274] PM: CM3 Firmware Version = 0x186
    [ 6.896058] snd_page_alloc: exports duplicate symbol snd_dma_alloc_pages (owned by kernel)
    [ 6.977349] industrialio: exports duplicate symbol iio_buffer_init (owned by kernel)
    [ 7.020934] snd_page_alloc: exports duplicate symbol snd_dma_alloc_pages (owned by kernel)
    [ 7.334557] pvrsrvkm: disagrees about version of symbol __free_pages
    [ 7.341290] pvrsrvkm: Unknown symbol __free_pages (err -22)
    [ 7.409913] pvrsrvkm: disagrees about version of symbol __alloc_pages_nodemask
    [ 7.417595] pvrsrvkm: Unknown symbol __alloc_pages_nodemask (err -22)
    [ 7.434303] snd_page_alloc: exports duplicate symbol snd_dma_alloc_pages (owned by kernel)
    [ 7.502607] snd_page_alloc: exports duplicate symbol snd_dma_alloc_pages (owned by kernel)
    [ 7.820720] pvrsrvkm: disagrees about version of symbol __free_pages
    [ 7.827496] pvrsrvkm: Unknown symbol __free_pages (err -22)
    [ 8.369552] pvrsrvkm: disagrees about version of symbol __alloc_pages_nodemask
    [ 8.377230] pvrsrvkm: Unknown symbol __alloc_pages_nodemask (err -22)
    [ 9.303867] musb-hdrc musb-hdrc.0.auto: Enabled SW babble control
    [ 9.339136] EXT4-fs (mmcblk1p2): recovery complete
    [ 9.354250] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 9.372096] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [ 9.411834] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
    [ 9.466860] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1
    [ 9.588633] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 9.595846] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 9.603434] usb usb1: Product: MUSB HDRC host driver
    [ 9.608640] usb usb1: Manufacturer: Linux 3.12.10-ti2013.12.01 musb-hcd
    [ 9.615587] usb usb1: SerialNumber: musb-hdrc.0.auto
    [ 9.646026] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [ 9.838061] hub 1-0:1.0: USB hub found
    [ 9.856191] hub 1-0:1.0: 1 port detected
    [ 9.878405] musb-hdrc musb-hdrc.1.auto: Enabled SW babble control
    [ 9.910700] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    [ 9.930873] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 2
    [ 9.949059] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [ 9.956269] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 9.963859] usb usb2: Product: MUSB HDRC host driver
    [ 9.969064] usb usb2: Manufacturer: Linux 3.12.10-ti2013.12.01 musb-hcd
    [ 9.976020] usb usb2: SerialNumber: musb-hdrc.1.auto
    [ 9.989206] hub 2-0:1.0: USB hub found
    [ 9.993257] hub 2-0:1.0: 1 port detected
    [ 10.107825] cryptodev: driver 1.6 loaded.
    Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
    bootlogd.
    [ 10.391410] usb 2-1: new high-speed USB device number 2 using musb-hdrc
    [ 10.480278] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
    [ 10.535309] usb 2-1: New USB device found, idVendor=05e3, idProduct=0608
    [ 10.542410] usb 2-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
    [ 10.549897] usb 2-1: Product: USB2.0 Hub
    [ 10.563697] hub 2-1:1.0: USB hub found
    [ 10.577707] hub 2-1:1.0: 4 ports detected
    ALSA: Restoring mixer settings...
    Configuring network interfaces... [ 11.148755] net eth0: initializing cpsw version 1.12 (0)
    [ 11.156509] net eth0: phy found : id is : 0x7c0f1
    [ 11.168393] 8021q: adding VLAN 0 to HW filter on device eth0
    udhcpc (v1.20.2) started
    Sending discover...
    Sending discover...
    Sending discover...
    No lease, failing
    done.
    Mon Mar 31 07:01:00 UTC 2014

    INIT: Entering runlevel: 5

    Starting system message bus: dbus.
    UIM SYSFS Node Not Found
    Starting Dropbear SSH server: dropbear.
    Starting telnet daemon.
    Starting syslogd/klogd: done
    Starting thttpd.
    Starting Lighttpd Web Server: 2014-03-31 07:01:01: (log.c.166) server started
    lighttpd.
    Calibrating touchscreen (first time only)open fbdevice: No such file or directory
    .

  • You need to make sure you have the configs enabled that are listed on the LCDC driver page.  Make sure you are aware of whether you would like to enable DRM or fbdev drivers.

    You also need to make sure you have the right device tree entries.  Look in the Porting section of the main LCDC page.