Live data from Hacker News

Linux Runs on Raspberry Pi RP2350's Hazard3 RISC-V Cores (2024)

hackster.io

61–70 of 73 posts

Re: Linux Runs on Raspberry Pi RP2350's Hazard3 RISC-V Cores (2024)

#61
post #2

I wish I could buy RP2350 with the ARM cores being hard-fused disabled, "cheaper" since no ARM royalties would have to be paid. That said, I wonder how much they did improve their hazard3 design, because we all know the future is no PI locked ARM cores. I wonder if they are sharing part of the design of other open source RISC-V cores. If those efforts are kept significant, the future is looking good and better there.…

>> I wish I could buy RP2350 with the ARM cores being hard-fused disabled, "cheaper" since no ARM royalties would have to be paid. Better yet, put 4 RISC-V cores on there!

Not possible without substantial changes. The system bus and SIO are only configured for two active cores; they'd have to be rearchitected to support more. In particular, inter-processor communication would need major changes to support more than two cores - right now, it consists of a single pair of FIFOs between the two active cores.

Re: Linux Runs on Raspberry Pi RP2350's Hazard3 RISC-V Cores (2024)

#62
post #49

Linux on Pi Zero can be used as a sidecar for iPads. https://schwarztech.net/articles/my-ipads-raspberry-pi-sidec... This method configures the Raspberry Pi [Zero] in “gadget” mode, creating a private link that appears as a wired Ethernet connection over a USB cable. The Pi’s address will never change, either as it is also a DHCP server for the iPad. As an added bonus, the same cable powers the Pi, creating a setup a…

I used to do the same thing with a full RPi4. I’m pretty sure that was the first non-pi zero that worked in gadget mode. I was trying to make an attached Linux machine for my iPad instead of using a cloud VM. It was pretty effective, but at the time the ARM distributions were difficult to run what I wanted. Now, however, it would be significantly better.

[deleted]

Re: Linux Runs on Raspberry Pi RP2350's Hazard3 RISC-V Cores (2024)

#63
post #52

I'd really like to see a pi zero 3 that runs on RISC-V, it might be the kick in the pants RISC-V needs to go "mainstream" at least in the public view. People know raspberry pi, nobody outside the RISC-V scene really cares or even knows about MILK-V

RISC-V needs an inexpensive, performant part for it to be used in the consumer space. The fastest available RISC-V consumer chip is orders of magnitude slower than a Raspberry Pi 5. Example: https://browser.geekbench.com/v6/cpu/compare/15998376?baseli...

[deleted]

Re: Linux Runs on Raspberry Pi RP2350's Hazard3 RISC-V Cores (2024)

#64
post #49

Earlier quoted context omitted.

I used to do the same thing with a full RPi4. I’m pretty sure that was the first non-pi zero that worked in gadget mode. I was trying to make an attached Linux machine for my iPad instead of using a cloud VM. It was pretty effective, but at the time the ARM distributions were difficult to run what I wanted. Now, however, it would be significantly better.

Going in the other direction: recent Intel laptops with Thunderbolt should support USB gadget mode. In theory, this would allow a Linux laptop to emulate keyboard and mouse input to an iPad Mini portrait sidecar, with seamless kb/mouse context switching onto USB, as the cursor moved into the configured virtual viewport of the iPad "monitor". Similar to synergy/barrier/input-leap, but using USB gadget mode instead of…

I'm doing it with Bluetooth.

Gave up fairly quickly on using linux bt stack as it's... Not fun.

Instead I have a ESP32 dongle style board [0] connected with usb to my computer, it present itself as BT HID device to the iPad and communicate with the computer via serial.

Still wip, but overall it works for my main use case(skipping songs & managing volume).

[0] https://www.waveshare.com/esp32-s3-lcd-1.47.htm

Re: Linux Runs on Raspberry Pi RP2350's Hazard3 RISC-V Cores (2024)

#65
post #39

