CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
查看: 5146|回复: 1

cubieboard2 debian x11 gpu 启动失败

[复制链接]
发表于 2016-6-7 14:17:06 | 显示全部楼层 |阅读模式
本帖最后由 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!

哪位 大侠 能指导一下


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|粤ICP备13051116号|cubie.cc---深刻的嵌入式技术讨论社区

GMT+8, 2024-5-4 15:56 , Processed in 0.018960 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部