Skip to contentSkip to conversation

some tips for x11r7

Buildroot Ivan Kuten 1 participant 3 messages Sep 23, 2007 – Sep 26, 2007 2 messages not in the archive

lore
Share & tools
lore

Ivan Kuten

author
#0 lore raw

Hello,

Here are some tips to make very basic compiling and running x11r7 on arm. (svn revision 19976)

1) apply xserver_xorg-server-localstatedir.patch ( makes X to create Xorg.0.log in /var/log/ )

2) do this magic command on target:

ln -s 03000000,2 /etc/arm_systype

Otherwise you will get "xf86EnableIOPorts failed to set IOPL for IO" errors.

3) hand-copy your X11 fonts (mine are localed in /usr/X11R6/lib/X11/fonts/misc) to /usr/lib/X11/fonts/misc on the target. Buildroot currently fails to create font.alias and font.dir listings.

4) hand-copy from build_arm/staging_dir/usr/lib/xorg/modules to usr/lib/xorg/modules on the target, they are not installed automatically by buildroot.

5) hand-copy fbdev_drv.so from build_arm/xdriver_xf86-video-fbdev-0.3.1/src/.libs to usr/lib/xorg/modules/drivers. It is not installed automatically by buildroot.

6) hand-copy evdev_drv.so, kbd_drv.so, keyboard_drv.so, mouse_drv.so from
their build dirs to /usr/lib/xorg/modules/input on the target. These libs are also not installed automatically.

7) Create your /etc/X11/xorg.conf via /usr/bin/xorgconfig on the target.
...
Section "Files"
FontPath "/usr/lib/X11/fonts/misc/"
...
Section "Device"
Identifier "mycard1"
Driver "fbdev"
EndSection

8) start your X using "fbdev" driver:

X -allowMouseOpenFail -pointer "mouse" :0

9) Test your X app (I checked xclock application)

Best regards,
Ivan

--------------------------------
Embedded Linux engineer,
Promwad Company: http://www.promwad.com/
Homepage : http://www.ivankuten.com/
--------------------------------

A message that is not in the archive (sent off-list or not yet received): [email protected]

author
#2 lore raw
Quoted 15 lines
Quoted 1 line

Hi Ivan,

I was trying to solve the same problem as you: make X working in ARM, but i'm getting this error when compiling FontConfig (the X server i choose was x11r7):

configure.in:63: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation.
configure.in:64: error: possibly undefined macro: AM_PROG_LIBTOOL
autoreconf: /usr/bin/autoconf failed with exit status: 1
make: *** [/home/dfons/buildroot_19987/build_arm/fontconfig-2.4.2/.configured] Error 1

Quoted 4 lines

Did you get this error? What can i do to solve it?

Regards,
Diego A. Fons.

Hello,

No, do not have such an error. But I have fontconfig and fontconfig-devel rpms installed on my host PC - may be this could be a reason why I do not see such errors. Are you using latest buildroot svn revision?

Best regards,
Ivan
--------------------------------
Embedded Linux engineer,
Promwad Company: http://www.promwad.com/
Homepage : http://www.ivankuten.com/
--------------------------------

A message that is not in the archive (sent off-list or not yet received): [email protected]

author
#4 lore raw
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

configure.in:63: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation.
configure.in:64: error: possibly undefined macro: AM_PROG_LIBTOOL
autoreconf: /usr/bin/autoconf failed with exit status: 1
make: *** [/home/dfons/buildroot_19987/build_arm/fontconfig-2.4.2/.configured] Error 1

...

Quoted 6 lines

Yes, i have fntcongif and fontconfig-dev installe in the host system... I think it's a problem of autoconf and friends, do you know what are the recommended versions of these tools?

Regards,
Diego A. Fons.

Hello, there no official recommended versions.
As for me I'm using
automake-1.9.6
libtool-1.5.22
autoconf-2.60

May be try to upgrade.

Signature · 1 line
--------------------------------
Quoted 4 lines

Embedded Linux engineer,
Promwad Company: http://www.promwad.com/
Homepage : http://www.ivankuten.com/
--------------------------------