Skip to content

3. Copy Kernel

Edwin edited this page Dec 27, 2018 · 4 revisions

Copy Kernel

To copy the kernel please make sure you already finished Setup SD Card Partition.

Build Kernel

Run script create_kernel.sh to clone and compile kernel automatically.

edwinlai@edwinlai:~/iMX8$ ./create_kernel.sh -h
Usage : create_kernel [option]
  -b      --branch        Branch of imx linux kernel.
  -j      --job [N]	Local mount point.
  -h      --help          Print this message.

./create_kernel.sh -b imx_4.9.123_imx8mm_ga -j 20

Copy Kernel to SD Card

Run script copy_kernel.sh to copy it to sd card.

Usage : copy_kernel [option]
  -t	--target	Target device fs, eg. /dev/sdc1
  -m	--mnt		Local mount point.
  -d	--default	Default, ie. /dev/sdc1 & /mnt
  -h	--help		Print this message.

./copy_kernel.sh -t /dev/sdc1 -m /mnt
# or using default
./copy_kernel.sh -d

__Have fun~__
Clone this wiki locally