News for hackers. Stuff that matters.
Re:Framework Laptop feature requests – RISC-V Mainboard by peter_d_sherman on Thursday June 22, 2023 @11:52PM (#36442585)
I'd also vote for an FPGA Mainboard, ideally Lattice, ideally iCE40, and ideally compatible with Project IceStorm (Yosys, Arachne-pnr, and IceStorm) open source tools:

https://github.com/YosysHQ/icestorm

Think something similar to MiSTer FPGA -- but in a laptop form factor, and able to run all sorts of "soft" CPUs on it, including (but not limited to) the following:

https://opencores.org/projects?expanded=Processor

Re:Framework Laptop feature requests – RISC-V Mainboard by duskwuff on Friday June 23, 2023 @12:47AM (#36442898)
> I'd also vote for an FPGA Mainboard, ideally Lattice, ideally iCE40

That wouldn't be usable as the main board of a laptop.

The iCE40 series consists entirely of small, low-power FPGAs. They're neither large nor fast, and they don't have a lot of I/Os. They can fit a soft core CPU, but with little room to spare, no external memory controller, and at a relatively low Fmax (like, maybe 50 MHz with a lucky P&R run). They're neat parts, but this isn't what they're for.

The ECP5 series (also Lattice) might be somewhat more suitable, but it's still no replacement for a fixed-function CPU. Reconfigurability comes with a dramatic penalty to speed and power consumption.

> able to run all sorts of "soft" CPUs on it, including (but not limited to) the following:

For what it's worth, OpenCores is basically a junkyard. Most of what you see there is abandoned and barely functional, if at all.

Re:Framework Laptop feature requests – RISC-V Mainboard by maven29 on Friday June 23, 2023 @01:27AM (#36443153)
East asian vendors like Efinix seem to have high spec parts (with LPDDR4, PCIE4) at low prices and actual availability, without the ITAR troubles you see with US parts.
Re:Framework Laptop feature requests – RISC-V Mainboard by jychang on Friday June 23, 2023 @01:03AM (#36443003)
Yes but when is apple going to release the iFPGA?
Re:Framework Laptop feature requests – RISC-V Mainboard by duskwuff on Friday June 23, 2023 @05:16PM (#36452247)
Technically, they already did:

https://www.apple.com/shop/product/MW682AM/A/apple-afterburn...

Under the hood, it's a Xilinx Ultrascale+ (XCKU15P) FPGA on a card.

Re:Framework Laptop feature requests – RISC-V Mainboard by metalforever on Friday June 23, 2023 @12:53AM (#36442945)
I think they meant the supplemental processing. I am also looking for this FPGA solution.
Re:Framework Laptop feature requests – RISC-V Mainboard by peter_d_sherman on Friday June 23, 2023 @01:27AM (#36443158)
duskwuff: I'm more than happy to let you have your ideal laptop, with the fastest, latest most cutting-edge Intel or AMD chip...

Why won't you let me have my ideal laptop -- with an iCE40 FPGA?

My value system is that of simplicity, verifyability, transparency, open hardware -- and open software of all layers of the computing stack...

I don't care about MHz, 50 is plenty -- if that's what it takes to get all of the above. If there's another FPGA which is faster yet still compatible with all open source tools, feel free to name it (and give an URL to the open source toolchain for it).

At present, I am not aware of one...

>For what it's worth, OpenCores is basically a junkyard.

For what it's worth, most commercial CPUs are basically transparency trainwrecks.

Also, I'd leave it to each individual reader to make their own determination if OpenCores has value to them or not.

Some will not understand its whyness and thus not value it. But I'd rather let it be their own individual choice.

Also, you should know that many individuals put a lot of their own unpaid hard work into their projects on OpenCores.

A lot of blood, sweat and tears.

A lot of hard work, unpaid hard work -- to donate the results of that hard work to the community.

Painting OpenCores with a broad brush and broadly labeling OpenCores as "Most of what you see there is abandoned and barely functional" greatly disparages the work, the hard work of all of the people who put their blood sweat and tears into their projects there.

Many OpenCores projects are complete, do work, and are models, absolutely stellar models of transparency and individual and community effort.

I know that I for one value OpenCores and the work of everyone involved greatly, greatly.

Have you personally tested each and every project on OpenCores?

If you haven't -- then how do you presume to know the value?

Have you personally downloaded and tested even one complete project from OpenCores?

?

OpenCores has information which tells you if a project is complete or not, if it is working or not, and which phase of development it is in... one wouldn't select an unfinished project unless one were interested in learning from it and/or helping to complete it...

Point is -- some of us (and this would include EE students and others potentially interested in CPU/Processor design, other present/future chip designers and educators and the like) -- would see value, great value in OpenCores...

Again, you are free to have your ideal laptop, with the fastest, latest most cutting-edge Intel or AMD chip, or whatever you want, with whatever components you want...

I would politely ask for the reciprocal grant of freedom in selecting my ideal laptop, with my ideal components, inside of the value system I have explained, above.

Re:Framework Laptop feature requests – RISC-V Mainboard by saagarjha on Friday June 23, 2023 @01:37AM (#36443206)
Nobody is telling you to not have that laptop. They’re just warning you that it’ll be almost unusable as a laptop.
Re:Framework Laptop feature requests – RISC-V Mainboard by peter_d_sherman on Friday June 23, 2023 @08:54AM (#36446175)
Define "unusable".
Re:Framework Laptop feature requests – RISC-V Mainboard by brucehoult on Friday June 23, 2023 @09:37AM (#36446677)
Most people in the world would regard the Pinetab-V with quad core 1.5 GHz dual issue CPU -- around 8,000 to 9,000 MIPS in total -- as either unusably slow or barely usable. It's somewhere around a late 2000s PC in performance.

Your FPGA solution will be around 50 MIPS. That's around a 1992 486dx2.

If you're happy to run something akin to Windows 3.11 then that will be fine.

Re:Framework Laptop feature requests – RISC-V Mainboard by duskwuff on Friday June 23, 2023 @05:20PM (#36452295)
Literally unusable as a laptop. ~128 KB memory, no display, no networking, probably no storage either. Even USB would be a stretch. iCE40 FPGAs only have 20-30 I/O pins, and they're all too slow to communicate with modern DRAM, an LCD, an Ethernet PHY, SATA, or PCIe.

It'd certainly be possible to build a computing device around one (or, more likely, several) iCE40 FPGAs, but it would have very little in common with the Framework.

Re:Framework Laptop feature requests – RISC-V Mainboard by peter_d_sherman on Saturday June 24, 2023 @11:29AM (#36459516)
At the signal level (1's and 0's) -- +5V and 0V (or 3.3V and 0V, 2.2V and 0V, xV and 0V where 'xV' is on and 0V is off) -- any computer interface, module or perhiperhal -- can be interfaced with any other one.

It's just a question of getting the voltage and the frequency and protocol correct -- so that electronic components will speak to other components along a signal path.

If one component cannot talk to another component -- because say, a given frequency is too high, or a given component is too slow -- then a proxy component which acts as an intermediator between high frequency and low(er) frequency sides may be used as a mediator; as an intercessor...

For example, let us suppose that I have a dumb terminal, the "dumbest" and slowest of all computing devices.

No memory to speak of -- except perhaps for a small amount of screen memory...

Now, if I want that dumb terminal to interface with USB, DRAM, LCD, Ethernet PHY, SATA, or PCIe -- I can use a Raspberry Pi to accomplish that (it can act as an intermediary, it can act as a proxy.)

Similarly, I can also use other electronic devices in lieu of the Raspberry Pi as the interface -- including but not limited to other computers, ASIC's, FPGA's, custom chips for handling signals, etc., etc.

That something wired together in such a manner is, or would be "unusable as a laptop" -- is a very subjective idea (unusable to whom exactly?) -- because properly engineered, it would indeed work, and would indeed be quite fast and useable...

By your argument, that component parts would be too slow, I would submit to you that modern computer engineering is all about the speeds of various computer subsystems, and getting faster subsystems to work with slower ones.

These examples include (but are not limited to) the speed a computer's CPU vs. the speed of its memory (the cache hierarchy), Northbridge Vs. Southbridge, A Computer's Bus Vs. Slow Perhipherals, A CPU's speed vs. say, the speed of an older spinning mechanical hard drive, etc., etc.

Have a look at this table:

https://en.wikipedia.org/wiki/List_of_interface_bit_rates

The Internet (and the hardware that makes it up) itself is comprised of most, if not all of those devices, all of which have different rates of speed.

And yet, it all "magically" communicates...

Oftentimes a slower devices will need electronic proxies to communicate effectively with higher speed devices.

This principle is well understood in Electrical Engineering and amongst Electrical Engineers.

Not only that, but this very principle is enshrined in all computers -- even the fastest laptop produced today.

The fastest laptop produced today has many subcomponents, many subsystems, along which signals are travelling at different rates of speed -- some fast, some slow, some very slow -- and yet the whole system communicates and works, and is quite, yes, quite usuable...

That principle is enshrined in all computer engineering, and computers today.

Your uber-fast laptop, whichever make and model it is -- is proof, proof positive of it...

So, I appreciate your advice (I am sure it was given in Good Faith) -- but I feel that your argument only addresses the tip of the iceberg of the true scope of possibilites, the things that are possible when the more nuanced understanding , is to be had...

Re:Framework Laptop feature requests – RISC-V Mainboard by metalforever on Friday June 23, 2023 @01:43AM (#36443236)
You can buy this, FYI. I know because I own it. It's just it will cost you ($$$$).

Here is where you get it:

1. The Laptop: https://shop.mntre.com/products/mnt-reform

2. The FPGA OpenCores-compatible Processor for the Laptop: https://shop.mntre.com/products/mnt-rkx7-fpga-module

3. Remember to click that you want the display adapter in #2.

Note, its not an ICE40. However, its pretty close to what you want.

Re:Framework Laptop feature requests – RISC-V Mainboard by elromulous on Friday June 23, 2023 @12:49AM (#36442916)
Wouldn't this be crazy slow?
Re:Framework Laptop feature requests – RISC-V Mainboard by xodjmk on Friday June 23, 2023 @01:38AM (#36443210)
Yes, and quite limited. The MiSTer hardware, and other similar platforms are good for emulating ancient video game processors and running 8-bit style video games. This is a fun thing to do I guess if you like that. Modern high performance FPGA's, meaning AMD/Xilinx since that is the only option, can handle PROTOTYPING modern CPU's, including RISC-V, as soft processors. This is great for R&D, but FPGA's have hardware ARM cores built in, specifically because they are much more efficient and have existing ecosystems. There are other options for hardware RISC-V CPUs, but not really a SoC style FPGA+RISC-V combination. that I am aware of.
Re:Framework Laptop feature requests – RISC-V Mainboard by peter_d_sherman on Friday June 23, 2023 @01:35AM (#36443197)
For the latest bloated OS, yes.
Re:Framework Laptop feature requests – RISC-V Mainboard by not_your_vase on Friday June 23, 2023 @12:54AM (#36442952)
Why would you want that? While soft CPUs are fun and interesting, they are not really considered to be an ideal solution for anything. More like "well, that's what we have to use due to not having an actual CPU, even though we need one. Either this, or nothing.".
Re:Framework Laptop feature requests – RISC-V Mainboard by metalforever on Friday June 23, 2023 @01:55AM (#36443302)
There are very good reasons to want this. A big one is being able to perform computing without the prying eyes of a corporation, for example if you disagree with the idea of large companies making money off of your data. As a different idea, perhaps you might want to do something with Amiga or old game consoles, and you are developing a game for this. One reason you might want to do this is to teach yourself better 68k assembly language. This is a useful skill to have in certain niches in software security.

Another good one is if you are into homebrew computers or are a computer or electrical engineer. Perhaps you would like to make your own processor, or collaborate with your friends on making a processor.

Re:Framework Laptop feature requests – RISC-V Mainboard by not_your_vase on Friday June 23, 2023 @05:23AM (#36444569)
But it's not like any of this is impossible to do today. Want to learn assembly of some old CPU, or write a game? Buy a Zynq board, or grab an emulator. It's not like you can't do any of this, because Framework (anyone else) isn't creating hardware for it... there is just simply no mass appeal for consumers.

As a half-joke, half-serious question: how do you know that Lattice isn't backdooring all their FPGAs, sending home everything you run through their bird-drone network?

Re:Framework Laptop feature requests – RISC-V Mainboard by metalforever on Friday June 23, 2023 @11:12AM (#36447959)
Here is a post from an expert answering your question about the FPGA thing: https://www.bunniestudios.com/blog/?p=5706

I do not want exactly what you are suggesting. What I am into is homebrew computing and trusted compute. I can't have either of these things by just getting a zynq board. The game issue, as you noted, is quite trivial to solve.

Re:Framework Laptop feature requests – RISC-V Mainboard by xodjmk on Friday June 23, 2023 @02:02AM (#36443356)
I think the keywords are 'laptop formfactor'. If your goal is specifically to run niche specialized soft-processors and you wanted it all bundled into a laptop style dev environment, then I think this is a great idea. But for an actual functional laptop, no way.
Re:Framework Laptop feature requests – RISC-V Mainboard by smoldesu on Friday June 23, 2023 @01:12AM (#36443050)
Fun weekend project idea: integrate the Fomu[0] into a USB-C Framework module.

[0] https://www.adafruit.com/product/4332