Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure fails on Raspberry Pi, piCore 5.1 #28

Closed
ha5di opened this issue Dec 20, 2013 · 10 comments

Comments

@ha5di
Copy link

commented Dec 20, 2013

Trying to build it for Raspberry Pi in our piCore 5.1 system configure fails:

checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
./configure: line 17982: syntax error near unexpected token RANDR,' ./configure: line 17982:XORG_DRIVER_CHECK_EXT(RANDR, randrproto)'

Help appreciated to fix it.

Thanks... Bela

@ssvb

This comment has been minimized.

Copy link
Owner

commented Dec 20, 2013

Hi. What is piCore and how can we reproduce this problem?

@ha5di

This comment has been minimized.

Copy link
Author

commented Dec 20, 2013

Thanks for responding. piCore is the official Raspberry Pi port of Tiny Core Linux. It is an independent Linux system called toolkit instead of distro with unique features. More info on Tiny Core Linux at:

http://www.tinycorelinux.net/
http://distrowatch.com/table.php?distribution=tinycore

Current piCore release is 5.1rc3 expected to be the final 5.1 with kernel 3.12.1, Linaro 2013.11 (gcc 4.8.3) toolchain, Xorg-7.7, etc. piCore specific info:

http://forum.tinycorelinux.net/index.php/board,57.0.html

I can make an SD card image with toolchain and minimal set of apps to reproduce the issue in the next days where it can be tested.

Regards... Bela (bmarkus at TC)

@ssvb

This comment has been minimized.

Copy link
Owner

commented Dec 21, 2013

I can make an SD card image with toolchain and minimal set of apps to reproduce the issue in the next days where it can be tested.

This would surely help. However I wonder how many other packages might be also broken in piCore? For example, xf86-video-fbdev driver has nearly the same configure.ac and should fail to build too.

@ha5di

This comment has been minimized.

Copy link
Author

commented Dec 22, 2013

Don't think anything is broken, it works fine, currently fbdev_drv.so used.

I can compile stock xf86-video-fbdev-0.4.2 without errors in this environment.

@ha5di

This comment has been minimized.

Copy link
Author

commented Dec 22, 2013

Some progress. Got it compiled, but there is an ABI version mismatch so it is unloaded. It will work soon.

@ssvb

This comment has been minimized.

Copy link
Owner

commented Dec 22, 2013

OK, please keep us updated on your progress.

@ha5di

This comment has been minimized.

Copy link
Author

commented Dec 23, 2013

Actual status that it is crasing during load, I get black screen with text cursor at first line, not blinking, no keyboard access, looks frozen, but system works via remote SSH. Xorg.0.log:

