🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fa.netbsd.tech.kern
Article #104

A new NetBSD port is coming (WIP)!

#104
From: Yann Sionneau
Date: Fri, 17 May 2013 10:01
58 lines
4652 bytes
Hello NetBSD guys,

First, sorry for cross-list posting, I didn't really know where this 
e-mail belong to.

Here is a small notice to let you know that I am in the process of 
adding support for the LatticeMico32 CPU [0] and the Milkymist SoC [1] 
to NetBSD 6 kernel.

LatticeMico32 (LM32) is an Open Source softcore (CPU which runs as 
gateware inside a FPGA) developed by Lattice Semiconductor.
LM32 can be used on several FPGA models from several FPGA vendors 
(Xilinx (Virtex 4, Spartan 3, Spartan 6 etc) Lattice, Altera (DE0 board) 
and maybe more).
Originally this CPU did not have any kind of MMU. Last year I developed 
an MMU for LM32 with the help of the Milkymist community (and a lot of 
help from Michael Walle in particular).

The LM32 softcore CPU is used in the Open Source Hardware Milkymist SoC 
which is the main component of the Milkymist One board [2].

For now, the Milkymist SoC/board runs an embedded OS (RTEMS) and is able 
to run ucLinux (no-mmu) as well.

The first goal of my work is to make NetBSD kernel (and userland) run on 
the Milkymist One board (thus on the Milkymist SoC with the modified 
MMU-enabled LM32 cpu).

The second goal - which explains why I am contacting you instead of 
working off-the-record on my own - is to integrate my port (when 
finished and fully working) upstream in the NetBSD source tree :)

So I guess I need to say hello and open my code to comments and reviews 
in order to do things in a proper and clean way that will allow the 
integration upstream in the future.

For now I just wanted to break the silence and to at least make you 
aware of my ongoing work :)

See you around, I may ask a few questions from time to time when I feel 
lost about some NetBSD internal stuff if you don't mind ;)
Don't hesitate to ask me about what I'm doing/how I'm going it and what 
the hardware is capable of.

FYI:

- LM32 (with MMU) source code: https://github.com/milkymist/lm32/
- Milkymist SoC source code: https://github.com/milkymist/milkymist/
- My NetBSD 6 port work (in progress): https://github.com/fallen/NetBSD/

Cheers !

[0] -- http://en.wikipedia.org/wiki/LatticeMico32
[1] -- http://en.wikipedia.org/wiki/Milkymist#Milkymist_SoC
[2] -- http://milkymist.org/3/mmone.html

-- 
Yann Sionneau
Technical Details
Message-ID: <fa.L8BhSy8Zcp1tz+lx/Y6DTRd4dAo@ifi.uio.no>
Path: arc1-ca.pugleaf.net!ln4ni3352pbb.0!nntp.google.com!news.glorb.com!uio.no!nntp.uio.no!.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: b7e13b6095,9412a3267cad620,start
X-Google-Attributes: gidb7e13b6095,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: ENGLISH,ASCII-7-bit
X-Received: by 10.66.13.3 with SMTP id d3mr7652708pac.40.1368784897543;
        Fri, 17 May 2013 03:01:37 -0700 (PDT)
Path: arc1-ca.pugleaf.net!ln4ni3352pbb.0!nntp.google.com!news.glorb.com!uio.no!nntp.uio.no!.POSTED!not-for-mail
From: Yann Sionneau <yann.sionneau@gmail.com>
Newsgroups: fa.netbsd.tech.kern
Subject: A new NetBSD port is coming (WIP)!
Date: Fri, 17 May 2013 10:01:37 UTC
Organization: Internet mailing list
Lines: 58
Sender: tech-kern-owner@NetBSD.org
Message-ID: <fa.L8BhSy8Zcp1tz+lx/Y6DTRd4dAo@ifi.uio.no>
NNTP-Posting-Host: mail-jess.uio.no
Mime-Version: 1.0
X-Trace: readme.uio.no 1368784897 32645 129.240.7.9 (17 May 2013 10:01:37 GMT)
X-Complaints-To: abuse@uio.no
NNTP-Posting-Date: Fri, 17 May 2013 10:01:37 +0000 (UTC)
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
Cc: devel@lists.milkymist.org
To: tech-kern@netbsd.org, tech-ports@netbsd.org, tech-embed@netbsd.org
Delivered-To: tech-kern@netbsd.org
X-Virus-Scanned: amavisd-new at NetBSD.org
Authentication-Results: mail.NetBSD.org (amavisd-new);
 dkim=pass (2048-bit key) header.d=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=x-received:message-id:date:from:user-agent:mime-version:to:cc
         :subject:content-type:content-transfer-encoding;
        bh=Uh9nkIzcrrYrkbcLDz0EmpIJ88hY9FK1du/vPC8f83o=;
        b=OGEyMYJUiict/MU33+iA7E5wLOOMg68ch6SUzCVAvRL67ixxUBnRQGLpUnPUtrkkmH
         b/6+i7UOJl/FTcf3AOC36eEETeq+BC2+LnRPhof3UWULHMxYXjuWbsKf8NgQj7NWm4jb
         pKlLpRiSPR3r5iVxcfsYi5T7mTsmddirrEJ60xjs+FR9LM2P/rJJN57TMzX/p+Krj45/
         9PL3aB18NWnwdqrTR1ZV27UMP2dYGfBuVFDXYnilrKENFYXVNwRkFO6S9/5KypoKV9Og
         pDMjodgFsCalkhRoagF/Lw4SNnb0pW3gJP6HzGEYk5REYSvLO8Wc8DfUO2QUptby6hBI
         sN/g==
X-Received: by 10.15.49.199 with SMTP id j47mr83465379eew.24.1368784470297;
        Fri, 17 May 2013 02:54:30 -0700 (PDT)
List-Id: tech-kern.NetBSD.org
Original-Date: Fri, 17 May 2013 11:54:27 +0200
Original-Message-Id: <5195FE53.7020901@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit