In-Depth Analysis of Intelligent Vehicle Operating Systems

In-Depth Analysis of Intelligent Vehicle Operating Systems

In the context of software-defined vehicles, the operating system is the soul of the automotive ecosystem’s development. With the advancement of electrification, intelligence, and connectivity in vehicles, automotive operating systems have become one of the important components of vehicles, determining to some extent the safety, comfort, intelligence level, and overall performance of the vehicle. Introduction … Read more

NVIDIA Jetson TX2 Beginner’s Guide: An Unfettered Adventure

NVIDIA Jetson TX2 Beginner's Guide: An Unfettered Adventure

Thank you for bringing us various surprises [Preface] In 2017, NVIDIA officially started to sell the new generation of embedded high-performance computing platform, the Jetson TX2. Compared to the previous generation Jetson TX1, it has more than double the energy efficiency and twice the operational performance, allowing it to run more complex neural networks on … Read more

Porting MQTT on ARM Linux (Paho, Mosquitto)

Porting MQTT on ARM Linux (Paho, Mosquitto)

Introduction Here we will do two things: 1) Compile the C version libraries of two open-source projects, paho.mqtt and mosquitto (the mosquitto library will not be used) 2) Compile the library that depends on paho.mqtt and write examples + mosquitto server. Host Platform: Ubuntu 16.04 ARM Platform: s5p6818 SSL: openssl-1.0.2t MQTT Client: paho.mqtt.c Now we … Read more

A Minimalist MQTT Interface EasyMqttClient

A Minimalist MQTT Interface EasyMqttClient

Click on the “Embedded Application Research Institute” above, and select “Top/Star Official Account“ Useful Resources Delivered First Hand! Source | Embedded Application Research Institute Compiled & Formatted | Embedded Application Research Institute In the development of IoT-related applications, MQTT is used to some extent. The following open-source project is an interface I encapsulated based on … Read more

Building a TCP/IP Stack: Part 1 – Ethernet & ARP

This article is a translation of “Let’s code a TCP/IP stack, 1: Ethernet & ARP”. The translation process is also a learning experience for myself. Writing your own TCP/IP stack may seem like a daunting task. In fact, TCP has accumulated many specifications over its more than thirty years of life. However, the core specifications … Read more

Understanding the Relationship Between Sockets and TCP/IP

Fact One: File Descriptor Limits Friends who write network server programs in Linux surely know that each TCP connection occupies a file descriptor. Once this file descriptor is exhausted, a new connection attempt will return the error “Socket/File: Can’t open so many files”. At this point, you need to understand the operating system’s limit on … Read more

Detailed Methods and Techniques for GDB Debugging on Linux

Detailed Methods and Techniques for GDB Debugging on Linux

1. Introduction to GDB GDB is a powerful command-line debugging tool released by the GNU open-source organization for UNIX/LINUX operating systems. For a C/C++ programmer working on Linux, GDB is an essential tool; 2. GDB Usage Process Here, we will use a C program for basic demonstration, and the same applies to C++ programs; 1. … Read more

Mastering GDB Debugger in Linux Environment

Linux | Red Hat Certified | IT Technology | Operations Engineer 👇Join our tech exchange QQ group with remark 【Official Account】 for faster access 1. Program Release Modes There are two modes for program release: debug mode and release mode. 1.1 Debug Mode Purpose: Mainly used during the development and testing phases, allowing developers to … Read more

Linux Software Package Management: RPM

Linux Software Package Management: RPM

1 Overview In our daily development and operations work, we encounter various software packages; software packages can be broadly divided into two categories: binary files, such as (exe, rpm, bin, etc.); the other category is source files (various tarballs). This article will introduce the most commonly used RPM software package in Linux systems, discussing the … Read more

Using SystemTap to Trace Custom Kernel Modules

Using SystemTap to Trace Custom Kernel Modules

One Background After reading the article “Dynamic Tracing Technology Discussion” (https://blog.openresty.com.cn/cn/dynamic-tracing/), I thought about using SystemTap to trace my own developed kernel module. However, the official documentation of SystemTap (https://sourceware.org/systemtap/documentation.html) only gives examples of tracing kernel modules by using drivers from the kernel source tree, for example: probe module(“ext3”).function(“*”) { }, and indeed, the verification … Read more