随笔分类 -  Openwrt/LEDE

摘要:答: 这是内存不足导致的,增大内存或者减少运行的线程即可 阅读全文
posted @ 2019-04-29 11:47 Jello 阅读(758) 评论(0) 推荐(0)
摘要:答: 1. 阻止防火墙服务开机自动启动 /etc/init.d/firewall disable 2. 关闭防火墙 /etc/init.d/firewall stop 阅读全文
posted @ 2019-04-28 16:54 Jello 阅读(23067) 评论(0) 推荐(0)
摘要:答:为了避免应用新补丁时出现无法应用的问题 如普通package的补丁refresh: make package/example/refresh V=s 如kernel的补丁refresh: make target/linux/refresh V=s 阅读全文
posted @ 2019-04-23 18:26 Jello 阅读(301) 评论(0) 推荐(0)
摘要:答:在include/kernel-version.mk中 阅读全文
posted @ 2019-04-09 15:23 Jello 阅读(2769) 评论(0) 推荐(0)
摘要:答: 将会使用默认软件包安装方式,相关代码如下 阅读全文
posted @ 2019-04-03 15:21 Jello 阅读(1053) 评论(0) 推荐(0)
摘要:答: 可以往openwrt下添加一些最新的软件包,这样make menuconfig后就可以发现很多软件包了。 该文件中的内容格式如下例: src-git packages https://git.lede-project.org/feed/packages.git 阅读全文
posted @ 2019-04-03 10:29 Jello 阅读(2175) 评论(0) 推荐(0)
摘要:答: include/u-boot.mk 阅读全文
posted @ 2019-03-27 15:12 Jello 阅读(277) 评论(0) 推荐(0)
摘要:解决办法: 更新openwrt的feeds,并重新make menuconfig ./script/feeds update -a ./script/feeds install -a 阅读全文
posted @ 2019-03-25 14:24 Jello 阅读(1328) 评论(0) 推荐(0)
摘要:答: 至2019/3/22,支持两种,一种是glibc,另一种是musl-libc(openwrt默认使用musl-libc) 阅读全文
posted @ 2019-03-22 18:36 Jello 阅读(1517) 评论(0) 推荐(0)
摘要:1. 详细错误信息 [ 11%] Building C object CMakeFiles/fstools.dir/libfstools/overlay.c.o/home/jello/openwrt/build_dir/target-aarch64_generic_glibc/fstools-201 阅读全文
posted @ 2019-03-22 13:46 Jello 阅读(1767) 评论(0) 推荐(0)
摘要:1. 详细错误如下: tools/Makefile:146: recipe for target '/home/jello/openwrt/staging_dir/target-aarch64_generic_glibc/stam$/.tools_compile_yynyyyyynyyyyynyyn 阅读全文
posted @ 2019-03-21 18:10 Jello 阅读(4884) 评论(0) 推荐(0)
摘要:1. 详细报错信息 misc/create_inode.c:399:18: error: conflicting types for 'copy_file_range' static errcode_t copy_file_range(ext2_filsys fs, int fd, ext2_fil 阅读全文
posted @ 2019-03-21 18:07 Jello 阅读(4532) 评论(0) 推荐(0)
摘要:背景: 在openwrt的编译框架下无法正确打上补丁,而单独使用git却可以成功 这个补丁到底与其它补丁有何不同? 该补丁的生成的过程解析: 旧文件:vi 打开旧文件会提示no newline at end of file 在旧文件上的修改: 仅仅在文件的中间添加了一点内容,并没有修改结尾 修改后使 阅读全文
posted @ 2019-02-18 19:48 Jello 阅读(310) 评论(0) 推荐(0)
摘要:答:make package/boot/uboot-<chip series>/compile 阅读全文
posted @ 2019-02-18 12:46 Jello 阅读(3116) 评论(0) 推荐(0)
摘要:答:请看include/image.mk中的以下定义: define Image/mkfs/squashfs $(STAGING_DIR_HOST)/bin/mksquashfs4 $(call mkfs_target_dir,$(1)) $@ \ -nopad -noappend -root-ow 阅读全文
posted @ 2019-02-01 16:59 Jello 阅读(2406) 评论(0) 推荐(0)
摘要:1.MKUBIFS_OPTS的作用 传递参数给mkfs.ubifs 2.MKUBIFS_OPTS传递了哪些参数? 传递了最小输入输出单元大小、逻辑擦除块大小、最大物理擦除块的个数,分别由选项-m、-e、-c来指定 3.BLOCKSIZE的作用 传递物理擦除块的大小给ubinize 4.PAGESIZ 阅读全文
posted @ 2019-02-01 16:51 Jello 阅读(1564) 评论(0) 推荐(0)
摘要:答:使用quilt工具 步骤如下: 1. 配置quilt $cat> ~/.quiltrc <<EOF QUILT_DIFF_ARGS="--no-timestamps --no-index -pab --color=auto" QUILT_REFRESH_ARGS="--no-timestamps 阅读全文
posted @ 2019-02-01 16:41 Jello 阅读(1565) 评论(0) 推荐(0)
摘要:1.错误解析 ubi的EC header中有一个字段data_offset来记录数据偏移,数据偏移必须正确才能正确读取每一个物理擦除块中的数据 2.解决方法 擦除整块flash,然后再重新烧写包含ubi的镜像 阅读全文
posted @ 2019-02-01 14:27 Jello 阅读(790) 评论(0) 推荐(0)
摘要:答:使用openwrt编译系统中编译的ubinize,那么这个工具在哪个目录下?在staging_dir/host/bin目录下 阅读全文
posted @ 2019-01-31 19:33 Jello 阅读(737) 评论(0) 推荐(0)
摘要:1.详细错误报告如下: ubi0 error: validate_ec_hdr: bad VID header offset 256, expected 64 ubi0 error: validate_ec_hdr: bad EC header ubi0 error: ubi_io_read_ec_ 阅读全文
posted @ 2019-01-30 18:14 Jello 阅读(1843) 评论(0) 推荐(0)