[BeagleBone] Ubuntu 12.04 LXDE gui problem

Hi all,
I recently post my question here https://groups.google.com/forum/?fromgroups=#!searchin/beagleboard/beaglebone$20800X600$20LCD/beagleboard/Iqbq7wsD6fw/xldgiC823N0J
but I think I should start new topic to clear my question.

I port ubuntu 12.04 (source from RobertCNelson), and I modify function “beaglebone_cape_setup” to initialize my LCD panel. Now my LCD panel works fine and I can see LXDE desktop but in very bad image, you can see in my attachment.

I notice there are 2 strange points in boot log:

  1. FATAL: Could not load /lib/module/3.2.33-psp26/
    modules.dep: No such file or directory
    but my modules.dep is there, I cannot understand.
  2. Can’t build omap_device for da8xx_lcdc:lcdc

Also I cannot found the folder “/sys/devices/platform/omapdss/” in my system as I usually see in some google search result.

I guess my kernel did not initialize the graphic driver (fb or omapdss), some problem with overlay buffer or some thing like this. But I don’t know how to solve this.

Can anyone here help me. Thank you in advance.

ubuntu_12.04.png

Hi all,
I recently post my question here
Redirecting to Google Groups
but I think I should start new topic to clear my question.

I port ubuntu 12.04 (source from RobertCNelson), and I modify function
"beaglebone_cape_setup" to initialize my LCD panel. Now my LCD panel works
fine and I can see LXDE desktop but in very bad image, you can see in my
attachment.

I notice there are 2 strange points in boot log:
1. FATAL: Could not load /lib/module/3.2.33-psp26/
modules.dep: No such file or directory
     but my modules.dep is there, I cannot understand.

"sudo depmod -a" should take care of this...

2. Can't build omap_device for da8xx_lcdc:lcdc

Also I cannot found the folder "/sys/devices/platform/omapdss/" in my system
as I usually see in some google search result.

Well it's different hardware, the da8xx != omapdss...

I guess my kernel did not initialize the graphic driver (fb or omapdss),
some problem with overlay buffer or some thing like this. But I don't know
how to solve this.

It looks like it did initialize the framebuffer as you have an image,
but the corruption is either from a mis-configuration of the bits or
pins..

Regards,

Thank you, Robert Nelson.

1. FATAL: Could not load /lib/module/3.2.33-psp26/
modules.dep: No such file or directory
      but my modules.dep is there, I cannot understand.

"sudo depmod -a" should take care of this...

I will do so.
But this error occurs on booting stage, then when boot finish, I run this command, so dose it take effect to my system?

2. Can't build omap_device for da8xx_lcdc:lcdc

Also I cannot found the folder "/sys/devices/platform/omapdss/" in my system
as I usually see in some google search result.

Well it's different hardware, the da8xx != omapdss...

So what hardware do you mean? I use beaglebone A6.
And how can I change the LCD timing with da8xx driver instead of omapdss?
Currently I tried but I can change LCD timing by hard code in kernel only.

It looks like it did initialize the framebuffer as you have an image,
but the corruption is either from a mis-configuration of the bits or
pins..

Can you advise how to debug this.

Thank you very much.
Regards.

Thank you, Robert Nelson.

1. FATAL: Could not load /lib/module/3.2.33-psp26/
modules.dep: No such file or directory
      but my modules.dep is there, I cannot understand.

"sudo depmod -a" should take care of this...

I will do so.
But this error occurs on booting stage, then when boot finish, I run this
command, so dose it take effect to my system?

Well... Reboot and find out...

2. Can't build omap_device for da8xx_lcdc:lcdc

Also I cannot found the folder "/sys/devices/platform/omapdss/" in my
system
as I usually see in some google search result.

Well it's different hardware, the da8xx != omapdss...

So what hardware do you mean? I use beaglebone A6.

What i mean:
BeagleBone: uses Davinci display hardware so uses the "da8xx"
framebuffer/driver..
BeagleBoard: uses Omap display hardware so uses the "omapfb" (omapdss)
framebuffer/driver

So looking back to your original statement:

Also I cannot found the folder "/sys/devices/platform/omapdss/" in my
system

Well, your running on the BeagleBone, and it does not have that hardware...

And how can I change the LCD timing with da8xx driver instead of omapdss?
Currently I tried but I can change LCD timing by hard code in kernel only.

I'll leave that to someone else on this mainline list.. As i haven't
worked enough on da8xx to actually comment..

driver is here:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=drivers/video/da8xx-fb.c;hb=HEAD

It looks like it did initialize the framebuffer as you have an image,
but the corruption is either from a mis-configuration of the bits or
pins..

Can you advise how to debug this.

Yeah, re-look at how you configured the RGB lines in the da8xx driver
and how it's wired to the board..

Regards,