- 博客(328)
- 资源 (9)
- 收藏
- 关注
原创 ubuntu 远程 windows
https://zzz.buzz/zh/2018/01/03/rdp-to-windows-from-linux/
2021-01-04 14:20:30 295
原创 ssh scp 不用输入密码
两台 ubuntu 机器建立 互信关系,ssh scp 不用输入密码cat ~/.ssh/id_rsa.pubvi ~/.ssh/authorized_keys
2020-12-29 11:35:18 348
原创 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 141
原创 opencamera 照片水印
private class OnImageAvailableListener implements ImageReader.OnImageAvailableListener { @Override public void onImageAvailable(ImageReader reader) { if( MyDebug.LOG ) Log....
2020-09-21 20:11:59 297
原创 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 152
原创 windows git ntfs filemode config
git config core.filemode falsegit config --global core.filemode false
2020-07-19 21:36:11 323
原创 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 2118
原创 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 352
原创 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 995
原创 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 248
原创 ngrok
$ ./ngrok tcp 22https://dashboard.ngrok.com/statushttps://blog.csdn.net/sethqqq/article/details/77033154
2019-11-30 20:35:42 182
转载 Audio
转载 :https://zhuanlan.zhihu.com/p/56792351前言编写目的此文档描述了通用的Android和Linux音频驱动框架和修改方法,并描述了音频模块的驱动和上层的使用和调试方法。并且针对智慧社区自研平板上特定的外挂音频Codec硬件进行了描述。阅读对象嵌入式开发。1. 术语与缩写解释缩写、术语2.模块设计2...
2019-10-26 21:55:10 641
原创 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 361
原创 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 928
原创 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 218
原创 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 1132
转载 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 165
原创 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 184
原创 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 1211
原创 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 594
原创 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 1633
原创 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 908
转载 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 1208
原创 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 7258 2
原创 ARM 汇编语言
1. 什么是汇编语言?计算机处理器,执行的是 二进制的 10101010001,这些机器码对应的助记符就是汇编指令。处理器 fetch 到的指令是 1001010101, 可能就是 对应汇编语言中 ADD 的加法指令, 处理器执行 加法操作,并把结果输出到目的寄存器。ARM (RISC)指令长度固定为 32 bits。2. ARM 指令集ARM 指令集可以分为下面六类:...
2019-07-11 15:30:25 6017
原创 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 781
转载 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 2171 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 21705 1
原创 MIPI-CSI2
MIPI联盟,即移动产业处理器接口(Mobile Industry Processor Interface 简称MIPI)联盟。MIPI(移动产业处理器接口)是MIPI联盟发起的为移动应用处理器制定的开放标准和一个规范。MIPI是做移动应用处理器的几家巨头公司成立的联盟,旨在定义移动应用处理器的接口标准,其全称为“Mobile Industry Processor Inte
2016-10-18 16:33:40 7128
原创 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 2509
原创 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 1170
原创 Linux Kernel 下半部 软中断 tasklet
为了使中断能快速的返回,linux kernel 将中断分成两部分,上半部(中断处理程序)和下半部(现在linux内核用软中断,tasklet, 工作队列来实现)其中,tasklet 是基于软中断来实现的,属于软中断的一种类型。工作队列比较熟悉了,不再赘述。在linux 内核中中断处理的流程一般是这样的:中断->中断服务程序(tasklet_schedule()你的task
2015-07-20 10:14:37 1024
原创 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 4814
OpenEmbedded User Manual .pdf
2013-04-10
Linux.PowerPC详解-核心篇
2013-04-02
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人