[ 13166.340]
X.Org X Server 1.14.3
Release Date: 2013-09-12
[ 13166.340] X Protocol Version 11, Revision 0
[ 13166.341] Build Operating System: Linux 3.11.1-piCore armv6l
[ 13166.341] Current Operating System: Linux box 3.12.1-piCore+ #3 PREEMPT Wed Nov 27 19:47:18 CET 2013 armv6l
[ 13166.341] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1280 bcm2708_fb.fbheight=1024 bcm2708.boardrev=0xe bcm2708.serial=0x7d40730a smsc95xx.macaddr=B8:27:EB:40:73:0A sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x1fa00000 vc_mem.mem_size=0x20000000 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 initrd=0xa00000,3463994 root=/dev/ram0 elevator=deadline rootwait nortc loglevel=3 waitusb=5 syslog multivt tz=GMT-1
[ 13166.341] Build Date: 21 September 2013 12:37:22PM
[ 13166.341]
[ 13166.342] Current version of pixman: 0.30.0
[ 13166.342] Before reporting problems, check www.tinycorelinux.com
to make sure that you have the latest version.
[ 13166.342] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
13166.343 Log file: "/var/log/Xorg.0.log", Time: Sun Dec 22 22:44:40 2013
13166.344 Using system config directory "/usr/local/share/X11/xorg.conf.d"
13166.345 No Layout section. Using the first Screen section.
13166.346 No screen section available. Using defaults.
13166.346 |-->Screen "Default Screen Section" (0)
13166.346 | |-->Monitor ""
13166.347 No device specified for screen "Default Screen Section".
Using the first device section listed.
13166.347 | |-->Device "Allwinner A10/A13 FBDEV"
13166.347 No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
13166.348 Automatically adding devices
13166.348 Automatically enabling devices
13166.348 Automatically adding GPU devices
13166.348 The directory "/usr/lib/X11/fonts/TTF/" does not exist.
[ 13166.348] Entry deleted from font path.
13166.348 The directory "/usr/lib/X11/fonts/OTF/" does not exist.
[ 13166.348] Entry deleted from font path.
13166.349 The directory "/usr/lib/X11/fonts/Type1/" does not exist.
[ 13166.349] Entry deleted from font path.
13166.349 The directory "/usr/lib/X11/fonts/100dpi/" does not exist.
[ 13166.349] Entry deleted from font path.
13166.349 FontPath set to:
/usr/lib/X11/fonts/misc/,
/usr/lib/X11/fonts/75dpi/
13166.349 ModulePath set to "/usr/local/lib/X11/modules"
13166.349 The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
13166.349 Loader magic: 0x192578
13166.349 Module ABI versions:
[ 13166.349] X.Org ANSI C Emulation: 0.4
[ 13166.350] X.Org Video Driver: 14.1
[ 13166.350] X.Org XInput driver : 19.1
[ 13166.350] X.Org Server Extension : 7.0
[ 13166.352] Initializing built-in extension Generic Event Extension
[ 13166.352] Initializing built-in extension SHAPE
[ 13166.352] Initializing built-in extension MIT-SHM
[ 13166.352] Initializing built-in extension XInputExtension
[ 13166.352] Initializing built-in extension XTEST
[ 13166.352] Initializing built-in extension BIG-REQUESTS
[ 13166.352] Initializing built-in extension SYNC
[ 13166.352] Initializing built-in extension XKEYBOARD
[ 13166.352] Initializing built-in extension XC-MISC
[ 13166.352] Initializing built-in extension XINERAMA
[ 13166.352] Initializing built-in extension XFIXES
[ 13166.353] Initializing built-in extension RENDER
[ 13166.353] Initializing built-in extension RANDR
[ 13166.353] Initializing built-in extension COMPOSITE
[ 13166.353] Initializing built-in extension DAMAGE
[ 13166.353] Initializing built-in extension MIT-SCREEN-SAVER
[ 13166.353] Initializing built-in extension DOUBLE-BUFFER
[ 13166.353] Initializing built-in extension RECORD
[ 13166.353] Initializing built-in extension DPMS
[ 13166.353] Initializing built-in extension X-Resource
[ 13166.353] Initializing built-in extension XVideo
[ 13166.353] Initializing built-in extension XVideo-MotionCompensation
[ 13166.354] Initializing built-in extension XFree86-VidModeExtension
[ 13166.354] Initializing built-in extension XFree86-DGA
[ 13166.354] Initializing built-in extension XFree86-DRI
[ 13166.354] Initializing built-in extension DRI2
13166.354 LoadModule: "glx"
13166.357 Loading /usr/local/lib/X11/modules/extensions/libglx.so
13166.358 Module glx: vendor="X.Org Foundation"
[ 13166.359] compiled for 1.14.3, module version = 1.0.0
[ 13166.359] ABI class: X.Org Server Extension, version 7.0
13166.359 AIGLX enabled
[ 13166.359] Loading extension GLX
13166.359 LoadModule: "fbturbo"
13166.361 Loading /usr/local/lib/X11/modules/drivers/fbturbo_drv.so
13166.363 Module fbturbo: vendor="X.Org Foundation"
[ 13166.363] compiled for 1.14.3, module version = 0.4.2
[ 13166.363] Module class: X.Org Video Driver
[ 13166.363] ABI class: X.Org Video Driver, version 14.1
13166.363 FBTURBO: driver for framebuffer: fbturbo
13166.363 using VT number 7

13166.375 Falling back to old probe method for fbturbo
13166.376 Loading sub module "fbdevhw"
13166.376 LoadModule: "fbdevhw"
13166.377 Loading /usr/local/lib/X11/modules/libfbdevhw.so
13166.378 Module fbdevhw: vendor="X.Org Foundation"
[ 13166.378] compiled for 1.14.3, module version = 0.0.2
[ 13166.378] ABI class: X.Org Video Driver, version 14.1
13166.379 FBTURBO(0): using /dev/fb0
13166.379 VGA arbiter: cannot open kernel arbiter, no multi-card support
13166.379 FBTURBO(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 16/16
13166.380 FBTURBO(0): Depth 16, (==) framebuffer bpp 16
13166.380 FBTURBO(0): RGB weight 565
13166.380 FBTURBO(0): Default visual is TrueColor
13166.380 FBTURBO(0): Using gamma correction (1.0, 1.0, 1.0)
13166.380 FBTURBO(0): hardware: BCM2708 FB (video memory: 2560kB)
13166.381 FBTURBO(0): Option "fbdev" "/dev/fb0"
13166.381 FBTURBO(0): Option "SwapbuffersWait" "true"

@ha5di

This comment has been minimized.

Copy link
Author

commented Dec 23, 2013

Core issue is that configure created by autogen.sh fails, see opening post. I'm using the upstream configure for fbturbo and probably it need more modification.

I will try it on Raspbian, configure script expected to work in piCore too. BTW if you have configure in hand, you can send it to me, would save few hours.

@ha5di

This comment has been minimized.

Copy link
Author

commented Jan 1, 2014

Now it is up and running in piCore 5.1 with Xorg-7.7, server 1.14.3

Thanks for fbturbo!

Bela

P.S: Issue can be closed.

ssvb added a commit that referenced this issue Jan 12, 2014
Pre-release version bump to 0.4.0
It makes sense to make a formal release. Providing the
pre-generated 'configure' script should make it less
likely for people to mess with autotools and encounter
troubles:

    #28
    #25

Also it's likely that this particular xf86-video-fbturbo
git master snapshot was used in:

    http://www.raspberrypi.org/archives/5580

Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
@ssvb

This comment has been minimized.

Copy link
Owner

commented Jan 13, 2014

OK, thanks. Closing.

@ssvb ssvb closed this Jan 13, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.