原创 USB 3.2 spec simple review

1 Basic Knowledge downstream sublink The collection of lanes between the DFP Tx and the UFP Rx. DPP Data Pac

原创 USB2.0 Spec simple review

USB 2.0 Spec1 Basic knowledge2 Architecture Overview2.1 Electrical2.2 Bus Protocol2.3 Error Behavior2.4 System Conf

原创 How to install a function in section and to call the function

1) __attribute__((section("section_name")))  fuctions: put the functions and datas into in the section pointed by "sect

原创 how to use file name to get path of file and copy the files from srv to the local by using python

 (1)we need to talk about the os.path.join(...)    print("1:",os.path.join('aaaa','/bbbb','ccccc.txt')) ==>1: /bbbb\ccc

原创 How to compile and install Linux-kernel(4.18.0) and U-Boot(2017.11)

How to compile and install Linux-kernel(4.18.0) 1.Choose linux kernel     (1)sudo apt-cache search linux-source     (2)

原创 linux內核同步

 Linux併發控制(看內核源碼....) 1.linux併發與競態 在linux設備驅動中--存在多個進程對資源共享併發訪問,併發會導致競態。 併發--多個執行單元同時、並行被執行,而執行單元對共享資源的訪問會導致競態。 競態出現

原创 Config Github/Gitlab Problem&solution

Config Github/Gitlab Problem&solution 1.(1)problem cdlab@cdlab-MS-7A95:~$ ssh -T [email protected] Warning: Perman

原创 just a test

hello world

原创 How to configure Vim on Linux Platform

mkdir .vim cd .vim/ mkdir bundle git clone https://github.com/VundleVime/Vundle.vim.git git clone https://github.com/Vu

原创 TCP/IP 各層的主要協議及概念

/*轉載出處:  http://blog.csdn.net/world_hope/article/details/48377723 */ 雖然接觸網絡很長時間,但是TCP/IP各層協議以及主要涉及的概

原创 關於uboot啓動中地址的問題

c7e00000 <_start>: c7e00000: ea000013 b c7e00054 <reset> c7e00004: e59ff014 ldr pc, [pc, #20] ; c7e0

原创 S3C6410-DMA裸機編程

 DMA編程--DMAC 1.  通道數-- s3c6410有四個DMAC控制器,每個控制器有8個通道,  每個DMA Controller又提供16 個外設DMA Request Lines,能讓16個外設進行DMA請求. 2.請求

原创 Iput設備使用分析--2(應用層面)

 5.input設備使用分析--2(應用層面) 應用程序打開一個設備(需要包含內核一些頭文件.h)--- /*struct   input_event {  struct timeval time;  __u16 type;  __u

原创 Iput設備使用分析--1(驅動層面)

 4. 使用input_device分析 /****************怎樣使用input系統--簡單的分析********************/ static int __init inputdev_init(void) {

原创 Linux內核中DMA分析

 DMA---直接內存訪問 用來在設備內存與主存RAM之間直接進行數據交換,這個過程無需CPU干預, 對於系統中有大量數據交換的設備而言,如果能夠充分利用DMA特性,可以大大提高系統性能。 1.內核中DMA層 --內核爲設備驅動程序提