BBB OpenSuse 13.2 no video output

283 views
Skip to first unread message

mclai...@gmail.com

unread,
Aug 12, 2015, 11:24:51 AM8/12/15
to BeagleBoard

Hi,

The BBB is running fine under the Debian image on the eMMC 
I have been able to use on several displays through the uHDMI connector and also using the 4DCAPE-70T LCD 
So I'm sure my hardware is OK.

For a new project I need to use OpenSuse on the BBB.

I have tested the latest 13.2 images 
openSUSE-13.2-ARM-JeOS-beaglebone.armv7l-1.12.1-Build33.5.raw.xz
openSUSE-13.2-ARM-XFCE-beaglebone.armv7l-1.12.1-Build33.8.raw.xz

OpenSuse is booting and I'm able to connect to the board through SSH but I'm not able to have video on the HDMI output or on the 4DCAPE-70T which is my goal. 

Under JeOS I tried the following 

I install this package  
xf86-video-omap        | X.Org X server -- Omapdrm display driver

which has installed the following 97 packages

Mesa Mesa-libEGL1 Mesa-libGL1 Mesa-libglapi0 bundle-lang-common-ar cpp cpp48 esound-daemon fontconfig fonts-config
  ft2demos hicolor-icon-theme hicolor-icon-theme-branding-openSUSE libFLAC8 libLLVM libSDL-1_2-0 libX11-xcb1 libXaw7
  libXdamage1 libXdmcp6 libXext6 libXfixes3 libXfont1 libXft2 libXi6 libXinerama1 libXmu6 libXmuu1 libXpm4 libXrandr2
  libXrender1 libXtst6 libXxf86vm1 libaudiofile1 libcloog-isl4 libdrm2 libdrm_freedreno1 libdrm_nouveau2 libdrm_omap1
  libdrm_radeon1 libepoxy0 libesd0 libevdev2 libfontenc1 libfreetype6 libgbm1 libisl10 libmpc3 libmpfr4 libmtdev1 libogg0
  libpciaccess0 libpixman-1-0 libpng16-16 libpulse0 libsndfile1 libspeex1 libvorbis0 libvorbisenc2 libwayland-client0
  libwayland-server0 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-sync1 libxcb-xfixes0 libxkbfile1
  libxshmfence1 linuxconsoletools luit mkfontdir mkfontscale sessreg xbitmaps xdm xf86-input-evdev xf86-input-joystick
  xf86-input-keyboard xf86-input-mouse xf86-input-synaptics xf86-input-void xf86-input-wacom xf86-video-fbdev
  xf86-video-modesetting xf86-video-omap xf86-video-vesa xkbcomp xkeyboard-config xorg-x11-driver-video xorg-x11-fonts-core
  xorg-x11-server xrandr xrdb xterm yast2-branding-openSUSE yast2-x11

But the screen is not found see Xorg log below.

If somebody has an advice to help it will me great. 

Thanks in advance,

Matthieu 

linux:~ # cat /var/log/Xorg.0.log
[    17.842]
X.Org X Server 1.16.1
Release Date: 2014-09-21
[    17.842] X Protocol Version 11, Revision 0
[    17.842] Build Operating System: openSUSE SUSE LINUX
[    17.842] Current Operating System: Linux linux 3.16.7-11-default #1 SMP Sat Apr 4 12:46:09 UTC 2015 (4c49729) armv7l
[    17.843] Kernel command line: root=/dev/disk/by-id/mmc-SL16G_0x28cf527e-part2 loader=uboot disk=/dev/disk/by-id/mmc-SL16G_0x28cf527e resume=/dev/disk/by-id/mmc-SL16G_0x28cf527e-part3 plymouth.enable=0 console=ttyO0
[    17.843] Build Date: 12 June 2015  07:53:26PM
[    17.843]
[    17.843] Current version of pixman: 0.32.6
[    17.843]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    17.843] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    17.845] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jan  1 01:00:17 1970
[    17.852] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    17.853] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    17.864] (==) No Layout section.  Using the first Screen section.
[    17.864] (==) No screen section available. Using defaults.
[    17.864] (**) |-->Screen "Default Screen Section" (0)
[    17.865] (**) |   |-->Monitor "<default monitor>"
[    17.865] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[    17.865] (**) |   |-->Device "fb gfx"
[    17.865] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    17.866] (==) Automatically adding devices
[    17.866] (==) Automatically enabling devices
[    17.866] (==) Automatically adding GPU devices
[    17.869] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[    17.869]    Entry deleted from font path.
[    17.869] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[    17.869]    Entry deleted from font path.
[    17.871] (WW) The directory "/usr/share/fonts/ghostscript/" does not exist.
[    17.871]    Entry deleted from font path.
[    17.871] (WW) The directory "/usr/share/fonts/cyrillic" does not exist.
[    17.871]    Entry deleted from font path.
[    17.871] (WW) The directory "/usr/share/fonts/misc/sgi" does not exist.
[    17.871]    Entry deleted from font path.
[    17.871] (WW) The directory "/usr/share/fonts/truetype/" does not exist.
[    17.871]    Entry deleted from font path.
[    17.871] (==) FontPath set to:
        /usr/share/fonts/misc:unscaled,
        /usr/share/fonts/75dpi:unscaled,
        built-ins
[    17.871] (==) ModulePath set to "/usr/lib/xorg/modules"
[    17.871] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    17.871] (II) Loader magic: 0x1dbe80
[    17.871] (II) Module ABI versions:
[    17.871]    X.Org ANSI C Emulation: 0.4
[    17.872]    X.Org Video Driver: 18.0
[    17.872]    X.Org XInput driver : 21.0
[    17.872]    X.Org Server Extension : 8.0
[    17.873] (II) no primary bus or device found
[    17.873] (II) LoadModule: "glx"
[    17.890] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    17.997] (II) Module glx: vendor="X.Org Foundation"
[    17.997]    compiled for 1.16.1, module version = 1.0.0
[    17.997]    ABI class: X.Org Server Extension, version 8.0
[    17.997] (==) AIGLX enabled
[    17.997] (II) LoadModule: "fbdev"
[    18.009] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    18.012] (II) Module fbdev: vendor="X.Org Foundation"
[    18.013]    compiled for 1.16.1, module version = 0.4.4
[    18.013]    Module class: X.Org Video Driver
[    18.013]    ABI class: X.Org Video Driver, version 18.0
[    18.013] (II) FBDEV: driver for framebuffer: fbdev
[    18.013] (++) using VT number 7

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

