[U-Boot-Users] loading netbsd image

manju mahajan manjumail at yahoo.com
Tue Sep 6 21:09:53 CEST 2005


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 




More information about the U-Boot mailing list