BBB OpenSuse 13.2 no video output

Hi Robert,

If I plugged the HDMI cable while I started the board with the LCD cape connected the desktop is displayed on the HDMI output
On the LCD I have juste the backlight on but the touch panel is working.

I thought the HDMI should not work with my config ?

It looks like the file uEnv.txt is ignored

linux:~ # cat /boot/uEnv.txt
dtb=am335x-boneblack-emmc-overlay.dtb
bone_capemgr.enable_partno=BB-BONE-LCD7-01:00A3

I guess that would make sense, opensuse probally has their own u-boot patch..

stop u-boot, type "printenv" and figure out how to override
"dtb/dtb_file/etc.."...

dtb=xyz is one of my u-boot changes..

Regards,

Hi Robert,

Fom my understanding when I’m booting from the SD-card opensuse is using boot.script

See serial log (after modifications below)

U-Boot SPL 2014.10 (Oct 20 2014 - 20:57:40)
spl_register_fat_device: fat register err - -1
spl_register_fat_device: fat register err - -1
spl_load_image_fat: error reading image u-boot.img, err - -1
spl: ext4fs_open failed
spl_load_image_ext_os: error reading image args, err - 0

U-Boot 2014.10 (Oct 20 2014 - 20:57:40)

Watchdog enabled
I2C: ready
DRAM: 512 MiB
NAND: 0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Error - No Valid Environment Area found
*** Warning - bad CRC, using default environment

Net: not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot: 1 … 0
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
2211 bytes read in 9 ms (239.3 KiB/s)
Running bootscript from mmc0 …
## Executing script at 82000000
switch to partitions #0, OK
mmc0 is current device
8261808 bytes read in 536 ms (14.7 MiB/s)
6101808 bytes read in 408 ms (14.3 MiB/s)
57916 bytes read in 21 ms (2.6 MiB/s)
Kernel image @ 0x82000000 [ 0x000000 - 0x7e10b0 ]
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Using Device Tree in place at 88000000, end 8801123b

Starting kernel …

I edit the file /boot/boot.script to use the file /boot/dtb/am335x-boneblack-emmc-overlay.dtb
→ see yellow lines below and I commented the blue lines compare to original file

But even with this modification I have no image on my LCD and if plugged the HDMI screen I see the desktop on the HDMI.

Please note the file /boot/u-boot.img is still the original one from the beaglebone opensuse image
If I use the one created with the command #make uImage dtbs LOADADDR=0x80008000 -j4 when I compile the kernel 4.1.6 the system can’t start.

linux:~ # cat /boot/boot.script

setenv kernel ‘zImage’
setenv initrd ‘initrd’
setenv fdtfile 'am335x-boneblack-emmc-overlay.dtb’
setenv flavor ‘beaglebone’
setenv target ‘boot’
setenv bootargs ‘root=/dev/disk/by-id/mmc-SL16G_0x28cf527e-part2 loader=uboot disk=/dev/disk/by-id/mmc-SL16G_0x28cf527e plymouth.enable=0 console=ttyO0’
setenv bootdevs ‘mmc’
setenv bootparts ‘${unit}:1’
setenv initrd_high ‘0xffffffff’
setenv fdt_high ‘0xffffffff’
setenv boottype ‘bootz’
setenv kerneladdr ‘0x82000000’
setenv ramdiskaddr ‘0x88080000’
setenv should_use_fdt ‘1’
setenv should_load_fdt ‘1’
setenv fdtaddr ‘0x88000000’
setenv setdev ‘mmc dev ${unit}’
setenv units ‘0’
setenv sizeprefix ‘0x’
setenv fs ‘ext2’
test -n “$kerneladdr” || setenv kerneladdr ${kernel_addr_r}
test -n “$ramdiskaddr” || setenv ramdiskaddr ${ramdisk_addr_r}
setenv load_kernel ‘${fs}load ${bootdev} ${bootpart} ${kerneladdr} ${kernel}’
setenv load_initrd ‘${fs}load ${bootdev} ${bootpart} ${ramdiskaddr} ${initrd}; setenv rd_filesize ${sizeprefix}${filesize}’

