@related : AmiloA linux-source

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

News

  • 20080911 : Linux version 2.6.26-k7-amiloa-rt (2.6.26) (root@nrv) (gcc version 4.3.2 (Debian 4.3.2-1) ) #3 PREEMPT RT Fri Oct 24 18:11:22 CEST 2008

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
k7-amiloa.txt · Last modified: 2022/04/16 12:23 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki