<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[mrhjlong]]></title><description><![CDATA[嵌入式软件开发]]></description><link>https://blog.youkuaiyun.com/mrhjlong</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; mrhjlong]]></copyright><item><title><![CDATA[tar解压缩]]></title><link>https://blog.youkuaiyun.com/mrhjlong/article/details/138966907</link><guid>https://blog.youkuaiyun.com/mrhjlong/article/details/138966907</guid><author>mrhjlong</author><pubDate>Thu, 16 May 2024 16:42:04 +0800</pubDate><description><![CDATA[method1: 显示比较干净，没有./]]></description><category></category></item><item><title><![CDATA[update centos repo to install fakeroot]]></title><link>https://blog.youkuaiyun.com/mrhjlong/article/details/138952668</link><guid>https://blog.youkuaiyun.com/mrhjlong/article/details/138952668</guid><author>mrhjlong</author><pubDate>Thu, 16 May 2024 11:06:15 +0800</pubDate><description><![CDATA[【代码】update centos repo to install fakeroot。]]></description><category></category></item><item><title><![CDATA[Linux查看cache工具]]></title><link>https://blog.youkuaiyun.com/mrhjlong/article/details/137790751</link><guid>https://blog.youkuaiyun.com/mrhjlong/article/details/137790751</guid><author>mrhjlong</author><pubDate>Mon, 15 Apr 2024 18:46:03 +0800</pubDate><description><![CDATA[【代码】Linux查看cache工具。]]></description><category></category></item><item><title><![CDATA[Linux文件截断命令(truncate head tail dd)]]></title><link>https://blog.youkuaiyun.com/mrhjlong/article/details/134710951</link><guid>https://blog.youkuaiyun.com/mrhjlong/article/details/134710951</guid><author>mrhjlong</author><pubDate>Thu, 30 Nov 2023 17:00:56 +0800</pubDate><description><![CDATA[缩小或扩展文件到指定的大小；（默认）文件不存在会被创建；如果文件大于指定的大小，额外的（末尾的）数据将被丢弃；如果文件小于指定的大小，则对其进行扩展，并且扩展部分读取为零字节；将每个文件的前10行打印到标准输出，如果有多个文件则先打印文件名1234567890-n：显示文件的最后 n 行，默认为 10 行。-f：实时追踪文件的变化并输出新增的内容。-q：不显示文件名。-s：设置输出的间隔时间（秒）。-c：以字节为单位显示指定范围的内容。]]></description><category></category></item><item><title><![CDATA[内存泄漏检测工具Asan]]></title><link>https://blog.youkuaiyun.com/mrhjlong/article/details/134531330</link><guid>https://blog.youkuaiyun.com/mrhjlong/article/details/134531330</guid><author>mrhjlong</author><pubDate>Tue, 21 Nov 2023 15:11:42 +0800</pubDate><description><![CDATA[LSAN: 内存泄漏检测工具，已经集成到 ASAN 中，可以通过设置环境变量ASAN_OPTIONS=detect_leaks=0来关闭ASAN上的LSAN，也可以使用-fsanitize=leak编译选项代替-fsanitize=address来关闭ASAN的内存错误检测，只开启内存泄漏检查。而且相比于Valgrind只能检查到堆内存的越界访问和悬空指针的访问，ASAN 不仅可以检测到堆内存的越界和悬空指针的访问，还能检测到栈和全局对象的越界访问。]]></description><category></category></item><item><title><![CDATA[内存泄漏检测工具Valgrind交叉编译]]></title><link>https://blog.youkuaiyun.com/mrhjlong/article/details/134511769</link><guid>https://blog.youkuaiyun.com/mrhjlong/article/details/134511769</guid><author>mrhjlong</author><pubDate>Mon, 20 Nov 2023 17:59:27 +0800</pubDate><description><![CDATA[内存泄漏检测工具Valgrind交叉编译。]]></description><category></category></item><item><title><![CDATA[FTP网络问题排查]]></title><link>https://blog.youkuaiyun.com/mrhjlong/article/details/134376035</link><guid>https://blog.youkuaiyun.com/mrhjlong/article/details/134376035</guid><author>mrhjlong</author><pubDate>Mon, 13 Nov 2023 14:07:46 +0800</pubDate><description><![CDATA[③客户端开放随机端口，发送PORT命令到服务器端21端口，服务器连接随机端口发送数据到20端口 ④服务器端20端口发送数据，连接到客户端的随机端口。a、客户端的随机端口向服务器端的21号端口发起连接请求，输入用户名和密码，然后服务器端需要进行用户名和密码的认证，认证通过以后需要返回bind信息。b、客户端开放一个新的随机端口，通过port命令发送给服务器端。连接到随机端口发送数据到20端口。③客户端发送PASV命令到服务器端21端口，服务器开放随机端口。④客户端接受此随机端口，连接此随机端口。]]></description><category></category></item><item><title><![CDATA[软链接与exec进程替换运行路径问题]]></title><link>https://blog.youkuaiyun.com/mrhjlong/article/details/132341396</link><guid>https://blog.youkuaiyun.com/mrhjlong/article/details/132341396</guid><author>mrhjlong</author><pubDate>Thu, 17 Aug 2023 15:23:10 +0800</pubDate><description><![CDATA[用软链接启动进程时，进程的环境变量列表会包含软链接的路径，但是没有源文件所在路径，可通过/proc/pid/environ查看。所以进程替换需要考虑软链接路径，而不是源文件路径。]]></description><category></category></item><item><title><![CDATA[ping link-local ipv6 (linux/windows)]]></title><link>https://blog.youkuaiyun.com/mrhjlong/article/details/131578838</link><guid>https://blog.youkuaiyun.com/mrhjlong/article/details/131578838</guid><author>mrhjlong</author><pubDate>Thu, 06 Jul 2023 15:59:36 +0800</pubDate><description><![CDATA[【代码】ping link-local ipv6 (linux/windows)]]></description><category></category></item><item><title><![CDATA[linux手动创建mmc卡设备节点]]></title><link>https://blog.youkuaiyun.com/mrhjlong/article/details/131457096</link><guid>https://blog.youkuaiyun.com/mrhjlong/article/details/131457096</guid><author>mrhjlong</author><pubDate>Thu, 29 Jun 2023 15:23:49 +0800</pubDate><description><![CDATA[linux手动创建mmc卡设备节点。]]></description><category></category></item><item><title><![CDATA[Linux内存/proc/meminfo (free/available/buffer/cache)]]></title><link>https://blog.youkuaiyun.com/mrhjlong/article/details/130628208</link><guid>https://blog.youkuaiyun.com/mrhjlong/article/details/130628208</guid><author>mrhjlong</author><pubDate>Fri, 19 May 2023 18:27:07 +0800</pubDate><description><![CDATA[Provides information about distribution and utilization of memory. This varies by architecture and compile options. Some of the counters reported here overlap. The memory reported by the non overlapping counters may not add up to the overall memory usage a]]></description><category></category></item><item><title><![CDATA[ipv4/ipv6设置静态ip]]></title><link>https://blog.youkuaiyun.com/mrhjlong/article/details/130620506</link><guid>https://blog.youkuaiyun.com/mrhjlong/article/details/130620506</guid><author>mrhjlong</author><pubDate>Thu, 11 May 2023 14:37:32 +0800</pubDate><description><![CDATA[内核中的处理逻辑为如果网卡设置为down状态，会清空所有IPv4及IPv6地址，将网卡重新up之后，ipv4地址自动恢复，网卡上自动配置的IPv6链路本地地址也会恢复，但是其他IPv6地址默认会丢失。通过ip link down+up网卡或ifconfig down+up网卡命令，将网卡down掉之后再上线，查看网卡上配置的ip地址，发现ipv4地址不丢失，而配置的IPv6地址丢失。]]></description><category></category></item><item><title><![CDATA[gdb调试]]></title><link>https://blog.youkuaiyun.com/mrhjlong/article/details/129636243</link><guid>https://blog.youkuaiyun.com/mrhjlong/article/details/129636243</guid><author>mrhjlong</author><pubDate>Sat, 18 Mar 2023 14:23:04 +0800</pubDate><description><![CDATA[gdb调试]]></description><category></category></item><item><title><![CDATA[localtime线程不安全与localtime_r时区问题]]></title><link>https://blog.youkuaiyun.com/mrhjlong/article/details/129619429</link><guid>https://blog.youkuaiyun.com/mrhjlong/article/details/129619429</guid><author>mrhjlong</author><pubDate>Fri, 17 Mar 2023 14:59:25 +0800</pubDate><description><![CDATA[localtime线程不安全，localtime_r时区问题。]]></description><category></category></item><item><title><![CDATA[Linux动态库与静态库同名函数链接顺序问题]]></title><link>https://blog.youkuaiyun.com/mrhjlong/article/details/129334153</link><guid>https://blog.youkuaiyun.com/mrhjlong/article/details/129334153</guid><author>mrhjlong</author><pubDate>Sat, 04 Mar 2023 15:03:24 +0800</pubDate><description><![CDATA[linux gcc编译链接动态库与静态库同名函数顺序问题]]></description><category></category></item><item><title><![CDATA[Ipv6设置与字节序转换]]></title><link>https://blog.youkuaiyun.com/mrhjlong/article/details/126490588</link><guid>https://blog.youkuaiyun.com/mrhjlong/article/details/126490588</guid><author>mrhjlong</author><pubDate>Wed, 24 Aug 2022 15:14:58 +0800</pubDate><description><![CDATA[Linux下支持ipv6设置，字节序概念及转换介绍。]]></description><category></category></item><item><title><![CDATA[图像处理100问（Question_11_20）]]></title><link>https://blog.youkuaiyun.com/mrhjlong/article/details/120328691</link><guid>https://blog.youkuaiyun.com/mrhjlong/article/details/120328691</guid><author>mrhjlong</author><pubDate>Thu, 16 Sep 2021 18:48:41 +0800</pubDate><description><![CDATA[感谢分享！
English is here (KuKuXia translates into English)
https://github.com/KuKuXia/Image_Processing_100_Questions
Chinese is here (gzr2017, my ex-colleague, translates into Chinese)
https://github.com/gzr2017/ImageProcessing100Wen
My git：
https://github.co]]></description><category></category></item><item><title><![CDATA[【HAL】Framework入口函数简介(5)：configure_streams]]></title><link>https://blog.youkuaiyun.com/mrhjlong/article/details/115704634</link><guid>https://blog.youkuaiyun.com/mrhjlong/article/details/115704634</guid><author>mrhjlong</author><pubDate>Sun, 25 Apr 2021 14:20:42 +0800</pubDate><description><![CDATA[一、CAMERA_DEVICE_API_VERSION_3_0 and 3_1

