@related : AmiloA linux-source

k7-amiloa is a type of kernel compiled for AmiloA laptop I try to maintain

News

HowTo

Install Linux Kernel for AmiloA Laptop running Debian

Now find a corrected DSDT that correspond to your bios version

copy it in /etc/

AML=/etc/DSDT.aml
ln -fs  $AML /etc/mkinitrd/DSDT

then

su
wget -O- http://rzr.online.fr/docs/contribs/sources.list >> /etc/apt/sources.list
sudo apt-get update && sudo apt-cache search k7-amiloa
# apt-get install linux-XYZ-k7-amiloa
KVER=$(uname -r) # 2.6.xx-k7-amiloa
cd /boot
INITRD_ORIG=/boot/initrd.img-${KVER}
INITRD=${INITRD_ORIG}-${HOSTNAME}
cp -fv $INITRD_ORIG $INITRD  # custom version that include dsdt
echo -n "INITRDDSDT123DSDT123" >> $INITRD # start block mark ( [[DSDT]] block)
cat $AML >> $INITRD # custom fixed table
echo -n "INITRDDSDT321DSDT321" >> $INITRD # end block mark
edit /boot/grub/menu.lst  # and add -${HOSTNAME} to your initrd

Compile [[Linux]] [[Kernel]] for [[AmiloA]] [[Laptop]] running [[Debian]]

sudo apt-get install linux-source-2.6 # linux-source-2.6.18
# Package linux-source-2.6 is a virtual package provided by:
sudo apt-get install linux-source-2.6.18 kernel-package libncurses5-dev
export VERSION=2.6.18
export REVISION=-k7-amiloa
export KVER=${VERSION}${REVISION}
cd /usr/local/src && tar xfj /usr/src/linux-${VERSION}.tar.bz2
cd /usr/local/src/linux-source-${VERSION}
sed -e "s/\(EXTRAVERSION =.*\)/\1$REVISION/g" -i Makefile  # Tricky [[RegEx]] ?
grep "^EXTRAVERSION" Makefile
wget -O - http://gaugusch.at/acpi-dsdt-initrd-patches/acpi-dsdt-initrd-v0.7e-2.6.14.patch \
 | patch -p1 -b # [[DSDT]] http://gaugusch.at/kernel.shtml
make menuconfig
zcat /proc/config.gz > /usr/local/src/config-$(uname -r).txt
zcat /proc/config.gz > .config