Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] some tips for x11r7
@ 2007-09-23 19:16 Ivan Kuten
       [not found] ` <46F7CBF7.8040103@apexar.com.ar>
  0 siblings, 1 reply; 3+ messages in thread
From: Ivan Kuten @ 2007-09-23 19:16 UTC (permalink / raw)
  To: buildroot

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/
--------------------------------

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] some tips for x11r7
       [not found] ` <46F7CBF7.8040103@apexar.com.ar>
@ 2007-09-24 17:31   ` Ivan Kuten
       [not found]     ` <46F8FB49.8050808@apexar.com.ar>
  0 siblings, 1 reply; 3+ messages in thread
From: Ivan Kuten @ 2007-09-24 17:31 UTC (permalink / raw)
  To: buildroot

>>   
> 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
> 
> 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/
--------------------------------

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] some tips for x11r7
       [not found]     ` <46F8FB49.8050808@apexar.com.ar>
@ 2007-09-26 12:15       ` Kuten Ivan
  0 siblings, 0 replies; 3+ messages in thread
From: Kuten Ivan @ 2007-09-26 12:15 UTC (permalink / raw)
  To: buildroot

>>> 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
>>>

...

> 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.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-09-26 12:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-23 19:16 [Buildroot] some tips for x11r7 Ivan Kuten
     [not found] ` <46F7CBF7.8040103@apexar.com.ar>
2007-09-24 17:31   ` Ivan Kuten
     [not found]     ` <46F8FB49.8050808@apexar.com.ar>
2007-09-26 12:15       ` Kuten Ivan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox