自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(203)
  • 资源 (16)
  • 收藏
  • 关注

原创 docker 常用命令

docker 常用命令

2024-03-20 14:51:33 426

原创 riscv 栈空间静态分析

分析riscv架构的裸机代码中最大栈空间。

2024-03-07 16:57:49 879

原创 awk与shell传递参数

awk与shell传递变量

2023-12-08 16:33:25 498

原创 gitlab利用CI多工程持续构建

gitlab downstream pipeline CI配置文件

2023-11-20 22:45:35 968

原创 ubuntu 火焰图脚本

perf采集脚本,与火焰图生成脚本

2023-11-09 11:05:01 582

原创 centos7 装机遇到的问题

centos7 U盘启动装机注意事项

2023-09-18 16:30:04 150

原创 PCIe基础概念

pcie 重要基础概念

2023-09-12 16:47:30 235

原创 uprobe trace多线程mutex等待耗时

使用uprobe来trace多线程主程序等待在mutex上的耗时

2023-08-11 17:18:03 236

原创 riscv load/store address misalign exception

riscv misalign address access

2023-07-10 23:17:40 557

原创 nvidia显卡主机装机ubuntu2004黑屏

ubuntu2004装机

2023-07-06 23:27:01 62

原创 linux version magic

busybox 1.36仍然没有支持 IGNORE只能关闭。finit_module flags会带IGNORE。

2023-06-21 16:18:42 127

翻译 ubuntu限制syslog文件大小

限制syslog文件大小

2023-06-20 11:46:51 1595

原创 linux 配置物理内存

arm32 linux物理内存配置

2023-05-11 00:22:33 618 1

原创 平台设备框架的字符设备驱动

基于平台设备和dts的char设备驱动

2023-05-04 00:24:41 125

原创 vmware 自动备份

自动保护功能设置界面如图,可以自己设置自动保护的周期。例如,如果您设置自动保护功能每小时拍摄快照,并在 5 分钟后将虚拟机关机,那么下次自动保护快照将在虚拟机重新开机 55 分钟后进行,而不考虑虚拟机关机的时间长度。达到最大自动保护快照数后, Workstation Pro 每次拍摄新的自动保护快照时会删除最早的自动保护快照。保存好的快照会在管理器里看到线性的图,如果想要到恢复到某一个时候的快照,只需双击即可,恢复快照之后,线性图该快照后面的快照节点都会丢失,所以恢复的时候还是要谨慎点。

2023-03-29 20:01:08 854

原创 linux spi 驱动

spi controler与slave的初始化过程

2023-03-12 22:57:05 726

原创 linux nfs 配置

linux 板子通过nfs与ubuntu1804虚拟机传输文件

2023-02-23 22:28:07 505

原创 linux Console输入输出

uart console

2023-02-17 21:26:26 2629

原创 C语言define 进制数

define 进制数

2023-02-15 16:40:17 386

原创 ARM 异常返回地址

armv7与armv8异常返回地址的correction

2022-12-14 01:33:06 443

原创 arm64 虚拟地址物理地址转换

aarch64 pagetable walk 物理地址与虚拟地址转换

2022-11-11 16:16:08 1235

原创 linux elf 格式详解

linux elf格式与程序的链接和加载过程

2022-09-02 23:06:56 2015

原创 armv7 tlb 概述

armv7上下文切换的tlb flush的时候为了减少开销,tlb 会有延迟刷新 lru 替换策略

2022-03-16 00:59:47 608

原创 jenkins repo代码管理配置

jenkins

2022-03-09 11:37:51 2546 1

原创 V4L2 ioctl说明

v4l2 ioctl 说明

2022-01-18 00:07:52 482

原创 交叉编译aarch64 strace

https://download.csdn.net/download/shenhuxi_yu/75552450http://资源链接1. ./bootstrap2. sudo apt-get install gcc-4.9-aarch64-linux-gnu3. sudo apt-get install g++-4.9-aarch64-linux-gnu4. ./configure CC=aarch64-linux-gnu-gcc-4.9 --target=aarch64-linux-gnu --ho

2022-01-12 19:27:50 255

原创 zephyr 调度时机

