News for hackers. Stuff that matters.
Re:Sipeed Longan Nano – RISC-V Development Board by slezyr on Friday August 30, 2019 @09:13AM (#20838206)
> Also popular here because some folks imagine a new ecosystem of cheap Rpi type boards with no magical binary blobs. See, for example, lowrisc.org (though they seem far from shipping)

I thought that the biggest blob in most linux systems is GPU driver and RISC-V doesn't solves this.

Re:Sipeed Longan Nano – RISC-V Development Board by ben-schaaf on Friday August 30, 2019 @09:53AM (#20838588)
The AMD graphics drivers are completely open source.
Re:Sipeed Longan Nano – RISC-V Development Board by pb82 on Friday August 30, 2019 @12:06PM (#20839878)
The drivers are, but not the firmware running on the GPU (i think it's called Video BIOS). I'm not sure if a completely free GPU exists. But this is not something that RISCV is concerned with.
Re:Sipeed Longan Nano – RISC-V Development Board by ansible on Friday August 30, 2019 @03:53PM (#20842007)
There are actually RISC-V extensions designed for numerical computation, though I don't recall if you could actually do a shader core or something like that based on RISC-V.

At any rate, I hadn't heard about anyone trying to make a completely open GPU. That would be cool though.

Re:Sipeed Longan Nano – RISC-V Development Board by floatboth on Friday August 30, 2019 @12:50PM (#20840260)
"Video BIOS" (these days, more likely an EFI GOP driver) runs on the CPU and provides display output before the OS is booted.

On-GPU firmware is not that interesting or concerning, you can consider it part of the hardware.

Re:Sipeed Longan Nano – RISC-V Development Board by squarefoot on Friday August 30, 2019 @03:48PM (#20841957)
"On-GPU firmware is not that interesting or concerning, you can consider it part of the hardware. "

It depends on how it can communicate with the external world. If it only eats numbers and draws pixels, then no problems, but if its driver nature (ie, running at higher privileges than anything including root/administrator) allows it to create a covert channel with other hardware (say a network chip) and send vital information to the outside world, then it becomes a huge potential vulnerability. In open source systems, CPU/GPU/system chipsets firmware and closed device drivers are the places where malware can hide unnoticed for ages, and incidentally the one where it can do the most damage due to the aforementioned privileges, therefore those should be the first parts of a system in which we should demand for total openness.

A simple program with no access to files (therefore considered safe) reading the CPU load and populating a remote graph with numbers can become an effective spying tool if paired with another seemingly innocuous program which has no network access (considered safe as well) but reads files and busy loads one CPU core with values resulting from some encoding of the data it reads. They're 100% safe by themselves, but once paired (say because they're written by the same entity, or different entities obeying to the same government/s) they can exfiltrate information pretty easily. Back on the firmware topic, we can't know if there any seemingly unrelated device drivers talking each other unbeknownst of the system administrator, but should they do, that would be the most dangerous backdooring toolkit ever conceived. Until they stay closed, there's no way to know if they do other things.

Re:Sipeed Longan Nano – RISC-V Development Board by rrss on Friday August 30, 2019 @02:27PM (#20841161)
> On-GPU firmware is not that interesting or concerning

So people don't like it if kernel drivers are closed source, but if all the functionality is moved to firmware and the open kernel driver just pokes the closed firmware that does all the work it's fine? What? How does that logic work?

Re:Sipeed Longan Nano – RISC-V Development Board by jtl999 on Friday August 30, 2019 @05:11PM (#20842748)
Go ask the FSF with their questionable RYF certification. TLDR: As long as the firmware blobs are in ROM, who cares?
Re:Sipeed Longan Nano – RISC-V Development Board by debatem1 on Friday August 30, 2019 @02:52PM (#20841449)
Why is it neither interesting nor concerning? From a security perspective it would seem to be both-- hostile firmware could at the least read secrets from your screen, and I'd be shocked if it couldn't convince the corresponding kernel driver to misbehave in interesting ways. Not knowing what is actually in the blob, you have to assume it is at least potentially that malicious.
Re:Sipeed Longan Nano – RISC-V Development Board by mcbits on Friday August 30, 2019 @07:24PM (#20843623)
Correct me if I'm wrong (and I really hope I am), but it doesn't appear to be possible to use "pro" features like OpenCL with the open source AMD drivers, at least not with my 2400G APU. The last two times I tried, I had to install some blob that failed part-way through the installation and rendered my system unbootable.
Re:Sipeed Longan Nano – RISC-V Development Board by tyingq on Friday August 30, 2019 @09:21AM (#20838285)
There's a mystery boot blob in the RPi that's pretty famous.
Re:Sipeed Longan Nano – RISC-V Development Board by imtringued on Friday August 30, 2019 @10:21AM (#20838850)
I'm not sure what you are talking about. There is no such thing as a mystery boot blob in the Raspberry Pi. It is well known that the video core chip is the main processor of the Raspberry Pi. It runs a proprietary RTOS called ThreadX. As an afterthought someone added a bunch of ARM cores to the Video Core chip which obviously has to cooperate with the main processor to do anything at all.

https://www.heise.de/select/ct/2016/8/1460193213013079/conte...

Re:Sipeed Longan Nano – RISC-V Development Board by tyingq on Friday August 30, 2019 @10:32AM (#20838980)
So you're saying there's source available for the boot binary?
Re:Sipeed Longan Nano – RISC-V Development Board by wolfgke on Friday August 30, 2019 @09:38AM (#20838467)
This is because of the specific architecture of BCM2836, BCM2837, and BCM2711B0, which are rather VideoCore chips with appended ARM cores.
Re:Sipeed Longan Nano – RISC-V Development Board by wolfgke on Friday August 30, 2019 @09:39AM (#20838472)
> I thought that the biggest blob in most linux systems is GPU driver and RISC-V doesn't solves this.

It makes no sense to counter a hypetrain with intelligent arguments. :-)

Of course, you are right.