Robert Nelson

unread,
Aug 12, 2015, 11:43:31 AM8/12/15
to Beagle Board, mclai...@gmail.com
On Wed, Aug 12, 2015 at 10:16 AM, <mclai...@gmail.com> wrote:
>
> Hi,
>
> The BBB is running fine under the Debian image on the eMMC
> I have been able to use on several displays through the uHDMI connector and
> also using the 4DCAPE-70T LCD
> So I'm sure my hardware is OK.
>
> For a new project I need to use OpenSuse on the BBB.
>
> I have tested the latest 13.2 images
> openSUSE-13.2-ARM-JeOS-beaglebone.armv7l-1.12.1-Build33.5.raw.xz
> openSUSE-13.2-ARM-XFCE-beaglebone.armv7l-1.12.1-Build33.8.raw.xz
>
> OpenSuse is booting and I'm able to connect to the board through SSH but I'm
> not able to have video on the HDMI output or on the 4DCAPE-70T which is my
> goal.
>
> Under JeOS I tried the following
>
> I install this package
> xf86-video-omap | X.Org X server -- Omapdrm display driver

Well... The am335x used on the beaglebone black, does not have the
"omap" display ip block. Use fbdev as modesetting is to unstable.

Then grab this xorg.conf

https://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-HDMI

Regards,

--
Robert Nelson
https://rcn-ee.com/

mclai...@gmail.com

unread,
Aug 13, 2015, 9:57:02 AM8/13/15
to BeagleBoard, mclai...@gmail.com
Hi Robert,

Thank you for your quick feedback.

Unfortunately it's not working, the device is not identified. 

There is no /dev/fb0 identified.

[    17.653] (II) LoadModule: "fbdevhw"
[    17.655] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    17.660] (II) Module fbdevhw: vendor="X.Org Foundation"
[    17.660]    compiled for 1.16.1, module version = 0.0.2
[    17.660]    ABI class: X.Org Video Driver, version 18.0
[    17.660] (EE) open /dev/fb0: No such file or directory
[    17.661] (EE) No devices detected.
[    17.661] (EE)
Fatal server error:
[    17.661] (EE) no screens found(EE)
Fatal
server error:
[    17.661] (EE) no screens found(EE)
 
Regards,

Matthieu

Robert Nelson

unread,
Aug 13, 2015, 10:01:20 AM8/13/15
to Beagle Board, matthieu claire
On Thu, Aug 13, 2015 at 6:41 AM, <mclai...@gmail.com> wrote:
> Hi Robert,
>
> Thank you for your quick feedback.
>
> Unfortunately it's not working, the device is not identified.

hdmi or lcd?

>
> There is no /dev/fb0 identified.
>
> [ 17.653] (II) LoadModule: "fbdevhw"
> [ 17.655] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
> [ 17.660] (II) Module fbdevhw: vendor="X.Org Foundation"
> [ 17.660] compiled for 1.16.1, module version = 0.0.2
> [ 17.660] ABI class: X.Org Video Driver, version 18.0
> [ 17.660] (EE) open /dev/fb0: No such file or directory
> [ 17.661] (EE) No devices detected.
> [ 17.661] (EE)
> Fatal server error:
> [ 17.661] (EE) no screens found(EE)
> Fatal
> server error:
> [ 17.661] (EE) no screens found(EE)

Double check:

$ zcat /proc/config.gz | grep TDA998X
CONFIG_DRM_I2C_NXP_TDA998X=y

$ zcat /proc/config.gz | grep TILCD
CONFIG_DRM_TILCDC=m

Robert Nelson

unread,
Aug 13, 2015, 10:41:42 AM8/13/15
to matthieu claire, Beagle Board
On Thu, Aug 13, 2015 at 9:37 AM, matthieu claire <mclai...@gmail.com> wrote:
> I have the wrong config
>
> linux:/home # zcat /proc/config.gz | grep TDA998X
> CONFIG_DRM_I2C_NXP_TDA998X=m
> linux:/home # zcat /proc/config.gz | grep TILCD
> CONFIG_DRM_TILCDC=y
>
> I do not find the folder /usr/src/linux and the make command is not install,
> this JeOS version is really thin.
>
> Should I use the XFCE image?
>
> I really appreciate your help, do you have a link who explain how to set
> properly the kernel on the BBB?

We have a tested git repo with config here:

https://github.com/beagleboard/linux/tree/4.1

config: bb.org_defconfig

matthieu claire

unread,
Aug 13, 2015, 12:57:16 PM8/13/15
to Robert Nelson, Beagle Board
I have the wrong config 

linux:/home # zcat /proc/config.gz | grep TDA998X
CONFIG_DRM_I2C_NXP_TDA998X=m
linux:/home # zcat /proc/config.gz | grep TILCD
CONFIG_DRM_TILCDC=y

I do not find the folder /usr/src/linux and the make command is not install, this JeOS version is really thin. 

Should I use the XFCE image?

I really appreciate your help, do you have a link who explain how to set properly the kernel on the BBB?

Thanks,

Matthieu
 


 
  

Robert Nelson

unread,
Aug 25, 2015, 9:34:14 AM8/25/15
to matthieu claire, Beagle Board


On Tue, Aug 25, 2015 at 8:28 AM, matthieu claire <mclai...@gmail.com> wrote:
Hi,

Sorry I was quite busy but I have finally been able to compile the kernel 4.1 on opensuse 13.2 running on the BBB but I'm not able to boot on it 
--> nothing displays on the screen
--> board is not showing on the network
--> if I check /var/log/messages when I boot on the Debian (eMMC) there is no log, I saw only the latest successful boot on the old kernel 3.16.7-11-default

To summarise:

I copied the https://github.com/beagleboard/linux/tree/4.1 in the /home/ folder and execute the following commands. 

linux:/home/linux # make bb.org_defconfig
linux:/home/linux # make -j4
linux:/home/linux # make uImage dtbs LOADADDR=0x80008000 -j4
linux:/home/linux # make modules -j4
linux:/home/linux # make modules_install
linux:/home/linux # make install

See attached for your reference the logs for thoses commands 
--> several modules can't be installed but I think it's normal considering the configuration

