随笔分类 -  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 阅读全文
posted @ 2020-06-09 19:20 嵌入式实操 阅读(293) 评论(0) 推荐(0)
摘要:#cat /sys/class/rtc/rtc0/since_epoch 1577169255 or # cat /sys/class/rtc/rtc1/timestamp01544829583 阅读全文
posted @ 2019-12-24 14:39 嵌入式实操 阅读(427) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2019-12-13 11:51 嵌入式实操 阅读(0) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2019-12-12 16:21 嵌入式实操 阅读(163) 评论(0) 推荐(0)
摘要:https://elixir.bootlin.com/linux/latest/source 阅读全文
posted @ 2019-12-09 17:25 嵌入式实操 阅读(604) 评论(0) 推荐(0)
摘要:# tree hiredis/ hiredis/└── usr └── local ├── include │ └── hiredis │ ├── adapters │ │ ├── ae.h │ │ ├── glib.h │ │ ├── ivykis.h │ │ ├── libevent.h │ │ 阅读全文
posted @ 2019-10-15 16:20 嵌入式实操 阅读(245) 评论(0) 推荐(0)
摘要: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)............................... 阅读全文
posted @ 2019-10-15 15:55 嵌入式实操 阅读(475) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2019-07-04 09:12 嵌入式实操 阅读(415) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2019-07-03 11:29 嵌入式实操 阅读(1) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2019-07-02 16:02 嵌入式实操 阅读(0) 评论(0) 推荐(0)
摘要:/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 阅读全文
posted @ 2019-05-24 15:46 嵌入式实操 阅读(196) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2019-05-22 10:24 嵌入式实操 阅读(0) 评论(0) 推荐(0)
摘要: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 传输。 按 阅读全文
posted @ 2019-01-18 14:07 嵌入式实操 阅读(368) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2019-01-16 11:06 嵌入式实操 阅读(288) 评论(0) 推荐(0)
摘要:custom usb-seriel udev relus for compatible usb-seriel devices add-pl2303.rules: ACTION== "add",KERNEL=="ttyUSB*", ATTRS{idVendor}=="067b", ATTRS{idPr 阅读全文
posted @ 2019-01-14 09:19 嵌入式实操 阅读(212) 评论(0) 推荐(0)
摘要: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= 阅读全文
posted @ 2018-12-26 08:49 嵌入式实操 阅读(773) 评论(0) 推荐(0)
摘要:reference: https://github.com/rabbitvcs/rabbitvcs how to install : sudo apt-get install rabbitvcs-cli rabbitvcs-core rabbitvcs-gedit rabbitvcs-nautilu 阅读全文
posted @ 2018-12-21 16:54 嵌入式实操 阅读(183) 评论(0) 推荐(0)
摘要:root@vmuser-virtual-machine:/home/vmuser# gcc -dM -E - < /dev/null #define __SSP_STRONG__ 3#define __DBL_MIN_EXP__ (-1021)#define __UINT_LEAST16_MAX__ 阅读全文
posted @ 2018-12-21 16:39 嵌入式实操 阅读(455) 评论(0) 推荐(0)
摘要:tool function: Binwalk is a fast, easy to use tool for analyzing, reverse engineering, and extracting firmware images. how to install: apt-get install 阅读全文
posted @ 2018-12-21 16:32 嵌入式实操 阅读(191) 评论(0) 推荐(0)
摘要: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. 阅读全文
posted @ 2018-12-21 16:25 嵌入式实操 阅读(493) 评论(0) 推荐(0)