摘要:        
参考: ffmpeg:提取音视频、合并音视频 ffmpeg音视频合并拆分压缩 比如: $ ffmpeg -i 九品芝麻官.BD.720p.国粤双语中字.mkv ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg dev    
阅读全文
 
 
        
        posted @ 2021-11-04 17:42
dolinux
阅读(263)
推荐(0)
        
 
		
    
        
        
摘要:        
kdump文档 https://www.kernel.org/doc/Documentation/kdump/ https://www.kernel.org/doc/html/latest/admin-guide/kdump/kdump.html Linux Kdump 机制详解 如何在Ubuntu    
阅读全文
 
 
        
        posted @ 2021-10-17 13:11
dolinux
阅读(1049)
推荐(0)
        
 
		
    
        
        
摘要:        
8086 (实模式) 通用寄存器:AX、BX、CX、DX、SI、DI、BP和SP,此外前4个寄存器可以分成高8位和低8位来访问,AH、AL、BH、BL、CH、CL以及DH、DL 4个16位的段寄存器:CS、DS、SS、ES,其中CS存放指令的段地址,DS和ES存放数据的段地址,默认是DS,要使用ES    
阅读全文
 
 
        
        posted @ 2021-10-12 10:30
dolinux
阅读(275)
推荐(0)
        
 
		
    
        
        
摘要:        
https://plantuml.com/zh/ PlantUML,让你知道什么才是高效绘制流程图 在写文档的过程中,经常需要进行画图。虽然说现在有很多类似viso之类的可视化画图工具,但是还是要花费大量时间在拖拉组件上,效率十分低下。最近在网上找到了一款还算不错的绘图工具-- Plantuml,     
阅读全文
 
 
        
        posted @ 2021-10-10 16:36
dolinux
阅读(153)
推荐(0)
        
 
		
    
        
        
摘要:        
转载:https://stackoverflow.com/questions/21593/what-is-the-difference-between-include-filename-and-include-filename 这是一个很基础的问题,但是网上的很多资料上并没有解释清楚,下面是从Sta    
阅读全文
 
 
        
        posted @ 2021-09-29 09:25
dolinux
阅读(1348)
推荐(0)
        
 
		
    
        
        
摘要:        
# 技术博客 - https://blogs.oracle.com/search.html?q=qemu - [qemu-kvm部分流程/源代码分析2](http://bbs.chinaunix.net/thread-4073948-1-1.html "qemu-kvm部分流程/源代码分析2") -    
阅读全文
 
 
        
        posted @ 2021-09-26 18:35
dolinux
阅读(472)
推荐(0)
        
 
		
    
        
        
摘要:        
综合 Linux 内核揭秘 Linux 内核教学 https://linux-kernel-labs.github.io/ linux-source-code-analyze https://www.cnblogs.com/LoyenWang/ https://github.com/0voice/k    
阅读全文
 
 
        
        posted @ 2021-08-22 20:43
dolinux
阅读(1044)
推荐(0)
        
            
        
        
摘要:        
参考 Linker Script in Linux (3.1.1 Exception Table) Linux异常表 linux Oops和Panic关系 5. Kernel level exception handling 环境 ARM64 Linux-5.8 场景 用户通过系统调用给内核传递了一    
阅读全文
 
 
        
        posted @ 2021-08-22 19:29
dolinux
阅读(1489)
推荐(2)
        
            
        
        
摘要:        
安装如下软件包: sudo apt install kmod    
阅读全文
 
 
        
        posted @ 2021-08-22 15:12
dolinux
阅读(276)
推荐(0)
        
 
		
    
        
        
摘要:        
参考 https://www.minix3.org/ https://github.com/Stichting-MINIX-Research-Foundation/minix https://wiki.minix3.org/doku.php?id=developersguide:minixonarm    
阅读全文
 
 
        
        posted @ 2021-08-19 16:13
