上一页 1 ··· 60 61 62 63 64 65 66 67 68 ··· 77 下一页
摘要: 1.获取 (记得先安装好git) git clone https://github.com/transcode-open/apt-cyg.git 2.安装apt-cyg cd apt-cyg chmod u+x apt-cyg cp apt-cyg /bin 3.如何使用apt-cyg安装软件 示例 阅读全文
posted @ 2018-11-21 17:17 Jello 阅读(1822) 评论(0) 推荐(0)
摘要: 在cygwin下将firmware_sdcard.bin写入到sd卡中(cygwin需要以管理员身份启动) 1查看sd分区情况 cat /proc/partitions (为了找到sd卡的标记) 2 将数据写入sd卡 dd if=firmware_sdcard.bin of=/dev/sdb (/d 阅读全文
posted @ 2018-11-21 14:57 Jello 阅读(355) 评论(0) 推荐(0)
摘要: jello@jello:~$ ps -A PID TTY TIME CMD 1 ? 00:00:02 systemd 由idle进程(进程号为0的进程,那这里怎么没有进程号为0的进程呢?)创建(也就是常说的init进程),名为systemd(system daemon:系统守护进程),进程ID号为1 阅读全文
posted @ 2018-11-19 22:43 Jello 阅读(2612) 评论(0) 推荐(0)
摘要: 1.获取openwrt源码 git clone https://github.com/openwrt/openwrt.git 2.安装一些库及必备程序: sudo apt-get install libncurses5-dev gawk gcc g++ (gcc和g++的版本需要大于或等于4.8) 阅读全文
posted @ 2018-11-19 21:15 Jello 阅读(3037) 评论(0) 推荐(0)
摘要: 光标定位在第二列第一个字的前面,然后按住Alt键,拖动鼠标,选中第二列字,松开Alt键,点击Delete键即可 阅读全文
posted @ 2018-11-16 10:54 Jello 阅读(1783) 评论(0) 推荐(0)
摘要: $(warnig "需要打印的内容") 阅读全文
posted @ 2018-11-15 17:06 Jello 阅读(1271) 评论(0) 推荐(0)
摘要: 一.背景 1.1 笔者机器的内核错误信息如下: UBIFS error (ubi0:0 pid 1): ubifs_read_superblock: min. I/O unit mismatch: 2048 in superblock, 8 real (逻辑块大小与实际大小不符) 1.2 笔者为ub 阅读全文
posted @ 2018-11-15 11:23 Jello 阅读(2559) 评论(0) 推荐(0)
摘要: 一.分析 要升级openwrt的linux内核版本,关键是要制作内核配置文件 二.内核配置文件制作方法 2.1当前openwrt对应的某个开发板有对应的内核配置文件,比如此时的openwrt的linux内核版本为4.9,而我们要升级到4.14,那么可以直接复制4.9的内核配置文件为4.14 2.2 阅读全文
posted @ 2018-11-12 17:19 Jello 阅读(15864) 评论(0) 推荐(0)
摘要: 1.分析: 既然符号重复了,那么说明有一个部分既被编译到内核中也被编译成模块了,因此在加载模块时,内核报符号重复的提示 2.解决 直接配置内核的某一部分编译成模块,例如笔者就直接将USB这一部分编译成模块即可 阅读全文
posted @ 2018-11-09 16:00 Jello 阅读(4001) 评论(0) 推荐(0)
摘要: 一.背景 1.更改了内核的配置,重新编译了内核 2.未重新编译内核模块 3.板子上只更新了内核,并未更新文件系统 二.分析 发现是在加载内核模块时出现Unknown symbol等信息,恰逢当时只更新了内核未更新根文件系统,因此怀疑与根文件系统有关. 三.解决 编译对应的内核模块,并更新文件系统到板 阅读全文
posted @ 2018-11-08 12:05 Jello 阅读(2131) 评论(0) 推荐(0)
上一页 1 ··· 60 61 62 63 64 65 66 67 68 ··· 77 下一页