摘要:
1.如何查看系统时间?(适用android平台) hwclock --show aiot8p6_64_bsp_k510_optee:/ # hwclock --show2024-08-27 10:19:20+0000 阅读全文
摘要:
1.shell解释器 Unix和Linux系统中,脚本第一行通常是一个shebang('#!'),用于指定解释器,这个代码告诉操作系统使用哪个解释器来执行脚本。如果指定的解释器不存在或者路径不正确,脚本将无法执行,并出现'not found'错误。 Bash脚本通常使用/bin/bash/ 而pyt 阅读全文
摘要:
1.DEVICE_LIFE_TIME_EST_TYP_A 和DEVICE_LIFE_TIME_EST_TYP_B的区别 Device Health is similar to SMART features of modern hard disks, it provides only vital NA 阅读全文
摘要:
1.error: dereferencing 'void * pointer' >>这个错误表示你尝试解引用这个void *类型的指针,这是不允许的,必须指定它指向的数据类型。可以用类型转换。 阅读全文
摘要:
如何在C程序执行linux shell command?system(), 最好是popen()http://simple-is-beauty.blogspot.com/2020/04/linuxsystem.html 阅读全文
摘要:
遇到一个问题,提交的一笔commit到gerrit review。但是发现需要将里面的大部分改动还原。手动还原不太现实。 如果是git reset会把commit也删掉,产生一个新的commit-id,导致gerrit上看到一个新的change-id。 想到了一个好的办法: 1.本地使用git re 阅读全文
摘要:
repo使用技巧 1.如何使用repo下载特定repo? >> 1.cd .repo/manifests/ 2.grep "name=" -nr 2.sync --foce-sync $(repo_name) 2.repo sync repo sync目的是将你的本地仓库和远程仓库同步,包含从远程仓 阅读全文
摘要:
1.performance [stressapptest] 内存压力测试之stressapptest 2.linux disk encryption https://blog.cloudflare.com/speeding-up-linux-disk-encryption/ 3.dmsetup dm 阅读全文
摘要:
https://douran.academy/wp-content/uploads/ebooks/linux-device-driver-development.pdf 》》Mastering linux device driver 阅读全文
摘要:
Terms and definition Address Space: Mapped Host Address Space: 主机能够通过read command访问的设备内区域 CID:Device Identification register MSB, LSB: Most Significan 阅读全文