Archive:Raspberry Pi Kernel Custom Configuration

From JMK Wiki
Jump to navigation Jump to search
root@localhost ~ # cd /usr/local/src/rpi
root@localhost /usr/local/src/rpi # git clone https://github.com/raspberrypi/linux.git
root@localhost /usr/local/src/rpi # cd /usr/local/src/rpi/linux
root@localhost /usr/local/src/rpi/linux # make mrproper
root@localhost /usr/local/src/rpi/linux # cp arch/arm/configs/bcmrpi_defconfig .config
root@localhost /usr/local/src/rpi/linux # zcat /proc/config.gz > .config
root@localhost /usr/local/src/rpi/linux # make oldconfig
root@localhost /usr/local/src/rpi/linux # make menuconfig
root@localhost /usr/local/src/rpi/linux # make

This kernel configuration is based on the Gentoo image (sys-kernel/raspberrypi-image-3.6.11_p20130730)

Changes

  • enabled initrd to be able to add custom initrd file
  • set LVM to compile into kernel

Kernel

General setup  --->
   [*] Initial RAM filesystem and RAM disk (initramfs/initrd) support
       [*] Support initial ramdisks compressed using gzip (NEW)
Device Drivers  --->
   Multiple devices driver support (RAID and LVM)  --->
       <*> Device mapper support 
           <*> Crypt target support
           <*> Snapshot target
           <*> Mirror target
       <*> Multipath target
           <*> I/O Path Selector based on the number of in-flight I/Os
           <*> I/O Path Selector based on the service time

Download