home

GuruPlug Kernel

GuruPlug Server Plus Kernel Notes

Kernel Sources

Compile

make guruplug_config
make menuconfig
make-kpkg kernel_image kernel_headers
make uImage

Note: a suitable Kernel image can be downloaded below.

Installation

Testing

rarp 0x6400000 uImage
setenv bootargs console=ttyS0,115200 ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs init=/bin/bash
bootm 0x6400000

Production

rarp 0x6400000 uImage
nand erase 0x100000 0x400000
nand write.e 0x6400000 0x100000 0x400000
setenv bootargs 'console=ttyS0,115200 rootwait root=/dev/sdb4'
saveenv
boot

Here’s a dump of my u-boot environment variables:

GuruPlug>> printenv
bootdelay=3
baudrate=115200
ethact=egiga0
ethaddr=00:50:43:01:82:38
eth1addr=00:50:43:01:82:39
bootargs_old=console=ttyS0,115200 ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs
bootargs=console=ttyS0,115200 rootwait root=/dev/sdb4
bootcmd=nand read.e 0x6400000 0x100000 0x400000; bootm 0x6400000;
stdin=serial
stdout=serial
stderr=serial

Download

Advanced

mkimage -n linux-2.6.33.3flipflip -A arm -O linux -T kernel -C none -a 0x000800000 -d /boot/vmlinuz-2.6.33.3flipflip /boot/uImage
sed -i '/MODULES/s/most/dep/' /etc/initramfs-tools/initramfs.conf 
update-initramfs -v -c -k 2.6.33.3flipflip
mkimage -n '2.6.33.3flipflip initrd' -A arm -O linux -T ramdisk -C none -a 0x01100000 -d /boot/initrd.img-2.6.33.3flipflip /boot/uInitrd

And then boot using something like this:

setenv bootargs console=ttyS0,115200 rootwait root=/dev/sdc4
setenv bootcmd 'usb start; ext2load usb 1:4 0x1100000 /boot/uInitrd; ext2load usb 1:4 0x0800000 /boot/uImage; bootm 0x000800000 0x01100000;'
boot

See also

Visitors to this page so far.