|
From: Mike G. <eb_...@sb...> - 2004-07-18 03:49:44
|
Cool, thanks. Now, one more question...
I downloaded the 2.6.7 source, and got it patched to support the GC.
make vmlinux compiles fine. But make zImage.initrd gives me the
following error:
[tosk@cavalier ~/linux-2.6.7]$ make zImage.initrd
make[1]: `arch/ppc/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
SKIPPED include/linux/compile.h
AS arch/ppc/boot/simple/head.o
AS arch/ppc/boot/simple/relocate.o
CC arch/ppc/boot/simple/misc-embedded.o
arch/ppc/boot/simple/misc-embedded.c: In function `load_kernel':
arch/ppc/boot/simple/misc-embedded.c:80: warning: unused variable `ch'
arch/ppc/boot/simple/misc-embedded.c:81: warning: unused variable `timer'
CC arch/ppc/boot/simple/embed_config.o
arch/ppc/boot/simple/embed_config.c:45: warning: `def_enet_addr' defined
but not used
objcopy -O elf32-powerpc \
--add-section=.ramdisk=arch/ppc/boot/images/ramdisk.image.gz \
--set-section-flags=.ramdisk=contents,alloc,load,readonly,data \
--add-section=.image=arch/ppc/boot/images/vmlinux.gz \
--set-section-flags=.image=contents,alloc,load,readonly,data \
arch/ppc/boot/simple/dummy.o arch/ppc/boot/simple/image.o
ld -T /home/tosk/linux-2.6.7/arch/ppc/boot/ld.script -Ttext 0x00800000
-Bstatic
-o arch/ppc/boot/simple/zvmlinux.initrd arch/ppc/boot/simple/head.o
arch/ppc/boot/simple/relocate.o arch/ppc/boot/simple/misc-embedded.o
arch/ppc/boot/simple/embed_config.o arch/ppc/boot/simple/image.o
arch/ppc/boot/common/lib.a arch/ppc/boot/lib/lib.a
objcopy -O elf32-powerpc arch/ppc/boot/simple/zvmlinux.initrd
arch/ppc/boot/simple/zvmlinux.initrd --change-addresses=-0x80000000 -R
.comment -R .stab \
-R .stabstr -R .sysmap
objcopy: --change-addresses: bad number: -0x80000000
make[2]: *** [arch/ppc/boot/simple/zvmlinux.initrd] Error 1
make[1]: *** [simple] Error 2
make: *** [zImage.initrd] Error 2
Did I do something wrong?
- Mike Goggin
Arthur Othieno wrote:
>On Fri, Jul 16, 2004 at 05:56:55PM -0500, Mike Goggin wrote:
>
>
>>I'd like to be able to build a kernel that will boot on the GC, but I'm
>>not sure where to start. I know I need kernel source, but what version
>>works with the patches in CVS?
>>
>>
>
>All versions from 2.6.1 - 2.6.7
>
>
>
>>About CVS, how do you apply the patches? They aren't like conventional
>>patches that I'm used to (ie-patch -p0 < patch.diff).
>>
>>Any information would be greatly appreciated.
>>
>>
>
>One of two ways (asumming you've unpacked a vanilla kernel):
>
>1) Using GNU diff-style patches. These are on the project download page.
>2) Checking out either a tagged release or HEAD from CVS, and copying
> that over your vanilla tree. Something like:
>
> cvs -d:pserver:ano...@cv...:/cvsroot/gc-linux co -r linux-2_6_N linux
> cp -r linux/* linux-2.6.N
>
> Where N could be 1-7, depending on what kernel version you're working
> with. To check out a snapshot of the latest stuffi (HEAD), drop the
> -r option entirely.
>
> Arthur
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by BEA Weblogic Workshop
>FREE Java Enterprise J2EE developer tools!
>Get your free copy of BEA WebLogic Workshop 8.1 today.
>http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
>_______________________________________________
>Gc-linux-devel mailing list
>Gc-...@li...
>https://lists.sourceforge.net/lists/listinfo/gc-linux-devel
>
>
>
|