--- Comment #38 from jcat <nysasounds@...> 2009-11-25 09:53:56 ---
Created an attachment (id=23930)
Helper script to compile kernel using the Ubuntu method with custom DSDT - Use
at your own risk :)
I've attached a fairly dumb helper script, which was created to automate the
ubuntu steps. Have a look, and alter it to reflect your system.
Install the linux-source package from the ubuntu repo.
Unpack the Linux source (found in /usr/src/), and link to it with
Then run the script (after modifying) with something like:
./make-new-kernel.sh -c -s custom-dsdt
..in menu config, un-select the option:
"Device Drivers/Generic Driver Options/Select only drivers that don't need
compile-time external firmware"
..then enter the name of the DSDT file (DSDT.hex) in option:
"Power management and ACPI options/ACPI (Advanced Configuration and Power
Interface) Support/Custom DSDT Table file to include"
..then un-select "Power management and ACPI options/ACPI (Advanced
Configuration and Power Interface) Support/Thermal Zone"
..then when you exit menuconfig, select to save it when it promts you.
You should end up with a kernel package, and a linux-headers package in
/usr/src/. Install both packages with dpkg.
If you use the default ubuntu config, it will take a couple of hours to compile
the kernel, as it contains nearly every option under the sun. You can reduce
the time by removing at least all the drivers you don't need :)
You can of course just test the DSDT by getting the source from kernel.org and
putting the DSDT in the source include directory, copy the defualt x86 config
to .config, "make oldconfig", "make menuconfig" configuring as above, the
Then copy the kernel image to /boot/ and set-up grub accordingly.
Using Ubutnu, it's probably better to use the Ubuntu way, as it uses their
source patch set and ties in with their package management, and will allow the
boot to look pretty etc :)
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.