FSL gnome release package and VGA display output ?

cancel
Showing results for 
Search instead for 
Did you mean: 

FSL gnome release package and VGA display output ?

359 Views
Contributor I
Hello,

I can't get  a VGA output display with ltib (FSL gnome release package ). I am looking for a solution, but at that time I don't know how to proceed. I already started some discussion on that topic in this forum, but perhaps the group "graphics & display"  may have the solution !

With standard UBUNTU distribution image, my VGA display works fine (I only have a VGA display connected to the VGA output, I don't use LCD touch screen).

With ltib, nothing happens ! no image, no signal, nothing...

Last boot trace can be found in attachment.

Many thanks in advance for your help.

Best Regards,

Philippe.


Labels (1)
0 Kudos
22 Replies

49 Views
Contributor I

Congratulations ! effectively, I tried to replace my Apple keyboard by a Dell keyboard and I replaced in startx script

Xfbdev -keybd keyboard,,device=/dev/input/keyboard0 by

Xfbdev -keybd keyboard,,device=/dev/input/event2

And It works fine now.

Thank you for your support.

Regards,

Philippe.

0 Kudos

49 Views
NXP Employee
NXP Employee

rwxrwxrwx    1 root     root             9 Jan  1 00:00 usb-Logitech_USB-PS.2_Optical_Mouse-event-mouse -> ../event4

is this a mouse or keyboard? which conflicts with your former log

usb 2-1: new high speed USB device using fsl-ehci and address 4
usb 2-1: New USB device found, idVendor=05ac, idProduct=1006
usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-1: Product: Keyboard Hub
usb 2-1: Manufacturer: Apple, Inc.
usb 2-1: SerialNumber: 000000000000
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 3 ports detected
usb 2-1.2: new low speed USB device using fsl-ehci and address 5
usb 2-1.2: New USB device found, idVendor=05ac, idProduct=0221
usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-1.2: Product: Apple Keyboard
usb 2-1.2: Manufacturer: Apple, Inc

0 Kudos

49 Views
NXP Employee
NXP Employee

no you ls result shows that the usb keyboard does not recognized by the system, can you change another usb key board?

0 Kudos

49 Views
Contributor I

Hello,

 

I selected udev and 'include automount rules' in ltib configuration. Keyboard should be automatically recognized, and it's not the case as far as I can see in /dev/input :

 

root@freescale /dev/input$ ls -lR
.:
drwxr-xr-x    2 root     root            80 Jan  1 00:00 by-id
drwxr-xr-x    2 root     root           120 Jan  1 00:00 by-path
crw-r-----    1 root     root       13,  64 Jan  1 00:00 event0
crw-r-----    1 root     root       13,  65 Jan  1 00:00 event1
crw-r-----    1 root     root       13,  66 Jan  1 00:00 event2

crw-r-----    1 root     root       13,  67 Jan  1 00:00 event3
crw-r-----    1 root     root       13,  68 Jan  1 00:00 event4
crw-r-----    1 root     root       13,  63 Jan  1 00:00 mice
crw-r-----    1 root     root       13,  32 Jan  1 00:00 mouse0
crw-r-----    1 root     root       13,  33 Jan  1 00:00 mouse1
crw-------    1 root     root       10, 223 Jan  1 00:00 uinput

./by-id:
lrwxrwxrwx    1 root     root             9 Jan  1 00:00 usb-Logitech_USB-PS.2_Optical_Mouse-event-mouse -> ../event4

lrwxrwxrwx    1 root     root             9 Jan  1 00:00 usb-Logitech_USB-PS.2_Optical_Mouse-mouse -> ../mouse1

./by-path:
lrwxrwxrwx    1 root     root             9 Jan  1 00:00 platform-da9052-onkey-event- -> ../event2
lrwxrwxrwx    1 root     root             9 Jan  1 00:00 platform-fsl-ehci.0-usb-0:1:1.0-event-mouse -> ../event4
lrwxrwxrwx    1 root     root             9 Jan  1 00:00 platform-fsl-ehci.0-usb-0:1:1.0-mouse -> ../mouse1
lrwxrwxrwx    1 root     root             9 Jan  1 00:00 platform-gpio-keys-event- -> ../event0

 

I tried mdev but it failed. I also took a look into bin/device_table.txt and keyboard is not defined. So I am wondering if I have to add it in this file or if the setting should be done somewhere else.

 

Regards,

Philippe.

0 Kudos

49 Views
NXP Employee
NXP Employee

the keyboard and mouse are input devices, so you need check it at /dev/input/

0 Kudos

49 Views
Contributor I

Hello hake,

 

I don't know in fact as /dev/keyboard0 is not present. when I plug in the keyboard I get :

usb 2-1: new high speed USB device using fsl-ehci and address 4
usb 2-1: New USB device found, idVendor=05ac, idProduct=1006
usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-1: Product: Keyboard Hub
usb 2-1: Manufacturer: Apple, Inc.
usb 2-1: SerialNumber: 000000000000
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 3 ports detected
usb 2-1.2: new low speed USB device using fsl-ehci and address 5
usb 2-1.2: New USB device found, idVendor=05ac, idProduct=0221
usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-1.2: Product: Apple Keyboard
usb 2-1.2: Manufacturer: Apple, Inc

On device, each time I unplug / plug my keyboard, I get two new devices :

crw-rw----    1 root     root      189, 135 Jan  1 00:43 /dev/usbdev2.8
crw-rw----    1 root     root      189, 136 Jan  1 00:43 /dev/usbdev2.9

(8 and 9 are incremented at each unplug / plug action,  next values  are 10 and 11 and so on).

I tried to use some other keyboards, but the result is the same, nothing happens when I press on keys. My aim is to recognize all kind of keyboards as I have no idea of what kind of keyboard people will use on my application.


I don't use touch screen, just a VGA display + mouse + keyboard + serial interface to configure the system.

 

Regards,

Philippe.

0 Kudos

49 Views
NXP Employee
NXP Employee

what is your keypad input device node? you can use evtest /dev/input/<your device node> to test, then set to the device parameter. No sure it is going to work or not, as the key definitions may need change, you have to look at the xfb code.

0 Kudos

49 Views
Contributor I

OK for the SD card, effectively I specify BS=512.

Concerning the keyboard I updated startx script with -keybd keyboard,,device=/dev/input/keyboard0 but in fact there is no keyboard0 in /dev/input, so it can't work. Do you know how to configure keyboard device ? Is it a special configuration in ltib ?

0 Kudos

49 Views
NXP Employee
NXP Employee

there are some configs for keyboard support, you can check that in startx scripts.

if skip=1 seek=1 does not work, which mean your SD card can only seek in 512 bytes block.

0 Kudos

49 Views
Contributor I

Hello,

Thank you for your help.

After a while, with the last release 11.09 I finally got an output on my VGA display. Now, the mouse is working fine on my X window environment but my keyboard is not recognized, nothing happens when I press on keys....

 

Do you know if there is a specific configuration for the startx script ? especially for Xfbdev ?

 

By the way, dd if=<uboot> of=/dev/mmcblk0 bs=1024 seek=1 skip=1 doesn't work for me, I have to specify seek=2 skip=2.

 

Best Regards,

Philippe.

0 Kudos

49 Views
NXP Employee
NXP Employee
dd if=<uboot> of=/dev/mmcblk0 bs=1024 seek=1 skip=1
0 Kudos

49 Views
Contributor I
It doesn't boot... which dd command do you use ?
0 Kudos

49 Views
NXP Employee
NXP Employee
in this case you need uboot
0 Kudos

49 Views
Contributor I

I tried to replace my uImage by your uImage_mx53_d but it failed. (see trace.txt).

 

Regards,

Philippe.

0 Kudos

49 Views
NXP Employee
NXP Employee
can you try attached image, the "video=mxcdi1fb:GBR24,VGA-XGA di1_primary vga" works for my board.
0 Kudos

49 Views
Contributor I

Hello hake,

root@freescale ~$ cat /proc/cmdline
console=ttymxc0,115200 video=mxcdi1fb:GBR24,XGA di1_primary vga root=/dev/mmcblk0p1 rw rootwait

 

Regards,

Philippe

0 Kudos

49 Views
NXP Employee
NXP Employee

cat you boot board and

cat /proc/cmdline to judge the command line also.

the 1105 release should be work

0 Kudos

49 Views
Contributor I
Al,


Yes, on UBUNTU distribution I have :

vga=video=mxcdi1fb:GBR24,XGA di1_primary tve

bootargs_base=setenv bootargs console=ttymxc0,115200 ${vga}


I tried this setting, but no more result.


Where did you specify in ltib setting that you use videos/imxfb driver ?


Regards,

Philippe.


0 Kudos

49 Views
Contributor I

Philippe,

I assume you already halted your Ubuntu distribution image at u-boot console, and viewed the environment variables, where "video=" would be found?  If so, what were the options to the kernel?  I am using the videos/imxfb driver.

-Al

0 Kudos

49 Views
Contributor I

Hello Al & Hake,

 

thank you for answering. I tried to add video=mxcdi1fb:GBR24,VGA-XGA di1_primary vga ldb=off ard-vga but, it didn't work.

 

I tried to replace by video=mxcdi1fb:GBR24,VGA-XGA di1_primary vga but it didn't work.

I guess the problem is more in the ltib setting. Do you know what packages and/or driver I have to use for VGA display output ?

 

(I attached my last boot log).

 

Regards,

Philippe

0 Kudos