homehowtokbslinksaboutcontactprojectsmusic

Index > Help Tutorials > Create custom bzImage
Make development directory
mkdir ~/tmp;cd ~/tmp
Download the kernel
wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.14.31.tar.xz
Extract the kernel
tar -xvf linux-3.14.31.tar.xz
Change to extracted directory
cd linux-3.14.31
Install tools if needed
apt-get install libqt4-core libqt4-gui libqt4-dev pkg-config g++ libncurses5-dev
Run the configuration gui
make xconfig
Answer like followings
[] Enable loadable module support
[] LLinux guest support 
[] Supported processor vendors
Power   management Aand ACPI options ->uncheck  all
  [] ACPI Support 
  [] SFI Support 
Bus options
  [] PCCard support 
  [] Support for PCT Hotplug
Networking support
  Networking options
    [] Network packet  filtering framework (Netfilter)
    [] The DCCP Protocol
    [] The TIPC Protocol
    [] Layer Two Tunneling Protocol (L2TP)
  [] Amateur Radio Support
  [] CAN bus subsystem support
  [] irDA (infrared) subsystem support
  [] Bluetooth subsystem support
Wireless -> uncheck all
  [] WiMAX Wireless Broadband support
  [] RF switch subsystem support
  [] Plan 9 Resource Sharing Support (9P2000)
  [] CAIF support
  [] NFC subsystem support
devcie Drivers
  [] Memory Technology Device (MTD) support
  [] Parallel port support
  Misc devices
    [] Silicon Labs C2 port support
  [] Multiple devcies driver support (RAID and LVM)
  [] Generic Target Core More (TCM) and ConfigFS Infrastructure 
  [] Fusion MPT device support
  [] Macintosh Device drivers
Network device support -> uncheck [] PPP support []IPv6
  [] ARCnet support
  [] ATM drivers
  USB Network Adapters -> uncheck all
  [] Wireless LAN
  [] Wan interface support
  [] IEEE 802.15.4 drivers
  [] ISDN support
Input device support -> uncked [] Joystick [] Event interface [] Envent debugging [] Tablets [] Touchscreens [] 
  Hardware I/O ports -> uncheck Gameport support
Character devices
  [] IPMI top-level message handles
  [] SPI support
  [] HSI support
  [] Watchdog Timer Support
  [] Multimedia support
  [] Sound card support
  [] Ultra Wideband device
  [] MMC/SD/SDIO card support
  [] Sony Memory card support
  [] InfiniBand support
  [] EDAC (Error Detection And Correction) reporting
  [] Real Time Clock
  [] Auxilliary Display support
  [] Staging drivers
  [] Mailbox Hardware Support
  [] IOMMU Hardware Support
  [] External Connector Class support
  [] IndustoryPack bus support
  [] Pulse-Width Modulation (PWM) Support
  [] IndustoryPack bus support
  [] FMC support
Filesystems
  CD-ROM/DVD Filesystems ->uncheck all
Native language support ->uncheck all except ASCII (United States)

Kernel hacking
  [] Tracers
  [] KGDB
Cryptographic API
  [] Hardware crypto devices
Make bzImage
make clean
make bzImage
make modules
make modules_install