setenv fdtfile dtb/${fdtfile}

#if test 1${should_load_fdt} = 11; then
#if test 0${fdtfile} = 0call_findfdt; then
#run findfdt
#setenv fdtfile dtb/${fdtfile}
#fi
#if test 0${fdtfile} = 0call_autodetectfdt; then
#run autodetectfdt
#setenv fdtfile dtb/${fdt_file}
#fi
#setenv loadfdt ‘${fs}load ${bootdev} ${bootpart} ${fdtaddr} ${fdtfile}’
#else
#setenv loadfdt ‘’
#fi
#if test 1${use_fdt_addr} = 11; then

# Calxeda systems use $fdt_addr rather than $fdtaddr
#setenv fdtaddr $fdt_addr
#fi
#if test 1${use_fdt_addr_r} = 11; then
# At least upstream rpi_b uses $fdt_addr_r rather than $fdtaddr
#setenv fdtaddr ${fdt_addr_r}
#fi
#if test 1${should_use_fdt} = 11; then
setenv boot_kernel ‘${boottype} ${kerneladdr} ${ramdiskaddr}:${rd_filesize} ${fdtaddr}’
#else
#setenv boot_kernel ‘${boottype} ${kerneladdr} ${ramdiskaddr}:${rd_filesize}’
#fi
#if test 1${remove_fdt_high} = 11; then
#setenv fdt_high
#fi
setenv doit ‘if run load_kernel; then; run load_initrd; run loadfdt; run boot_kernel; fi’
setenv bootcmd 'for bootdev in ${bootdevs}; do for unit in ${units}; do setenv bootpart; for bootpart in ${bootparts}; do setenv fix_bootpart "setenv bootpart
$bootpart"; run fix_bootpart; run setdev; run doit; done; done; done’
boot

I realised I had to generate the corresponding boot.scr with the command

linux:/boot #mkimage -C none -A arm -T script -d boot.script boot.scr

Image Name:
Created: Tue Sep 1 16:37:53 2015
Image Type: ARM Linux Script (uncompressed)
Data Size: 2228 Bytes = 2.18 kB = 0.00 MB
Load Address: 00000000
Entry Point: 00000000
Contents:
Image 0: 2220 Bytes = 2.17 kB = 0.00 MB

But even after when I reboot I have no image on the LCD
the backlight turns ON after I load the module before starting Xserver

[ 54.444590] bone_capemgr bone_capemgr: part_number ‘BB-BONE-LCD7-01’, version ‘00A3’
[ 54.444632] bone_capemgr bone_capemgr: slot #4: override
[ 54.444650] bone_capemgr bone_capemgr: Using override eeprom data at slot 4
[ 54.444668] bone_capemgr bone_capemgr: slot #4: ‘Override Board Name,00A3,Override Manuf,BB-BONE-LCD7-01’
[ 54.536700] bone_capemgr bone_capemgr: slot #4: dtbo ‘BB-BONE-LCD7-01-00A3.dtbo’ loaded; overlay id #0

But also no image on the HDMI the X server can’t find fb0 device
See Xorg.0.log below

Please not I’m using the following conf

linux:~ # cat /etc/X11/xorg.conf
Section “Monitor”
Identifier “Builtin Default Monitor”
EndSection
Section “Device”
Identifier “Builtin Default fbdev Device 0”
Driver “fbdev”
# Driver “modesetting”
EndSection
Section “Screen”
Identifier “Builtin Default fbdev Screen 0”
Device “Builtin Default fbdev Device 0”
Monitor “Builtin Default Monitor”
DefaultDepth 16
#Chipsee lcd7 bbb-exp-c:
# DefaultDepth 24
EndSection
Section “ServerLayout”
Identifier “Builtin Default Layout”
Screen “Builtin Default fbdev Screen 0”
EndSection

