ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Problem while bringing up X on LTIB+ IMX27 ADS board.


From: Stuart Hughes
Subject: Re: [Ltib] Problem while bringing up X on LTIB+ IMX27 ADS board.
Date: Mon, 04 Jan 2010 09:42:38 +0000
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Rajesh,

Your spec file looks okay to me.
The build log is attached (gzipped plain text file).
I don't have an imx27 so can't help with testing.

Regards, Stuart

Rajesh Marathe wrote:
Hi Hamilton/Stuart,

Thanks for all your suggestions thus far. I did follow your suggestions
and tried but still in vain. I did some debugging and I suspect that my
'X' configuration might not be correct as on running 'Xfbdev' it
searches for a keyboard. Can somebody please send me the configuration
details for while running "./configure" under xorg-server-1.4.2'
directory to work on imx27ADS keyboard. My xorg-server-1.4.2.spec file
configure details are as under:
----------------------------------------------------------------------
if rpm --dbpath %{_dbpath} -q tslib &>/dev/null
then
    extra_opts='--enable-tslib --disable-ipv6 --enable-xkb --disable-dga
--enable-kbd_mode'
else
    extra_opts='--enable-xkb --disable-ipv6 --enable-kbd_mode'
fi

# By default we'll use the original options that build kdrive # and override the ones we need for a full Xorg
if [ -n "$PKG_XORG_SERVER_WANT_XORG" ]
then
    extra_opts="$extra_opts --enable-xorg --enable-dga"
fi

./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} \
            --enable-composite  --enable-kdrive --disable-dri
--disable-xinerama --disable-xf86misc --disable-xf86vidmode
--disable-xorg --disable-xorgcfg --disable-xnest --disable-xvfb
--disable-xevie --disable-xprint --disable-xtrap --enable-xfbdev
--disable-dmx --enable-builtin-fonts --disable-dbus $extra_opts

----------------------------------------------------------------------
Let me know if these are correct.

I still think my X configuration is an issue and hence the problem.

regards,
Rajesh Marathe.

On Mon, 2009-12-28 at 17:24 -0200, Hamilton Vera wrote:
Here is what we use to startx :

#!/bin/sh

module=`lsmod | grep mxc_ts`
if [ ! "$module" ]; then
        modprobe mxc_ts;
fi

module=`lsmod | grep ehci_hcd`
if [ ! "$module" ]; then
        modprobe ehci_hcd;
fi

export TSLIB_CONSOLEDEVICE=none
export TSLIB_TSDEVICE=/dev/input/event1

echo "nameserver 208.67.220.220" > /etc/resolv.conf

if [ ! -e /dev/tty0 ]; then ln -s /dev/vc/0 /dev/tty0; fi
if [ ! -e /dev/tty1 ]; then ln -s /dev/vc/1 /dev/tty1; fi
if [ ! -e /dev/tty2 ]; then ln -s /dev/vc/2 /dev/tty2; fi

Xfbdev -screen 240x320x60  -mouse tslib,,device=/dev/input/event1 &
sleep 3

# Start woosh internet browser.
#DISPLAY=:0 /usr/bin/woosh

# Start dillo internet browser.
DISPLAY=:0 /usr/bin/dillo
# Stops the X.
#killall Xfbdev


[]'s

Hamilton Vera



On Mon, Dec 28, 2009 at 11:31 AM, Stuart Hughes <address@hidden> wrote:
Hi Rajesh,

If you have the latest Savannah CVS startx should be in the path (on the
host): rootfs/usr/bin/startx, this contains:

#!/bin/sh

Xfbdev -ac -mouse mouse -keybd keyboard &
sleep 3
DISPLAY=:0 twm
killall Xfbdev

Regards, Stuart

Rajesh Marathe wrote:
Stuart,

Thanks. I think I did not start X server earlier. I had compiled LTIB
with X Server option but did not find "startx" under rootfs on the
device. How to get the X started on the device ?

regards,
Rajesh Marathe.

On Mon, 2009-12-28 at 10:54 +0000, Stuart Hughes wrote:
Hi Rajesh,

I don't have that board so can't look.  However, make sure you have
started the X server (with startx) first.  Also make sure you have the
framebuffer enabled in the kernel (it should be I think).

Regards, Stuart

Rajesh Marathe wrote:
Hi,

We are working on IMX27 ADS board and have taken latest CVS based LTIB
code. I have included 'Dillo2' and 'fltk' packages as my objective would
be to run the browser dillo on the imx27 system.

After the Linux boots up, I go to the console and try to run the
browser. But, I get the following error:

----------------------------------------------------------------------
mx27#
        mx27#
            mx27# ./dillo
                paths: Cannot open file
'//.dillo/dillorc'                                      paths:
Using /usr/etc/dillo/dillorc
paths: Cannot open file
'//.dillo/keysrc'                                       paths:
Using /usr/etc/dillo/keysrc
 dillo_dns_init: Here we go!
(threaded)                                          Disabling
cookies.
 Can't open display
":0.0"                                                       mx27#
----------------------------------------------------------------------

I did try to debug and found out that the function fltk::open_display
returns the above display error.

How do I set the display correctly so that the browser's opening page
gets displayed on the LCD panel connected to IMX27 board ?

regards,
Rajesh Marathe.



_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib



_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib





Attachment: xorg-server-build-log.gz
Description: GNU Zip compressed data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]