[U-Boot-Users] loading netbsd image
manju mahajan
manjumail at yahoo.com
Tue Sep 6 21:20:02 CEST 2005
I think I have to tell MACHINE_ARCH
make MACHINE_ARCH=powerpc
--- manju mahajan <manjumail at yahoo.com> wrote:
>
> Host OS : netbsd, Target OS: netbsd
> Host Arch =i386 Target arch : powerpc405
>
> I have u-boot up and now I want to load my netbsd
> kernel image.
> According to u-boot readme, I need ppcboot
>
> I downloaded ppcboot_stage from denx.de
> I downloaded it in my root directory, when untarred
> it
> I found that it needs refernce to some netbsd files
> libkern.
>
> Then I moved it the directory under netbsd source
> tree
> :
> /home/src/nbsrc/sys/arch/evbppc/stand/ppcboot
>
> I ran make image under ppcboot/
>
> this is the output I got.
>
> Don;t understand why it is picking up
> i386-netbsdelf-gcc to compile.
> I think it should pickup powerpc--netbsd-gcc
>
> Am I missing any declaration ?
>
> Is there any README for this stage-2 loader,
> explaining where to put this directory and what to
> set
> up before compilation.
>
>
> making sure the sa library is up to date...
> # compile sa/alloc.o
>
/home/src/nbsrc/obj/tooldir.NetBSD-2.0.2-i386/bin/i386--netbsdelf-gcc
> -g -Os -fomit-frame-pointer -ffixed-r14 -ffixed-r2
> -fno-builtin -mcpu=860 -mstring -Werror
>
-I/home/src/nbsrc/sys/arch/evbppc/stand/ppcboot/ppcboot_stage2/../../../../../lib/libsa
> -I../../.
>
-I/home/src/nbsrc/sys/arch/evbppc/stand/ppcboot/ppcboot_stage2/../../../../../arch
>
-I/home/src/nbsrc/sys/arch/evbppc/stand/ppcboot/ppcboot_stage2/../../../../..
> -nostdinc -D_LKM
> -DPPC_INTR_IMPL="<powerpc/ibm4xx/ibm4xx_intr.h>"
>
-DPPC_PCI_MACHDEP_IMPL="<powerpc/ibm4xx/pci_machdep.h>"
> -nostdinc -isystem /usr/include -DCOMPAT_UFS
> -D__INTERNAL_LIBSA_CREAD -nostdinc -isystem
> /usr/include -c
>
/home/src/nbsrc/sys/arch/evbppc/stand/ppcboot/ppcboot_stage2/../../../../../lib/libsa/alloc.c
> -o alloc.o.tmp
>
/home/src/nbsrc/obj/tooldir.NetBSD-2.0.2-i386/bin/i386--netbsdelf-gcc:
> not found
> *** Error code 127
>
> Stop.
> make: stopped in
>
/home/src/nbsrc/sys/arch/evbppc/stand/ppcboot/ppcboot_stage2/lib/sa
> *** Error code 1
>
> Stop.
> make: stopped in
>
/home/src/nbsrc/sys/arch/evbppc/stand/ppcboot/ppcboot_stage2
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>
>
>
-------------------------------------------------------
> SF.Net email is Sponsored by the Better Software
> Conference & EXPO
> September 19-22, 2005 * San Francisco, CA *
> Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects
> & Teams * Testing & QA
> Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/u-boot-users
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the U-Boot
mailing list