beaglebone black从零开始

从http://gnutoolchains.com/beaglebone/下载镜向(不从官方下载是因为这个版本以后的镜像都无法启动,同时方便以后交叉编译)。
使用Win32DiskImager写入内存卡。beaglebone black从零开始_第1张图片
beaglebone black从零开始_第2张图片
usb-ttl线连接。插入内存卡,按住内存卡旁边的按键不放。直到四个灯亮松开。系统启动。出现登陆。默认账户:debian 密码:temppwd

插入360随身wifi连接wifi。根据此教程https://github.com/IntelOpenDesign/MakerNode/wiki/connman:-wifi-configuration

ifconfig查看wifi连接情况。

ssh登陆(我的PC是win10,这个usb转ttl经常会让电脑死机)

下一步例行升级。

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

期间出现dpkg错误。此方法来自https://blog.csdn.net/tnaig/article/details/78497792

sudo mv /var/lib/dpkg/info/ /var/lib/dpkg/info_backup/
sudo mkdir /var/lib/dpkg/info/

安装中文字体

sudo apt-get install ttf-wqy-zenhei

提示空间不足

cd /opt/scripts/tools/
./grow_partition.sh

配置中文

sudo dpkg-reconfigure locales

空格选中ZH_CN.UTF-8

安装中文输入法

sudo apt-get install fcitx  fcitx-module-cloudpinyin fcitx-sunpinyin
sudo reboot

安装qt

    sudo apt-get install qt5-default
    sudo apt-get install qtcreator
    sudo apt-get install qtdeclarative5-dev
    

ssh使用root登陆

nano /etc/ssh/sshd_config

搜索PermitRootLogin
下边加一行

PermitRootLogin yes

保存退出

reboot

你可能感兴趣的:(beaglebone,black)