linux:~ # cat /var/log/Xorg.0.log
[ 50.857]
X.Org X Server 1.16.1
Release Date: 2014-09-21
[ 50.858] X Protocol Version 11, Revision 0
[ 50.858] Build Operating System: openSUSE SUSE LINUX
[ 50.858] Current Operating System: Linux linux.site 4.1.6 #1 SMP PREEMPT Sun Aug 23 16:43:56 UTC 2015 armv7l
[ 50.858] Kernel command line: root=/dev/disk/by-id/mmc-SL16G_0x28cf527e-part2 loader=uboot disk=/dev/disk/by-id/mmc-SL16G_0x28cf527e plymouth.enable=0 console=ttyO0
[ 50.858] Build Date: 12 June 2015 07:53:26PM
[ 50.858]
[ 50.858] Current version of pixman: 0.32.6
[ 50.859] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 50.859] Markers: (–) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 50.866] (==) Log file: “/var/log/Xorg.0.log”, Time: Sat Jan 1 00:00:33 2000
[ 50.870] (==) Using config file: “/etc/X11/xorg.conf”
[ 50.870] (==) Using config directory: “/etc/X11/xorg.conf.d”
[ 50.870] (==) Using system config directory “/usr/share/X11/xorg.conf.d”
[ 50.873] (==) ServerLayout “Builtin Default Layout”
[ 50.873] (**) |–>Screen “Builtin Default fbdev Screen 0” (0)
[ 50.873] (**) | |–>Monitor “Builtin Default Monitor”
[ 50.874] (**) | |–>Device “Builtin Default fbdev Device 0”
[ 50.874] (==) Automatically adding devices
[ 50.874] (==) Automatically enabling devices
[ 50.874] (==) Automatically adding GPU devices
[ 50.875] (WW) The directory “/usr/share/fonts/misc/sgi” does not exist.
[ 50.875] Entry deleted from font path.
[ 50.875] (==) FontPath set to:
/usr/share/fonts/misc:unscaled,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi:unscaled,
/usr/share/fonts/75dpi:unscaled,
/usr/share/fonts/ghostscript/,
/usr/share/fonts/cyrillic:unscaled,
/usr/share/fonts/truetype/,
built-ins
[ 50.875] (==) ModulePath set to “/usr/lib/xorg/modules”
[ 50.875] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 50.875] (II) Loader magic: 0x1dbe80
[ 50.875] (II) Module ABI versions:
[ 50.875] X.Org ANSI C Emulation: 0.4
[ 50.875] X.Org Video Driver: 18.0
[ 50.875] X.Org XInput driver : 21.0
[ 50.875] X.Org Server Extension : 8.0
[ 50.876] (II) no primary bus or device found
[ 50.877] (II) LoadModule: “glx”
[ 50.892] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 50.943] (II) Module glx: vendor=“X.Org Foundation”
[ 50.944] compiled for 1.16.1, module version = 1.0.0
[ 50.944] ABI class: X.Org Server Extension, version 8.0
[ 50.944] (==) AIGLX enabled
[ 50.944] (II) LoadModule: “fbdev”
[ 50.945] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 50.950] (II) Module fbdev: vendor=“X.Org Foundation”
[ 50.951] compiled for 1.16.1, module version = 0.4.4
[ 50.951] Module class: X.Org Video Driver
[ 50.951] ABI class: X.Org Video Driver, version 18.0
[ 50.951] (II) FBDEV: driver for framebuffer: fbdev
[ 50.951] (++) using VT number 7

[ 50.952] (WW) Falling back to old probe method for fbdev
[ 50.952] (II) Loading sub module “fbdevhw”
[ 50.952] (II) LoadModule: “fbdevhw”
[ 50.952] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 50.954] (II) Module fbdevhw: vendor=“X.Org Foundation”
[ 50.954] compiled for 1.16.1, module version = 0.0.2
[ 50.955] ABI class: X.Org Video Driver, version 18.0
[ 50.955] (EE) open /dev/fb0: No such file or directory
[ 50.955] (EE) No devices detected.
[ 50.955] (EE)
Fatal server error:
[ 50.955] (EE) no screens found(EE)
[ 50.956] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 50.956] (EE) Please also check the log file at “/var/log/Xorg.0.log” for additional information.
[ 50.956] (EE)

