原创 mydebug.h

put it in “include/linux” #include linux/mydebug.h> #define __MYDEBUG__ #ifdef __MYDEBUG__ #define MYDEBUG(format,...)

原创 Git

所有東西都添加 git config --global user.name "Your Name" git config --global user.email "[email protected]" 注意git config命令的--g

原创 Yocto工具鏈編譯Busybox

本文參考了 Yocto Toolchain編譯busybox 。 1:下載Busybox源碼(去官網下載) 2:下載menuconfig依賴文件apt-get install libncurses5-dev 3:make menuc

原创 Makefile中頭文件包含

ccflags-y+=-Werror ccflags-y+=-I$(M)/include/arm_common ccflags-y+=-I$(M)/include/linux ccflags-y+=-I$(M)/include ccfla

原创 emacs中對比文件差異的工具—ediff

轉載,對比文件 emacs中對比文件的差異ediff 工具:ediff-buffers/ediff-files 比較當前已經打開的2個文件緩衝區A/B中的文件內容。文件內容不一致的行(或不一致的上下行、多行)或作爲一個差異區域,

原创 Tar 解壓縮

打包:將整個 /etc 目錄下的檔案全部打包成爲 /tmp/etc.tar [root@linux ~]# tar cvf /tmp/etc.tar /etc <==僅打包,不壓縮! [root@linux ~]# tar zcvf

原创 筆記

fb_notifier_call_chain(FB_EVENT_FB_REGISTERED, &event); // 異步通知: 通知那些正在等待fb註冊事件發生的進程

原创 Systemd 教程

Systemd 入門教程:命令篇 Systemd 入門教程:實戰篇 system V與systemd systemd 的服務管理程序常用命令 如何關閉optee進程 在exports/rfs/lib/systemd/system/opt

原创 Linux Man命令

man 1 xx查linux shell命令, man 2 xxx查API, man 3 xxx查庫函數

原创 顯示所有進程號

ps a

原创 製作根文件系統的EXT2鏡像文件

本文參考了 [loop設備及losetup命令介紹] (http://blog.csdn.net/ustc_dylan/article/details/6878252) 以及[製作ext2根文件系統(http://blog.csdn.

原创 使用VMWare WorkStation安裝Linux Mint

Mint是Linux的一個衍生版,基於Ubuntu,是一款開源的桌面版Linux系統,適合新手學習Linux。同時,也帶有集成了媒體播放的功能,對於不玩遊戲的人來說也是OK的。 下面我們來安裝這個系統。 如果想要直接裝在物理機上,可以在官