Then I copy to /boot folder /home/linux/arch/arm/boot/uImage rename uImage_4.1.6
copy /home/linux/arch/arm/boot/dts/am335x-boneblack.dtb to /boot/dtb/   
and create the symlink for 
  • zImage
  • u-boot.img 
  • initrd 
see below

Images intégrées 1

The good news is that I'm able to reboot on my old kernel if I change the symlinks to point to the 3.16.7 versions.

I'm probably missing a step to configure the boot, if you have an idea.

yeah... a 'serial' boot log is always useful, instead of just guessing what's happening at bootup. ;)

Regards,

Robert Nelson

unread,
Aug 25, 2015, 11:14:30 AM8/25/15
to matthieu claire, Beagle Board


On Tue, Aug 25, 2015 at 10:06 AM, matthieu claire <mclai...@gmail.com> wrote:
Here is the serial boot log 

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

If that's it... You have 'other' issues to fix first..

before we even talk about telling u-boot which kernel file to load..

Regards,

matthieu claire

unread,
Aug 25, 2015, 11:22:14 AM8/25/15
to Robert Nelson, Beagle Board
Here is the serial boot log 

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

matthieu claire

unread,
Aug 25, 2015, 11:22:15 AM8/25/15
to Robert Nelson, Beagle Board
Thanks in advance for the help,

kernel_compil_log.txt

matthieu claire

unread,
Aug 25, 2015, 2:01:00 PM8/25/15
to Robert Nelson, Beagle Board
I have tried something which is working. 

I used the original u-boot.img from the opensuse 13.2 instead of using the one I created with the command  #make uImage dtbs LOADADDR=0x80008000 -j4
But I used the zImage and initrd I have generated when I install the 4.1.6

Images intégrées 1

I booted succesfully on opensuse 13.2 with the kernel 4.1.6

linux:~ # cat /proc/version
Linux version 4.1.6 (ro...@linux.site) (gcc version 4.8.3 20140627 [gcc-4_8-branch revision 212064] (SUSE Linux) ) #1 SMP PREEMPT Sun Aug 23 16:43:56 UTC 2015
linux:~ # cat /etc/os-release
NAME=openSUSE
VERSION="13.2 (Harlequin)"
VERSION_ID="13.2"
PRETTY_NAME="openSUSE 13.2 (Harlequin) (armv7hl)"
ID=opensuse
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:opensuse:13.2"
BUG_REPORT_URL="https://bugs.opensuse.org"
ID_LIKE="suse"

Now I will go back check the video output and let you know the result.

Best regards,

Robert Nelson

unread,
Aug 26, 2015, 2:13:17 PM8/26/15
to matthieu claire, BeagleBoard


On Wed, Aug 26, 2015 at 1:07 PM, <mclai...@gmail.com> wrote:
Hi,

The HDMI output is working.

No I'm trying to use the LCD output using the 4DCAPE-70T LCD 

I found 2 threads who described the same issue
BBB and LCD7 under Ubuntu in my own applications: is it practical?
BBB Debian 4.1 Jessie and 4DCAPE-43T

I created the file uEnv.txt
linux:~ # cat /boot/uEnv.txt
dtb=am335x-boneblack-emmc-overlay.dtb

When I restart the system opensuse i booting but the LCD is OFF

linux:~ # dmesg | fgrep cape
[   21.997114] bone_capemgr bone_capemgr: Baseboard: 'A335BNLT,000C,2115BBBK1190'
[   22.258657] bone_capemgr bone_capemgr: compatible-baseboard=ti,beaglebone-black - #slots=4
[   22.401764] bone_capemgr bone_capemgr: slot #0: '4D 7.0 LCD CAPE- 4DCAPE-70T     ,00A3,4D SYSTEMS      ,BB-BONE-LCD7-01'
[   22.887737] bone_capemgr bone_capemgr: slot #1: No cape found
[   23.157726] bone_capemgr bone_capemgr: slot #2: No cape found
[   23.367720] bone_capemgr bone_capemgr: slot #3: No cape found
[   23.437515] bone_capemgr bone_capemgr: initialized OK.
[   25.542558] bone_capemgr bone_capemgr: loader: failed to load slot-0 BB-BONE-LCD7-01:00A3 (prio 0)

How about:

dmesg | grep bone