Looks like we have a race going (based on timestamps):

[ 54.444590] bone_capemgr bone_capemgr: part_number 'BB-BONE-LCD7-01',
version '00A3'
[ 54.444632] bone_capemgr bone_capemgr: slot #4: override
[ 54.444650] bone_capemgr bone_capemgr: Using override eeprom data at slot
4
[ 54.444668] bone_capemgr bone_capemgr: slot #4: 'Override Board
Name,00A3,Override Manuf,BB-BONE-LCD7-01'
[ 54.536700] bone_capemgr bone_capemgr: slot #4: dtbo
'BB-BONE-LCD7-01-00A3.dtbo' loaded; overlay id #0

Release Date: 2014-09-21
[ 50.858] X Protocol Version 11, Revision 0
[ 50.858] Build Operating System: openSUSE SUSE LINUX
[ 50.858] Current Operating System: Linux linux.site 4.1.6 #1 SMP PREEMPT

X-Server is loading 4 seconds before the cape get's loaded... can you
shove the *.dtbo into the initramfs?

Regards,

Do you know how i can do that with dracut?

I don’t know why on opensuse I can’t use the mkinitrd

After loading the module when I connect in ssh I still not see the device /dev/fb0
Is it normal?

My bad the /dev/fb0 is available after loading the module.

I really need to find a way to shove the dtbo inside the initramfs.

http://www.linuxforums.org/forum/red-hat-fedora-linux/192512-how-can-i-add-binary-initramfs-image.html

Seems to be a decent explanation of how to do just what you want. I’ve never tested this personally though . . .

Thank you William for the link, I will try this later.

In between I found if I load the module in the /etc/init.d/boot.local the module is loaded 2-3s before X server starts
So now X found the device /dev/fb0 (see Xorg.0.log below)

But unfortunately I still have NOTHING on the display, it’s really frustrating.

The login manager lightdm process is running so I should see it on the screen.
After a while the LCD backlight turns OFF, when I touch the screen it turns back ON so I guess it’s working.

I’m using the fdt file am335x-boneblack-emmc-overlay.dtb (but I didn’t find how to check this really happeing since this parameter are loaded after the auto-boot)
I’m loading the module BB-BONE-LCD7-01-00A3.dtbo succesfully

So I tried to compare the Xorg.0.log between the opensuse and the debian which is running without issue on the eMMc with the LCD 7" 4D-CAPE-70T (wile using the same xorg.conf)

I found several differences:
On debian
II) FBDEV(0): hardware: (video memory: 750kB)

while on opensuse
II) FBDEV(0): hardware: (video memory: 2250kB)

→ I tried to override this parameter with the parameter VideoRam 750 in the device section of my xorg.conf but It has no impact the log is still the same

On debian I have several built-in extensions

[ 13.488] (==) RandR enabled
[ 13.490] (II) Initializing built-in extension Generic Event Extension
[ 13.490] (II) Initializing built-in extension SHAPE
[ 13.491] (II) Initializing built-in extension MIT-SHM
[ 13.491] (II) Initializing built-in extension XInputExtension
[ 13.491] (II) Initializing built-in extension XTEST
[ 13.492] (II) Initializing built-in extension BIG-REQUESTS
[ 13.492] (II) Initializing built-in extension SYNC
[ 13.492] (II) Initializing built-in extension XKEYBOARD
[ 13.492] (II) Initializing built-in extension XC-MISC
[ 13.492] (II) Initializing built-in extension SECURITY
[ 13.493] (II) Initializing built-in extension XINERAMA
[ 13.494] (II) Initializing built-in extension XFIXES
[ 13.494] (II) Initializing built-in extension RENDER
[ 13.495] (II) Initializing built-in extension RANDR
[ 13.495] (II) Initializing built-in extension COMPOSITE
[ 13.495] (II) Initializing built-in extension DAMAGE
[ 13.497] (II) SELinux: Disabled on system

