targets

View: New views
6 Messages — Rating Filter:   Alert me  

targets

by Chuck Robey-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've recently paid for a Pandora.  it's supposed to come to me inside about 6
weeks, but my main interest right now is in seeing if I could possibly build
OpenBSD for the Pandora.  So, I was reading src/Makefile, and it told me to go
look at sys/arch.  In there, I was surprised to find a "gumstix" arch, and
although I don't know what any differences there might be, I know that both the
Pandora, and *one* of the gumstix, runs the TI OMAP3530 chip (I'm not sure what
to call that piece of silicon.  It's not a CPU, because it has no less than 2,
and maybe 3 CPUs in it).

So, I was wondering if maybe anyone had given any attention to trying to run
OpenBSD on the Pandora?  Boy, having it run without my having to code anything
would be a pleasant surprise to me.
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkntEwAACgkQz62J6PPcoOmZVQCfU2CUUwnuTYP588l81vaYlX1C
qWAAn0nC4yw5jgWJds2HfqeQWsoqJIAp
=L8To
-----END PGP SIGNATURE-----


Re: targets

by Marek Vasut :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tuesday 21 of April 2009 02:27:44 Chuck Robey wrote:

> I've recently paid for a Pandora.  it's supposed to come to me inside about
> 6 weeks, but my main interest right now is in seeing if I could possibly
> build OpenBSD for the Pandora.  So, I was reading src/Makefile, and it told
> me to go look at sys/arch.  In there, I was surprised to find a "gumstix"
> arch, and although I don't know what any differences there might be, I know
> that both the Pandora, and *one* of the gumstix, runs the TI OMAP3530 chip
> (I'm not sure what to call that piece of silicon.  It's not a CPU, because
> it has no less than 2, and maybe 3 CPUs in it).
>
> So, I was wondering if maybe anyone had given any attention to trying to
> run OpenBSD on the Pandora?  Boy, having it run without my having to code
> anything would be a pleasant surprise to me.
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

OpenBSD doesnt have OMAP CPU support, you'll have to write support for the
CPU. (or look into NetBSD, but that's highly NOT RECOMMENDED! ... as their
code ehm ... you know ...)

>
> iEYEARECAAYFAkntEwAACgkQz62J6PPcoOmZVQCfU2CUUwnuTYP588l81vaYlX1C
> qWAAn0nC4yw5jgWJds2HfqeQWsoqJIAp
> =L8To


Re: targets

by Chuck Robey-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marek Vasut wrote:

> On Tuesday 21 of April 2009 02:27:44 Chuck Robey wrote:
>> I've recently paid for a Pandora.  it's supposed to come to me inside about
>> 6 weeks, but my main interest right now is in seeing if I could possibly
>> build OpenBSD for the Pandora.  So, I was reading src/Makefile, and it told
>> me to go look at sys/arch.  In there, I was surprised to find a "gumstix"
>> arch, and although I don't know what any differences there might be, I know
>> that both the Pandora, and *one* of the gumstix, runs the TI OMAP3530 chip
>> (I'm not sure what to call that piece of silicon.  It's not a CPU, because
>> it has no less than 2, and maybe 3 CPUs in it).
>>
>> So, I was wondering if maybe anyone had given any attention to trying to
>> run OpenBSD on the Pandora?  Boy, having it run without my having to code
>> anything would be a pleasant surprise to me.
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> OpenBSD doesnt have OMAP CPU support, you'll have to write support for the
> CPU. (or look into NetBSD, but that's highly NOT RECOMMENDED! ... as their
> code ehm ... you know ...)
>

OK, I mistakenly saw that the Gumstix has NOW OMAP3530, and forgot the fact that
they USED to do Xscale, so I jumped at the possibility that maybe gumstix might
equal OMAP3530.  That was silly.

I have zero experience doing a OpenBSD port.  I'm going to guess that the first
step is to get crosstools working, but if you know anything more about that, I'd
be happy to listen.

It seems to me that the first thing I need to do is to get the OpenBSD build to
make crosstools, right?  I successfully made some Cortex-A8 crosstools (both
binutils and gcc), but the gnu target I used was "arm-angstrom-linux-gnueabi".
That's not going to be something that I want to use with OpenBSD.  I really only
made those tools to prove to myself that I COULD do it, not that it was the
right thing to do.

Can I use the gnu binutils for crosstools?  If I have to use the OpenBSD tools,
is there a complete list of what OpenBSD tools that includes, so I can hunt
around to see what that all means.

I'm reading as much as I can find so far, but have you any  idea what target
might work best with OpenBSD?  I'd rather it was something that gcc would just
use without further modification, but if you tell me that's impossible, at least
that's a place to start with.  I need to know what gcc should recognize for me.

If you want gcc to USE something that it doesn't use now, that makes it more
difficult, but really just means that I'll need to identify just how gcc will
need to be modified to accept the new target id, and what it'd mean internally
to gcc.


>> iEYEARECAAYFAkntEwAACgkQz62J6PPcoOmZVQCfU2CUUwnuTYP588l81vaYlX1C
>> qWAAn0nC4yw5jgWJds2HfqeQWsoqJIAp
>> =L8To
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknt7g4ACgkQz62J6PPcoOm38QCeJWUCXXjC7XLlMpO93lNjxaGT
OH8AoKFCR0CqILfDi8ky+dAYwaAmDftu
=Blpw
-----END PGP SIGNATURE-----