Oh running Linux on a MCU without MMU. I feel there is a gap between MCU and modern CPU, and also between the software running on top of them. The missing piece is a mid-size computer with: - A processor, single or multi-core, with computing power like 20 years ago, but modern fabrication process. Maybe without MMU for simplicity. - RAM between 100MB~1GB and DDR2/3 bandwidth. - An OS designed and implemented for this…

There are multiple offers like Allwinner V831, Rockchip RV1108, etc with devboards costing ~$15

Re: Linux Runs on Raspberry Pi RP2350's Hazard3 RISC-V Cores (2024)

#66
post #29

Linux on Pi Zero can be used as a sidecar for iPads. https://schwarztech.net/articles/my-ipads-raspberry-pi-sidec... This method configures the Raspberry Pi [Zero] in “gadget” mode, creating a private link that appears as a wired Ethernet connection over a USB cable. The Pi’s address will never change, either as it is also a DHCP server for the iPad. As an added bonus, the same cable powers the Pi, creating a setup a…

Any non RP2xxx pi can be used like that. Unrelated to this post at all? I only fall back to that when there is no interwebs, otherwise connecting over ssh to a normal server is far more productive.

Those are larger. RP2350 1.5" iPad sidecar with microSD = 90% discount on Apple storage, https://news.ycombinator.com/item?id=46562471

Re: Linux Runs on Raspberry Pi RP2350's Hazard3 RISC-V Cores (2024)

#67

Earlier quoted context omitted.

Is that the same Dmitry that got the linux kernal to run on an atmega?

also on 3 8 pin chips. I listened to interview with him and he decided to wait 10 years to give competition a chance then try to do it on raw transistors or vaccuum tubes

The scary part is I believe he would do it, too

Re: Linux Runs on Raspberry Pi RP2350's Hazard3 RISC-V Cores (2024)

#68

Earlier quoted context omitted.

The Pi Zero is a full SoC which naturally runs Linux. Any Linux SoC with USB (so basically all of them) could use used in the same way. This article is about the RP2350's microcontroller cores. It doesn't even have an MMU, so running Linux on it is much more interesting. It's not as capable as the normal Linux we run on bigger boards, but it's still interesting.

Could Linux on RP2350 cores work with iPad via Pi Zero form factor, with microSD storage to supplement iPad? https://www.cnx-software.com/2025/07/08/rp2350-pizero-rp2350...

On aliexpress, there’s Pi Pico Dev dev boards featuring the RP2350 in the Pi Zero form factor.

https://www.aliexpress.us/item/3256807163052616.html

Re: Linux Runs on Raspberry Pi RP2350's Hazard3 RISC-V Cores (2024)

#69
post #52

I'd really like to see a pi zero 3 that runs on RISC-V, it might be the kick in the pants RISC-V needs to go "mainstream" at least in the public view. People know raspberry pi, nobody outside the RISC-V scene really cares or even knows about MILK-V

RISC-V needs an inexpensive, performant part for it to be used in the consumer space. The fastest available RISC-V consumer chip is orders of magnitude slower than a Raspberry Pi 5. Example: https://browser.geekbench.com/v6/cpu/compare/15998376?baseli...

That's why I was saying a "zero 3" would be a good fit. It doesn't need to be as fast as a pi 5, just comfortably faster than the zero 2

Re: Linux Runs on Raspberry Pi RP2350's Hazard3 RISC-V Cores (2024)

#70
post #56

Earlier quoted context omitted.

Cool, but any SBC that runs Linux and has a USB port that supports gadget mode can do this. Either way, what does this have to do with the article?

Most SBCs are larger. I was looking for the smallest iPad Linux sidecar, when I submitted this article. Here is one with RP2350, 1.5" display, USB-c and microSD, https://www.waveshare.com/rp2350-lcd-1.47-a.htm . Apple sold over 600 million iPads. Some of those could benefit from Linux sidecars to add functionality not available on iPadOS, increasing demand for small RP2350 boards.

[deleted]
Post reply on HN