[ 13.751] (II) AIGLX: Screen 0 is not DRI2 capable

while on opensuse I have none

[ 52.716] (==) RandR enabled
[ 52.862] (II) AIGLX: Screen 0 is not DRI2 capable

On Debian tps65217 is identified

(II) Using input driver ‘evdev’ for ‘tps65217_pwr_but’
[ 15.134] () tps65217_pwr_but: always reports core events
[ 15.134] (
) evdev: tps65217_pwr_but: Device: “/dev/input/event0”
[ 15.134] (–) evdev: tps65217_pwr_but: Vendor 0 Product 0
[ 15.134] (–) evdev: tps65217_pwr_but: Found keys
[ 15.134] (II) evdev: tps65217_pwr_but: Configuring as keyboard
[ 15.134] (**) Option “config_info” “udev:/sys/devices/ocp.3/44e0b000.i2c/i2c-0/0-0024/input/input0/event0”
[ 15.141] (II) XINPUT: Adding extended input device “tps65217_pwr_but” (type: KEYBOARD, id 6)

while on opensuse I have gpio_keys

(II) Using input driver ‘evdev’ for ‘gpio_keys’
[ 53.895] () gpio_keys: always reports core events
[ 53.895] (
) evdev: gpio_keys: Device: “/dev/input/event0”
[ 53.896] (–) evdev: gpio_keys: Vendor 0x1 Product 0x1
[ 53.896] (–) evdev: gpio_keys: Found keys
[ 53.896] (II) evdev: gpio_keys: Configuring as keyboard
[ 53.896] (**) Option “config_info” “udev:/sys/devices/platform/gpio_keys/input/input0/event0”
[ 53.896] (II) XINPUT: Adding extended input device “gpio_keys” (type: KEYBOARD, id 6)

linux:~ # cat /var/log/Xorg.0.log
[ 52.436]
X.Org X Server 1.16.1
Release Date: 2014-09-21
[ 52.436] X Protocol Version 11, Revision 0
[ 52.436] Build Operating System: openSUSE SUSE LINUX
[ 52.436] Current Operating System: Linux linux.site 4.1.6 #1 SMP PREEMPT Sun Aug 23 16:43:56 UTC 2015 armv7l
[ 52.436] Kernel command line: root=/dev/disk/by-id/mmc-SL16G_0x28cf527e-part2 loader=uboot disk=/dev/disk/by-id/mmc-SL16G_0x28cf527e plymouth.enable=0 console=ttyO0
[ 52.437] Build Date: 12 June 2015 07:53:26PM
[ 52.437]
[ 52.437] Current version of pixman: 0.32.6
[ 52.437] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 52.437] Markers: (–) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 52.447] (==) Log file: “/var/log/Xorg.0.log”, Time: Wed Sep 2 08:09:27 2015
[ 52.462] (==) Using config file: “/etc/X11/xorg.conf”
[ 52.462] (==) Using config directory: “/etc/X11/xorg.conf.d”
[ 52.462] (==) Using system config directory “/usr/share/X11/xorg.conf.d”
[ 52.465] (==) ServerLayout “Builtin Default Layout”
[ 52.465] (**) |–>Screen “Builtin Default fbdev Screen 0” (0)
[ 52.465] (**) | |–>Monitor “Builtin Default Monitor”
[ 52.466] (**) | |–>Device “Builtin Default fbdev Device 0”
[ 52.466] (==) Automatically adding devices
[ 52.466] (==) Automatically enabling devices
[ 52.466] (==) Automatically adding GPU devices
[ 52.491] (WW) The directory “/usr/share/fonts/misc/sgi” does not exist.
[ 52.491] Entry deleted from font path.
[ 52.491] (==) FontPath set to:
/usr/share/fonts/misc:unscaled,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi:unscaled,
/usr/share/fonts/75dpi:unscaled,
/usr/share/fonts/ghostscript/,
/usr/share/fonts/cyrillic:unscaled,
/usr/share/fonts/truetype/,
built-ins
[ 52.491] (==) ModulePath set to “/usr/lib/xorg/modules”
[ 52.491] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 52.492] (II) Loader magic: 0x1dbe80
[ 52.492] (II) Module ABI versions:
[ 52.492] X.Org ANSI C Emulation: 0.4
[ 52.492] X.Org Video Driver: 18.0
[ 52.492] X.Org XInput driver : 21.0
[ 52.492] X.Org Server Extension : 8.0
[ 52.493] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 52.494] (II) no primary bus or device found
[ 52.495] falling back to /sys/devices/platform/ocp/4830e000.lcdc/drm/card0
[ 52.495] (II) LoadModule: “glx”
[ 52.517] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 52.608] (II) Module glx: vendor=“X.Org Foundation”
[ 52.609] compiled for 1.16.1, module version = 1.0.0
[ 52.609] ABI class: X.Org Server Extension, version 8.0
[ 52.609] (==) AIGLX enabled
[ 52.609] (II) LoadModule: “fbdev”
[ 52.620] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 52.621] (II) Module fbdev: vendor=“X.Org Foundation”
[ 52.622] compiled for 1.16.1, module version = 0.4.4
[ 52.622] Module class: X.Org Video Driver
[ 52.622] ABI class: X.Org Video Driver, version 18.0
[ 52.622] (II) FBDEV: driver for framebuffer: fbdev
[ 52.622] (++) using VT number 7