Re: targets

by Dale Rahn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Apr 21, 2009 at 12:02:22PM -0400, Chuck Robey wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Marek Vasut wrote:
> > On Tuesday 21 of April 2009 02:27:44 Chuck Robey wrote:
> >> I've recently paid for a Pandora.  it's supposed to come to me inside about
> >> 6 weeks, but my main interest right now is in seeing if I could possibly
> >> build OpenBSD for the Pandora.  So, I was reading src/Makefile, and it told
> >> me to go look at sys/arch.  In there, I was surprised to find a "gumstix"
> >> arch, and although I don't know what any differences there might be, I know
> >> that both the Pandora, and *one* of the gumstix, runs the TI OMAP3530 chip
> >> (I'm not sure what to call that piece of silicon.  It's not a CPU, because
> >> it has no less than 2, and maybe 3 CPUs in it).
> >>
> >> So, I was wondering if maybe anyone had given any attention to trying to
> >> run OpenBSD on the Pandora?  Boy, having it run without my having to code
> >> anything would be a pleasant surprise to me.
> >> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> >
> > OpenBSD doesnt have OMAP CPU support, you'll have to write support for the
> > CPU. (or look into NetBSD, but that's highly NOT RECOMMENDED! ... as their
> > code ehm ... you know ...)
> >
>
> OK, I mistakenly saw that the Gumstix has NOW OMAP3530, and forgot the
> fact that they USED to do Xscale, so I jumped at the possibility that
> maybe gumstix might equal OMAP3530. That was silly.

Yes, the initial guxstix port was for the xscale, however that work has
stalled, a combination of available developer time and no access to hardware.

>
> I have zero experience doing a OpenBSD port. I'm going to guess that
> the first step is to get crosstools working, but if you know anything
> more about that, I'd be happy to listen.
>
> It seems to me that the first thing I need to do is to get the OpenBSD
> build to make crosstools, right? I successfully made some Cortex-A8
> crosstools (both binutils and gcc), but the gnu target I used was
> "arm-angstrom-linux-gnueabi". That's not going to be something that I
> want to use with OpenBSD. I really only made those tools to prove to
> myself that I COULD do it, not that it was the right thing to do.
>

On an OpenBSD/i386 machine the cross compilation environment in the
tree is good for initial bringup.
(cd /usr/src && make -f Makefile.cross TARGET=armish)
Note that the compiler will not be specifically targeted for the processor
but will generate arm code that will run on them all.

> Can I use the gnu binutils for crosstools? If I have to use the
> OpenBSD tools, is there a complete list of what OpenBSD tools that
> includes, so I can hunt around to see what that all means.
>
> I'm reading as much as I can find so far, but have you any idea what
> target might work best with OpenBSD? I'd rather it was something that
> gcc would just use without further modification, but if you tell me
> that's impossible, at least that's a place to start with. I need to
> know what gcc should recognize for me.
>
> If you want gcc to USE something that it doesn't use now, that makes
> it more difficult, but really just means that I'll need to identify
> just how gcc will need to be modified to accept the new target id, and
> what it'd mean internally to gcc.
>
>

Here shortly I am going to be trying to finish the Cortex-A8 work
that would get the port to the beagleboard mostly running.
As the port has not reached the point that comes up singleuser,
I have not yet committed the additional pieces I have written
(Omap3530 drivers: timer, interrupt controller, uart)

Dale Rahn drahn@...


Re: targets

by Chuck Robey-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dale Rahn wrote:
> On an OpenBSD/i386 machine the cross compilation environment in the
> tree is good for initial bringup.
> (cd /usr/src && make -f Makefile.cross TARGET=armish)
> Note that the compiler will not be specifically targeted for the processor
> but will generate arm code that will run on them all.
>

Good, I'll be building shortly.  In the meantime, I got some comments on my
question I'd asked separately about caching & round robin, so I'm investing some
time rereading a lot of old notes about the subject, so I can make more sense of
the answer I got.  I've never coded anything in the vague area of VM, and it
wouldn't bother me any if I could fix that lack.  I think I need to read, not
get tons of questions answered.

>
> Here shortly I am going to be trying to finish the Cortex-A8 work
> that would get the port to the beagleboard mostly running.
> As the port has not reached the point that comes up singleuser,
> I have not yet committed the additional pieces I have written
> (Omap3530 drivers: timer, interrupt controller, uart)

That's fantastic.  I'd like to know if it's likely that (at the level I'm
currently at) if I might be able to contribute anything.  Probably in either
case, I'd like to see what you changed, so I can see what kind of thing HAS to
change, and can review how it looks.  Could I get a look at it (is it somewhere
I can access, like maybe in the cvs archive?)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknuO6sACgkQz62J6PPcoOlkPACfSTffbNoNKCxyrihvw88QCh22
o44An0fzzHwQ+tlsZImL/DK4U9lagkNC
=hjZC
-----END PGP SIGNATURE-----


Re: targets

by Leif Lindholm-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Dale,

> Here shortly I am going to be trying to finish the Cortex-A8 work
> that would get the port to the beagleboard mostly running.
> As the port has not reached the point that comes up singleuser,
> I have not yet committed the additional pieces I have written
> (Omap3530 drivers: timer, interrupt controller, uart)

Could you use any help with this - testing, coding or whatever?
I have a revB beagleboard lying around.

Regards
    /
        Leif