syntax correction
[crowdsupply.git] / updates / 021_2019dec29_nlnet_grants_approved.mdwn
1 Across several projects, nearly EUR 400,000 worth of additional funding
2 applications were put in, and around EUR 200,000 to 250,000 of those have
3 been approved. The RISC-V Foundation's continued extreme unethical
4 actions have led us to consider using Power ISA.
5
6 ### NLNet Grants
7
8 [NLNet](http://nlnet.nl) were first approached eighteen months ago, with
9 an initial application to develop the core of a privacy-respecting trustable
10 processor. Whilst NLNet's primary focus of the past fifteen years has been
11 software, they have funded reverse-engineering for
12 [Osmocon BB](https://nlnet.nl/project/sdr-phy/) and for
13 [OpenBSC](https://nlnet.nl/project/iuh-openbsc/) so are no strangers to
14 hardware. The problem with software is: if the hardware cannot be trusted,
15 then no amount of trustable, open and transparent software will help.
16
17 The [additional proposals](https://libre-riscv.org/nlnet_proposals/)
18 expand on the core, to cover:
19
20 * formal mathematical correctness proofs for the entire processor, including
21 the FPU (no more Intel Pentium FPDIV bugs...)
22 * a special video acceleration focus, adding video decode instructions
23 * an additional 3D driver based on AMDVLK or MESA
24 * some funding to be able to properly develop and document ISA standards
25 * a Wishbone streaming enhancement to add A/V timecode stamps to Wishbone B4,
26 and to develop independent libre-licensed peripherals as examples
27 * two interrelated proposals to develop libre cell Libraries
28 ([Chips4Makers](http://chips4makers.be)), to be used by a team at
29 [LIP6.fr](http://lip6.fr) using the Alliance / Coriolis2 ASIC layout
30 tools; Additional funding will go to the nmigen team for ASIC
31 improvements and special integration with Coriolis2
32
33 The goal here is to get to a working, commercially viable 180 nm single-core
34 ASIC at around 300 to 350 MHz, suitable for use as a high-end embedded
35 controller. Staf from Chips4Makers will act as the "NDA firebreak" between
36 us and TSMC.
37 (side-note: Staf ran a
38 [Crowdsupply](https://www.crowdsupply.com/chips4makers/retro-uc)
39 campaign, and the NLNet funding will help him to realise that project and
40 perhaps re-start a new campaign for the Retro-uC one day).
41
42 All of these have been approved by NLNet, and, crucially, the external
43 independent review process successfully completed for each. The exact
44 amounts of each grant is to be confirmed, with each being possible to be
45 up to the limit of EUR 50,000 for each sub-project.
46
47 Part of the process was a little tricky, initially: the independent reviewers
48 expressed surprise at the amounts being requested for *sub*-tasks when the
49 initial application back in December 2019 was so small, relative to
50 the intended goal. The reason was very simple: both Jacob
51 and I have unique low-income circumstances that simply do not need European /
52 Western style living expenses. Whereas, when we get to much more specialist
53 tasks (such as formal mathematical proofs, video assembly-level drivers,
54 and so on), these fields are so specialized that finding people who are good
55 *and* who are able to exist on student or southeast-asia-level funding is just not
56 practical.
57
58 Therefore, we made sure that the calculations were based around an approximate
59 EUR 3,000 per month budget per person, bearing in mind that due to NLNet's
60 international tax agreements, this being donations, that's equivalent to a
61 "wage" of approximately nearly twice that amount (three times if, as a
62 business, you have to take into consideration corporation tax / employee
63 insurance as well).
64
65 We now need to find people willing to help do the work. What is
66 really nice is that NLNet will donate money to them for completion of that work!
67 Therefore, if you've always wanted to work on a 3D processor, its drivers
68 and its source code, do get in touch.
69
70 ### PowerPC
71
72 This is a
73 [long story](http://lists.libre-riscv.org/pipermail/libre-riscv-dev/2019-October/003035.html)
74 that was picked up by
75 [Phoronix](https://www.phoronix.com/scan.php?page=news_item&px=Libre-RISC-V-Eyeing-POWER)
76 before we had a chance to make any kind of real "announcement." However,
77 we're always really grateful to Michael for his coverage of the Libre SoC,
78 as it always sparks some insightful, useful, and engaging discussions.
79
80 The summary is this: Libre and Open contributors to RISC-V have been
81 disregarded for several years. **Long** before I joined the RISC-V
82 mailing lists, it was *well-known* within that small and tightly-knit
83 community that if you were not associated directly with UC Berkeley, you were
84 basically not welcome. Caveat: if you signed the NDA-like agreement
85 which conflicts directly with, for example, the Debian Charter and
86 the whole purpose of libre licenses, then you got a "voice" and you
87 got access to the closed and secretive RISC-V resources and mailing
88 lists.
89
90 Michael puts it extremely well: I have absolutely no problem with the
91 ISA itself, it's the abuse of power and the flagrant ignoring and abuse
92 of basic tenets of trademark law that are just completely untenable.
93 Not only that: one well-paid employee of SiFive has *repeatedly* engaged
94 in defamation attacks for over eighteen months. Even raising a formal
95 complaint through the newly-established relationship with the Linux
96 Foundation failed to keep that individual under control. Also adversely
97 impacted was the newly-established Open Graphics Alliance initiative,
98 which was independently started by Pixilica back in October,
99 proposed at SIGGRAPH 2019 and welcomed by world-leading 3D industry
100 experts.
101
102 At some point you just have to appreciate that to continue to support
103 an unethical organisation is itself unethical, and thus I made the
104 decision to reach out to MIPS and Power. The MIPS website didn't even
105 work, so I gave up there immediately. The Open Power Foundation on
106 the other hand, I was both delighted and surprised to hear back from
107 a former colleague when I was in Canberra, 20 years ago: Hugh Blemings.
108
109 Hugh is extremely knowledgeable, highly intelligent, and completely
110 understands Libre and Open principles. We had only 15 minutes to
111 talk before he had to focus on preparing for the upcoming Open Power
112 Conference: in that short time, we covered:
113
114 * the need for ISANS / ISAMUX "breakout" system. Hugh even said,
115 without prompting, that the scheme I quickly described would
116 allow full software-level ISA emulation and that that was a really
117 good and necessary thing. With this **formally** in place as part
118 of an officially-approved Power ISA Standard, not only could our team
119 expand the Power ISA in a safe and controlled fashion, so could other
120 adopters.
121 * that the core OpenPower members had *already been discussing* how to make
122 sure that new Libre teams with a commercial focus could join and not
123 have any transparency / patent / NDA / royalty / licensing conflicts
124 of interest. The only major thing that the other members wanted was
125 a "public relations blackout period," right around the time of announcement of
126 new standards, which sounds perfectly reasonable to me.
127 * that IBM will be providing a royalty-free unlimited license grant
128 for *all* of its patents, as long as firstly the licensees do not
129 make any effort to assert patents **against** IBM, and secondly,
130 as long as implementations are fully-compliant with the OpenPower
131 standards.
132 * that there is discussion underway as to the creation and maintenance
133 of formal compliance test suites, just as there is today with the
134 RISC-V ISA.
135 * that the use of a certification mark - not a service mark or a trade mark -
136 is the most appropriate thing for ISA standards. I mentioned this
137 only briefly however it takes a lot more than 15 minutes to properly
138 explain, so I am not going to push it: Hugh is doing so much already.
139
140 It was a very busy and positive conversation, where it is clear that
141 we caught them right at the beginning of the process. Consequently,
142 my discussion with Hugh was just at the right time. Without that,
143 the existing OpenPower members might never have really truly believed
144 that any Libre **commercial** project would ever in fact come forward
145 and that the steps the OpenPower members were taking were purely hypothetical.
146 Out of the blue (pun intended), I contact Hugh and highlight that no,
147 it's not hypothetical.
148
149 The next step, then, will be to wait until mid-january when people come
150 back from holiday, and wait for the announcement of the OpenPower
151 license agreement. Hugh reassures me that there's nothing spectacularly
152 controversial in it, and given his long-standing experience of several
153 decades with the Libre and Open Communities, I cannot think of a reason
154 why it would not be possible to sign it. We just have to see.
155
156 The timing here with NLNet is just on the edge: we have to create a
157 full list of milestones and assign a fixed budget to each (then later
158 subdivide them into sub-tasks under that milestone). This is a leeeetle
159 bit challenging when we have not yet reviewed the OpenPower agreement,
160 however, given that the majority of the tasks are ISA-independent, it
161 will actually work out fine.
162
163 The only other major thing: what the heck do we do with the libre-riscv.org
164 domain? As you can see on the mailing list decision, we decided to go
165 with a *userspace* RV64GC dual-ISA front-end. **Userspace** RISC-V POSIX
166 (Linux / Android) applications will work perfectly well, as will **userspace**
167 PowerISA POSIX applications, however the **kernel** (supervisor) space will
168 be entirely PowerISA.
169
170 The video and 3D acceleration opcodes will be **entirely in the Power ISA**.
171 We are sick and tired of the RISC-V Foundation's blatant mismanagement.
172 Therefore, we will comply to the absolute minimal letter with RV64GC for
173 the benefit of our users, backers, and sponsors. However, RISC-V and the
174 RISC-V ISA itself
175 will no longer receive the benefit of the advancements and innovation
176 that we have received funding and support to develop.
177
178 So, the assembly-code being written by hand for the video acceleration
179 side, as well as the 3D drivers for Kazan and MESA, will "flip" from RV64GC
180 RISC-V over to the Power ISA, which will be fully 3D accelerated with advanced
181 Simple-V Vector operations, then return back to userspace RISC-V RV64GC ISA
182 to continue serving the user application.
183
184 Next steps for us include setting up a foundation under which the processor
185 can be developed, and to look towards the next major funding step: USD 10M
186 to 20M.