自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(33)
  • 资源 (2)
  • 收藏
  • 关注

转载 git添加公钥后报错sign_and_send_pubkey: signing failed: agent refused operation的解决办法

  在服务器添加完公钥后报错1sign_and_send_pubkey: signing failed: agent refused operation  这个时候我们只要执行下12eval "$(ssh-agent -s)"ssh-add  就可以了

2018-04-02 11:34:13 464

原创 FFmpeg yasm/nasm not found or too old. Use --disable-yasm for a crippledbuild

ubuntu 编译FFmgeg执行./configure 时会报此错误。nasm/yasm not found or too old. Use --disable-x86asm for a crippled build.需要安装yasm的汇编编译器sudo apt-get install yasm分析:yasm是汇编编译器,ffmpeg为了提高效率使用了汇编指令,如MMX和SSE等。所以系统中未安...

2018-03-15 13:49:18 20231

原创 解决dpkg: warning: files list file for package

当出现如下警告的时候dpkg: warning: files list file for package 'libpolkit-gobject-1-0:amd64' missing; assuming package has no files currently installeddpkg: warning: files list file for package 'libdbus-1-3:am...

2018-03-02 10:27:26 26058 7

转载 ubuntu Perl 版本自由切换

参考http://stackoverflow.com/questions/22934080/how-to-downgrade-to-perl-5-10-1Perlbrew will allow you to install multiple versions of Perl as user installed Perls. 安装perlbrewapt-get install per

2018-01-27 20:35:58 3785

原创 protobuf-c ubuntu-16.04

Download Protobufgit clone https://github.com/google/protobuf.gitDownload Protobuf-cgit clone https://github.com/protobuf-c/protobuf-c.gitUbuntu install sudo apt-get install libtool automake autoreconf

2018-01-01 18:46:44 881

原创 ubuntu 16.04 转换DBC文件到excel

canmatrix使用通过canmatrix可以把车厂DBC文件转换成对应json和excel文件 1.安装python-pip sudo apt-get install python-pip2.安装依赖包 sudo pip install XlsxWriter xlwt-future3.更新pip pip install –upgrade pip4.安装canmatrix

2017-12-15 17:14:25 2909 1

原创 Error in `appstreamcli': double free or corruption (fasttop): 0x0000000002122000

*** Error in `appstreamcli': double free or corruption (fasttop): 0x00000000031a3510 ***======= Backtrace: =========/lib/x86_64-linux-gnu/libc.so.6(+0x77725)[0x7fbad882b725]/lib/x86_64-linux-gnu/li

2017-10-01 21:05:37 8622 6

原创 QEMU 运行ARM Linux Kernel

1.现在linux内核和busybox Linux kernel: Busybox:2.ubuntu16.04环境配置 sudo apt-get install qemu libncurses5-dev gcc-arm-linux-gnueabi build-essential 3.编译最小文件系统请参照Qemu 运行ARMv8开发平台 ubuntu

2017-10-01 14:19:05 2824

原创 Qemu 文件系统支持swap ubuntu16.04

1.在ubuntu 制作一个64M的amge$dd if=/dev/zero of=swap.img bs=512 count=1310722.通过mtd卡方式加载swap.img 到qemuqemu-system-aarch64 -machine virt -cpu cortex-a57 -machine type=virt -nographic -m 2048 -smp 2 -ke

2017-10-01 13:01:46 420

原创 Qemu 运行ARMv8开发平台 ubuntu16.04

1. Ubuntu 安装aarch64的gcc编译工具:sudo apt-get install gcc-aarch64-linux-gnu2. 编译制作aarch64架构的最小文件系统 Download busybox:http://busybox.net/download$cd busybox$export ARCH=arm64$export CROSS_COMPI

2017-10-01 12:07:01 2183

原创 Yocto 支持从sysvinit 到 systemd

Freescale 的imx6 platform 默认支持的文件系统为sysvinit,但是sysvinit没有对 services的管理模块.为了增加管理模块,我们需要将sysvinit 改为systemd.DISTRO=fsl-imx-fb MACHINE=imx6ulevk source fsl-setup-release.sh -b image_4_1_15