(cape doesn't show everything.)

Make sure you used the new "dtc"


Regards,

mclai...@gmail.com

unread,
Aug 26, 2015, 2:42:14 PM8/26/15
to BeagleBoard, robert...@gmail.com, mclai...@gmail.com
Hi,

The HDMI output is working.

No I'm trying to use the LCD output using the 4DCAPE-70T LCD 

I found 2 threads who described the same issue
BBB and LCD7 under Ubuntu in my own applications: is it practical?
BBB Debian 4.1 Jessie and 4DCAPE-43T

I created the file uEnv.txt
linux:~ # cat /boot/uEnv.txt
dtb=am335x-boneblack-emmc-overlay.dtb

When I restart the system opensuse i booting but the LCD is OFF

linux:~ # dmesg | fgrep cape
[   21.997114] bone_capemgr bone_capemgr: Baseboard: 'A335BNLT,000C,2115BBBK1190'
[   22.258657] bone_capemgr bone_capemgr: compatible-baseboard=ti,beaglebone-black - #slots=4
[   22.401764] bone_capemgr bone_capemgr: slot #0: '4D 7.0 LCD CAPE- 4DCAPE-70T     ,00A3,4D SYSTEMS      ,BB-BONE-LCD7-01'
[   22.887737] bone_capemgr bone_capemgr: slot #1: No cape found
[   23.157726] bone_capemgr bone_capemgr: slot #2: No cape found
[   23.367720] bone_capemgr bone_capemgr: slot #3: No cape found
[   23.437515] bone_capemgr bone_capemgr: initialized OK.
[   25.542558] bone_capemgr bone_capemgr: loader: failed to load slot-0 BB-BONE-LCD7-01:00A3 (prio 0)
linux:~ # lsblk
NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
mmcblk1boot0 179:16   0     1M  1 disk
mmcblk1boot1 179:24   0     1M  1 disk
mmcblk0      179:0    0  14.9G  0 disk
├─mmcblk0p1  179:1    0   209M  0 part /boot
├─mmcblk0p2  179:2    0  14.1G  0 part /
└─mmcblk0p3  179:3    0 493.5M  0 part
mmcblk1      179:8    0   3.7G  0 disk
├─mmcblk1p1  179:9    0    96M  0 part
└─mmcblk1p2  179:10   0   3.6G  0 part
linux:~ # uname -r
4.1.6

Best regards,

Matthieu

matthieu claire

unread,
Aug 26, 2015, 2:42:57 PM8/26/15
to Robert Nelson, BeagleBoard
dmesg | fgrep bone shows the same as fgrep cape.

i will check the dtc I need to find how to apply it on opensuse I'm really not familiar with this part.


Robert Nelson

unread,
Aug 26, 2015, 2:49:37 PM8/26/15
to matthieu claire, BeagleBoard
On Wed, Aug 26, 2015 at 1:38 PM, matthieu claire <mclai...@gmail.com> wrote:
> dmesg | fgrep bone shows the same as fgrep cape.
>
> i will check the dtc I need to find how to apply it on opensuse I'm really
> not familiar with this part.

If it's not dtc 1.4.1-gXXXXXXX

then:

build this version:

https://github.com/pantoniou/dtc

branch: dt-overlays5

hopefully it'll hit dtc master at some point. ;)

matthieu claire

unread,
Aug 27, 2015, 9:34:12 AM8/27/15
to Robert Nelson, BeagleBoard
Hi,

I checked the /sys folder

linux:/sys/devices/platform/bone_capemgr # ls -l
total 0
drwxr-xr-x 2 root root    0 Aug 27 12:32 baseboard
lrwxrwxrwx 1 root root    0 Aug 27 09:38 driver -> ../../../bus/platform/drivers/bone_capemgr
-rw-r--r-- 1 root root 4096 Aug 27 12:38 driver_override
-r--r--r-- 1 root root 4096 Aug 27 12:38 modalias
lrwxrwxrwx 1 root root    0 Aug 27 12:34 of_node -> ../../../firmware/devicetree/base/bone_capemgr
drwxr-xr-x 2 root root    0 Aug 27 12:32 power
drwxr-xr-x 2 root root    0 Aug 27 12:32 slot-0
-rw-r--r-- 1 root root 4096 Aug 27 13:00 slots
lrwxrwxrwx 1 root root    0 Aug 27 09:38 subsystem -> ../../../bus/platform
-rw-r--r-- 1 root root 4096 Aug 27 12:38 uevent

linux:/sys/devices/platform/bone_capemgr # cat slots
 0: P-----  -1 4D 7.0 LCD CAPE- 4DCAPE-70T     ,00A3,4D SYSTEMS      ,BB-BONE-LCD7-01
 1: PF----  -1
 2: PF----  -1
 3: PF----  -1
 
I tried to load the firmware manually but it doesn't work

linux:/sys/devices/platform/bone_capemgr # echo BB-BONE-LCD7-01>slots
-bash: echo: write error: No such file or directory

Best regards,

2015-08-27 11:25 GMT+02:00 matthieu claire <mclai...@gmail.com>:
Hi Robert,

I installed the dtc from git

linux:/home/linux # /usr/local/bin/dtc --version
Version: DTC 1.4.1-g47216cdb

I checked the requirements 
linux:~ # zcat /proc/config.gz | grep CONFIG_BONE_CAPEMGR
CONFIG_BONE_CAPEMGR=y

I skipped the kernel update since I'm running the 4.1.6, installed last week, and the /opt/scripts/tools/update_kernel.sh is written for debian.
--> Is it Ok ? 

Then I downloaded the bb.org-overlays 
#git clone https://github.com/beagleboard/bb.org-overlays /home/bb.org-overlays 

Since the install.sh script was written for debian I have run the commands 
# make clean
# make 
# make install (see details logs below)

Now I have the file  /lib/firmware/BB-BONE-LCD7-01-00A3.dtbo

Since update-initramfs is not available on opensuse I run the dracut command
# dracut -f /boot/initrd-4.1.6_bis (see details log below) 

I updated the initrd symlink 
linux:/boot # ln -sf initrd-4.1.6_bis initrd

But when I reboot the firmware is still not loaded any idea? 
 
linux:~ # dmesg | fgrep bone
[   21.254002] bone_capemgr bone_capemgr: Baseboard: 'A335BNLT,000C,2115BBBK1190'
[   21.341372] bone_capemgr bone_capemgr: compatible-baseboard=ti,beaglebone-black - #slots=4
[   21.481826] bone_capemgr bone_capemgr: slot #0: '4D 7.0 LCD CAPE- 4DCAPE-70T     ,00A3,4D SYSTEMS      ,BB-BONE-LCD7-01'
[   21.667800] bone_capemgr bone_capemgr: slot #1: No cape found
[   21.787790] bone_capemgr bone_capemgr: slot #2: No cape found
[   21.907795] bone_capemgr bone_capemgr: slot #3: No cape found
[   21.977477] bone_capemgr bone_capemgr: initialized OK.
[   24.068177] bone_capemgr bone_capemgr: loader: failed to load slot-0 BB-BONE-LCD7-01:00A3 (prio 0)


LOGS here:

linux:/home/bb.or-overlays # make clean
  CLEAN   src/arm
linux:/home/bb.or-overlays # make
  DTC     src/arm/BB-SPIDEV0-00A0.dtbo
  DTC     src/arm/cape-universal-00A0.dtbo
  DTC     src/arm/BB-BBBMINI-00A0.dtbo
  DTC     src/arm/BB-BONE-REPLICAP-00B1.dtbo
  DTC     src/arm/cape-univ-audio-00A0.dtbo
  DTC     src/arm/BB-UART2-00A0.dtbo
  DTC     src/arm/BB-SPI0-MCP3008-00A0.dtbo
  DTC     src/arm/BB-I2C1-PCA9685-00A0.dtbo
  DTC     src/arm/BB-SPIDEV1A1-00A0.dtbo
  DTC     src/arm/univ-all-00A0.dtbo
  DTC     src/arm/BB-RELAY-4PORT-00A0.dtbo
  DTC     src/arm/BB-BONE-BACONE-00A0.dtbo
  DTC     src/arm/cape-universaln-00A0.dtbo
  DTC     src/arm/BB-UART4-00A0.dtbo
  DTC     src/arm/BB-BONE-SERL-03-00A1.dtbo
  DTC     src/arm/BB-UART1-00A0.dtbo
  DTC     src/arm/BB-RTC-01-00A0.dtbo
  DTC     src/arm/univ-hdmi-00A0.dtbo
  DTC     src/arm/BB-BONE-LCD4-01-00A1.dtbo
  DTC     src/arm/cape-univ-emmc-00A0.dtbo
  DTC     src/arm/dev-USB-PWR-CTL-00A1.dtbo
  DTC     src/arm/BB-UART5-00A0.dtbo
  DTC     src/arm/univ-nhdmi-00A0.dtbo
  DTC     src/arm/BB-BONE-AUDI-02-00A0.dtbo
  DTC     src/arm/BB-BONE-LCD3-01-00A2.dtbo
  DTC     src/arm/cape-univ-hdmi-00A0.dtbo
  DTC     src/arm/cape-CBB-Serial-r01.dtbo
  DTC     src/arm/BB-CAN1-00A0.dtbo
  DTC     src/arm/BB-BONE-CRYPTO-00A0.dtbo
  DTC     src/arm/BB-I2C1-00A0.dtbo
  DTC     src/arm/univ-emmc-00A0.dtbo
  DTC     src/arm/BB-ADC-00A0.dtbo
  DTC     src/arm/BB-SPIDEV1-00A0.dtbo
  DTC     src/arm/BB-BONE-DVID-01-00A3.dtbo
  DTC     src/arm/BB-BONE-LCD7-01-00A3.dtbo
linux:/home/bb.or-overlays # make install
cp -v src/arm/*.dtbo /lib/firmware/
‘src/arm/BB-ADC-00A0.dtbo’ -> ‘/lib/firmware/BB-ADC-00A0.dtbo’
‘src/arm/BB-BBBMINI-00A0.dtbo’ -> ‘/lib/firmware/BB-BBBMINI-00A0.dtbo’
‘src/arm/BB-BONE-AUDI-02-00A0.dtbo’ -> ‘/lib/firmware/BB-BONE-AUDI-02-00A0.dtbo’
‘src/arm/BB-BONE-BACONE-00A0.dtbo’ -> ‘/lib/firmware/BB-BONE-BACONE-00A0.dtbo’
‘src/arm/BB-BONE-CRYPTO-00A0.dtbo’ -> ‘/lib/firmware/BB-BONE-CRYPTO-00A0.dtbo’
‘src/arm/BB-BONE-DVID-01-00A3.dtbo’ -> ‘/lib/firmware/BB-BONE-DVID-01-00A3.dtbo’
‘src/arm/BB-BONE-LCD3-01-00A2.dtbo’ -> ‘/lib/firmware/BB-BONE-LCD3-01-00A2.dtbo’
‘src/arm/BB-BONE-LCD4-01-00A1.dtbo’ -> ‘/lib/firmware/BB-BONE-LCD4-01-00A1.dtbo’
‘src/arm/BB-BONE-LCD7-01-00A3.dtbo’ -> ‘/lib/firmware/BB-BONE-LCD7-01-00A3.dtbo’
‘src/arm/BB-BONE-REPLICAP-00B1.dtbo’ -> ‘/lib/firmware/BB-BONE-REPLICAP-00B1.dtbo’
‘src/arm/BB-BONE-SERL-03-00A1.dtbo’ -> ‘/lib/firmware/BB-BONE-SERL-03-00A1.dtbo’
‘src/arm/BB-CAN1-00A0.dtbo’ -> ‘/lib/firmware/BB-CAN1-00A0.dtbo’
‘src/arm/BB-I2C1-00A0.dtbo’ -> ‘/lib/firmware/BB-I2C1-00A0.dtbo’
‘src/arm/BB-I2C1-PCA9685-00A0.dtbo’ -> ‘/lib/firmware/BB-I2C1-PCA9685-00A0.dtbo’
‘src/arm/BB-RELAY-4PORT-00A0.dtbo’ -> ‘/lib/firmware/BB-RELAY-4PORT-00A0.dtbo’
‘src/arm/BB-RTC-01-00A0.dtbo’ -> ‘/lib/firmware/BB-RTC-01-00A0.dtbo’
‘src/arm/BB-SPI0-MCP3008-00A0.dtbo’ -> ‘/lib/firmware/BB-SPI0-MCP3008-00A0.dtbo’
‘src/arm/BB-SPIDEV0-00A0.dtbo’ -> ‘/lib/firmware/BB-SPIDEV0-00A0.dtbo’
‘src/arm/BB-SPIDEV1-00A0.dtbo’ -> ‘/lib/firmware/BB-SPIDEV1-00A0.dtbo’
‘src/arm/BB-SPIDEV1A1-00A0.dtbo’ -> ‘/lib/firmware/BB-SPIDEV1A1-00A0.dtbo’
‘src/arm/BB-UART1-00A0.dtbo’ -> ‘/lib/firmware/BB-UART1-00A0.dtbo’
‘src/arm/BB-UART2-00A0.dtbo’ -> ‘/lib/firmware/BB-UART2-00A0.dtbo’
‘src/arm/BB-UART4-00A0.dtbo’ -> ‘/lib/firmware/BB-UART4-00A0.dtbo’
‘src/arm/BB-UART5-00A0.dtbo’ -> ‘/lib/firmware/BB-UART5-00A0.dtbo’
‘src/arm/cape-CBB-Serial-r01.dtbo’ -> ‘/lib/firmware/cape-CBB-Serial-r01.dtbo’
‘src/arm/cape-univ-audio-00A0.dtbo’ -> ‘/lib/firmware/cape-univ-audio-00A0.dtbo’
‘src/arm/cape-univ-emmc-00A0.dtbo’ -> ‘/lib/firmware/cape-univ-emmc-00A0.dtbo’
‘src/arm/cape-univ-hdmi-00A0.dtbo’ -> ‘/lib/firmware/cape-univ-hdmi-00A0.dtbo’
‘src/arm/cape-universal-00A0.dtbo’ -> ‘/lib/firmware/cape-universal-00A0.dtbo’
‘src/arm/cape-universaln-00A0.dtbo’ -> ‘/lib/firmware/cape-universaln-00A0.dtbo’
‘src/arm/dev-USB-PWR-CTL-00A1.dtbo’ -> ‘/lib/firmware/dev-USB-PWR-CTL-00A1.dtbo’
‘src/arm/univ-all-00A0.dtbo’ -> ‘/lib/firmware/univ-all-00A0.dtbo’
‘src/arm/univ-emmc-00A0.dtbo’ -> ‘/lib/firmware/univ-emmc-00A0.dtbo’
‘src/arm/univ-hdmi-00A0.dtbo’ -> ‘/lib/firmware/univ-hdmi-00A0.dtbo’
‘src/arm/univ-nhdmi-00A0.dtbo’ -> ‘/lib/firmware/univ-nhdmi-00A0.dtbo’

linux:~ # dracut -f /boot/initrd-4.1.6_bis
Executing: /usr/bin/dracut -f /boot/initrd-4.1.6_bis
*** Including module: bash ***
*** Including module: i18n ***
*** Including module: ifcfg ***
*** Including module: drm ***
*** Including module: plymouth ***
*** Including module: kernel-modules ***
Failed to install module sd_mod
Failed to install module ata_piix
Failed to install module hid_generic
Failed to install module unix
Failed to install module ehci-hcd
Failed to install module ehci-pci
Failed to install module ehci-platform
Failed to install module ohci-hcd
Failed to install module ohci-pci
Failed to install module uhci-hcd
Failed to install module xhci-hcd
Failed to install module yenta_socket
Failed to install module atkbd
Failed to install module i8042
Failed to install module usbhid
Failed to install module hid-apple
Failed to install module hid-cherry
Failed to install module hid-logitech
Failed to install module hid-logitech-dj
Failed to install module hid-microsoft
Failed to install module firewire-ohci
Failed to install module pcmcia
Failed to install module nvme
Failed to install module hid-hyperv
Failed to install module hv-vmbus
Failed to install module sdhci_acpi
Failed to install module sdhci_esdhc_imx
Failed to install module mmci
Failed to install module sdhci_tegra
Failed to install module mvsdio
Failed to install module omap
Failed to install module omapdrm
Failed to install module omap_hsmmc
Failed to install module panel-tfp410
Failed to install module sdhci_dove
Failed to install module ahci_platform
Failed to install module pata_imx
Failed to install module sata_mv
Failed to install module ehci-tegra
Failed to install module mmc_block
Failed to install module virtio
Failed to install module virtio_ring
Failed to install module virtio_pci
Failed to install module ext4
Failed to install module ext3
*** Including module: rootfs-block ***
*** Including module: terminfo ***
*** Including module: udev-rules ***
Skipping udev rule: 91-permissions.rules
Skipping udev rule: 80-drivers-modprobe.rules
*** Including module: systemd ***
Failed to install module autofs4
Failed to install module ipv6
*** Including module: usrmount ***
*** Including module: base ***
*** Including module: fs-lib ***
*** Including module: shutdown ***
*** Including module: suse ***
*** Including modules done ***
*** Installing kernel module dependencies and firmware ***
*** Installing kernel module dependencies and firmware done ***
*** Resolving executable dependencies ***
*** Resolving executable dependencies done***
*** Hardlinking files ***
*** Hardlinking files done ***
*** Stripping files ***
*** Stripping files done ***
*** Store current command line parameters ***
Stored kernel commandline:
root=UUID=0985213e-3639-474d-9102-4ef930beeda4 rootflags=rw,noatime,nobarrier,data=ordered rootfstype=ext4
*** Creating image file ***
*** Creating image file done ***
Some kernel modules could not be included:
sd_mod
ata_piix
hid_generic
unix
ehci-hcd
ehci-pci
ehci-platform
ohci-hcd
ohci-pci
uhci-hcd
xhci-hcd
yenta_socket
atkbd
i8042
usbhid
hid-apple
hid-cherry
hid-logitech
hid-logitech-dj
hid-microsoft
firewire-ohci
pcmcia
nvme
hid-hyperv
hv-vmbus
sdhci_acpi
sdhci_esdhc_imx
mmci
sdhci_tegra
mvsdio
omap
omapdrm
omap_hsmmc
panel-tfp410
sdhci_dove
ahci_platform
pata_imx
sata_mv
ehci-tegra
mmc_block
virtio
virtio_ring
virtio_pci
ext4
ext3
autofs4
ipv6

   

matthieu claire

unread,
Aug 27, 2015, 9:34:14 AM8/27/15
to Robert Nelson, BeagleBoard

Robert Nelson

unread,
Aug 27, 2015, 10:29:23 AM8/27/15
to matthieu claire, BeagleBoard
Since you are dealing with a versioned overlay:

echo BB-BONE-LCD7-01:00A3 > slots

matthieu claire

unread,
Aug 27, 2015, 11:47:16 AM8/27/15
to Robert Nelson, BeagleBoard
Thanks the LCD is living.

Any advice how can I do echo BB-BONE-LCD7-01:00A3 > slots during the startup before we launch the desktop? 

linux:/ # dmesg | fgrep bone
[   21.210923] bone_capemgr bone_capemgr: Baseboard: 'A335BNLT,000C,2115BBBK1190'
[   21.298283] bone_capemgr bone_capemgr: compatible-baseboard=ti,beaglebone-black - #slots=4
[   21.441750] bone_capemgr bone_capemgr: slot #0: '4D 7.0 LCD CAPE- 4DCAPE-70T     ,00A3,4D SYSTEMS      ,BB-BONE-LCD7-01'
[   21.627717] bone_capemgr bone_capemgr: slot #1: No cape found
[   21.747707] bone_capemgr bone_capemgr: slot #2: No cape found
[   21.867713] bone_capemgr bone_capemgr: slot #3: No cape found
[   21.937399] bone_capemgr bone_capemgr: initialized OK.
[   24.028103] bone_capemgr bone_capemgr: loader: failed to load slot-0 BB-BONE-LCD7-01:00A3 (prio 0)
[ 3186.091770] bone_capemgr bone_capemgr: part_number 'BB-BONE-LCD7-01', version '00A3'
[ 3186.091828] bone_capemgr bone_capemgr: slot #4: override
[ 3186.091846] bone_capemgr bone_capemgr: Using override eeprom data at slot 4
[ 3186.091865] bone_capemgr bone_capemgr: slot #4: 'Override Board Name,00A3,Override Manuf,BB-BONE-LCD7-01'
[ 3186.126389] bone_capemgr bone_capemgr: slot #4: dtbo 'BB-BONE-LCD7-01-00A3.dtbo' loaded; overlay id #0

matthieu claire

unread,
Aug 27, 2015, 2:16:21 PM8/27/15
to Robert Nelson, BeagleBoard
I have added to /etc/init.d/after.local
sudo sh -c "echo 'BB-BONE-LCD7-01:00A3' > /sys/devices/platform/bone_capemgr/slots"

The backlight turns ON but I see nothing on the screen while I see that my X server and lightdm is running see below Xorg.0.log 

linux:~ # cat /var/log/Xorg.0.log
[    51.843]
X.Org X Server 1.16.1
Release Date: 2014-09-21
[    51.843] X Protocol Version 11, Revision 0
[    51.843] Build Operating System: openSUSE SUSE LINUX
[    51.843] Current Operating System: Linux linux.site 4.1.6 #1 SMP PREEMPT Sun Aug 23 16:43:56 UTC 2015 armv7l
[    51.843] 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
[    51.844] Build Date: 12 June 2015  07:53:26PM
[    51.844]
[    51.844] Current version of pixman: 0.32.6
[    51.844]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    51.844] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    51.850] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Aug 27 17:29:53 2015
[    51.859] (==) Using config file: "/etc/X11/xorg.conf"
[    51.865] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    51.865] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    51.868] (==) ServerLayout "Builtin Default Layout"
[    51.868] (**) |-->Screen "Builtin Default fbdev Screen 0" (0)
[    51.868] (**) |   |-->Monitor "Builtin Default Monitor"
[    51.868] (**) |   |-->Device "Builtin Default fbdev Device 0"
[    51.869] (==) Automatically adding devices
[    51.869] (==) Automatically enabling devices
[    51.869] (==) Automatically adding GPU devices
[    51.909] (WW) The directory "/usr/share/fonts/misc/sgi" does not exist.
[    51.909]    Entry deleted from font path.
[    51.909] (==) 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
[    51.909] (==) ModulePath set to "/usr/lib/xorg/modules"
[    51.909] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    51.909] (II) Loader magic: 0x1dbe80
[    51.909] (II) Module ABI versions:
[    51.909]    X.Org ANSI C Emulation: 0.4
[    51.911]    X.Org Video Driver: 18.0
[    51.911]    X.Org XInput driver : 21.0
[    51.911]    X.Org Server Extension : 8.0
[    51.913] (II) xfree86: Adding drm device (/dev/dri/card0)
[    51.914] (II) no primary bus or device found
[    51.914]    falling back to /sys/devices/platform/ocp/4830e000.lcdc/drm/card0
[    51.914] (II) LoadModule: "glx"
[    51.951] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    52.226] (II) Module glx: vendor="X.Org Foundation"
[    52.227]    compiled for 1.16.1, module version = 1.0.0
[    52.227]    ABI class: X.Org Server Extension, version 8.0
[    52.227] (==) AIGLX enabled
[    52.227] (II) LoadModule: "fbdev"
[    52.228] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    52.242] (II) Module fbdev: vendor="X.Org Foundation"
[    52.242]    compiled for 1.16.1, module version = 0.4.4
[    52.242]    Module class: X.Org Video Driver
[    52.242]    ABI class: X.Org Video Driver, version 18.0
[    52.242] (II) FBDEV: driver for framebuffer: fbdev
[    52.242] (++) using VT number 7

[    52.267] (WW) Falling back to old probe method for fbdev
[    52.268] (II) Loading sub module "fbdevhw"
[    52.268] (II) LoadModule: "fbdevhw"
[    52.268] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    52.269] (II) Module fbdevhw: vendor="X.Org Foundation"
[    52.270]    compiled for 1.16.1, module version = 0.0.2
[    52.270]    ABI class: X.Org Video Driver, version 18.0
[    52.270] (II) FBDEV(0): using default device
[    52.271] (II) FBDEV(0): Creating default Display subsection in Screen section
        "Builtin Default fbdev Screen 0" for depth/fbbpp 16/16
[    52.271] (**) FBDEV(0): Depth 16, (--) framebuffer bpp 16
[    52.271] (==) FBDEV(0): RGB weight 565
[    52.271] (==) FBDEV(0): Default visual is TrueColor
[    52.271] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[    52.271] (II) FBDEV(0): hardware:  (video memory: 4608kB)
[    52.272] (II) FBDEV(0): checking modes against framebuffer device...
[    52.272] (II) FBDEV(0): checking modes against monitor...
[    52.272] (--) FBDEV(0): Virtual size is 1024x768 (pitch 1024)
[    52.272] (**) FBDEV(0):  Built-in mode "current"
[    52.272] (==) FBDEV(0): DPI set to (96, 96)
[    52.272] (II) Loading sub module "fb"
[    52.272] (II) LoadModule: "fb"
[    52.272] (II) Loading /usr/lib/xorg/modules/libfb.so
[    52.288] (II) Module fb: vendor="X.Org Foundation"
[    52.297]    compiled for 1.16.1, module version = 1.0.0
[    52.297]    ABI class: X.Org ANSI C Emulation, version 0.4
[    52.297] (**) FBDEV(0): using shadow framebuffer
[    52.297] (II) Loading sub module "shadow"
[    52.297] (II) LoadModule: "shadow"
[    52.298] (II) Loading /usr/lib/xorg/modules/libshadow.so
[    52.315] (II) Module shadow: vendor="X.Org Foundation"
[    52.316]    compiled for 1.16.1, module version = 1.1.0
[    52.316]    ABI class: X.Org ANSI C Emulation, version 0.4
[    52.317] (==) FBDEV(0): Backing store enabled
[    52.318] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.318] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.318] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.319] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.319] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.319] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.319] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.319] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.319] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.319] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.319] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.319] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.319] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.319] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.319] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.320] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.327] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.327] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.327] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.327] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.327] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.328] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.328] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.328] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.328] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.328] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.328] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.328] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.328] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.328] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.328] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.328] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.328] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.329] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.329] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.329] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.329] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.329] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.329] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.329] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.329] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.329] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.329] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.329] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.329] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.329] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.340] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    52.340] (==) FBDEV(0): DPMS enabled
[    52.340] (==) RandR enabled
[    52.513] (II) AIGLX: Screen 0 is not DRI2 capable
[    52.520] (EE) AIGLX: reverting to software rendering
[    52.957] (II) AIGLX: Loaded and initialized swrast
[    52.962] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    55.754] (II) config/udev: Adding input device gpio_keys (/dev/input/event0)
[    55.754] (**) gpio_keys: Applying InputClass "evdev keyboard catchall"
[    55.754] (**) gpio_keys: Applying InputClass "system-keyboard"
[    55.754] (**) gpio_keys: Applying InputClass "evdev keyboard catchall"
[    55.755] (II) LoadModule: "evdev"
[    55.755] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    55.803] (II) Module evdev: vendor="X.Org Foundation"
[    55.803]    compiled for 1.16.1, module version = 2.9.0
[    55.804]    Module class: X.Org XInput Driver
[    55.804]    ABI class: X.Org XInput driver, version 21.0
[    55.804] (II) Using input driver 'evdev' for 'gpio_keys'
[    55.804] (**) gpio_keys: always reports core events
[    55.804] (**) evdev: gpio_keys: Device: "/dev/input/event0"
[    55.805] (--) evdev: gpio_keys: Vendor 0x1 Product 0x1
[    55.805] (--) evdev: gpio_keys: Found keys
[    55.805] (II) evdev: gpio_keys: Configuring as keyboard
[    55.805] (**) Option "config_info" "udev:/sys/devices/platform/gpio_keys/input/input0/event0"
[    55.805] (II) XINPUT: Adding extended input device "gpio_keys" (type: KEYBOARD, id 6)
[    55.805] (**) Option "xkb_rules" "evdev"
[    55.805] (**) Option "xkb_model" "pc104"
[    55.805] (**) Option "xkb_layout" "us"
[    56.430] (II) config/udev: Adding input device ti-tsc (/dev/input/mouse0)
[    56.431] (II) No input driver specified, ignoring this device.
[    56.431] (II) This device may have been added with another device file.
[    56.433] (II) config/udev: Adding input device ti-tsc (/dev/input/event1)
[    56.433] (**) ti-tsc: Applying InputClass "evdev touchscreen catchall"
[    56.433] (**) ti-tsc: Applying InputClass "evdev touchscreen catchall"
[    56.433] (II) Using input driver 'evdev' for 'ti-tsc'
[    56.433] (**) ti-tsc: always reports core events
[    56.433] (**) evdev: ti-tsc: Device: "/dev/input/event1"
[    56.434] (--) evdev: ti-tsc: Vendor 0 Product 0
[    56.434] (--) evdev: ti-tsc: Found absolute axes
[    56.434] (--) evdev: ti-tsc: Found x and y absolute axes
[    56.434] (--) evdev: ti-tsc: Found absolute touchscreen
[    56.434] (II) evdev: ti-tsc: Configuring as touchscreen
[    56.434] (**) evdev: ti-tsc: YAxisMapping: buttons 4 and 5
[    56.434] (**) evdev: ti-tsc: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    56.434] (**) Option "config_info" "udev:/sys/devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input1/event1"
[    56.435] (II) XINPUT: Adding extended input device "ti-tsc" (type: TOUCHSCREEN, id 7)
[    56.435] (II) evdev: ti-tsc: initialized for absolute axes.
[    56.442] (**) ti-tsc: (accel) keeping acceleration scheme 1
[    56.442] (**) ti-tsc: (accel) acceleration profile 0
[    56.442] (**) ti-tsc: (accel) acceleration factor: 2.000
[    56.442] (**) ti-tsc: (accel) acceleration threshold: 4

matthieu claire

unread,
Aug 27, 2015, 5:55:36 PM8/27/15
to Robert Nelson, BeagleBoard
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 

 

Robert Nelson

unread,
Aug 27, 2015, 6:11:17 PM8/27/15
to matthieu claire, BeagleBoard
On Thu, Aug 27, 2015 at 4:54 PM, matthieu claire <mclai...@gmail.com> wrote:
> 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..

matthieu claire

unread,
Sep 1, 2015, 11:51:52 AM9/1/15
to Robert Nelson, BeagleBoard
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:   <ethaddr> 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


matthieu claire

unread,
Sep 1, 2015, 12:54:49 PM9/1/15
to Robert Nelson, BeagleBoard
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)


Robert Nelson

unread,
Sep 1, 2015, 1:05:02 PM9/1/15
to matthieu claire, BeagleBoard
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?

matthieu claire

unread,
Sep 1, 2015, 2:39:33 PM9/1/15
to Robert Nelson, BeagleBoard
Do you know how i can do that with dracut?

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

matthieu claire

unread,
Sep 1, 2015, 4:24:50 PM9/1/15
to Robert Nelson, BeagleBoard
After loading the module when I connect in ssh I still not see the device /dev/fb0 
Is it normal?

matthieu claire

unread,
Sep 1, 2015, 5:41:54 PM9/1/15
to Robert Nelson, BeagleBoard
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. 

William Hermans

unread,
Sep 1, 2015, 5:52:56 PM9/1/15
to beagl...@googlegroups.com
Seems to be a decent explanation of how to do just what you want. I've never tested this personally though . . .

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

matthieu claire

unread,
Sep 2, 2015, 9:46:13 AM9/2/15
to Beagle Board, Robert Nelson
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.



Matthieu CLAIRE 
ZEPHYR AUDIO
Ingénieur R&D / Design & Software Engineer

http://www.zephyr-audio.com

You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/EMpqCAtP3dw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.

matthieu claire

unread,
Sep 2, 2015, 11:31:52 AM9/2/15
to Beagle Board, Robert Nelson
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




Matthieu CLAIRE 
ZEPHYR AUDIO
Ingénieur R&D / Design & Software Engineer

http://www.zephyr-audio.com

matthieu claire

unread,
Sep 2, 2015, 1:46:09 PM9/2/15
to Beagle Board, Robert Nelson
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? 



Matthieu CLAIRE 
ZEPHYR AUDIO
Ingénieur R&D / Design & Software Engineer

http://www.zephyr-audio.com

matthieu claire

unread,
Sep 3, 2015, 5:38:00 PM9/3/15
to Beagle Board, Robert Nelson
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
Reply all
Reply to author
Forward
0 new messages