重置HAL相机设备正在处理的pipeline并设置新的输入和输出流。此调用将所有现有的stream配置替换为stream_list中定义的stream。在initialize()之后，使用process_capture_request()提交请求之前，将至少调用一次此方法。
stream_list必须至少包含一个具有输出能力的stream，并且可能不会含一个以上具有输入能力的stream。
stream_list中的strea]]></description><category></category></item><item><title><![CDATA[【HAL】Framework入口函数简介(4)：construct_default_request_settings]]></title><link>https://blog.youkuaiyun.com/mrhjlong/article/details/115623569</link><guid>https://blog.youkuaiyun.com/mrhjlong/article/details/115623569</guid><author>mrhjlong</author><pubDate>Wed, 14 Apr 2021 17:16:48 +0800</pubDate><description><![CDATA[construct_default_request_settings:
标准相机用例创建拍照设置。
设备必须返回被配置为满足请求用例的设置缓冲区，且必须是CAMERA3_TEMPLATE_*枚举类型之一。必须包括所有请求控制域。
HAL保留该结构体的所有权，但在关闭设备之前，指向该结构体的指针必须有效。一旦缓冲区被此调用返回，Framework和HAL可能不会修改缓冲区。对于相同模板或其他模板的后续调用，可以返回相同的缓冲区。

/// @brief Request template types for .]]></description><category></category></item><item><title><![CDATA[【HAL】Framework和HAL之间的起始和基本执行流程]]></title><link>https://blog.youkuaiyun.com/mrhjlong/article/details/115556214</link><guid>https://blog.youkuaiyun.com/mrhjlong/article/details/115556214</guid><author>mrhjlong</author><pubDate>Fri, 09 Apr 2021 17:58:53 +0800</pubDate><description><![CDATA[Framework调用camera_module_t-&gt;common.open()，返回hardware_device_t结构体。
Framework检查hardware_device_t-&gt;version字段，并为该版本的相机硬件设备实例化相应的句柄。如果是3.0版本，则将hardware_device_t映射为camera3_device_t。
Framework入参Framework的回调函数指针调用camera3_device_t-&gt;ops-&gt;initialize()。仅在.]]></description><category></category></item></channel></rss>