Linux 5 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 development libraries
- LibSSL development libraries
- U-Boot Tools libraries
$ sudo apt-get update
$ sudo apt-get install build-essential binutils make git
$ sudo apt-get install gcc-arm-linux-gnueabihf gcc-aarch64-linux-gnu
$ sudo apt-get install bison flex libncurses-dev libssl-dev u-boot-tools
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-5.git
$ cd labrador-linux-5
$ 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, the kernel should be located in the "output" folder for 64-bit architectures or in the "output32" folder for 32-bit architectures.
Caninos Loucos Forum: https://forum.caninosloucos.org.br/
Caninos Loucos Website: https://caninosloucos.org/