Skip to contentSkip to conversation

Problems with xfbdev building Angstrom for mx31

DISCUSSION Piero Pezzin 1 participant 1 message Apr 10, 2009

lore
Share & tools
lore
#0 lore raw

Hi all,

I've a problem with Xfbdev I built using the Angstrom distribution (bitbaking the gpe-image recipe).

The host machine is running Ubuntu 8.04 and the following is openembedded configuration:

BB_VERSION = "1.8.12"
METADATA_BRANCH = "org.openembedded.dev"
METADATA_REVISION = "3c732c38d8edfc888faf83165b53470da5e96d5d"

TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "qong"
DISTRO            = "angstrom"
DISTRO_VERSION    = "2009.X-test-20090410"
TARGET_FPU        = "hard"

Qong is a machine config I'm creating, but at the moment is the same as the mx31ads except for the kernel (which is 2.6.22.6).

The build process completes successfully, the root file system si correctly mounted but when Xfbdev starts the system hangs. Running strace, I see that it crashes on ioctl(6, FBIOPUT_VSCREENINFO:

rt_sigaction(SIGHUP, {0xd83fc, [HUP], 0x4000000 /* SA_??? */}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {0xd83b0, [INT], 0x4000000 /* SA_??? */}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {0xd83b0, [TERM], 0x4000000 /* SA_??? */}, {SIG_DFL},
8) = 0
open("/etc/X0.hosts", O_RDONLY) = -1 ENOENT (No such file or
directory)
rt_sigaction(SIGUSR1, {SIG_IGN}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGUSR1, {SIG_DFL}, {SIG_IGN}, 8) = 0
getppid() = 1512
gettimeofday({1237298779, 423458}, NULL) = 0
open("/dev/fb0", O_RDWR) = 6
ioctl(6, FBIOGET_FSCREENINFO, 0x123790) = 0
ioctl(6, FBIOGET_VSCREENINFO, 0x1236f0) = 0
mmap2(NULL, 307200, PROT_READ|PROT_WRITE, MAP_SHARED, 6, 0) = 0x40360000 ioctl(6, FBIOGET_VSCREENINFO, 0xbebdea90) = 0
ioctl(6, FBIOPUT_VSCREENINFO

The strange thing is that, Xfbdev included in poky (pinky 3.1.1) runs perfectly (using the same kernel).

Could someone help me to solve this issue? Any suggestion will be greatly appreciated.

Regards,

Piero