Install Debian 6.0 Squeeze (2.6.39.1) on Cobalt Raq 550
 
This guide is based on [art=234]kernel 2.6.27 guide[/art] for Cobalt Raq 550.
Follow the other guide until here:
mknod -m 660 ttyS0 c 4 64
mknod -m 660 ttyS1 c 4 65

cd /mnt/usr/src/


There, proceed with the following commands to compile / install kernel 2.6.39.1.
This process takes approx. 1.5 hours on a Cobalt Raq 550 with 512 MB RAM.

cd /mnt/usr/src/
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.39.1.tar.gz
wget http://downloads.raqcop.com/cobalt_ipcop/extras/cobalt-kernel-patches/2.6-kernel/linux-cobalt-2.6.39.patch

tar -xzf linux-2.6.39.1.tar.gz

ln -s linux-2.6.39.1 linux
ln -s linux-2.6.39.1 linux-2.6.39.1-cobalt
apt-get install patch

patch -p0 < linux-cobalt-2.6.39.patch

#wget http://downloads.raqcop.com/cobalt_ipcop/extras/Cobalt-Server-Kernels/configs/2.6-kernel/2.6.39.1-cobalt.config.txt
#cp 2.6.39.1-cobalt.config.txt linux-2.6.39.1/.config

wget http://lookass.ch/content_files/2.6.39.1-cobalt-siliconinitio-new.config.txt
cp 2.6.39.1-cobalt-siliconinitio-new.config.txt linux-2.6.39.1/.config

chroot /mnt
cd /usr/src/linux
apt-get install libncurses5-dev
apt-get install kernel-package
apt-get install libc6-dev
make menuconfig
make-kpkg clean
make-kpkg --initrd --revision='2012.10.21-2.silic.initio' kernel_image kernel_headers modules_image
make vmlinux modules modules_install
strip vmlinux
bzip2 -c vmlinux > /boot/vmlinuz-2.6.39.1-cobalt.bz2
cd /usr/src/
# mv /lib/modules/2.6.39.1-cobalt /lib/modules/2.6.39.1-cobalt.old
dpkg -i linux-image-2.6.39.1-cobalt_2012.10.21-2.silic.initio_i386.deb
dpkg -i linux-headers-2.6.39.1-cobalt_2012.10.21-2.silic.initio_i386.deb

cd /boot
ln -s vmlinuz-2.6.39.1-cobalt.bz2 vmlinux.bz2
ln -s System.map-2.6.39.1-cobalt System.map



The size of "/boot/vmlinuz-kernelversion.bz2" can not exceed a certain size. For me, the following size still worked:
-rw-r--r-- 1 root root 2123312 21. Okt 12:06 vmlinuz-2.6.39.1-cobalt.bz2

If the threshold size is exceeded, the Cobalt will not be able to decompress it at "Stage 2 Kernel booting".


Configs / Patches were taken from raqcop.com. On the bottom of this page you can find the important files, aswell as an altered config which enables SATA support for Silicon Image / Initio PCI Cards.
 
admin / Oct 31, 2011
 
Files
 
2.6.39.1-cobalt-minimal-lp2.config.txt: Cobalt Raq 550 Config File for Debian Squeeze with Kernel 2.6.39.1 minimal with HFS+ filesystem support, working
 
2.6.39.1-cobalt-minimal-lp1.config.txt: Cobalt Raq 550 Config File for Debian Squeeze with Kernel 2.6.39.1 minimal, working
 
2.6.39.1-cobalt-siliconinitio-new.config.txt: Cobalt Raq 550 Config File for Debian Squeeze with Kernel 2.6.39.1 containing Silicon Image and Initio SATA drivers, working
 
2.6.39.1-cobalt.config.txt: Kernel Config for kernel version 2.6.39.1 working successfully on Cobalt Raq 550 with Debian Squeeze (not a minimal config) downloaded from http://downloads.raqcop.com
 
linux-cobalt-2.6.39.patch: Kernel Patch for 2.6.39.1 (not 2.6.39!) working successfully on Cobalt Raq 550 with Debian Squeeze
 
   
 
 
Login: 
Pass: 
 
 
     
     
2004 - 2019 / lookass.ch
makememad@lookass.ch