dolinux
阅读(740)
推荐(0)
        
 
		
    
        
        
摘要:        
常见的linux内核线程: 线程名称 作用 数量 触发方式 kcompactd 用于内存规整 每个内存结点会创建一个,kcompacted0、kconmactd1    
阅读全文
 
 
        
        posted @ 2021-07-31 06:49
dolinux
阅读(308)
推荐(0)
        
 
		
    
        
        
摘要:        
下面是学习程序的运行时环境的一些资料: 《程序员的自我修养——链接、装载与库》 vdso 可以查看man手册:man vdso 可以通过LD_SHOW_AUXV=1 sleep 1查看程序启动时AUXV中的参数 aux 查看man手册:man getauxval 《深入理解Linux内核》第二十章:    
阅读全文
 
 
        
        posted @ 2021-07-24 18:17
dolinux
阅读(169)
推荐(0)
        
 
		
    
        
        
摘要:        
使用文档: https://gef.readthedocs.io/en/master/ https://azeria-labs.com/process-memory-and-memory-corruption/ 下载: https://github.com/hugsy/gef    
阅读全文
 
 
        
        posted @ 2021-07-17 16:11
dolinux
阅读(189)
推荐(0)
        
 
		
    
        
        
摘要:        
用Qemu模拟一个下面的Numa架构: 启动命令如下: #!/bin/bash QEMU=qemu-system-aarch64 sudo $QEMU\ -M virt,gic-version=3,virtualization=on,type=virt \ -cpu cortex-a57 -nogr    
阅读全文
 
 
        
        posted @ 2021-07-14 14:01
dolinux
阅读(1033)
推荐(0)
        
 
		
    
        
        
摘要:        
使用qemu模拟一个运行ubuntu20.04的aarch64位的开发板,使用nat网络,然后通过端口映射的方式在host上使用ssh登录开发板。 #!/bin/bash QEMU=qemu-system-aarch64 sudo $QEMU\ -M virt,gic-version=3,virtu    
阅读全文
 
 
        
        posted @ 2021-07-12 18:04
dolinux
阅读(846)
推荐(0)
        
 
		
    
        
        
摘要:        
高清古籍 书格: https://new.shuge.org 鸠摩搜书 https://www.jiumodiary.com/ 书单网: https://www.shudan.vip/ 走读派: http://www.zoudupai.com/ 云海电子图书馆: http://www.pdfbook    
阅读全文
 
 
        
        posted @ 2021-07-04 08:12
dolinux
阅读(650)
推荐(0)
        
 
		
    
        
        
摘要:        
https://www.it1352.com/1873377.html #!/bin/sh if [ -n "$TMUX" ]; then case "$1" in prod_*) tmux selectp -P bg=red ;; esac fi ssh "$@" tmux selectp -P     
阅读全文
 
 
        
        posted @ 2021-07-03 00:45
dolinux
阅读(163)
推荐(0)
        
            
        
        
摘要:        
参考: https://kb.synology.com/en-ph/DSM/help/Docker/docker_network?version=6 https://stackoverflow.com/questions/33101603/send-a-wake-on-lan-packet-from    
阅读全文
 
 
        
        posted @ 2021-07-03 00:11
dolinux
阅读(647)
推荐(0)
        
 
		
    
        
        
摘要:        
目录开发板 ALINX_AXU2CGBWiki教程B站与非网技术博客寄存器手册环境搭建照片正面反面 开发板 ALINX_AXU2CGB https://www.alinx.com/detail/491 入门级xilinx Ultrascale MPSOC FPGA开发板推荐 测评 选型 Wiki X    
阅读全文
 
 
        
        posted @ 2021-01-10 10:19
dolinux
阅读(560)
推荐(0)
        
 
		
    
        
        
摘要:        
使用MobaXterm连接远程服务器,在vim中开启两个窗口,发现按ctrl-h无法切到左边的窗口,解决办法: 进入Terminal settings后,取消Backspace send ^H左边的复选框。    
阅读全文
 
 
        
        posted @ 2021-01-07 18:50
