ILD

k2t openwrt support 1
2018-10-28
1 编译OpenWrt代码是很早之前下载的具体貌似忘了怎么下的,大致是$ git clone https://git.openwrt.org/openwrt/openwrt.git/$ cd openwrt$ ./scripts/feeds update -a$ ./scripts/feeds in

OpenWrt添加web配置支持
2018-10-29
首先更新feeds安装luci。./scripts/feeds update luci ./scripts/feeds install -a -p luci然后make menuconfig,选中luci->collections->luci。再编译:make 编译出的rootfs就有web页面了

openwrt feeds
2018-10-31
在openwrt里,feeds是packages的集合,这些packages共享一个路径。openwrt可以有多个feeds。feeds可以在远端服务器或者在本地文件系统。可以用的feeds在feeds.conf文件,如果feeds.conf不存在,则是feeds.conf.default文件里配置

feeds internal
2019-5-23
前面的文章已经大致了解了feeds是啥,本文对里面具体的东西进行分析。./scripts/feeds updateupdate分为两个阶段:第一个阶段是下载仓库,对于src-link就是建立一个链接;第二阶段是建立索引;比如对于下述feeds:12$ cat feeds.confsrc-link l

OpenWrt内核模块加载框架
2019-7-8
加载辅助程序:kmodloader。它会解析模块依赖关系,并按照依赖关系加载。要加载的模块: /etc/modules-boot.d/ /etc/etc/modules.d$ cat etc/modules-boot.d/30-gpio-button-hotpluggpio-button-hotpl

OpenWrt源码tar包下载地址
2019-8-7
https://sources.openwrt.org/

dnsmasq添加私有option
2019-10-10
dnsmasq通过-O, --dhcp-option=[tag:,[tag:,]][encap:,][vi-encap:,][vendor:[],][|option:|option6:

netifd hotplug
2019-10-11
netifd,在interface up或down的时候都会通过通用的框架调用hotplug。#define DEFAULT_HOTPLUG_PATH "/sbin/hotplug-call" setenv("ACTION", eventnames[event], 1); sete

openwrt 内核打patch流程
2019-11-2
内核的版本是在每个BOARD的Makefile中指定的,比如IPQ40XX。123$ ls target/linux/ipq40xx/base-files config-4.14 config-4.19 files-4.14 files-4.19 image Makefile patc

openwrt使用external toolchain遇到的问题
2019-11-2
每次重编toolchain是很耗时的,因此编译好一次后,将其提取出来,作为外挂toolchain使用。make menuconfig 配置如下:--- Use external toolchain[ ] Use host's toolchain (arm-openwrt-linux-muslgn

Copyright © linuxdev.cc 2017-2024. Some Rights Reserved.