Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.02 KB

README.md

File metadata and controls

37 lines (26 loc) · 1.02 KB

Kernel_samsung_a3xelte

Warning: this is for Marshmallow only

How to build?

  • Download this toolchain: aarch64-cortex_a53-linux-gnueabi and extract it

    • Example: /opt/toolchains/aarch64-cortex_a53-linux-gnueabi-GNU-6.3.0/
  • Edit Makefile

    • Search CROSS_COMPILE variable
    • Replace value by the bin prefix of toolchain
      • Like this: CROSS_COMPILE ?= /opt/toolchains/aarch64-cortex_a53-linux-gnueabi-GNU-6.3.0/bin/aarch64-cortex_a53-linux-gnueabi- (don't forgot the dash at end)
  • Run build_kernel.sh

Outputs

You can find output in :

  • Kernel : arch/arm64/boot/Image

    • To use it, rename it in Kernel-zImage in split_img folder of boot.img extracted
  • module : drivers/*/built-in.o

How to clean?

Run this: make mrproper Or: make clean Or: make ARCH=arm64 distclean

Tips

  • If you have a good config, you can allocate more memory to make process
    • Edit build_kernel.sh
    • Search for -j5 parameter
    • Edit it to -jN, replace N by the number of thread of your PC (like 6, 8, more...)