From: Samuli T. <sa...@ai...> - 2004-01-22 18:39:04
|
ro...@Ih... wrote: > > Heh, thanks :) I've just updated it, and diffs's are uploading as we > speak. Give em 5 min and they'll be up.. > -Alan Oh, hey thanks, didn't notice this post at first. Yep, seems to apply with few offsets to 2.6.1 also, except for one Makefile, but that's trivial just need to copy the image offsets in place by hand. Thanks, great work :), is there something particular that you'll continuing the work with? To anyone who wants to try this but is not familiar with linux kernel or just wants a jumpstart, make sure you have devkitcube crosscompiler from http://heliscar.com/greg/ (there's one with better build environment and couple of samples at http://www.hangar-eleven.de/en/) and that shell is able to find it (export PATH=/usr/local/devkitcube/bin:$PATH). Then go to your kernel tree, do "make mrproper; patch -p1 <../patchfile.diff" (fix arch/ppc/boot/simple/Makefile according to Makefile.rej if you're using 2.6.1), do the "powerpc-eabi-elf-gcc -r -o built-in.o *[^w].c" in arch/ppc/cube/mygcn as Alan says on his webpage, then back to kernel root, "cp .config2 .config; make menuconfig", save and "make", if you want a .dol to run on the cube, do "powerpc-eabi-elf-objcopy -O binary zImage.elf zImage.elf.dol" in arch/ppc/boot/images/, good luck :). -stt |