树莓派2移植deepin15说明
Tofloor
poster avatar
vopo123
deepin
2016-02-23 19:06
Author

一. 扩展根文件系统
因为默认的jessie系统是4G 卡,根文件系统只有2G,要安装deepin15要进行扩展分区
TF卡请使用16G(class 10)以上型
首先要把原来4G的文件系统,扩展到8-16G。

1.使用raspi-config工具扩展。
2.把装有系统的TF卡,在其他Linux系统下通过图形化的分区工具gparted,把rootfs分区扩展到8-16G.

apt-get install gparted  //安装gparted工具

二. 升级Debian

1. debian sid源设置(先安装vim   apt-get install vim)
用#号注释原有的条目,添加新的条目
$sudo vim  /etc/apt/source.list
deb http://ftp.cn.debian.org/debian sid main non-free contrib

注意:
apt-get update 或者aptitude update出现以下错误:
The following signatures couldn't be verified because the public key is not available: : NO_PUBKEY B5B7720097BB3B58

解决方法(把key换成提示的两个key):
1,从任何一个key server获得缺失的公钥B5B7720097BB3B58。
gpg --keyserver pgp.mit.edu--recv-keys B5B7720097BB3B58
2,导入公钥B5B7720097BB3B58。
gpg -a --export B5B7720097BB3B58 | sudo apt-key add -

2. 更新系统
树莓派目前有两种镜像,但升级前都要求能启动GUI界面。
2015-11-21-raspbian-jessie.img  (4G,图形系统)
图形系统在使用apt-get dist-upgrade升级debian版本时,请先移除相关图形
应用(例如wolfram,编程工具,游戏),否则升级内容很多,有2G左右,网
速不行的话要很长时间。   
2015-11-21-raspbian-jessie-lite.img(1.3G,字符系统)
字符系统的话要安装apt-get install lightdm。
$sudo apt-get install debian-archive-keyring        //安装系统架构包
$sudo apt-get dist-upgrade // 更新系统
这一步骤要根据系统先前安装的软件包进行升级,时间长短不一。
注意:升级后可有能lightdm 不能启动
debian-archive-keyring
没有安装会引起包安装不正确,lightdm  不能启动。
重装
xserver-xorg-video-fbdev

三.  Deepin15系统安装

Deepin15 armhf源设置,source.list 添加以下条目。

$sudo vi /etc/apt/source.list
deb http://packages.deepin.com/armhf unstable main non-free contrib
1. 通过apt安装如下软件包
2.Deepin15需要lightdm1.17以上版本,debian sid 上目前是1.16要手动安装。解压lightdm_deb.tar.gz(http://yun.baidu.com/share/link?shareid=2861477185&uk=3926550526)

$sudo dpkg -i   *.deb

四 . 树莓派相关设置
1.设置语言,键盘
raspi-config可以设置语言zh_CN.UTF-8
修改键盘布局
/etc/default/keyboard
XKBLAYOUT="gb"-->"us"
中文字库:sudo apt-get install ttf-wqy-microhei ttf-wqy-zenhei xfonts-wqy
2.config.txt设置
在boot分区的config.txt文件最后添加以下内容,设置hdmi输出,分辨率,色深
注意:deepin15系统要求显示色深为32位
hdmi_group=2
hdmi_mode=16
hdmi_ignore_edid=0xa5000080
framebuffer_depth=32
framebuffer_ignore_alpha=1


Reply Favorite View the author
All Replies
avatar
xliang9550
deepin
2016-02-24 02:31
#1
Class 10的存储卡早已淘汰多年,现在手里的卡是UHS I起步。
Reply View the author
avatar
shenjing
deepin
2016-02-24 18:29
#2
nice,必须搞来玩玩!
Reply View the author
avatar
HualetWang
deepin
2016-02-24 21:19
#3
看起来不错呀
Reply View the author
avatar
m***o@gmail.com
deepin
2016-02-28 11:29
#4
Please a IMG ISO?
Reply View the author
avatar
wzhy90
deepin
2016-03-01 03:51
#5
还是赶紧把wm开发出vc4驱动的3D支持吧。原来我搞的vc4 drm驱动早就成功了,只是deepin的wm还不支持vc4所以才不能用3d的版本登陆
Reply View the author
avatar
vopo123
deepin
2016-03-01 17:20
#6
https://bbs.deepin.org/post/37403
还是赶紧把wm开发出vc4驱动的3D支持吧。原来我搞的vc4 drm驱动早就成功了,只是deepin的wm还不支持vc4所以 ...

好的,这是个好建议。
Reply View the author
avatar
晨旭~
deepin
2016-03-15 20:15
#7
把做好的img发来玩玩呗→_→
Reply View the author
avatar
vstativ
deepin
2017-01-06 05:34
#8
Hello. Thank you for your statement. But I never got to assemble a system on raspberry pi 3.
more than 10 attempts were unsuccessful. After rebooting the system does not respond.
Please help or someone to get done IMG for raspbery pi 3 and share them through mega.co.nz
Reply View the author
avatar
vstativ
deepin
2017-01-06 12:42
#9
How to fix it?

The following packages have unmet dependencies: deepin-ui : Depends: python-webkit but it is not going to be installed
deepin-wm : Depends: libbamf3-0 (>= 0.2.20) but it is not going to be installed
libdeepin-wm0 : Depends: libbamf3-0 (>= 0.2.20) but it is not going to be installed
python-deepin-utils : Depends: libwebkitgtk-1.0-0 (>= 1.3.10) but it is not going to be installed
                       Depends: python-webkit but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Reply View the author