[ 52.630] (WW) Falling back to old probe method for fbdev
[ 52.630] (II) Loading sub module “fbdevhw”
[ 52.630] (II) LoadModule: “fbdevhw”
[ 52.631] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 52.632] (II) Module fbdevhw: vendor=“X.Org Foundation”
[ 52.632] compiled for 1.16.1, module version = 0.0.2
[ 52.632] ABI class: X.Org Video Driver, version 18.0
[ 52.633] (II) FBDEV(0): using default device
[ 52.633] (II) FBDEV(0): Creating default Display subsection in Screen section
“Builtin Default fbdev Screen 0” for depth/fbbpp 16/16
[ 52.633] (**) FBDEV(0): Depth 16, (–) framebuffer bpp 16
[ 52.633] (==) FBDEV(0): RGB weight 565
[ 52.633] (==) FBDEV(0): Default visual is TrueColor
[ 52.634] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[ 52.634] (II) FBDEV(0): hardware: (video memory: 2250kB)
[ 52.634] (II) FBDEV(0): checking modes against framebuffer device…
[ 52.634] (II) FBDEV(0): checking modes against monitor…
[ 52.634] (–) FBDEV(0): Virtual size is 800x480 (pitch 800)
[ 52.634] (**) FBDEV(0): Built-in mode “current”
[ 52.634] (==) FBDEV(0): DPI set to (96, 96)
[ 52.634] (II) Loading sub module “fb”
[ 52.634] (II) LoadModule: “fb”
[ 52.635] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 52.646] (II) Module fb: vendor=“X.Org Foundation”
[ 52.646] compiled for 1.16.1, module version = 1.0.0
[ 52.646] ABI class: X.Org ANSI C Emulation, version 0.4
[ 52.646] (**) FBDEV(0): using shadow framebuffer
[ 52.646] (II) Loading sub module “shadow”
[ 52.646] (II) LoadModule: “shadow”
[ 52.647] (II) Loading /usr/lib/xorg/modules/libshadow.so
[ 52.661] (II) Module shadow: vendor=“X.Org Foundation”
[ 52.661] compiled for 1.16.1, module version = 1.1.0
[ 52.661] ABI class: X.Org ANSI C Emulation, version 0.4
[ 52.711] (==) FBDEV(0): Backing store enabled
[ 52.712] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.712] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.712] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.712] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.712] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.713] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.713] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.713] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.713] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.713] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.713] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.713] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.713] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.713] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.713] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.713] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.713] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.713] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.714] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.714] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.714] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.714] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.714] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.714] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.714] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.714] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.714] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.714] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.714] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.714] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.715] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.715] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.715] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.715] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.715] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.715] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.715] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.715] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.715] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.715] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.715] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.715] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.715] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.716] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.716] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.716] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.716] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.716] (==) FBDEV(0): DPMS enabled
[ 52.716] (==) RandR enabled
[ 52.862] (II) AIGLX: Screen 0 is not DRI2 capable
[ 52.862] (EE) AIGLX: reverting to software rendering
[ 53.362] (II) AIGLX: Loaded and initialized swrast
[ 53.365] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 53.888] (II) config/udev: Adding input device gpio_keys (/dev/input/event0)
[ 53.888] () gpio_keys: Applying InputClass “evdev keyboard catchall”
[ 53.888] (
) gpio_keys: Applying InputClass “system-keyboard”
[ 53.889] () gpio_keys: Applying InputClass “evdev keyboard catchall”
[ 53.889] (II) LoadModule: “evdev”
[ 53.889] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 53.894] (II) Module evdev: vendor=“X.Org Foundation”
[ 53.894] compiled for 1.16.1, module version = 2.9.0
[ 53.895] Module class: X.Org XInput Driver
[ 53.895] ABI class: X.Org XInput driver, version 21.0
[ 53.895] (II) Using input driver ‘evdev’ for ‘gpio_keys’
[ 53.895] (
) gpio_keys: always reports core events
[ 53.895] () evdev: gpio_keys: Device: “/dev/input/event0”
[ 53.896] (–) evdev: gpio_keys: Vendor 0x1 Product 0x1
[ 53.896] (–) evdev: gpio_keys: Found keys
[ 53.896] (II) evdev: gpio_keys: Configuring as keyboard
[ 53.896] (
) Option “config_info” “udev:/sys/devices/platform/gpio_keys/input/input0/event0”
[ 53.896] (II) XINPUT: Adding extended input device “gpio_keys” (type: KEYBOARD, id 6)
[ 53.896] () Option “xkb_rules” “evdev”
[ 53.896] (
) Option “xkb_model” “pc104”
[ 53.896] () Option “xkb_layout” “us”
[ 54.045] (II) config/udev: Adding input device ti-tsc (/dev/input/event1)
_[ 54.046] (
) ti-tsc: Applying InputClass “evdev touchscreen catchall”_
[ 54.046] (**) ti-tsc: Applying InputClass “evdev touchscreen catchall”
[ 54.046] (II) Using input driver ‘evdev’ for ‘ti-tsc’
[ 54.046] (**) ti-tsc: always reports core events
[ 54.046] (**) evdev: ti-tsc: Device: “/dev/input/event1”
[ 54.046] (–) evdev: ti-tsc: Vendor 0 Product 0
[ 54.047] (–) evdev: ti-tsc: Found absolute axes
[ 54.047] (–) evdev: ti-tsc: Found x and y absolute axes
[ 54.047] (–) evdev: ti-tsc: Found absolute touchscreen
[ 54.047] (II) evdev: ti-tsc: Configuring as touchscreen
[ 54.047] (**) evdev: ti-tsc: YAxisMapping: buttons 4 and 5
[ 54.047] (**) evdev: ti-tsc: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 54.047] () Option “config_info” “udev:/sys/devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input1/event1”
[ 54.047] (II) XINPUT: Adding extended input device “ti-tsc” (type: TOUCHSCREEN, id 7)
[ 54.048] (II) evdev: ti-tsc: initialized for absolute axes.
_[ 54.049] (
) ti-tsc: (accel) keeping acceleration scheme 1_
[ 54.049] (**) ti-tsc: (accel) acceleration profile 0
[ 54.049] (**) ti-tsc: (accel) acceleration factor: 2.000
[ 54.049] (**) ti-tsc: (accel) acceleration threshold: 4
[ 54.052] (II) config/udev: Adding input device ti-tsc (/dev/input/mouse0)
[ 54.052] (II) No input driver specified, ignoring this device.
[ 54.052] (II) This device may have been added with another device file.

