随笔分类 - linux
linux移植与开发
摘要:root@vmuser:~# cat /proc/stat cpu 254339 26981 244855 60357611 81274 0 5266 4371 0 0cpu0 254339 26981 244855 60357611 81274 0 5266 4371 0 0intr 367409
阅读全文
摘要:#cat /sys/class/rtc/rtc0/since_epoch 1577169255 or # cat /sys/class/rtc/rtc1/timestamp01544829583
阅读全文
摘要:If CONFIG_PROC_DEVICETREE is set in the kernel configuration options, you can view the actual device tree parsed by the kernel from within the /proc f
阅读全文
摘要:https://elixir.bootlin.com/linux/latest/source
阅读全文
摘要:# tree hiredis/ hiredis/└── usr └── local ├── include │ └── hiredis │ ├── adapters │ │ ├── ae.h │ │ ├── glib.h │ │ ├── ivykis.h │ │ ├── libevent.h │ │
阅读全文
摘要:root@am335x-ec:/# cat /proc/1/statm 6141 1181 699 232 0 4641 0 Table 1-3: Contents of the statm files (as of 2.6.8-rc3)...............................
阅读全文
摘要:Welcome to minicom 2.7OPTIONS: I18n Compiled on Nov 15 2018, 20:20:38.Port /dev/ttyUSB2, 00:55:23Press CTRL-A Z for help on special keysAT+CNETSTARTOK
阅读全文
摘要:/proc/sys/vm/drop_caches (since Linux 2.6.16)Writing to this file causes the kernel to drop clean caches,dentries and inodes from memory, causing that
阅读全文
摘要:CC开始 xmodem 传输。 按 Ctrl+C 取消。 100% 95 KB 4 KB/s 00:00:23 0 ErrorsU-Boot SPL 2018.01 (Jan 16 2019 - 11:46:41)Trying to boot from UARTCCC开始 ymodem 传输。 按
阅读全文
摘要:when you write large files to extern stroage, the kernel may have as follow context: [ 4560.236385] INFO: task sync:1036 blocked for more than 120 sec
阅读全文
摘要:custom usb-seriel udev relus for compatible usb-seriel devices add-pl2303.rules: ACTION== "add",KERNEL=="ttyUSB*", ATTRS{idVendor}=="067b", ATTRS{idPr
阅读全文
摘要:reference: https://www.thegeekdiary.com/how-to-create-virtual-block-device-loop-device-filesystem-in-linux/ 制作14G的img镜像 rootfs.img dd if=/dev/zero of=
阅读全文
摘要:reference: https://github.com/rabbitvcs/rabbitvcs how to install : sudo apt-get install rabbitvcs-cli rabbitvcs-core rabbitvcs-gedit rabbitvcs-nautilu
阅读全文
摘要:root@vmuser-virtual-machine:/home/vmuser# gcc -dM -E - < /dev/null #define __SSP_STRONG__ 3#define __DBL_MIN_EXP__ (-1021)#define __UINT_LEAST16_MAX__
阅读全文
摘要:tool function: Binwalk is a fast, easy to use tool for analyzing, reverse engineering, and extracting firmware images. how to install: apt-get install
阅读全文
摘要:install tools: wget https://github.com/resin-io/etcher/releases/download/v1.4.5/etcher-cli-1.4.5-linux-x64.tar.gz tar zvxf etcher-cli-1.4.5-linux-x64.
阅读全文
浙公网安备 33010602011771号