ILD

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

ubi & ubifs power cut 场景下数据一致性
2022-4-24
附件中的文档,可以完整的学习ubi和ubifs。但本文重点关注文档中关于 ubi 和 ubifs 的 unclean reboot 和 power cut 场景下的数据一致性。UBI Power-cuts toleranceBoth UBI and UBIFS are designed with t

intel ax201 fedora 无线抓包
2022-4-27
创建一个monitor接口,然后设置抓包的信道,然后使用tcpdump或者wireshark抓包。 但是有些坑,需要解决才可以:1 rfkill# rfkill list0: hci0: Bluetooth Soft blocked: yes Hard bl

ipv6地址获取
2022-5-2
RA中的 prefix information和4个flag,DHCPv6中的IA_NAIPv6 client获得的地址有2种SLAAC和IA_NA(DHCPv6)。SLAAC是通过RA中的前缀得到的,但是RA不能包含DNS Server地址,因此必须通过stateless dhcpv6拿到DNS地

内核编译zImage过大问题
2022-5-12
发现是开启了gzip压缩,没有开启xz压缩导致。gzip压缩,zImage是5M多。开启xz, zImage是3M多。在另外一个机型上,zImage是2兆多。将两个机型都打开debug info。这样好比较.o的大小Compile the kernel with debug infoconfigna

remote gdb bt不显示符号的问题
2022-5-13
远程gdb的时候,打印不出符号:(gdb) target remote 192.168.3.162:1234Remote debugging using 192.168.3.162:1234Reading /tmp/test.bin from remote target...warning: Fil

objdump反汇编二进制文件
2022-5-19
-b binary选项即可,可能还需要-m选项指定架构。因为没有elf header,所以不知道二进制的架构。arm-openwrt-linux-objdump -b binary --adjust-vma=0x44000000 -m arm -D led.bin

ipq5018 uboot go失败的问题
2022-5-29
上传一个bare metal 二进制,使用go跳转执行,出现prefetch abort。日志如下:IPQ5018# tftpboot led.binIPQ5018# go 44000000## Starting application at 0x44000000 ...prefetch abort

ipq5018 bare metal 实现led灯闪烁
2022-5-20
写一个bare metal程序,使用uboot go执行:start.S .text .global _start_start: b mainloop: b loopled.cstruct ipq_timer_platdata { unsigned int gcnt_cntc

ipq5018内核起不来问题调试过程
2022-5-21
最近在移植最新的longterm内核5.15到ipq5018平台。改动是参考QSDK官方内核仓库:https://git.codelinaro.org/clo/qsdk/oss/kernel/linux-ipq-5.4.git分支是origin/NHSS.QSDK.12.1.r3。移植好后,创建一个

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