摘要: # aptitude install wpasupplicant# chmod 0600 /etc/network/interfaces# wpa_passphrase myssid mypasswordnetwork={ ssid="myssid" #psk="mypassword" ... 阅读全文
posted @ 2015-01-13 00:01 brep 阅读(1618) 评论(0) 推荐(0) 编辑
摘要: 1,将iso转换为imghdiutil convert -format UDRW -o ~/path/to/target.img ~/path/to/ubuntu.iso2,查看U盘编号diskutil list3,unmount U盘,但不ejectdiskutil unmountDisk /de... 阅读全文
posted @ 2015-01-12 22:06 brep 阅读(284) 评论(0) 推荐(0) 编辑
摘要: PWD := $(shell pwd)MOD_DIR ?= /lib/modules/`uname -r`/buildobj-m += hello.o modules: make -C $(MOD_DIR) M=$(PWD) modulesmodules_install: make -C... 阅读全文
posted @ 2015-01-04 19:55 brep 阅读(169) 评论(0) 推荐(0) 编辑
摘要: sudo apt-get install linux-image-rpi-rpfv linux-headers-rpi-rpfv编辑/boot/config.txt,在末尾加入以下内容:# set parameters for raspbian debian style bootkernel=vml... 阅读全文
posted @ 2015-01-04 19:01 brep 阅读(359) 评论(0) 推荐(0) 编辑
摘要: brep@Mini:~/Downloads/RaspberryPiSoftware$ df -hFilesystem Size Used Avail Capacity iused ifree %iused Mounted on/dev/disk0s2 465Gi 27... 阅读全文
posted @ 2015-01-04 17:55 brep 阅读(373) 评论(0) 推荐(0) 编辑
摘要: * Build uboota) 安装好toolchain (arm-linux-gcc-4.5.1-v6-vfp-20120301.tgz)并设置好 环境变量PATH,保证可以正常使用。b) 解压 uboot_tiny4412-20130729.tgz 并进入相应的目录 tar xzf ub... 阅读全文
posted @ 2014-12-27 17:50 brep 阅读(543) 评论(0) 推荐(0) 编辑
摘要: * 电路分析SN74LVC16T245 是16位双电源总线收发器,可以在两种不同电压的总线间进行转换。Tiny4412采用SN74LVC16T245在CPU与UART之间进行电压转换,CPU的电压为1.8V,而UART为3.3V。UART0(CON1) 和 UART3(CON4) 通过MAX3232... 阅读全文
posted @ 2014-12-27 14:55 brep 阅读(808) 评论(0) 推荐(0) 编辑
摘要: 买无线网卡前没认真研究Linux兼容性的问题,看着水星的mini无线网卡挺好看就买回来了。狗狗了一下才发现Linux不支持这款,得自己搞定驱动。先安装些编译工具:apt-get install build-essential linux-headers make gcc git autoconf下载... 阅读全文
posted @ 2014-02-20 08:21 brep 阅读(5343) 评论(1) 推荐(0) 编辑
摘要: 大体上了解了一下树莓派的启动过程,这篇文章写得比较详细:How the Raspberry Pi bootsupThis is an in-detail account of the Raspberry Pi boot process collected from various sources, mainly from the official forums. First, you need to know the RPi does not boot up like a conventional desktop computer. The VideoCore a.k.a the Graphi 阅读全文
posted @ 2014-02-12 09:27 brep 阅读(2425) 评论(0) 推荐(0) 编辑
摘要: 1,刷入第三方recovery;2,下载 SuperSU,recovery启动安装zip包;3,GMS的安装参考:http://elvisw.com/2012/02/add-googlemobile-service-android/去http://goo.im/gapps下载gapps-jb-20121011-signed.zip 其中的‘jb’应该表示 Jelly Bean。拷贝到SD卡后,recovery启动安装zip包即可。 阅读全文
posted @ 2013-01-24 01:56 brep 阅读(209) 评论(0) 推荐(0) 编辑