Thank you for your reply.

On 2012-02-15 08:43, Gyorgy Kovesdi wrote:
> > [ 9826.807098] PVRSRV_PIXEL_FORMAT_ARGB8888
> AFAIK, it works only with 16 bit and 565 pixel format.
> Try to use this boot arg in the u-boot:
> omapfb.video_mode=1024x768MR-16@60
> with your resolution, of course.

The original boot arg in u-boot was:
mmcargs=setenv bootargs console=${console} ${optargs} mpurate=${mpurate} 
buddy=${buddy} camera=${camera} vram=${vram} omapfb.video_mode=${dvimode} 
omapdss.def_disp=${defaultdisplay} root=${mmcroot} rootfstype=${mmcrootfstype}

with dvimode=640x480MR-16@60

I changed the mmcargs to 
mmcargs=setenv bootargs console=${console} ${optargs} mpurate=${mpurate} 
buddy=${buddy} camera=${camera} vram=${vram} omapfb.video_mode=1024x768MR-16@60 
root=${mmcroot} rootfstype=${mmcrootfstype}

After booting the beagle into linux I get:

beagleboard:~# dmesg | grep PVR
[   84.306304] PVRSRV_PIXEL_FORMAT_ARGB8888
beagleboard:~# cat /proc/cmdline 
 omapfb.video_mode=1024x768MR-16@60 root=/dev/mmcblk0p2 rw rootfstype=ext3 
rootwait

It's still the wrong pixel format. I also tries 800x600MR-16@60, and
640x480MR-16@60. Always the same pixel format.

> > ioctl(4, 0xc01c6700, 0xbecc88c4)        = -1 EFAULT (Bad address)
> See which file it is operation on, it gives no information this way.
> There must be a similar line before:
> open(...) = 4
> Theoretically it is possible that it is not an error, just tries to do 
> something which is not possible.

Sorry, of course the /dev/pvrsrvXXX is successfully opend before, as you can
see here:
...
open("/dev/pvrsrvkm", O_RDWR)           = 3
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
ioctl(3, 0xc01c670c, 0xbe9639ec)        = 0
ioctl(3, 0xc01c6700, 0xbe9638c4)        = -1 EFAULT (Bad address)
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(4, 66), ...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B115200 opost isig icanon echo ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40021000
write(1, "PowerVR device not found\n", 25PowerVR device not found
) = 25
exit_group(0)

The file exists:
beagleboard:~# ls -l /dev/pvrsrvkm 
crw-rw-rw-    1 root     root     249,   0 Feb 14 18:10 /dev/pvrsrvkm

and the modules are loaded without a error message in dmesg.


Thanks,
Frank

_______________________________________________
Angstrom-distro-users mailing list
Angstrom-distro-users@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users

Reply via email to