From: manju mahajan Date: Tue, 6 Sep 2005 12:20:02 -0700 (PDT) Subject: [U-Boot-Users] loading netbsd image In-Reply-To: <20050906190953.72986.qmail@web60714.mail.yahoo.com> Message-ID: <20050906192003.60328.qmail@web60721.mail.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de I think I have to tell MACHINE_ARCH make MACHINE_ARCH=powerpc --- manju mahajan 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="" > -DPPC_PCI_MACHDEP_IMPL="" > -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