How to Self-Compile the Raspberry Pi 64-bit Kernel System

How to Self-Compile the Raspberry Pi 64-bit Kernel System

Recently, we recommended chainsx’s “Raspberry Pi Ubuntu 64-bit System Player Experience Edition”. The author further provides methods for self-compiling the above system and creating an image file, introducing how to cross-compile and compile directly on the Raspberry Pi, teaching you to fish~ You can cross-compile using Ubuntu 16.04 or compile directly on the Raspberry Pi. … Read more

Trimming Methods and Differences of Embedded Linux Kernel and Uboot

Trimming Methods and Differences of Embedded Linux Kernel and Uboot

This section only records the general trimming method without introducing specific file modifications. Linux Kernel Trimming Steps 1 Modify the ARCH and CROSS_COMPILE environment variables in the makefile ARCH ?= arm CROSS_COMPILE ?= XXX (your cross compiler) 2 Find the configuration file xxxdeconfig in the arch/arm/configs folder, and modify it appropriately. Run the following in … Read more