Threads — Zephyr Project Documentationhttps://docs.zephyrproject.org/latest/reference/kernel/threads/index.html?highlight=preemptive#thread-prioritiesScheduling — Zephyr Project Documentationhttps://docs.zephyrproject.org/latest/reference/kernel/scheduling

2021-12-17 15:43:22 370

原创 linux mem overcommit

linux overcommit 机制会欺骗进程,承诺分配给他的内存空间,只有当这些page被真正touch到的时候才通过缺页机制拿到真正的物理内存。以下摘自kernel docThe Linux kernel supports the following overcommit handling modes0 - Heuristic overcommit handling. Obvious overcommits of address space are refused. Used fo.

2021-11-03 10:17:12 206

原创 libc 获取文件/文件夹/存储设备 size

libc获取文件大小用stat系统调用即可strcut statst_size代表文件sizest_mode文件类型与文件权限#include <sys/stat.h>DESCRIPTIONThe <sys/stat.h> header shall define the structure of the data returned by the functions fstat(), lstat(), and stat().The stat structu.

2021-11-01 20:29:16 408

原创 repo sync后discard commit找回

repo sync -c拉的代码没有创建branch, git push的时候无法push所以repo sync .了一下,commit 被丢弃了从网上查找到方法git refloggit reflog 是存储在本地的一份你所有HEAD(不同branch)操作序列。与git log区别,git log则是你当前branch的提交历史b1693cd HEAD@{0}: commit: ver 7 fix eeprom access errora2c0663 HEAD@{1}: comm

2021-11-01 16:01:11 954

原创 protobuf 文档

c++ protobuf 使用教程protocol-buffers c++ tutorialhttps://developers.google.com/protocol-buffers/docs/cpptutorialc++ protoc编译器安装protoc installProtocol Buffers - Google's data interchange format - protobuf/README.md at master · protocolbuffers/protobufhttps://g

2021-10-27 22:16:40 311

原创 视频信号AHD信号解析

https://www.maximintegrated.com/en/design/technical-documents/tutorials/7/734.html​​​​​​​m​​​​​​​m以上链接中有解释一些模拟视频信号基本概念顺序扫描与交叉扫描TV line与分辨率的区别BT601 BT656 区别摄像头接口MIPI DVP常见视频信号AHD波形解析Color Burst 与 ...

2021-10-15 16:24:26 8780

原创 H264视频编解码基础概念

码率×时长=视频size分辨率×bit深度×色彩模式×帧率×时长=yuv视频size

2021-09-20 14:12:19 125

原创 linux socket can code flow