2017-07-13 10:38:38 1985

原创 Android adb no permissions

解决办法:1. 查看UBUNTU USB设备信息 lsusb注意ID 0451:d101 2. 添加rulessudo vim /etc/udev/rules.d/51-android.rules 然后保存信息.3.重启udev服务sudo /etc/init.d/udev restart  4.重启adb serversudo

2017-01-17 15:40:04 320

原创 ubuntu VirtualBox 问题汇总

1.下载virtualBoxhttps://www.virtualbox.org/2.ubuntu 安装sudo apt-get install virtualbox3.添加用户virtualbox 系统 解决usb不能识别问题sudo groupadd usbfs  sudo adduser kuein vboxusers  sudo adduser ku

2016-11-03 17:27:23 323

转载 Yocto tips : Yocto 如何加快软件包的下载 如何只下载所有需要的软件包而不编译

现象Yocto中在fetch一些软件包的时候经常出现一天也下载不下来,这种情况极大浪费了我们的时间。例如,下面有三个Package下载了一天也没有完成:解决方法确定下载的地址,手动下载先确定软件包的下载地址,例如对于opencv与opencv-samples软件包:可以看到他们的git地址都是一样的,因此,我们可以手动来git clone:

2016-03-07 10:15:23 3797 1

转载 AM335x启动流程(BootRom->MLO->Uboot)

http://blog.chinaunix.net/uid-28458801-id-3486399.html参考文件:1,AM335x ARM Cortex-A8 Microprocessors (MPUs) Technical Reference Manual.pdf;2,am3359.pdf;1,am335x的cpu上电后,会跳到哪个地址去执行?答:

2016-02-23 20:27:05 1959

转载 linux usb枚举过程分析

usb hub 枚举

2016-01-15 10:34:25 1281

转载 ubuntu下ltib安装问题(解决)

转载http://my.oschina.net/mjRao/blog/368215ubuntu 下ltib 安装问题OS: Ubuntu 12.04ltib安装包:Freescale iMX6/L3.0.35_4.1.0_130816_source.tar.gz第一次执行./ltib 显示未安装的软件包************************

2015-08-12 15:03:50 523 1

原创 针对dra7xx_evm_qspiboot_config 解析uboot mkconfig

