自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(328)
  • 资源 (9)
  • 收藏
  • 关注

原创 ubuntu 远程 windows

https://zzz.buzz/zh/2018/01/03/rdp-to-windows-from-linux/

2021-01-04 14:20:30 251

原创 ssh scp 不用输入密码

两台 ubuntu 机器建立 互信关系,ssh scp 不用输入密码cat ~/.ssh/id_rsa.pubvi ~/.ssh/authorized_keys

2020-12-29 11:35:18 299

原创 在线编辑图片

https://pixlr.com/e/

2020-11-02 13:54:18 427

原创 c++ vector

https://en.cppreference.com/w/cpp/container/vector#include <iostream>#include <vector> int main(){ // Create a vector containing integers std::vector<int> v = {7, 5, 16, 8}; // Add two more integers to vector v.

2020-10-14 14:49:10 121

原创 opencamera 照片水印

private class OnImageAvailableListener implements ImageReader.OnImageAvailableListener { @Override public void onImageAvailable(ImageReader reader) { if( MyDebug.LOG ) Log....

2020-09-21 20:11:59 260

原创 ubuntu apt

vim : Depends: vim-runtime (= 2:7.4.1689-3ubuntu1.4) but it is not going to besudo apt-get install vim-runtime=2:7.4.1689-3ubuntu1.4

2020-08-12 13:12:28 135

原创 windows git ntfs filemode config

git config core.filemode falsegit config --global core.filemode false

2020-07-19 21:36:11 301

原创 ndk samples

https://github.com/android/ndk-samples

2020-06-26 15:16:51 328

原创 lineageos-17-1 android 10 for xperia xz1

http://theupgradeguide.com/2020/03/17/install-android-10-on-sony-xperia-xz1-lineageos-17-1-how-to-guide/

2020-06-25 11:28:43 2034

原创 aosp build for google pixel4

https://www.jianshu.com/p/bb10e3b35878https://source.android.com/setup/build/downloadinghttps://developers.google.com/android/drivers#flameqq3a.200605.002.a1repo init -u https://android.googlesource.com/platform/manifestrepo sync

2020-06-25 11:27:07 312

原创 root xperia xz1

https://unofficialtwrp.com/unofficial-twrp-3-3-1-sony-xperia-xz1/amp/#Disclaimerhttps://developer.sony.com/develop/open-devices/get-started/flash-tool/useful-key-combinations/Flash keyVolume downFastboot keyVolume up*Recovery mode keyVolume d

2020-06-25 11:25:47 935

原创 opencamera

https://opencamera.sourceforge.io/index.html

2020-06-23 11:44:08 310

原创 git diff -w

git diff -w忽略所有空格差异,对 check 代码风格优化很有用。

2020-02-23 19:15:34 468

原创 putty x11

https://alexcappiello.com/15122-s13/win-ssh.php

2020-02-11 09:17:49 359

原创 adb / systrace tools

Android SDK Platform-Tools is a component for the Android SDK. It includes tools that interface with the Android platform, such asadb,fastboot, andsystrace.https://developer.android.com/studio/r...

2019-11-30 21:11:20 231

原创 ngrok

$ ./ngrok tcp 22https://dashboard.ngrok.com/statushttps://blog.csdn.net/sethqqq/article/details/77033154

2019-11-30 20:35:42 151

原创 audacity

https://www.audacityteam.org/download/

2019-10-27 21:55:52 320

转载 Audio

转载 :https://zhuanlan.zhihu.com/p/56792351前言编写目的此文档描述了通用的Android和Linux音频驱动框架和修改方法,并描述了音频模块的驱动和上层的使用和调试方法。并且针对智慧社区自研平板上特定的外挂音频Codec硬件进行了描述。阅读对象嵌入式开发。1. 术语与缩写解释缩写、术语2.模块设计2...

2019-10-26 21:55:10 548

原创 tinyalsa playback wav flow

http://androidxref.com/9.0.0_r3/xref/external/tinyalsa/tinyplay.c#155http://androidxref.com/9.0.0_r3/xref/external/tinyalsa/tinyplay.c#264

2019-10-26 21:37:49 332

原创 audio write pcm ioctl - SNDRV_PCM_IOCTL_WRITEI_FRAMES

http://androidxref.com/9.0.0_r3/xref/external/tinyalsa/pcm.c#535http://androidxref.com/kernel_3.18/xref/sound/core/pcm_native.c#2745https://blog.csdn.net/Vincentywj/article/details/77849442对于...

2019-10-26 21:21:17 892

原创 ALSA project - the C library reference

https://www.alsa-project.org/alsa-doc/alsa-lib/group___p_c_m___h_w___params.html#ga93326349bbb91840a3e0bafef0390cb1

2019-10-25 18:37:32 197

原创 ffmpeg convert audio from raw pcm to wav

https://stackoverflow.com/questions/11986279/can-ffmpeg-convert-audio-from-raw-pcm-to-wav

2019-10-25 18:34:57 1090

转载 Android 进程间通信 (IPC) binder

和传统IPC机制相比,谷歌为什么采用Binder我们先看下Linux中的IPC通信机制:1、传统IPC:匿名管道(PIPE)、信号(signal)、有名管道(FIFO) 2、AT&T Unix:共享内存,信号量,消息队列 3、BSD Unix:Socket虽然Android继承Linux内核,但是Linux与Android通信机制是不同的。Andr...

2019-07-30 15:08:18 143

转载 优先级反转

https://www.cnblogs.com/apollius/archive/2013/04/01/2993904.html

2019-07-30 14:53:55 215

原创 linux kernel tips

Linux kernel 分配内存:kmalloc分配的内存要求物理地址上连续,https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/linux/slab.h#n538vmalloc分配的内存虚拟地址是连续的,物理地址不保证连续。container_of 通过结构...

2019-07-24 12:47:37 162

原创 ARM C / C++ calling ASM

参考 ARM官方文档实现 C inline assemly code, 运行环境 ARM DS-5 (arm6 compiler):1. Writing inline assembly codehttp://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.100748_0606_00_en/ddx1471430827125.html...

2019-07-16 16:13:29 1157

原创 RTOS

在 ARM 网站上看到了 RTOS 的列表,看到了 ThreadX, 为之前的努力留下点记忆吧,曾经也研究过 ThreadX,可惜资料都没了。https://developer.arm.com/tools-and-software/embedded/rtos-partners CMX eForce Embedded Access MQX TM RTOS EmC...

2019-07-13 17:17:48 566

原创 ARM MDK & ARM DS-5 & RVDS & ARM Development Studio

ARM MDK: Microcontroller Development Kit, 原先的 Keil 公司开发,后来被 ARM公司收购。面向 ARM 微控制器,单核ARMTDMI,Cortex-M,Cortex-R处理器。RVDS:RealView Development Suite, 包括以前 MMP 平台上用到的 RVCT 编译器,是 ADS (ARM Development Suite...

2019-07-13 16:56:10 1557

原创 Full Descending Stack

Demo:#define LOG_TAG "QIANG_DEMO_TEST"#define ATRACE_TAG ATRACE_TAG_ALWAYS#include <stdio.h>#include <stdlib.h>#include <string.h>#include <time.h>#ifdef __ANDROID__...

2019-07-13 16:45:21 847

转载 Getting Started with ARM DS-5 Development Studio

https://developer.arm.com/tools-and-software/embedded/legacy-tools/ds-5-development-studio/resources/tutorials/getting-started-with-ds-5-development-studioGetting Started with DS-5 Development Studi...

2019-07-12 16:45:19 1125

原创 ARM 汇编实例

ARM NDK 下载地址:https://dl.google.com/android/repository/android-ndk-r20-linux-x86_64.zipmain.cint main() { int i = 0x11111111; int j = 0x22222222; int k = 0; if (i > j) { k = i; ...

2019-07-11 16:25:24 7185 2

原创 ARM 汇编语言

1. 什么是汇编语言?计算机处理器,执行的是 二进制的 10101010001,这些机器码对应的助记符就是汇编指令。处理器 fetch 到的指令是 1001010101, 可能就是 对应汇编语言中 ADD 的加法指令, 处理器执行 加法操作,并把结果输出到目的寄存器。ARM (RISC)指令长度固定为 32 bits。2. ARM 指令集ARM 指令集可以分为下面六类:...

2019-07-11 15:30:25 5910

原创 Android strerror

http://androidxref.com/8.0.0_r4/xref/bionic/libc/bionic/strerror.cpp#35根据 error code number 查找 error string.http://androidxref.com/8.0.0_r4/xref/bionic/libc/bionic/strerror_r.cpp#_sys_error_stringshtt...

2018-02-08 13:47:27 728

转载 Linux Device Tree 同名覆盖问题

http://blog.chinaunix.net/uid-15662492-id-3886899.htmlhttp://www.wowotech.net/device_model/dt_basic_concept.htmlLinux Device Tree 中的同名覆盖问题在Device Tree中写两个名称相同,内部并不相同的条目,比如:

2017-07-13 15:43:28 1999 1

转载 BLSP接口

http://huaqianlee.github.io/2016/04/27/Uav/Qualcomm-uav-blsp-port/概述BLSP是高通对于低速接口的一种管理方式,8074 平台含有两个BLSP(BAM Low-Speed Peripheral) 块,对应于12个BLSP端口。 每一个BLSP块含有最多六个Qualcomm Universal Pe

2017-07-11 14:50:07 21341 1

原创 MIPI-CSI2

MIPI联盟,即移动产业处理器接口(Mobile Industry Processor Interface 简称MIPI)联盟。MIPI(移动产业处理器接口)是MIPI联盟发起的为移动应用处理器制定的开放标准和一个规范。MIPI是做移动应用处理器的几家巨头公司成立的联盟,旨在定义移动应用处理器的接口标准,其全称为“Mobile Industry Processor Inte

2016-10-18 16:33:40 7044

原创 linux kernel ftrace 之wakeup tracer and wakeup_rt tracer

对于 ftrace 的function tracer/function graph tracer 用的比较多,本文介绍 wakeup tracer/wakeup_rt tracer。开始介绍之前,先扯两句别的,在一开始想了解wakeup/wakeup_rt tracer 的时候,因为内核Documents 中有ftrace的文档介绍,直接在工程中的ftrace.txt 看了一下wakeup

2015-07-20 14:45:03 2450

原创 Linux Kernel threaded irq

1.How-torequest_threaded_irq(){action->handler = handler;action->thread_fn = thread_fn;->__setup_irq(){/** Create a handler thread when a thread function is supplied* and the inter

2015-07-20 13:33:47 1130

原创 Linux Kernel 下半部 软中断 tasklet

为了使中断能快速的返回,linux kernel 将中断分成两部分,上半部(中断处理程序)和下半部(现在linux内核用软中断,tasklet, 工作队列来实现)其中,tasklet 是基于软中断来实现的,属于软中断的一种类型。工作队列比较熟悉了,不再赘述。在linux 内核中中断处理的流程一般是这样的:中断->中断服务程序(tasklet_schedule()你的task

2015-07-20 10:14:37 996

原创 linux kernel scheduler -- 进程优先级

1. task_struct 中标示linux 进程优先级的几个重要变量linux kernel 进程描述符task_struct中有几个成员标识 linux 进程的优先级,prio, static_prio, normal_prio,rt_priority。他们之间究竟是什么关系,究竟什么样的优先级值才能最快能被调度器调度执行?详细解读之前,可以先明确上面的一个问题,task_str

2015-07-17 15:03:20 4735

Android HAL layer analysis

讲解 Android HAL 硬件抽象层特别好的文档,从上到下的Android 代码结构分析,以及具体实例分析。

2013-08-14

NFS 网络文件系统分析

NFS 网络文件系统入门文档,版权归原作者。

2013-07-10

BitBake User Manual .pdf

bitbake, yocto, for learning yocto, open embedded build system.

2013-04-10

OpenEmbedded User Manual .pdf

OpenEmbedded User Manual, for learning yocto, open embedded, linux, build system.

2013-04-10

Linux.PowerPC详解-核心篇

学习PowerPc linux 特别好的文档,对于bootloader,kernel,init整个PowerPC linux 的初始化也有介绍。

2013-04-02

Git学习手册

学习Git常用操作,理解Git工作原理,总之就是学习Git只用这一本书就够了。

2013-03-22

teraterm_utf8-4.58 非常好用的串口工具

非常好用的串口终端工具 使用几次就知道了

2013-02-27

uboot- ARM bootloader

uboot ARM bootloader 源代码

2012-11-10

GNU make中文手册v3.8

GNU make中文手册v3.8,make的工作方法及Makefile讲的非常好!

2012-05-04

空空如也

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

TA关注的人

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