[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

Then I moved it the directory under netbsd source tree

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
-g -Os -fomit-frame-pointer -ffixed-r14 -ffixed-r2
-fno-builtin -mcpu=860 -mstring   -Werror 
-nostdinc -D_LKM
-nostdinc -isystem /usr/include   -DCOMPAT_UFS 
-D__INTERNAL_LIBSA_CREAD   -nostdinc -isystem
/usr/include -c   
-o alloc.o.tmp
not found
*** Error code 127

make: stopped in
*** Error code 1

make: stopped in

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

More information about the U-Boot mailing list