ipq5018路由器支持
2022-6-13
Qualcomm Innovation Center维护的仓库已经从codeaurora迁移到codelinaro。2022年3月31日起codeaurora不接受任何更新,且将在2023年3月31日删除。https://git.codelinaro.org/explore/ 1 QSDK版本下载1
uboot传递bootargs过程
2022-5-24
这里是arm平台,fit image格式,fit image包含kernel,initramfs,和device tree blob。那uboot的bootargs环境变量是怎么传递给内核的呢?common/cmd_bootm.c do_bootm() -》do_bootm_st
kernel initramfs 加载过程
2022-5-25
对于fit image。包含了kernel, initramfs, dtb。uboot在bootm的时候会调用fdt_initrd()将initramfs的地址start和end设置到device tree的chosen.linux,initrd-start 和 linux,initrd-end。进
Make删除临时文件的问题
2022-5-28
在移植ipq5018的uboot的时候,发现dtb每次读重编。原因是.S和.dtb被删除了,编译日志打印:rm arch/arm/dts/ipq5018-mp02.1.dtb.comb.S arch/arm/dts/ipq5018-mp02.1.dtb还以为是Makefile的rule删除的,搜索了
ipq5018 toolchain编译出的可执行程序出现illegal instruction的问题
2022-6-6
使用crosstool-ng编译的toolchain,开启了vfp:CT_ARCH_FPU="neon-vfpv4"CT_ARCH_FLOAT="hard"编译进入rootfs后,概率性出现illegal instruction,也不知道是啥指令。今天在使用bare metal的时候,也出现了ill
ipq5018移植后reboot最后阶段卡住不能重启问题
2022-5-29
执行reboot后,卡在reboot: Restarting system/ # rebootThe system is going down NOW!Sent SIGTERM to all processesSent SIGKILL to all processesRequesting syste
ipq5018使用soft fp后,仍然出现illegal instruction
2022-6-2
进入rootfs后,执行top命令,一段时间后,仍然出现Illegal instruction。于是开启core dump:# ulimit -c unlimited# echo "/tmp/core-%e-%s-%u-%g-%p-%t" > /proc/sys/kernel/core_patter
并行压缩tar包
2022-6-2
之前直接使用tar命令来生成压缩的tar包,如下:$ tar cJf xxx.tar.xz xxx但是当xxx目录很大时,压缩很慢,因为tar会调用xz等来压缩,是单线程的。如果想多线程压缩,可以将tar输出到标准输出,使用pigz 或者 pixz 压缩。$ tar c crosstool-ipq5
initramfs解压出现corrupt分析
2022-6-8
initramfs开启xz压缩。在启动过程中出现下列日志:[ 2.510114] Initramfs unpacking failed: XZ-compressed data is corrupt可以启动到rootfs,但是rootfs中的/web/wifi.htm损坏。md5 checksu
bridge packet rx flow on 4.4 kernel
2022-6-17
本文分析了桥上包RX处理流程。注意本文是openwrt版本ipq5018 soc的内核,openwrt和高通都可能修改了一些逻辑。1 rx处理函数注册在桥添加接口的函数(net/bridge/br_if.c)中: int br_add_if(struct net_bridge
Copyright © linuxdev.cc 2017-2024. Some Rights Reserved.