|
|
Subject: cross compiling pkgsrc for hpcmips - msg#00008
List: os.netbsd.ports.hpcmips
Hi again, I have been trying to figure out a way to cross compile
pkgsrc, I see that there is a way for me to build the netbsd system
with build.sh, and I have the netbsd cross compiler that is listed on
the dev info, but lets say I wanted to cross compile vim, or even
minimo from pkgsrc, how would I go about doing that?
Thanks
Matt
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
wanted workpad z50 ram
Does anyone know where I can get the 32mb ram upgrade, I have looked
on ebay and what not and not seen any, is it compatible with any 32mb
stick of edo simm ram? I only found one place online that sells it
for 56 dollars I was wondering if anyone knew of a place to find it
cheaper.
Matt
Next Message by Date:
click to view message preview
Re: 3.0_BETA kernel won't boot?
On 2005-06-16 simonb@xxxxxxxxxxxxxxxxx wrote:
> On Mon, Jun 13, 2005 at 01:36:31PM +0000, Andy Ruhl wrote:
>
> > I just got done building 3.0_BETA yesterday for hpcmips. I built a
> > release on an i386 running 2.0.2.
> >
> > The build was failing for various reasons on my i386 and also on my
> > amd64 3.0_BETA machines, but I cvs'd the sources every time and
> > yesterday it finally decided to build completely.
> >
> > Here are the exact messages on the screen:
> >
> > mem_cluster_cnt = 2
> > mem_clusters[0] = {0x0,0x37b000}
> > mem_clusters[1] = {0x37b000,0x1c85000}
> > loading 0x37b000,0xc85000
> > Copyright (c) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004, 2005
> > The NetBSD Foundation, Inc. All rights reserved.
> > Copyright (c) 1982, 1986, 1989, 1991, 1993
> > The Regents of the University of California. All rights reserved.
> >
> >
> > And that's it. It won't boot any farther. Do I need to pass in some
> > options via pbsdboot.exe, or possibly recompile with some debug
> > options?
>
> sys/arch/hpcmips/hpcmips/machdep.c does:
>
> printf(version);
> sprintf(cpu_model, "%s (%s)", platid_name(&platid), cpu_name);
> printf("%s\n", cpu_model);
>
> You're seeing the version, but not the cpu model, so it looks like the
> platid stuff is failing somehow.
It is before that, uvm_kmapent_alloc called from uvm_map
from uvm_km_alloc1 in kmeminit. The line that dies is:
entry->flags = UVM_MAP_KERNEL;
which is trying to set 0xc0000fd0. Trying to examine that in DDB just
before it would die gets a TLB miss trap, so I guess something didn't get
set up right. I can't look any more right now.
Matthew Orgass
darkstar@xxxxxxxxxxxx
Previous Message by Thread:
click to view message preview
wanted workpad z50 ram
Does anyone know where I can get the 32mb ram upgrade, I have looked
on ebay and what not and not seen any, is it compatible with any 32mb
stick of edo simm ram? I only found one place online that sells it
for 56 dollars I was wondering if anyone knew of a place to find it
cheaper.
Matt
Next Message by Thread:
click to view message preview
Re: cross compiling pkgsrc for hpcmips
On 2005-06-16 ogorman@xxxxxxxxx wrote:
> Hi again, I have been trying to figure out a way to cross compile
> pkgsrc, I see that there is a way for me to build the netbsd system
> with build.sh, and I have the netbsd cross compiler that is listed on
> the dev info, but lets say I wanted to cross compile vim, or even
> minimo from pkgsrc, how would I go about doing that?
AFAIK there is no cross compile support in pkgsrc yet. However, I think
the buildlink3 stuff does some of the necessary work, so it may have been
added recently. Ask on tech-pkg about this. If the general pkgsrc cross
compile is not available yet, you could try doing make patch and then
finishing the cross compile manually.
Matthew Orgass
darkstar@xxxxxxxxxxxx
|
|