My LCD is still OFF

Now I’m sure I’m loading the am335x-boneblack-emmc-overlay.dtb before starting the kernel (see serial log below)

UBOOT SERIAL LOG

Executing script at 82000000

this is a test
fdtfile=dtb/am335x-boneblack-emmc-overlay.dtb
Done
switch to partitions #0, OK
mmc0 is current device
8261808 bytes read in 541 ms (14.6 MiB/s)
6101876 bytes read in 399 ms (14.6 MiB/s)
55700 bytes read in 61 ms (891.6 KiB/s)
Kernel image @ 0x82000000 [ 0x000000 - 0x7e10b0 ]

Flattened Device Tree blob at 88000000

Booting using the fdt blob at 0x88000000
Using Device Tree in place at 88000000, end 88010993

Starting kernel …

I cheked the file size

linux:~ # ls -l /boot/dtb/ | fgrep 55700
-rw-r–r-- 1 root root 55700 Aug 26 09:04 am335x-boneblack-emmc-overlay.dtb

The module is OK

[ 49.781865] bone_capemgr bone_capemgr: part_number ‘BB-BONE-LCD7-01’, version ‘00A3’
[ 49.781909] bone_capemgr bone_capemgr: slot #4: override
[ 49.781926] bone_capemgr bone_capemgr: Using override eeprom data at slot 4
[ 49.781944] bone_capemgr bone_capemgr: slot #4: ‘Override Board Name,00A3,Override Manuf,BB-BONE-LCD7-01’
[ 49.952336] bone_capemgr bone_capemgr: slot #4: dtbo ‘BB-BONE-LCD7-01-00A3.dtbo’ loaded; overlay id #0

