上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页
摘要: 问题:浏览器打开csdn时博客浏览不全,没有了排版 解决办法: 1.下载一个安装包 命令:epel-release-7-11.noarch.rpm: epel-release-7-11.noarch 2.yum install firefox 再重新打开浏览器就好了 阅读全文
posted @ 2018-06-27 09:32 edan 阅读(199) 评论(0) 推荐(0)
摘要: 1.安装offic命令 yum install libreoffice.x86_64 阅读全文
posted @ 2018-06-26 16:08 edan 阅读(153) 评论(0) 推荐(0)
摘要: mplayer 安装包的下载路径:https://pan.baidu.com/s/1IFsMF8S5eSFuihgu7YsXLg 密码:fveg 阅读全文
posted @ 2018-06-24 13:32 edan 阅读(1980) 评论(0) 推荐(0)
摘要: 1.问题:在全志方案中如果需要设置上拉或者下拉模式,需要在script.bin(先转换为script.fex)中配置gpio口 如: 但是配置好后是不会生效的,需要写一个驱动来通过读取这个文件的gpio配置来配置相应的寄存器。 代码: 2.Makefile 文件 阅读全文
posted @ 2018-06-15 17:01 edan 阅读(973) 评论(0) 推荐(0)
摘要: 1.vim背景颜色的配置 在usr/share/vim/vim74/colors 目录下有可以配置的颜色方案,可以查看: 命令:vim/etc/vimrc 打开vim的配置文件, 在最后加入一条命令“colorscheme darkblue” 2.当用命令端访问一个文件,想要通过窗口打开当前文件夹, 阅读全文
posted @ 2018-06-14 18:59 edan 阅读(437) 评论(0) 推荐(0)
摘要: #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 9 #define IR_IO GPIOL(11) 10 11 int num = 0; //记录第几位数据 12 int times[80]; //记录第几位数据所占用的时间 us 13 14 voi... 阅读全文
posted @ 2018-06-13 09:45 edan 阅读(692) 评论(0) 推荐(0)
摘要: 此脚本的作用之一是配置GPIO的默认状态: 如:功能,内部电阻状态,驱动能力等。 1.但是直接打开script.bin 文件则会出现乱码,那么我们怎么才可以打开并更改该脚本的配置呢? 在路径uboot_kernel/orangepi_sdk/toolchain/sunxi-tools/目录下找到bi 阅读全文
posted @ 2018-06-11 13:23 edan 阅读(3469) 评论(0) 推荐(0)
摘要: 1.一般的io函数芯片厂商都已经写进内核里了,在内核源码下的source/linux-3.4.112/Documentation/gpio.txt中 如:gpio_request() gpio_direction_input() gpio_set_value() gpio_get_value() g 阅读全文
posted @ 2018-06-05 13:23 edan 阅读(222) 评论(0) 推荐(0)
摘要: 1 1. 关掉防火墙 2 systemctl disable firewalld.service 3 4 5 2. 关掉selinux 6 vim /etc/selinux/config 7 修改第七行: 8 7 SELINUX=disabled 9 10 保存退出后,重启pc 11 12 13 3. 安装nfs 14 ... 阅读全文
posted @ 2018-06-04 13:37 edan 阅读(2225) 评论(0) 推荐(0)
摘要: 1 1. 解包u-boot源码包(u-boot-2016.07) 2 3 4 2. 配置交叉编译器 5 根据内核编译里的步骤配置 6 7 8 3. 编译uboot 9 yum install ncurses* // ncurses是个终端的图形库, 用于配置编译项使用 10 11 make orangepi_linux_def... 阅读全文
posted @ 2018-05-31 18:40 edan 阅读(304) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页