Uboot Makefile %_config:: outputmakefile     @$(MKCONFIG) -A $(@:_config=)              /*%通配符 dra7xx_evm_qspiboot_config                   ${VAR:_config=}:把Var中的尾部_config用空来替换变成dra7xx_evm

2015-06-19 16:46:45 1243

转载 Ubuntu14.04下VirtualBox Kernel driver not installed (rc=-1908)

VirtualBox出现Kernel driver not installed (rc=-1908) 错误的解决办法:1 将当前用户加入vboxusers用户组-a 指定用户名xinchangxiang@ubuntu:~$ sudo usermod -G vboxusers -a xinchangxiang2 安装如下组件xinchangxiang@ubuntu:~$ su

2015-06-19 09:53:10 348

原创 针对DRA75x of TI UBOOT(2013-04) 全面解析整个流程

针对DRA75x of TI UBOOT(2013-04) 全面解析整个流程,详细过程

2015-05-28 18:23:20 3131

转载 理解和配置 Linux 下的 OOM Killer

最近有位 VPS 客户抱怨 MySQL 无缘无故挂掉,还有位客户抱怨 VPS 经常死机,登陆到终端看了一下,都是常见的 Out of memory 问题。这通常是因为某时刻应用程序大量请求内存导致系统内存不足造成的,这通常会触发 Linux 内核里的 Out of Memory (OOM) killer,OOM killer 会杀掉某个进程以腾出内存留给系统用,不致于让系统立刻崩溃。如果检查相关的

2015-05-05 16:53:35 349

原创 Android2.2移植总结(第一部分)

bootargs : set bootargs noinitrd root=/dev/nfs rw nfsroot=192.168.221.90:/shnfs ip=192.168.221.100 console=ttySAC0,115200 init=/linuxrc mem=128M平台要求:uname -r 查看RHEL6.1是否为i686版本,如果有x86_64将无法正常编译and

2014-11-09 20:05:51 394

原创 Uncompressing Linux... done, booting the kernel (问题集锦)

今天用主线Linux内核移植到MINI6410,主线内核2.6.37.1基本已经支持了MINI6410的板子,所以移植到能够启动起来的阶段很简单,但是在移植的时候还是出现了一个比较常见的问题:MINI6410 # bootm 0x50008000## Booting kernel from Legacy Image at 50008000 ...Image Name: Linux-

2014-11-09 20:02:53 552

转载 HowTo: Debug Crashed Linux Application Core Files

ore dumps are often used to diagnose or debug errors in Linux or UNIX programs. Core dumps can serve as useful debugging aids for sys admins to find out why Application like Lighttpd, Apache, PHP-CGI

2014-11-05 17:26:35 550

转载 Makefile中常用的函数

在Makefile中可以使用函数来处理变量,从而让我们的命令或是规则更为的灵活和具有智能。make所支持的函数也不算很多,不过已经足够我们的操作了。函数调用后,函数的返回值可以当做变量来使用。一、函数的调用语法函数调用,很像变量的使用,也是以“$”来标识的,其语法如下:    $()或是    ${}这里,就是函数名,make支持的函数不多。是函数的参数,参数间以逗

2014-11-04 16:44:20 271

原创 linux 清除cached说明

关于 drop_caches:Kernels 2.6.16 and newer provide a mechanism to have the kernel drop the page cache and/or inode and dentry caches on command, which can help free up a lot of memory. Now you can thro

2014-10-31 09:33:15 956

转载 vim自动补齐插件onmicppcompete

将vim 改造成功能强大的IDE系列之三『插件介绍』onmicppcompete功能:命名空间(namespace),类(class),结构(struct)和联合(union)补全函数属性成员和返回值类型补全"this"指针成员补全C/C++类型转换(cast)对象补全类型定义(typedef)和匿名类型(anonymous types)补全按理说可以显示函数原型,

2014-10-29 19:25:25 871

原创 Vim设置colorscheme属性设置

默认的配置文件/usr/share/vim/vim74/colors

2014-10-29 19:08:17 996

原创 VIM 个性化配置文件.vimrc

"=========================================================================" DesCRiption: 适合自己使用的vimrc文件,for Linux/Windows, GUI/Console" Last Change: 2014年10月31日 15时13分" Version:     1.80"=====

2014-10-29 19:02:19 532

原创 解决svn每次都要输入用户名和密码

ubuntu 14.04 安装sudo apt-get install subversion莫名其妙的导致svn每次checkout都需要密码解决方法如下:    cd ~/.subversion/    vim config    将store-passwords改为yes    # store-passwords = yes     #

2014-10-24 17:06:02 14379 2

原创 ubuntu flash player 安装

cp /usr/lib/firefox/browser/components

2014-10-16 20:06:00 340

转载 2014.4新版uboot启动流程分析

辛苦之作,转载请注明出处,谢谢!最近开始接触uboot,现在需要将2014.4版本uboot移植到公司armv7开发板。在网上搜索讲uboot启动过程的文章,大多都是比较老版本的uboot,于是决定将新版uboot启动过程记录下来,和大家共享。[cpp] view plaincopy#  # (C) Copyright

2014-10-14 14:22:33 533 1

转载 解决无法获取android源码,repo在android.org和dl-ssl.android.com都无法curl(ubuntu)

如果下载有任何问题,请参考:http://source.android.com/source/downloading.html host#curl http://android.git.kernel.org/repo > ~/bin/repo //此方法在ubuntu下已经获得不了repo。于是在百度上查找了挺多办法,都不可用,最后找到一个,可以获得repo

2013-10-07 13:30:32 1058

深入了解内存

深入了解内存(SRAM、DRAM、SDRAM

2013-04-13

空空如也

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

TA关注的人

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