Hi,
Quote:
I installed the september image, uncompress /proc/config.gz config file to .config then make.
In /arch/arm/boot/compressed i got what looks like a compressed vmlinux. How can i used it or what is the best way to test it ? I'm more familiar with lilo or grub...
First, you need a uImage, you can get that by running 'make uImage'.
The UBoot bootloader gets its parameters from the boot.scr file in /boot. You can make a copy of this script, and delete the top two line (or start a new file). The contents should look like this:
Code:
setenv ramdisk uInitrd-2.6.31.14.24-efikamx;
setenv kernel uImage-2.6.31.14.24-efikamx;
setenv bootargs console=tty1 root=/dev/sda2 rootwait rw quiet splash;
${loadcmd} ${ramdiskaddr} ${ramdisk};
if imi ${ramdiskaddr}; then; else
setenv bootargs ${bootargs} noinitrd;
setenv ramdiskaddr "";
fi;
${loadcmd} ${kerneladdr} ${kernel}
if imi ${kerneladdr}; then
bootm ${kerneladdr} ${ramdiskaddr}
fi;
Let's say I called this script myboot.script, you can then generate the boot.scr with:
Code:
mkimage -A arm -O linux -a 0 -e 0 -T script -C none -n "EfikaMX Boot Script" -d myboot.script boot.scr
You might want to make a backup of the original boot.scr first, just in case.
Ubuntu uses an initrd, that's why there is a 'ramdisk' defined. You can leave that undifined if your kernel has all the needed modules built in.
A reboot should get you into your new kernel. Don't forget to copy your kernel modules across!
Should things not work out, you can recover by using the SD installer card. Saying 'n' when asked to re-image the system will drop you to a command line interface (user:oem, pass:oem) from where you can mount your internal flash disk and use the backed-up script to get you a working system again. If all else fails, you can re-image your system with the SD card.
EDIT:
If you're working on a Debian system or derivative (or just to know more), have a look at:
http://wiki.debian.org/EfikaMX
Johan.
_________________
Johan Dams, Genesi USA Inc.
Director, Software Engineering
Yep, I have a blog...
PurpleAlienPlanet