摘要:
示例: sudo apt install ./cuttlefish-base_*.deb ./cuttlefish-user_*.deb 在安装的时候,会自动安装依赖,比用dpkg的安装方式更好。 与此类似,对于红帽系的,也可以使用dnf install来安装本地rpm软件包。
阅读全文
posted @ 2024-10-19 13:09
dolinux
阅读(162)
推荐(0)
摘要:
有时我们需要在容器里运行adb,下面的命令可以创建这样的容器: sudo docker run -it --privileged=true \ -v /dev/bus/usb:/dev/bus/usb \ --restart=unless-stopped \ --name "ubuntu_22" \
阅读全文
posted @ 2024-10-12 10:21
dolinux
阅读(58)
推荐(0)
摘要:
资料 NCURSES Programming HOWTO 中文手册 NCURSES Programming HOWTO 英文手册 NCURSES-Programming-HOWTO.pdf Writing Programs with NCURSES Guide to Ncurses Programm
阅读全文
posted @ 2024-09-26 21:04
dolinux
阅读(131)
推荐(0)
摘要:
参考 https://lwn.net/Articles/934679/ Scope-based Cleanup Helpers Automatic Cleanup 1/2 Automatic Cleanup 2/2 下面是network子系统对使用guard的建议: Using device-man
阅读全文
posted @ 2024-09-20 19:45
dolinux
阅读(154)
推荐(0)
摘要:
参考 PAC和BTI机制杂谈 Android中 void OfflineUnwinder::CollectMetaInfo(std::unordered_map<std::string, std::string>* info_map __attribute__((unused))) { #if de
阅读全文
posted @ 2024-09-19 15:42
dolinux
阅读(104)
推荐(0)
摘要:
工具栏格式乱了怎么办 https://blog.csdn.net/qq_23327993/article/details/115567723 Linux内核中有很多宏定义,sourceinsight不识别,导致解析出问题 https://blog.csdn.net/nust20/article/de
阅读全文
posted @ 2024-09-18 11:31
dolinux
阅读(464)
推荐(1)
摘要:
PATCH链接 function_graph: Allow multiple users for function graph tracing 效果 如果多个用户都想使用ftrace,而且之间又不相互影响,通过/sys/kernel/debug/tracing/instances可以做到,可以在这个
阅读全文
posted @ 2024-09-18 09:53
dolinux
阅读(59)
推荐(0)
摘要:
参考 Faster kernel testing with virtme-ng https://github.com/arighi/virtme-ng vtime:https://git.kernel.org/pub/scm/utils/kernel/virtme/virtme.git/about/
阅读全文
posted @ 2024-09-16 11:29
dolinux
阅读(112)
推荐(0)
摘要:
lunch目标 aosp_cf_x86_64_phone-userdebug 配置文件: device/google/cuttlefish/vsoc_x86_64/phone/aosp_cf.mk
阅读全文
posted @ 2024-09-15 09:22
dolinux
阅读(121)
推荐(0)
摘要:
toybox 类似busybox
阅读全文
posted @ 2024-09-15 08:57
dolinux
阅读(34)
推荐(0)
摘要:
参考 Cache Line 伪共享发现与优化 什么是伪共享?又该怎么避免伪共享的问题? 内核文档:False Sharing C2C - False Sharing Detection in Linux Perf
阅读全文
posted @ 2024-09-06 14:26
dolinux
阅读(53)
推荐(0)
摘要:
平台 ARM64 Linux 6.10 作者
[email protected] 背景 最近在学习Linux的缺页异常时突然奇想,在不进行内存换出的情况下,如何让进程再次触发缺页? 基于对ARMv8的理解,它的MMU的页表项中有个AF位,当AF为0时,当访问到对应的虚拟页时,会触发缺页。
阅读全文
posted @ 2024-08-23 16:05
dolinux
阅读(266)
推荐(0)
摘要:
参考文档 工具:WSS Working Set Size Estimation clear_refs: Soft-Dirty PTEs https://man7.org/linux/man-pages/man5/proc_pid_clear_refs.5.html Idle Page Trackin
阅读全文
posted @ 2024-08-21 14:55
dolinux
阅读(69)
推荐(0)
摘要:
参考 Linux 6.2 Implementing Dynamic Shadow Call Stack Support For AArch64 内核补丁: arm64: dynamic shadow call stack support arm64: unwind: add asynchronous
阅读全文
posted @ 2024-08-15 14:56
dolinux
阅读(55)
推荐(0)
摘要:
正常的vm命令输出: crash_new> vm PID: 2380 TASK: ffffff88414bddc0 CPU: 5 COMMAND: "xxx" MM PGD RSS TOTAL_VM ffffff880a997c00 ffffff8825747000 16565804k 445353
阅读全文
posted @ 2024-08-14 10:51
dolinux
阅读(55)
推荐(0)
摘要:
CFI/CFG 安全防护原理详解 https://github.com/Smilencelsy/Control-Flow-Integrity 介绍:https://en.wikipedia.org/wiki/Control-flow_integrity https://hikunpeng.csdn.
阅读全文
posted @ 2024-07-12 18:58
dolinux
阅读(589)
推荐(0)
摘要:
文档: DDI0487J_a_a-profile_architecture_reference_manual.pdf
阅读全文
posted @ 2024-06-07 15:48
dolinux
阅读(68)
推荐(0)
摘要:
参考 https://patchwork.kernel.org/project/linux-trace-kernel/patch/
[email protected]/#25471294 现象 I/perfetto( 3707): prob
阅读全文
posted @ 2024-05-19 00:37
dolinux
阅读(282)
推荐(0)
摘要:
参考 https://github.com/weidongshan/cpp_projects 《C++ Primer Plus》 C++ Standards Support in GCC GCC GCC中有libstdc++库的实现 LLVM LLVM中有libc++库的实现 C++参考手册 cpl
阅读全文
posted @ 2024-05-06 10:12
dolinux
阅读(96)
推荐(0)
摘要:
环境搭建 https://blog.csdn.net/m0_56069910/article/details/135734840 插件 qt-vsaddin各版本下载及安装方法 文档 https://doc.qt.io/qt-5/
阅读全文
posted @ 2024-05-01 09:35
dolinux
阅读(44)
推荐(0)
摘要:
参考 https://fedoraproject.org/wiki/C_and_C%2B%2B_v2 https://docs.fedoraproject.org/en-US/packaging-guidelines/#packaging-static-libraries sudo dnf inst
阅读全文
posted @ 2024-04-30 11:08
dolinux
阅读(65)
推荐(0)
摘要:
http://t.csdnimg.cn/IOITj
阅读全文
posted @ 2024-04-20 09:13
dolinux
阅读(34)
推荐(0)
摘要:
Android系统学习 —— 替换crash_dump文件
阅读全文
posted @ 2024-04-17 15:08
dolinux
阅读(62)
推荐(0)
摘要:
https://blog.csdn.net/pengdonglin137/article/details/137733696
阅读全文
posted @ 2024-04-14 07:23
dolinux
阅读(35)
推荐(0)
摘要:
查询软件包 以/bin/kill为例,可以先查询这个文件位于哪个安装包里: $ dpkg -S /bin/kill procps: /bin/kill 安装符号表 然后参考下面的方法,配置符号表仓库: https://chuna2.787528.xyz/pengdonglin137/articles/1
阅读全文
posted @ 2024-04-06 18:52
dolinux
阅读(119)
推荐(0)
摘要:
参考 Ubuntu 22.04: Connect to WiFi from command line Netplan documentation Netplan CLI How to configure your computer to connect to your home Wi-Fi netw
阅读全文
posted @ 2024-04-06 10:43
dolinux
阅读(541)
推荐(0)
摘要:
参考 https://serverfault.com/questions/1101391/disable-ubuntu-22-04s-scaning-processes-candidates-after-package-upgrades 现象 树莓派上装了ubuntu server版,每次装完软件都
阅读全文
posted @ 2024-04-06 10:08
dolinux
阅读(642)
推荐(1)
摘要:
https://docs.fedoraproject.org/en-US/quick-docs/raspberry-pi/#_is_the_onboard_wi_fi_supported_on_the_raspberry_pi_3
阅读全文
posted @ 2024-04-04 10:54
dolinux
阅读(127)
推荐(0)
摘要:
https://blog.csdn.net/pengdonglin137/article/details/137460367?spm=1001.2014.3001.5501
阅读全文
posted @ 2024-03-28 10:08
dolinux
阅读(54)
推荐(0)
摘要:
参考 https://discussion.fedoraproject.org/t/boot-nearly-full-how-to-free-space/73206 问题 我的fedora的/boot分析下面有一些老的内核,导致/boot分区可用空间不足,如何安全的清理旧的安装包呢? pengdl@
阅读全文
posted @ 2024-03-26 11:12
dolinux
阅读(117)
推荐(0)
摘要:
参考 Dynamic port-forwarding for NAT-ed kvm/libvirt networks Forwarding Incoming Connections 在/etc/libvirt/hooks添加qemu脚本,模板如下,需要根据自己的配置进行修改,修改完毕后,重启libv
阅读全文
posted @ 2024-03-25 20:54
dolinux
阅读(859)
推荐(0)
摘要:
问题 在ubuntu20.04上使用virt-manager安装了一个fedora虚拟机,在创建快照时提示权限不足: Error creating snapshot: internal error: Child process (/usr/local/bin/qemu-img snapshot -c
阅读全文
posted @ 2024-03-25 19:54
dolinux
阅读(315)
推荐(0)
摘要:
参考 https://www.raspberrypi.com/software/ https://www.raspberrypi.com/software/operating-systems/ https://ubuntu.com/download/raspberry-pi https://cdim
阅读全文
posted @ 2024-03-25 17:21
dolinux
阅读(289)
推荐(0)
摘要:
问题 在ubuntu上使用apt-get安装软件包,系统会自动安装依赖的软件包,但是使用dpkg在ubuntu上安装软件包时不会,有时会遇到下面的错误: pengdl@pengdl-HP:~/Soft$ sudo dpkg -i virtualbox-7.0_7.0.14-161095~Ubuntu
阅读全文
posted @ 2024-03-25 16:36
dolinux
阅读(2053)
推荐(0)
摘要:
参考 Raspberry Pi Documentation 官网提供的使用文档,可以研究一下 树莓派使用 openEuler 安装 openEuler镜像的构建 树莓派的UEFI支持和网络启动 openEuler Embedded使用与开发手册 Android KonstaKANG 如何在树莓派上安
阅读全文
posted @ 2024-03-25 14:18
dolinux
阅读(122)
推荐(0)
摘要:
参考 Fedora Quick Docs Fedora Server Documentation Deploy an ARM64 Fedora VM on your PC: 3 steps Architectures/AArch64/Install with QEMU Virtualization
阅读全文
posted @ 2024-03-25 12:49
dolinux
阅读(557)
推荐(0)
摘要:
bootloader 修改config.txt,在最后增加下面两行: enable_uart=1 #enable pl uart uart_2ndstage=1 #enable FW debug info kernel 修改cmdline.txt,去掉quiet 日志 Booting Log Rea
阅读全文
posted @ 2024-03-17 00:40
dolinux
阅读(648)
推荐(0)
摘要:
操作指南 https://blog.csdn.net/u012915636/article/details/132876601 文件下载 链接:https://pan.baidu.com/s/1kg0Zl89p0L7MFoOZFXJteg?pwd=9yl6 提取码:9yl6 Jlink下载 http
阅读全文
posted @ 2024-03-13 11:27
dolinux
阅读(880)
推荐(0)
摘要:
测试程序 在/system/etc/init/hw/init.rc中追加下面的测试程序: 然后重启 日志 使用logcat抓取init的日志: adb wait-for-device logcat -s init 测试 依次设置test1和test2 vsoc_x86_64:/ # setprop
阅读全文
posted @ 2024-03-10 00:19
dolinux
阅读(129)
推荐(0)
摘要:
参考 android studio platform使用体验分享 调试AOSP源码的官方神器-Android Studio for Platform(ASfP) 下载 官网: https://developer.android.google.cn/studio/platform?hl=en 注意:使
阅读全文
posted @ 2024-02-28 09:55
dolinux
阅读(920)
推荐(0)