摘要: 参考下面的文章制作虚拟机: https://www.aurel32.net/info/debian_mips_qemu.php 阅读全文
posted @ 2019-03-30 12:42 brep 阅读(475) 评论(0) 推荐(0) 编辑
摘要: 1) in terminal: 2) to make it permanently: add this line: 阅读全文
posted @ 2018-05-07 02:22 brep 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 1 make menuconfig 2 make -j4 all 3 make modules_install && install 4 dracut -f /boot/boot/initramfs-xx.xx.xx.img xx.xx.xx 阅读全文
posted @ 2017-09-19 22:01 brep 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 进入 ~/rpmbuild/SOURCES/ 编辑源码 阅读全文
posted @ 2017-09-18 18:50 brep 阅读(883) 评论(0) 推荐(0) 编辑
摘要: 这个寒假准备认真研究一下NanoPC,我的开发环境:开发板:NanoPC-T1宿主机:VirtualBox for Mac,ubuntukylin-15.10-desktop-i386(32位)交叉编译工具:arm-linux-gcc-4.5.1一、硬件原理说明NanoPC上有两个LED,位置如下图... 阅读全文
posted @ 2016-01-15 10:07 brep 阅读(792) 评论(0) 推荐(0) 编辑
摘要: 1,硬件连接2,通过串口连接uboot的方法有三种,cu,minicom和screen。brep@Kylin:~$ cu -l /dev/ttyUSB0 -s 115200cu: open (/dev/ttyUSB0): Permission deniedcu: /dev/ttyUSB0: Line... 阅读全文
posted @ 2016-01-13 16:23 brep 阅读(1084) 评论(0) 推荐(0) 编辑
摘要: 1,测试命令(1) -z 字符串长度为0if [ -z $1 ]then echo "usage: ./test " exit 0fi[ -z string ]用来测试字符串的长度是否为0(2) -b 文件存在,且为块设备(3) -c 文件存在,且为字符设备(4) -f 文件存在,且为普通文件 阅读全文
posted @ 2016-01-13 14:41 brep 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 这个转接头的芯片是 PL2303,在Mac OS X El Capitan下能自动识别出来:在VirtualBox中需要设定一下:用dmesg命令可以看到其设备名为ttyUSB0:brep@kylin:~$ dmesg | grep tty[ 0.000000] console [tty0] ... 阅读全文
posted @ 2016-01-05 00:30 brep 阅读(917) 评论(0) 推荐(0) 编辑
摘要: MRS 与 MSR 指令MRS(Move PSR to general-purpose register)程序状态寄存器(Program Status Register,PSR)中的状态标志读入通用寄存器,MSR(Move general-purpose register to PSR)将标志写入程... 阅读全文
posted @ 2015-07-06 23:21 brep 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 1. 安装 cscopesudo apt-get install cscope2. 生成索引文件cd linux-3.8.13make xxx-configmake cscope3. 配置vim if has("cscope") set csprg=/us... 阅读全文
posted @ 2015-06-14 10:13 brep 阅读(779) 评论(0) 推荐(0) 编辑