dolinux
阅读(1211)
推荐(0)
        
 
		
    
        
        
摘要:        
参考: https://makelinux.github.io/kernel/map/ https://www.cnblogs.com/xuxinkun/p/5541894.html https://www.cnblogs.com/zhengchunyuan/p/9639245.html https    
阅读全文
 
 
        
        posted @ 2020-12-30 17:32
dolinux
阅读(1063)
推荐(0)
        
 
		
    
        
        
摘要:        
来源:https://developer.arm.com/architectures/learn-the-architecture/aarch64-virtualization/single-page Overview This guide describes the virtualization     
阅读全文
 
 
        
        posted @ 2020-12-06 09:27
dolinux
阅读(2254)
推荐(0)
        
 
		
    
        
        
摘要:        
参考资料: Linux虚拟化KVM-Qemu分析(一) Linux虚拟化KVM-Qemu分析(二)之ARMv8虚拟化 Linux虚拟化KVM-Qemu分析(三)之KVM源码(1) Linux虚拟化KVM-Qemu分析(四)之CPU虚拟化(2) Linux虚拟化KVM-Qemu分析(五)之内存虚拟化     
阅读全文
 
 
        
        posted @ 2020-12-03 23:17
dolinux
阅读(2032)
推荐(0)
        
 
		
    
        
        
摘要:        
在没有aarch64架构的开发板的情况下,可以使用Qemu来模拟一个支持KVM的AArch64位的host,然后再在其上运行一个开启KVM加速的Qemu虚拟机,如下图所示: 软件版本如下: 1: x86_64上运行的是ubuntu20.04 2:qemu版本是5.1.0,ubuntu16.04,内核    
阅读全文
 
 
        
        posted @ 2020-11-28 17:09
dolinux
阅读(6471)
推荐(1)
        
            
        
        
摘要:        
参考:https://blog.csdn.net/kvpp0307/article/details/106576131/ 修改网络配置文件: sudo vi /etc/netplan/01-network-manager-all.yaml 按照下面的格式进行修改 network: version:     
阅读全文
 
 
        
        posted @ 2020-11-28 12:10
dolinux
阅读(3382)
推荐(0)
        
 
		
    
        
        
摘要:        
参考文档: Armv8-A memory model guide.pdf    
阅读全文
 
 
        
        posted @ 2020-11-20 10:03
dolinux
阅读(361)
推荐(0)
        
 
		
    
        
        
摘要:        
打开磁盘: 方法一: 单击后: 方法二: 单击后: 此外,这种方法还可以查看扩展分区表,比如上面的分区2是扩展分区中的第一个逻辑分区,查看分区表的方法如下: 单击后: 完。    
阅读全文
 
 
        
        posted @ 2020-10-15 11:45
dolinux
阅读(4319)
推荐(1)
        
 
		
    
        
        
摘要:        
在线:https://developer.gnome.org/glib/stable/index.html 离线:https://developer.gnome.org/glib/ GLib provides the core application building blocks for libr    
阅读全文
 
 
        
        posted @ 2020-08-22 21:36
dolinux
阅读(649)
推荐(0)
        
 
		
    
        
        
摘要:        
对于ARM32架构,函数调用时前4个参数用通用寄存器(R0~3),剩余的用栈。对于ARM64架构,函数调用时前8个参数用通用寄存器(R0~7),剩余的通过栈。 测试程序: 1 #include <stdio.h> 2 3 int func(int a, int b, int c, int *e, i    
阅读全文
 
 
        
        posted @ 2020-08-02 23:05
dolinux
阅读(3425)
推荐(0)
        
 
		
    
        
        
摘要:        
参考: 网络唤醒(WOL)全解指南:原理篇 Linux下查看网卡支持远程开机(wol) 如何在戴尔系统上设置 LAN 唤醒 (WOL) 向日葵开机棒使用流程 群晖NAS入门教程第十节:开启网络唤醒,硬盘休眠和开关机计划,ups不间断电源简单介绍 Linux系统通过Wake On/From LAN实现    
阅读全文
 
 
        
        posted @ 2020-07-31 22:54
