-
This kernel source code repository has included tools to simplify building the kernel, create/install the environment and, eventually, compress the kernel image
(zImage, RamDisk)
after you make your modifications in theBoot
directory. -
When you execute the scripts you will see the verbose output for better understanding the processes.
This can be done in three steps:
- * 1. Compiling
- Build the kernel. There are 4 parameters to customize your build.
- * 2. Preparing the environment
- Set up the environment and decompress the RamDisk.
- * 3. Kernel compression
- Compress the kernel image with modifications in the boot directory or with default Merruk or Samsung files.
For compiling Merruk Technology kernel open the command prompt (CONSOLE)
and see this :
Description | Meaning | Command | Parameter |
---|---|---|---|
New Compile/Update Existing Kernel | First Compile or Only Modded Codes | Kernel_Make | -MT |
Specific 'CONFIG_FILE' Compile | Must be in /arch/arm/configs/ | Kernel_Make | -CF totoro_brcm21553_05_defconfig |
Clean Build (0 files already built) | Like first time, clean files and build | Kernel_Make | -CL |
Specify number of prosessors | Script guesses that automatically | Kernel_Make | -CPU [Number of cores] (all cores by default) |
Make the Totoro defconfig 05 | menuconfig use the actual totoro | Kernel_Make | MENU |
On first use of the Tools
directory you need to set up the environment :
Usage:
cd ./Tools
./Install.sh [Parameter]
Parameters:
- merruk
- Use Merruk Technology RamDisk
- stock
- Use Samsung RamDisk
You can simply call this tool after you made changes in the 'Boot' directory (RamFS)
:
Usage:
cd ./Tools
./Compress.sh [Parameter]
Parameters:
- merruk
- Use Merruk Technology kernel
- stock
- Use Samsung kernel
Your compressed kernel will be built as:
PDA.[parameter].tar | Odin file, search for a compatible version |
Kernel.[parameter].Boot.img | Raw file, flash with 'dd' command |