Skip to contentSkip to conversation

2.6.26-rc3-omap vs N810 and Xomap

DISCUSSION Radoslaw Szkodzinski 3 participants 6 messages May 25, 2008 – May 31, 2008

lore
Share & tools
lore
#0 lore raw

Hello,

I've managed to get 2.6.26-rc3-omap booting (was quite easy actually). Now I hit a road block - I get everything to start, it boots nicely (checked with SSH), but fails to display anything except a white screen. Looks like Xomap can't (re)init framebuffer, or focus isn't transferred to it.
Any known possible reasons?

AstralStorm

#1 lore raw
Quoted 8 lines · Radoslaw Szkodzinski

Hello,

I've managed to get 2.6.26-rc3-omap booting (was quite easy actually). Now I hit a road block - I get everything to start, it boots nicely (checked with SSH), but fails to display anything except a white screen. Looks like Xomap can't (re)init framebuffer, or focus isn't transferred to it.
Any known possible reasons?

Do you have any patches applied in addition to patching the machine_id?

I don't know about xomap, but last time I tried xserver-xorg-xfbdev from debian unstable worked. That is, without touchscreen until this patch is merged:

https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/219424

Are you starting xomap from chroot?

Tony

#2 lore raw
Quoted 12 lines · Radoslaw Szkodzinski
Quoted 8 lines

Hello,

I've managed to get 2.6.26-rc3-omap booting (was quite easy actually). Now I hit a road block - I get everything to start, it boots nicely (checked with SSH), but fails to display anything except a white screen. Looks like Xomap can't (re)init framebuffer, or focus isn't transferred to it.
Any known possible reasons?

Do you have any patches applied in addition to patching the machine_id?

Yes, muru.com patches, but these shouldn't cause that.

Quoted 7 lines

I don't know about xomap, but last time I tried xserver-xorg-xfbdev from debian unstable worked. That is, without touchscreen until this patch is merged:

https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/219424

Are you starting xomap from chroot?

System boots from initramfs and is pivot_rooted. Technically, it's not a chroot. It's almost the default N810 initramfs.

#3 lore raw
In reply to Radoslaw Szkodzinski
Quoted 9 lines · Radoslaw Szkodzinski

Hello,

I've managed to get 2.6.26-rc3-omap booting (was quite easy actually). Now I hit a road block - I get everything to start, it boots nicely (checked with SSH), but fails to display anything except a white screen. Looks like Xomap can't (re)init framebuffer, or focus isn't transferred to it.
Any known possible reasons?

Maybe your Xomap is built with older omapfb.h? I don't know about 2.6.2x kernels but I was bitten by this when trying Xomap binary built for N800 with 2.6.18 on 770 with 2.6.16 kernel. There was change in OMAPFB_UPDATE_WINDOW ioctl and the symptomps were similar.

Frantisek

#4 lore raw
Quoted 11 lines
Quoted 9 lines · Radoslaw Szkodzinski

Hello,

I've managed to get 2.6.26-rc3-omap booting (was quite easy actually). Now I hit a road block - I get everything to start, it boots nicely (checked with SSH), but fails to display anything except a white screen. Looks like Xomap can't (re)init framebuffer, or focus isn't transferred to it.
Any known possible reasons?

Quoted 5 lines

Maybe your Xomap is built with older omapfb.h? I don't know about 2.6.2x kernels but I was bitten by this when trying Xomap binary built for N800 with 2.6.18 on 770 with 2.6.16 kernel. There was change in OMAPFB_UPDATE_WINDOW ioctl and the symptomps were similar.

Possible, but nobody has the sources for Xomap I think. It's the version built versus Nokia patched 2.6.21-omap, sources of which are available. I'll check the ioctl and if that's the cause, move the new and create a compat one.

Thanks for your help.

#5 lore raw
Quoted 12 lines
Quoted 12 lines
Quoted 10 lines · Radoslaw Szkodzinski

Hello,

I've managed to get 2.6.26-rc3-omap booting (was quite easy actually). Now I hit a road block - I get everything to start, it boots nicely (checked with SSH), but fails to display anything except a white screen.
Looks like Xomap can't (re)init framebuffer, or focus isn't transferred to it.
Any known possible reasons?

Quoted 7 lines
Quoted 5 lines

Maybe your Xomap is built with older omapfb.h? I don't know about 2.6.2x kernels but I was bitten by this when trying Xomap binary built for N800 with 2.6.18 on 770 with 2.6.16 kernel. There was change in OMAPFB_UPDATE_WINDOW ioctl and the symptomps were similar.

Possible, but nobody has the sources for Xomap I think.

Correction, the source of Nokia Xomap are open, so I'll probably just need a rebuild.