📖
📖
📖
📖
Job Memo
Search…
Cheat sheets of git and repo
Implement your own HIDL
Communicate with Kernel driver
Compile your own kernel and install
Notes of GDBus
introduction of Yocto project
Yocto – how to initialize your module?
Useful Linux Commands
Benefits of using Macro
Samba to create sharing folders between host and VM
How to write a daemon?
C/C++
Use dlopen and dlsym to get handler of dynamic library(.so)
argc? argv ?
How to use C api in C++ ?
What is void* ?
Utilize function pointers to build Handlers
Concepts of Makefile
Makefile parameters
Powered By
GitBook
Useful Linux Commands
.在特定類型的文件裡找字串 grep -ir “ooxx“ –include=”*.java”
.掛載外接硬碟 sudo fdisk -l mkdir /media/usb sudo mount -v -t auto /dev/sdb1 /media/usb
.找特定類型的檔案 find -iname *.git
.確認編譯出來檔案的 ELF readelf
.列出所有執行的東西 ps -Al
.用 string2 取代 file1 裡的 string1,存成 file2 awk ‘{gsub(/string1/,”string2″)}1’ file1 > file2 .remove specific directory recursively find . -name SPECIFIC_FILE -type d -exec rm -rf {} \;
.Check lib with readelf
“readelf xxx.so -h” can display the information of your library. I usually use to check the “machine” which is aarch64 or x86. Want to know more about ELF?
“ELF (Executable and Linkable Format)學習途徑與資源” by 陳孜穎
Previous
Yocto – how to initialize your module?
Next
Benefits of using Macro
Last modified
5mo ago
Copy link