Jetson Xavier NX configuration YOLOV5 environment

1. pip3 and dependent library installation sudo apt-get update sudo apt-get install python3-pip python3-dev -y sudo apt-get install build-essential make cmake cmake-curses-gui -y sudo apt-get install git g++ pkg-config curl -y sudo apt-get install libatlas-base-dev gfortran libcanberra-gtk-module libcanberra-gtk3-module -y sudo apt-get install libhdf5-serial-dev hdf5-tools -y sudo apt-get install nano locate screen -y sudo apt-get install […]

On win10, configure the Rust development environment (using the mingw64 compiler) and idea to configure the Rust plugin

Article directory 1. Preparation before installation 2. Install mingw64 2.1, the choice between the compiler mingw and visual studio 2.2. Download 2.3. Installation 2.4. Configuration 2.5. Test 3. Install Rust 3.1. Download [rustup-init](https://win.rustup.rs/) from Rust’s official website 3.2. Configure the domestic mirror address 3.3. Run rustup-init 3.4. Verification 3.5. Rustup common commands 4. cargo configuration […]

Linux– Process priority and environment variables

Directory process priority basic concept How to check priority PRI and NI NI value setting range How to modify the NI value Modification method 1: Modify the priority through the top command Modification method 2: Modify the priority through the renice command Four important concepts of process environment variable basic concept Common Environment Variables View […]

Lab3: VS Code-based Linux kernel debugging environment construction and start_kernel tracking analysis

Article directory Compile the kernel make root file Use gdb to debug Configure vscode debugging reference article Compile the kernel Install development tools sudo apt install build-essential sudo apt install qemu # install QEMU# as a virtual machine sudo apt install libncurses5-dev bison flex libssl-dev libelf-dev Decompress the source code: tar -xvf linux-5.4.34.tar Configure the […]

VS Code-based Linux kernel debugging environment construction and start_kernel tracking analysis

1. Configure VSCode In order to prevent the problem of slow downloading through the virtual machine, choose to download the vscode installation package and upload the virtual machine through finalshell. Execute the following installation command to install sudo apt install ./code_1.76.2-1678817801_amd64.deb Also install the VSCode plugins C/C++ Intellisense and C/C++ Themes. Since the plug-in C/C++ […]

VSCode-based Linux kernel debugging environment construction and start_kernel tracking analysis

1. Install development tools The first step is to install the corresponding development tools on the Linux virtual machine, use the following command sudo apt install build-essential sudo apt install qemu # install QEMU# as a virtual machine sudo apt install libncurses5-dev bison flex libssl-dev libelf-dev #Dependencies required to compile the kernel — some basic […]

VS Code-based Linux kernel debugging environment construction and start_kernel tracking analysis

1. Prepare related tools sudo apt install build-essential sudo apt install qemu sudo apt install libncurses5-dev bison flex libssl-dev libelf-dev 2. Install and configure the kernel sudo apt install axel axel -n 20 https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/linux-5.4.34.tar.xz xz -d linux-5.4.34.tar.xz tar -xvf linux-5.4.34.tar cd linux-5.4.34 make defconfig # Default configuration is based on ‘x86_64_defconfig’ make menuconfig # Open […]

Build a k8s environment based on minikube from 0

1. Prepare a virtual machine environment Personally I use Vitual Box The Linux system uses Centos7 2. Install Linux on a virtual machine Just choose the minimum content to install, I personally like pure and pure 3. Install Docker refer to this article https://blog.csdn.net/jll126/article/details/123113823 Just go from start to finish The docker version I chose […]

VS Code-based Linux kernel debugging environment construction and start_kernel tracking analysis

1. Install development tools sudo apt install build-essential sudo apt install qemu # install QEMU# as a virtual machine sudo apt install libncurses5-dev bison flex libssl-dev libelf-dev #Dependencies required to compile the kernel — some basic libraries 2. Download the kernel source code sudo apt install axel #Download the source code package axel -n 20 […]