yuxue 发表于 2016-6-7 14:17:06

cubieboard2 debian x11 gpu 启动失败

本帖最后由 yuxue 于 2016-6-7 14:17 编辑

自己下载根系统 debian7 构建了一个 debian 系统
安装x11
apt-get install x-window-system

Install Mali binary driver
root@debian:~# aptitude install git debhelper dh-autoreconf pkg-config build-essential autoconf automake
root@debian:~# git clone https://github.com/linux-sunxi/libump.gitroot@debian:~# cd libump
root@debian:~# dpkg-buildpackage -b
root@debian:~# dpkg -i ../libump*.deb
root@debian:~# cd ..root@debian:~#
git clone --recursive https://github.com/linux-sunxi/sunxi-mali.git
root@debian:~# cd sunxi-mali
root@debian:~# make config VERSION=r3p2-01rel1 ABI=armhf EGL_TYPE=x11
root@debian:~# make installroot@debian:~# make test

git clone -b 0.4.0 https://github.com/ssvb/xf86-video-fbturbo.git
cd xf86-video-fbturbo
autoreconf -vi
./configure --prefix=/usr
make
make install

rm /usr/share/X11/xorg.conf.d/99-sunxifb.conf
cp xorg.conf /etc/X11/xorg.conf
里面具体的配置 是这样
Section "Device"
      Identifier      "Allwinner A10/A13 FBDEV"
      Driver          "fbturbo"
      Option          "fbdev" "/dev/fb0"
Option"DRI2"             "false"
      Option          "SwapbuffersWait" "true"
EndSection
此时已经可以启动startx 暂时不启动 安装下面的东西



启动 startx在 显示器 界面 可以看到 命令行

然后启动 刚才sunximali 中的test


惊喜 即将出现


Error: eglInitialise failed!

哪位 大侠 能指导一下


页: [1]
查看完整版本: cubieboard2 debian x11 gpu 启动失败