harmony 鸿蒙Compiling and Building the Linux Kernel

  • 2022-08-09
  • 浏览 (786)

Compiling and Building the Linux Kernel

Example

The following uses the rk3568 board and Ubuntu x86 server as an example.

Perform a full build for the project to generate the kernel image.

./build.sh --product-name rk3568					# Build the rk3568 image.
    --gn-args linux_kernel_version="linux-6.6"		# Specify the kernel version, optional parameters.
													# Note: Currently, Boards are built with Linux-6.6,
													#       rk3568 has completed the Linux-6.6 kernel adaptation. Thus building Linux-6.6 need not to specify the kernel version, but building Linux-5.10 need.
													#       Other boards must add this kernel version parameter to build with the Linux-5.10 before the adaptation is completed.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Kernel

harmony 鸿蒙Kernel Coding Specification

harmony 鸿蒙Standard Libraries

harmony 鸿蒙Interrupt Management

harmony 鸿蒙Event

harmony 鸿蒙Mutex

harmony 鸿蒙Queue

harmony 鸿蒙Semaphore

harmony 鸿蒙Doubly Linked List

harmony 鸿蒙Memory Management

0  赞