OpenCores
no use no use 1/1 no use no use
OpenRISC port to NetBSD
by Unknown on Dec 21, 2004
Not available!
Hi Hello I am software engineer. I am enthusiastic about the NetBSD,OpenRISC and Wishbone projects. I began the port of OpenRISC to NetBSD. NetBSD 2.0 uses 2.14 binutils which support OpenRISC. I have back ported the OR32 form gcc 3.4.2 on opencores CVS to gcc 3.3.3 in netbsd src tree. I have complied the ork1sim. To test the binutils and gcc I complied the hello-uart program it now works. the resualts are attached. now I am building a skelton kernel files to start the build the NetBSD kernel. Some qustions for opencores.org; 1 What hardware is recomneded for this port (which reference board to use) ? 2 Is this hardware simulated in ork1sim matches the reference board ? 3 Is there an openfirmware port for OpenRISC. Some qustions for netbsd.org: 1 Is there a guide of porting a new CPU to NetBSD ? 2 Can i get a branch for this port ? Thanks. Nir Mor. -------------- next part -------------- A non-text attachment was scrubbed... Name: hello.S Type: application/octet-stream Size: 8697 bytes Desc: not available Url : http://www.opencores.org/forums/openrisc/attachments/20041221/49f282c2/hello-0002.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: hello.or32 Type: application/octet-stream Size: 12931 bytes Desc: not available Url : http://www.opencores.org/forums/openrisc/attachments/20041221/49f282c2/hello-0003.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: System.map Type: application/octet-stream Size: 192 bytes Desc: not available Url : http://www.opencores.org/forums/openrisc/attachments/20041221/49f282c2/System-0001.obj
OpenRISC port to NetBSD
by Unknown on Dec 21, 2004
Not available!
* Nir Mor (nir.mor@gmail.com) wrote:
Hi


Hi!

Some qustions for opencores.org;

1 What hardware is recomneded for this port (which reference board to use) ?
2 Is this hardware simulated in ork1sim matches the reference board ?
3 Is there an openfirmware port for OpenRISC.


If you'll be successfull in running NetBSD in simulator your port will run
on hardware with no or just trivial changes.

I'd suggest you take a look and possibly reuse low level stuff
from linux kernel or32 port (linux/arch/or32/kernel/head.S and entry.S,
can be found in the opencores cvs). This will probably save you a lot
of time since most of it can be used unchanged (the iTLB and dTLB miss
handlers, exception handlers...).

best regards,
p.

OpenRISC port to NetBSD
by Unknown on Dec 22, 2004
Not available!
Thanks for the quick replay I have just started to learn how to port NetBSD. The port is going to be strict BSD licensed. Opencores code will be used as a text book for all the undocumented stuff. If some part of the code is useful for NetBSD I will ask to author to make it BSD licensed and then use it. For now I don't know yet what I need for the port. Nir. On Tue, 21 Dec 2004 20:35:50 +0100 (CET), Hubert Feyrer hubert@feyrer.de> wrote:
On Tue, 21 Dec 2004, Matjaz Breskvar wrote:
> Since i'm the only author of the code in head.S couldn't i 'release' it
> also with BSD license ? If so, is there an interest to reuse it and
> what's the procedure to do so ?


As the author of the software, you can issue your code under a
dual-license. To do so, make it clear that the software is available under
both licenses, and that whoever uses it can choose. I think perl does
this, with the Artistic License and GPL. Put both GPL and BSD copyright
headers in all the files you want to put under the dual license, and maybe
write a paragraph over it that the user can choose which one to use, but
that both licenses must be retained when passing on the file.

GPL #10 has a few words on this, but isn't every clear.


> Some stuff in entry.S is done in linux specific way so this BSD
> licensing might be more complicated and not really worth the effort...
> If it would help the NetBSD port i can seperate the usefull part and
> release that as BSD-licensed code...


That sounds useful, but I cannot speak for the people doing the actual
work on the NetBSD port. :)

- Hubert

--
NetBSD - Free AND Open! (And of course secure, portable, yadda yadda)


OpenRISC port to NetBSD
by Unknown on Dec 22, 2004
Not available!
* Nir Mor (nir.mor@gmail.com) wrote:
Thanks for the quick replay

I have just started to learn how to port NetBSD.

The port is going to be strict BSD licensed.

Opencores code will be used as a text book for all the undocumented stuff.

If some part of the code is useful for NetBSD I will ask to author to
make it BSD licensed and then use it. For now I don't know yet what I
need for the port.


Ok, this is fine with me. If somebody would want to reuse the code
please let me know and i'll do all the neccessery licensing stuff...

best regards,
p.

no use no use 1/1 no use no use
© copyright 1999-2026 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.