The X server starts without issue see Xorg.0.log in previous email

And lightdm is running

linux:~ # ps -ef | fgrep lightdm
root 646 1 0 14:47 ? 00:00:00 /usr/sbin/lightdm
root 674 646 0 14:47 tty7 00:00:00 /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
root 781 646 0 14:47 ? 00:00:00 lightdm --session-child 16 19
lightdm 791 1 0 14:47 ? 00:00:00 /usr/lib/systemd/systemd --user
lightdm 792 791 0 14:47 ? 00:00:00 (sd-pam)
lightdm 793 781 0 14:47 ? 00:00:02 /usr/sbin/lightdm-gtk-greeter
lightdm 800 1 0 14:47 ? 00:00:00 /bin/dbus-launch --autolaunch 2239aafda63c4be8976a02efb8f8119e --binary-syntax --close-stderr
lightdm 801 1 0 14:47 ? 00:00:00 /bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
lightdm 803 1 0 14:47 ? 00:00:00 /usr/lib/at-spi2/at-spi-bus-launcher
lightdm 809 803 0 14:47 ? 00:00:00 /bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --nofork --print-address 3
lightdm 816 1 0 14:47 ? 00:00:00 /usr/lib/at-spi2/at-spi2-registryd --use-gnome-session
root 1082 646 0 14:47 ? 00:00:00 lightdm --session-child 12 19
root 1655 1549 66 14:57 pts/0 00:00:00 grep -F --color=auto lightdm

I tried with am335x-boneblack-overlay.dtb it gives the same result as am335x-boneblack-emmc-overlay.dtb

I realised those files are created when we compile the kernel 4.1.6 can it be the root cause?

Hi Robert,

Do you have a suggestion how I can track down the root cause?

Is there a way to debug the module managing the LCD output since I don’t see any error on the Xorg.0.conf ?

Thanks,

Matthieu