原创 Android系統在C庫中log打印函數接口

#include <android/log.h>  /* liblog */ __android_log_print(ANDROID_LOG_DEBUG, "JNIDemo", "native add ...");

原创 Android APP通過JNI直接訪問硬件框架

1 APP應用程序調用HardControl.java類中的方法 2.1 HardControl.java類中的方法通過系統調用System.loadLibrary("hardcontrol")來加載C庫 public class H

原创 adb常用命令

調試相關 // 開啓adb服務 adb start-server // 關閉adb服務 adb stop-server // 列出所有連接的設備 adb devices // 多個設備情況下使用 -s 參數指定對某個設備執行操作 adb

原创 device-tree of API接口解析說明

通過list找到引用節點device_node int of_parse_phandle_with_fixed_args(const struct device_node *np,                 const char *

原创 在rootfs文件系統中查看設備樹device-tree

a. /sys/firmware/fdt        // 原始dtb文件 hexdump -C /sys/firmware/fdt b. /sys/firmware/devicetree // 以目錄結構程現的dtb文件, 根節點對應

原创 rcar-du 通過modetest命令測試DU驅動顯示

通過以下命令查看設備信息 modetest -M rcar-du 然後輸入以下                                            modetest      -M      rcar-du      -

原创 rcar-du 通過DRM/KMS實現DU顯示測試demo

app .c文件 /* 本ソースの使用方法 (1) 下記コマンドでビルド実行 make (2) 下記コマンドでaltボード実機用rootfsにコピー sudo cp camera_test /tftpboot/work_

原创 ubuntu14.04/ 16.04 下安裝svn客戶端

#!/bin/bash sudo add-apt-repository ppa:rabbitvcs/ppa sudo gedit /etc/apt/sources.list deb http://ppa.launchpad.net/

原创 linux 下模擬/sys/class/gpio 編寫自己的動態創建節點 demo程序

在/sys/class/下生成hwconfig節點 創建節點                 echo xxx  >  configexport 然後會在sys/class/hwconfig節點下生成xxx節點 xxx節點下有value節

原创 交叉編譯 Openssl,然後移植到ARM板上

原文鏈接:https://blog.csdn.net/lingyuncao/article/details/90667781 請移步:https://blog.csdn.net/lingyunc

原创 ubuntu下svn比較器變更爲beyondcompare

1、默認安裝好beyondCompare 2、右鍵svn進入設置(settings) 3、external programs              /usr/bin/bcompare  

原创 編譯安裝openssl報錯:POD document had syntax errors at /usr/bin/pod2man line 69. make: *** [install_docs]

原文鏈接:https://www.cnblogs.com/tv151579/p/6561140.html 錯誤如下: cms.pod around line 457: Expected tex

原创 VIN Capture YUV422 轉成RGB888後保存爲BMP圖片(demo程序)

#include <stdio.h> #include <stdlib.h> #include <string.h> #include <assert.h> #include <getopt.h> #include <fcntl.h

原创 linux下find命令使用說明

原文鏈接:https://www.runoob.com/linux/linux-comm-find.html Linux find命令 Linux find命令用來在指定目錄下查找文件。任何位於

原创 在Windows系統中搭建Python編程環境

1、從官網上下載Windows Python安裝程序,選擇最新的版本。 http://python.org/downloads/ 2、安裝 請務必選中複選框Add Python to PATH(如下圖所示) , 這讓你能夠更輕鬆地配置系統