![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
fight for survive
这个作者很懒,什么都没留下…
展开
-
/proc/sysrq-trigger的使用
在linux5.*/6.0里面都可以看到/proc/sysrq-trigger文件,我们可以利用/proc/sysrq-trigger做些事情,比如重启、、、、如下面操作所示:# 立即重新启动计算机echo "b" > /proc/sysrq-trigger# 立即关闭计算机echo "o" > /proc/sysrq-trigger# 导出内存分配的信息 (可以用/var/log/message 查看)echo "m" > /proc/s...原创 2022-04-01 10:45:59 · 325 阅读 · 0 评论 -
Testing RAM in Embedded Systems
Testing RAM in Embedded SystemsVersion 2: April 2007Version 2.1: April 2007Version 2.2: June 2009Version 2.3: August 2009Developers often adhere to beliefs about the right way to test RAM that are as polarized as disparate feelings about politics转载 2022-04-01 10:00:39 · 457 阅读 · 0 评论 -
ros noetic catkin_make 失败解决方法
问题:ros catkin_make 失败:(base) alex@ubuntu-16-04:~/catkin$ catkin_makeBase path: /home/alex/catkinSource space: /home/alex/catkin/srcBuild space: /home/alex/catkin/buildDevel space: /home/alex/catkin/develInstall space: /home/alex/catkin/install##原创 2021-11-09 08:15:55 · 3321 阅读 · 3 评论 -
rosdepc update 安装失败完美解决方法
问题:(base) alex@ubuntu-16-04:~/catkin_ws$ sudo rosdep initERROR: cannot download default sources list from:https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.listWebsite may be down.解决方法(装载):20210831解决 rosdep原创 2021-11-08 23:17:09 · 1384 阅读 · 0 评论 -
solution for build-essential : Depends: gcc (>= 4:9.2) but it is not going to be installe
issue:(base) alex@ubuntu-16-04:~/catkin_ws$ sudo apt install build-essentialReading package lists... DoneBuilding dependency tree Reading state information... DoneSome packages could not be installed. This may mean that you haverequested an i原创 2021-11-08 23:08:01 · 6166 阅读 · 1 评论 -
ubuntu 20.04安装gcc 4.9
cd /etc/apt or sudo vim /etc/apt/sources.list增加软件源:deb http://dk.archive.ubuntu.com/ubuntu/ xenial maindeb http://dk.archive.ubuntu.com/ubuntu/ xenial universe然后sudo apt updatesudo apt-get install gcc-4.9原创 2021-11-08 22:23:30 · 2041 阅读 · 2 评论 -
Installing newer GCC versions in Ubuntu
Installing newer GCC versions in UbuntuIt is often useful to have installed never versions of the compiler in our systems as they often provide better performance and extended features, such as support for newer language features and better debugging inf转载 2021-11-02 10:03:53 · 105 阅读 · 0 评论 -
可装载内核模块-Loadable Kernel Module (LKM)
0x01 可装载模块分类设备驱动文件系统系统调用0x02 版本检查Linux 的迅速发展致使相邻版本的内核之间亦存在较大的差异,即在版本补丁号(Patch Level,即内核版本号的第四位数)相邻的内核之间。为此 Linux 的开发者为了保证内核的稳定,Linux 在加载模块到内核时对模块采用了版本校验机制。1,Invalid module format -> disagrees about version of symbol module_layout由于模块中 module_la转载 2021-10-09 13:48:04 · 649 阅读 · 0 评论 -
高通8155平台YOCTO CMAKE 编译问题解决方法
硬件平台:高通8155软件平台:yocoto linux + ubuntu16.04最近开始接触8155平台,发现编译阶段出现cmake编译失败,网上搜了一下没有相关的解决方案,因此自己研究了下并记录一下,方便有需要的同行快速解决。问题描述:| [ 93%] Building CXX object Source/CMakeFiles/CTestLib.dir/LexerParser/cmCTestResourceGroupsLexer.cxx.o| cd /home/CN/yongfen原创 2021-09-29 11:29:15 · 2291 阅读 · 3 评论 -
ubuntu系统adb shell无法连接设备解决方法
alex@ubuntu:~$ adb shell* daemon not running; starting now at tcp:5037* daemon started successfullyerror: insufficient permissions for device: user in plugdev group; are your udev rules wrong?See [http://developer.android.com/tools/device.html] for mo.原创 2021-09-16 20:20:59 · 606 阅读 · 0 评论 -
VSCODE ssh免密连接远端服务器
用vscode ssh远程开发时,需要输入服务器密码,才能正常连接。输入的次数多了就想改进下。既然是通过ssh连接的,那么只需要做到ssh免密连接就可以了。具体操作如下:1、本地电脑生成秘钥,windows和linux一样的操作。ssh-keygen2、将公钥复制到远程服务器的~/.ssh/authorized_keys,如果没有此文件需要手动创建。本地的公钥:cat ~/.ssh/id_rsa.pub拷贝到远程服务器的~/.ssh/authorized_keys...原创 2021-09-15 16:51:09 · 125 阅读 · 0 评论 -
yocto学习笔记
2、yocto-第2篇-qemux86-64虚拟机运行演示问题1:运行虚拟机runqemu qemux86-64出现报错:Failed to run qemu: X Error: BadValue 解决方法:1、不运行UI,用下面的命令:runqemu qemux86-64 nographic2、如果需要UI,可以先安装sudo apt-get install qemu-system-x86_64,然后运行runqemu qemux86-64QEMU运行...原创 2021-08-30 21:53:04 · 308 阅读 · 0 评论