Linux 6 kernel source code for Caninos Labrador.
This repository contains the source code for both the Caninos Labrador's 64-bit and 32-bit Linux kernels, along with Debian-specific patches and security updates.
Before compilation, please ensure that you have the following libraries and/or tools installed on your machine:
- GNU Binutils environment and Native GCC compiler
- GCC cross-compiler targeting "gcc-aarch64-linux-gnu"
- GCC cross-compiler targeting "gcc-arm-linux-gnueabihf"
- Make build tool
- Git client
- Bison and Flex development libraries
- NCurses and LibSSL development libraries
- Pahole and LibELF development libraries
- U-Boot Tools libraries
$ sudo apt update
$ sudo apt install build-essential binutils make git
$ sudo apt install gcc-arm-linux-gnueabihf gcc-aarch64-linux-gnu
$ sudo apt install bison flex libncurses-dev libssl-dev u-boot-tools
$ sudo apt install libelf-dev pahole
After installing these tools, clone this repository to your computer. Then, navigate to its main directory and execute its makefile.
$ git clone https://github.com/caninos-loucos/labrador-linux-6.git
$ cd labrador-linux-6
$ make all
$ make all32
If you want to perform an incremental build, follow these steps:
- To load the configuration:
make config32
make config
Note: This will overwrite any previously configured settings.
- To customize which modules are compiled into your kernel image:
make menuconfig32
make menuconfig
- To compile the device tree binary blob:
make dtbs32
make dtbs
- To compile your kernel image:
make kernel32
make kernel
- To reset all configurations:
make clean32
make clean
After successful compilation, kernel should be located in the "release" folder.
Caninos Loucos Forum: https://forum.caninosloucos.org.br/
Caninos Loucos Website: https://caninosloucos.org/