So I compiled the mainline kernel for my Ubuntu 12.04 install based on instructions from Intel (they just released the graphics driver for my chip). Anyway, the problem is I'm getting a ridiculously large linux-image deb. I wonder what I was doing wrong? Do I have to disable debug symbols?
This is the official instructions from Intel: http://download.intel.com/support/mothe ... ntu_12.pdf
This is the procedure I followed (I used "make deb-pkg" instead of "make install" so I can have deb packages):
Code: Select all
1. download kernel $ wget http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.1.tar.gz 2. copy patch and kernel tarballs to build directory and untar both $ tar xjf cdv-gfx-drivers-1.0.1_bee.tar.bz2 $ tar xzf linux-3.1.tar.gz 3. cd to kernel directory and apply patches $ cd linux-3.1 $ patch -p1 < ../cdv-gfx-drivers-1.0.1_bee/src/kernel-ttm-clear-high.patch $ patch -p1 < ../cdv-gfx-drivers-1.0.1_bee/src/cedarview-kernel-v1.0.1_bee.patch 4. configure using current kernel install - SKIPPED $ cp /boot/config-$(uname -r) .config $ yes '' | make oldconfig 5. Edit drivers/staging/Kconfig and add the following line: source "drivers/staging/cdv/Kconfig" Edit drivers/staging/Makefile and add the following line: obj-$(CONFIG_DRM_INTEL_CDV) += cdv/ 6. configure the kernel using menuconfig utility $ make menuconfig The kernel configuration window pops-up and looks like the following: Figure 2: Menu Config Utility Screen a) Select "Processor type and features --- >" by using the arrow key and enter b) Select "High Memory Support (64GB) --->" by using the arrow key and enter c) Move the cursor to 4 GB and hit spacebar to select d) Exit one level e) Select "Device driver --- >" by using arrow key and enter f) Select "staging drivers --- >" by using arrow key and enter g) Select "Intel CDV (load along with IMG driver)" and hit the space bar. This will load the release driver. h) Exit and save 7 compile the kernel $ make clean $ make -j3 deb-pkg