上一页 1 ··· 58 59 60 61 62 63 64 65 66 ··· 77 下一页
摘要: 答:笔者遇到的这种情况是由于分区表未与nor flash的物理擦除块边界对齐而导致的,因此调整分区表即可解决此问题 阅读全文
posted @ 2018-12-07 17:46 Jello 阅读(668) 评论(0) 推荐(0)
摘要: 1.注意:内核源码版本为4.9 2.首先注意关键字符串"partitions found on MTD device 这句话在drivers/mtd/mtdpart.c的parse_mtd_partitions()中出现 3.mtd_device_parse_register()调用了parse_m 阅读全文
posted @ 2018-12-07 16:26 Jello 阅读(1323) 评论(0) 推荐(0)
摘要: 注意内核版本为4.9 在drivers/mtd/ubi/debug.h中加入DEBUG的定义,如下 #ifndef __UBI_DEBUG_H__#define __UBI_DEBUG_H__#define DEBUG 1 (新增)void ubi_dump_flash(struct ubi_dev 阅读全文
posted @ 2018-12-07 14:39 Jello 阅读(626) 评论(0) 推荐(0)
摘要: 比如要打开某个驱动中的dev_dbg,那么需要在驱动文件.c中这些行"<linux/device.h>"或者"<linux /platfom_device.h>"(device.h包含platform_device.h)之前定义DEBUG 如:drivers/mtd/spi-nor/spi-nor. 阅读全文
posted @ 2018-12-07 13:37 Jello 阅读(3386) 评论(0) 推荐(0)
摘要: 答案:修改内核文件include/linux/printk.h (内核版本为4.9) 修改前 #define CONSOLE_LOGLEVEL_DEFAULT 7 /* anything MORE serious than KERN_DEBUG */ 修改后 #define CONSOLE_LOGL 阅读全文
posted @ 2018-12-07 13:21 Jello 阅读(2309) 评论(0) 推荐(0)
摘要: 答案:在bootargs中加入loglevel=8即可(在进入linux的过程中会输出任何log信息) 阅读全文
posted @ 2018-12-07 12:40 Jello 阅读(1198) 评论(0) 推荐(0)
摘要: 分析:出现此错误的原因是redis版本过高导致的,因此降低redis版本即可 解决: pip install -U redis==2.10.6 阅读全文
posted @ 2018-12-06 20:23 Jello 阅读(3348) 评论(0) 推荐(0)
摘要: seek=N : 跳过N个输出块 skip=N : 跳过N个输入块 注意:sd卡的每个扇区的大小统一为512个字节 阅读全文
posted @ 2018-12-04 18:46 Jello 阅读(416) 评论(0) 推荐(0)
摘要: 1.答: expr 2. expr的用法: jello=$(expr 1 \* 3) //乘法,注意1和expr之间有空格,1与转换符\之间有空格,3和*之间有空格 jello=$(expr 1 / 3) // 除法,注意空格 jello=$(expr 1 + 3) //加法,注意空格 jello= 阅读全文
posted @ 2018-12-04 17:45 Jello 阅读(294) 评论(0) 推荐(0)
摘要: 1.获取最新包 ./scripts/feeds update -a 2.安装包 ./scripts/feeds install -a 3.配置 make menuconfig 4.编译 make -j10 V=s V=s: 表示输出编译过程中的信息 -j10: 以10个线程并行编译,加快编译速度 阅读全文
posted @ 2018-12-04 12:09 Jello 阅读(913) 评论(0) 推荐(0)
上一页 1 ··· 58 59 60 61 62 63 64 65 66 ··· 77 下一页