老林EX

共享是王道
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

CubieTruck翻坑实录

Posted on 2015-05-23 11:43  老林EX  阅读(408)  评论(0编辑  收藏  举报

 1、选好img
暂时发现ct-lubuntu-nand-v2.0这个版本最稳定,是安装在板载的nand里面的
地址:http://dl.cubieboard.org/software/a20-cubietruck/lubuntu/ct-lubuntu-nand-v2.0/server/
2、更改显示输出为VGA
系统默认输出是HDMI,如需更改为VGA,参考以下步骤
(1)挂载nanda 
#mount /dev/nanda /mnt 
(2)将script.bin文件转换为fex

# cd /mnt 

# bin2fex script.bin script.fex  
#vi script.fex 
(3)更改显示输出,保存文件
将screen0_output_type = 3改成4(4就是VGA)
(4)保存重启
#fex2bin script.fex script.bin

#sync //把内存中的修改写入磁盘中 

#reboot
3、无线网卡问题
在修改/etc/modules文件,在新一行中加入bcmdhd(即增加无线网卡的开机加载)
4、拔掉网线导致无线网卡无法使用
将/etc/network/interfaces文件里无线和有线配置的位置交换,让无线的配置放在前面
以下是文件内容 

auto wlan0
iface wlan0 inet dhcp
pre-up ip link set wlan0 up
pre-up iwconfig wlan0 essid your-ssid
wpa-ssid your-ssid
wpa-psk your-psk

auto lo eth0
iface lo inet loopback
iface eth0 inet dhcp