dolinux
阅读(1600)
推荐(0)
        
 
		
    
        
        
摘要:        
参考: https://segmentfault.com/a/1190000020593208 https://www.cnblogs.com/zzhaolei/p/11063345.html https://docs.gitlab.com/runner/configuration/advanced    
阅读全文
 
 
        
        posted @ 2020-06-21 10:12
dolinux
阅读(805)
推荐(0)
        
 
		
    
        
        
摘要:        
参考:https://www.runoob.com/docker/docker-container-usage.html 问题描述 安装完docker后,执行docker相关命令,出现: ”Got permission denied while trying to connect to the Do    
阅读全文
 
 
        
        posted @ 2020-06-19 10:20
dolinux
阅读(1052)
推荐(0)
        
 
		
    
        
        
摘要:        
在MiniGUI官网提供了编译方法:http://www.minigui.com/blog/quick-start 编译5.0和4.0的方法类似,这两个版本的下载链接分别是https://github.com/VincentWei/build-minigui-5.0和https://github.c    
阅读全文
 
 
        
        posted @ 2020-06-07 00:12
dolinux
阅读(1845)
推荐(1)
        
 
		
    
        
        
摘要:        
参考 https://www.kernel.org/doc/html/latest/doc-guide/sphinx.html 步骤 安装依赖 ./scripts/sphinx-pre-install 建立隔离环境 $ virtualenv sphinx_latest $ . sphinx_late    
阅读全文
 
 
        
        posted @ 2020-05-16 15:59
dolinux
阅读(548)
推荐(0)
        
 
		
    
        
        
摘要:        
环境 Qemu 4.1 vexpress-ca9 参考 Using the initial RAM disk (initrd) pivot_root - change the root filesystem 概述 为了减小linux内核的大小,可以把一些外设驱动编译成内核模块,但是在启动ubuntu    
阅读全文
 
 
        
        posted @ 2020-05-10 00:15
dolinux
阅读(2077)
推荐(0)
        
 
		
    
        
        
摘要:        
在使用Linux内核提供的打印函数时,使用“%p”可以实现很多额外的效果,对于我们调试内核代码也有一定帮助。 比如当我们看到函数指针变量,想获取这个函数指针对应的是哪个函数,可以使用“%pF”,示例: 1 #include <linux/init.h> 2 #include <linux/modul    
阅读全文
 
 
        
        posted @ 2020-04-30 23:21
dolinux
阅读(1815)
推荐(0)
        
 
		
    
        
        
摘要:        
原文: https://developer.arm.com/docs/321493627/10/how-do-i-handle-non-secure-group-1-interrupts-when-a-core-runs-at-secure-el1 How do I handle Non-secur    
阅读全文
 
 
        
        posted @ 2020-03-20 23:16
dolinux
阅读(1317)
推荐(0)
        
 
		
    
        
        
摘要:        
参考:https://blog.csdn.net/earbao/article/details/53153853 示例: arm-linux-gnueabihf-gcc --help arm-linux-gnueabihf-gcc --help arm-linux-gnueabihf-gcc --h    
阅读全文
 
 
        
        posted @ 2020-03-19 10:31
dolinux
阅读(1825)
推荐(0)
        
 
		
    
        
        
摘要:        
平台:Qemu + vexpress-a9 u-boot:u-boot-2019.10 Linux:linux-4.14.13 之前介绍过用Qemu模拟运行uboot,然后从网络启动linux(用Qemu模拟vexpress-a9 (三) 实现用u-boot引导Linux内核),下面介绍用Qemu运    
阅读全文
 
 
        
        posted @ 2020-01-14 23:05
dolinux
阅读(9541)
推荐(2)
        
 
		
    
        
        
摘要:        
Linux显示开机logo的函数调用: 获取logo: 其中获取logo数据是在fb_find_logo中完成的: 以logo_linux_clut224为例,它是内核根据drivers/video/logo/logo_linux_clut224.ppm生成的(具体参考drivers/video/l    
阅读全文
 
 
        
        posted @ 2020-01-11 11:55
dolinux
阅读(2517)
推荐(0)