read(socket_fd)[ 809.672693] [<c0648c64>] (__skb_wait_for_more_packets) from [<c0649d0c>] (__skb_recv_datagram+0x8c/0xa0)[ 809.672714] [<c0649d0c>] (__skb_recv_datagram) from [&...

2021-04-26 11:47:20 708

原创 linux uart hw flowcontrl

aarch32 linux4.19基本处理流程如下cts的状态改变的中断使能,发生cts assert,uart中断更新uart port的状态位hw_stoppped 且停止发送,cts状态转变位deassert时状态恢复重新开始发送cts assert 底层停止发送的方式是关闭TXfifo empty中断(the TxFIFO Empty interrupt to alert the software to fill-up the TxFIFO again),uart port 停止发送,s

2021-04-17 15:42:24 430

转载 ARM: How to Write a Bootloader

ARM: How to Write a BootloaderInformation in this knowledgebase article applies to:Keil MDK armcc or armclangQUESTIONHow can I write a bootloader correctly?ANSWERA bootloader is a piece of code which allows user application code to be updated.

2021-02-27 16:47:56 309

翻译 scala 类与对象的区别

class C defines a class, just as in Java or C++.object O creates a singleton object O as instance of some anonymous class; it can be used to hold static members that are not associated with instances of some class.object O extends T makes the object O a.

2021-01-21 16:22:42 182

原创 mill 编译scala No main class specified or found

scala mill ubuntu 编译helloworldhttps://mikeperry.io/posts/mill-scala/LAPTOP-FN2M7AS9:~/proj/scala$ ./mill hello.compile[10/27] hello.resourcesLAPTOP-FN2M7AS9:~/proj/scala$ ./mill hello.runhello.finalMainClass No main class specified or foundLAPTOP

2021-01-15 00:32:31 634

原创 find 删除某个文件之外的文件

find /tmp/ -path "/tmp/mm/tt" -prune -o -type f -print -exec rm {} \;BusyBox v1.29.0.git (2018-09-29 12:01:19 CST) multi-call binary.Usage: find [-HL] [PATH]... [OPTIONS] [ACTIONS]Search for files and perform actions on them.First failed action ..

2021-01-08 11:01:40 435

原创 arm linux iperf 局域网测速

aarch32 linux 4.14iperf 百科描述: Iperf 是一个网络性能测试工具。Iperf可以测试最大TCP和UDP带宽性能,具有多种参数和UDP特性,可以根据需要调整,可以报告带宽、延迟抖动和数据包丢失服务端启动服务,作为server:sudo apt-get install iperfiperf -s -i 2每两秒间隔输出测试结果客户端启动服务,作为client:获取iperf source code https://sourceforge.net/project

2020-12-24 11:14:38 826

火焰图采集脚本与图形化工具

perf record采集脚本,包括oncpu与offcpu; 采集脚本博客链接 https://mp.csdn.net/mp_blog/creation/success/134306452 perf采集的数据生成火焰图图形化工具源码;

2023-11-09

strace_source_code.tar.gz

strace 源码与aarch64-linux-gnu编译srtace bin

2022-01-12

protobuf_test.tar.gz

protobuf 官方示例程序,已编译完成

2021-10-28

iperf arm linux 网络测速

armv7交叉编译版,测试arm soc的网口速度,pc上直接安装sudo aptget install iperf 服务端,板子上运行iperf 客户端

2020-12-24

arm linux smemcap tool

smemcap 是arm v7 嵌入式环境用来cap smaps ,capture的资料在pc 端用smem 分析

2020-12-10

linux_armv7_cross_wifi_tools.tar.gz

armv7 linux 交叉编译 wifi 工具,包括 hostapd wpa_cli wpa_supplicant dnsmasq和他们依赖的一些库libnl libssl libcrypto libnl-gen

2020-12-01

linux procps 源代码

板子默认的top命令来自busybox,对优先级的显示不够,此源代码用来交叉编译在arm板子上是用top 等命令

2020-09-27

交叉编译arm-linux-gnueabihf-gdb

arm-linux-gnueabihf-gdb 交叉编译版本,无需gdbserver,直接下载到板子里运行

2020-04-21

can-utils-master.zip

candump cansend 源码从github下载,想写一个程序能够做到向candump一样的抓发送和接收的can包

2020-01-14

device-tree-compiler_1.4.7-3ubuntu2_amd64.deb

下载后ubuntu 终端安装命令:dpkg -i device-tree-compiler_1.4.7-3ubuntu2_amd64.deb 直接安装,外网下载太慢上传备用

2019-11-24

busybox-1.30.0.tar.bz2

外网下载好慢,上传一个,tar -xjf busybox-1.30.0.tar.bz2 后"交叉静态"编译后scp到arm linux板子上面跑

2019-11-24

百度网盘提取码.txt

Visual Paradigm 社区免费版,国外官网下载速度太慢,正式版需要memory,官方免费版

2019-08-29

嵌入式协议栈uip源码

uip嵌入式网络协议栈,源码下载,版本uip 1.0,格式zip,开源代码分享希望对学习嵌入式网络协议栈的同学有帮助

2015-11-24

嵌入式网络那些事

嵌入式网络那些事 LwIP协议详细剖析和实战演练 朱升林 中文版

2015-05-10

ucosii 杨宗德 随书源码

ucosii标准教程 杨宗德编著 随书源代码 分享

2014-06-27

TCP_FILE_TRAN

解决了SOCKET传送文件时的粘包和半包的问题,C语言编写,多线程技术. 传输的文件的路径是固定的F:/test.jpg,接收为F:/recv.jpg,路径和文件可以修改

2014-05-30

基于RSA的数字签名

本科生毕业论文,关于数字签名技术房产证信息上的应用。

2013-04-24

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除