ILD

dnsmasq学习
2022-4-21
Descriptiondnsmasq是一个轻量化的DNS, TFTP, PXE, Router advertisement 和 DHCP server。用来向LAN侧提供DNS和DHCP服务。dnsmasq还支持DHCPv6 Server,还支持router advertisements.dnsma

openwrt uloop 学习
2022-8-16
uloop是openwrt的一个事件库,由libubox包提供,使用时需要链接libubox.so。libubox除了提供uloop还提供avl,blob等功能。uloop头文件:libubox/uloop.huloop源码:uloop.c uloop-epoll.culoop的运行数据都存储在共享

openwrt ubus 学习
2022-8-18
ubus是openwrt平台的RPC机制,它包含3个部分:libubus,ubus,ubusd。ubus是中心服务型,ubusd负责客户端和服务端的消息转发。 client <-> ubusd <-> serverubus是命令行客户端。libubus是ubus的c库,可以实现客户端和服务端。

openwrt blob & blobmsg & blobmsg json学习
2023-3-22
openwrt的ubus进程间通信等使用blob & blobmsg格式封装,blob & blobmsg 由libubox库提供。blobmsg json有ubox包的libblobmsg_json库提供,它提供了从json字符串转换blobmsg的支持等。libubox/blob.hThis p

openwrt app crash gdb debug method
2023-7-4
openwrt平台用户态进程非法内存访问奔溃了,如何使用gdb定位到代码行呢?1 使用-g选项编译程序,开启内核core dump支持,运行程序,并使程序奔溃,将core文件拷贝出来$ cd /tmp$ ulimit -c unlimited$ echo "/tmp/core-%e-%s-%

openwrt procd看门狗饿死问题分析
2023-8-29
最近在稳定性挂机的时候,单台设备,连接70+无线终端,进行直播播放,挂机2天,出现看门狗重启。[20230826_20:52:09_155]: [263114.367975] Watchdog bark! Now = 263114.367962[20230826_20:52:09_155]:

openwrt进程奔溃在共享库调试
2024-3-18
openwrt开发一个进程,调用curl共享库,崩溃了,gdb了一下,bt显示崩溃在libcurl.so中,但是没有打印函数名,打印的是 ??应该是共享库被strip了,没有调试信息,进到curl的编译目录:$ cd build_dir/target-arm-openwrt-linux-muslgn

openwrt gdb coredump rootfs
2024-7-8
openwrt进程异常崩溃,产生coredump,使用gdb分析,应该使用带调试的rootfs,而不是build_dir下的: build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-ipq53xx/应该使用:staging_dir/targ

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