Rebuild kernel
From Manuals
(Difference between revisions)
| Line 1: | Line 1: | ||
To build a kernel for the Micromint Electrum you need a compatible [[Debian_ARM_Cross-compile | ARM toolchain]]. Please remember to use the desired board config file and rebuild the kernel modules when you build a new kernel. These commands will build a kernel and its modules using the [[Electrum_Documentation#Boot_and_Operating_System_Files | sources from the wiki]]: | To build a kernel for the Micromint Electrum you need a compatible [[Debian_ARM_Cross-compile | ARM toolchain]]. Please remember to use the desired board config file and rebuild the kernel modules when you build a new kernel. These commands will build a kernel and its modules using the [[Electrum_Documentation#Boot_and_Operating_System_Files | sources from the wiki]]: | ||
| - | tar | + | tar xJf linux-3.2.76-1-at91.tar.xz |
| - | + | ./build-3.2 | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
To use the default board config, don't make any changes on menuconfig and just select exit. After a successful build the resulting kernel and modules should be in arch/arm/boot and boot/lib respectively. Once you are able to build a working kernel with the default config, then implement any config and source code changes required by your project. | To use the default board config, don't make any changes on menuconfig and just select exit. After a successful build the resulting kernel and modules should be in arch/arm/boot and boot/lib respectively. Once you are able to build a working kernel with the default config, then implement any config and source code changes required by your project. | ||
Revision as of 23:29, 3 February 2016
To build a kernel for the Micromint Electrum you need a compatible ARM toolchain. Please remember to use the desired board config file and rebuild the kernel modules when you build a new kernel. These commands will build a kernel and its modules using the sources from the wiki:
tar xJf linux-3.2.76-1-at91.tar.xz ./build-3.2
To use the default board config, don't make any changes on menuconfig and just select exit. After a successful build the resulting kernel and modules should be in arch/arm/boot and boot/lib respectively. Once you are able to build a working kernel with the default config, then implement any config and source code changes required by your project.
