Live data from Hacker News

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

hackster.io

41–50 of 73 posts

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

#41
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…

That was Intel Quark. It was too expensive for the “big microcontroller” use case and too power hungry for the “small Linux” use case.

The marketing was confusing, I’m not sure Intel even knew what it was for, except to show investors they had an IoT play.

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

I found some of these boards in a box last year and was unable to do anything with them… Intel has thoroughly erased all documentation and SDKs from the internet. If anyone has those artifacts, please push to archive.org

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

#42
post #36

Earlier quoted context omitted.

I’m on it

You'd better be, we have certain expectations from you now /s But more seriously... I don't think that Linux has ever been booted on a non-monolithic CPU (I wanted to say 'discrete cpu' first, but there's some PDP-11s with 4 chip CPUs)

one could argue that 4004 is it. It does not really do memory ops at all. all decoding for memory ops happens inside the memory chips. but yeah - not non-monolithic enough

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

#44

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…

Thanks for linking this, I would not have expected this usage (more from the iPad side being locked down) and it has inspired some thought.

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

#45

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 carry around an pwnagotchi[1], it serves not only as a cute little paper display, but also a battery powered Linux box.

Can do everything you wanna do, in a cute little box attached to a backpack.

My battery lasts about 3 hours, but its easy to juice it up if we go hiking and need a common filesystem up some mountain somewhere, know what I’m saying ..

(PS - the pwnatotchi part is just an app you can disable if you just want your Linux box to be a Linux box, but it sure is a fun little toy also ..)

[1] - https://www.thingiverse.com/search?q=pwnagotchi

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

#46
post #44

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…

Thanks for linking this, I would not have expected this usage (more from the iPad side being locked down) and it has inspired some thought.

It can be used to mirror content for offline viewing, e.g. share sheet sends URL to iOS shortcut, which uses SSH to send yt-dlp or wget archive command line to Linux sidecar, which has microSD storage (more capacity, lower cost/GB). Linux can host WebDAV/CalDAV and SFTP content for iPad apps and media players.

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

#47
post #28

after https://dmitry.gr/?r=05.Projects&proj=35.%20Linux4004 nothing's really impressive when it comes to making it run linux, doubly so that it runs just normal Debian userspace

Running native vs running under emulation is a complete different beast Any turning machine can boot Linux under emulation

...Linux nommu, and the system busses of these platforms, won't get the complete environment that Dmitry wants, unfortunately.

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

#48
post #4
post #3

It would probably make more sense to target something like this https://www.hackster.io/news/andrew-bunnie-huang-prepares-th... with linux, has MMU and more RAM.

This one runs Linux on the ARM cores rather than the RISC-V cores in the same package, so it's apples and oranges, but still pretty neat for something that comes essentially with a companion MCU and is in the same form factor: https://milkv.io/duo In embedded systems it's very common to have a bigger SoC and a satellite MCU to handle e.g. network comm and power lifecycle. I've still not really tried out my Milk-V Duo…

I'm building Fostrom (https://fostrom.io), an IoT Cloud Platform. We have Device SDKs to simplify integrating devices, powered by a small Device Agent written in Rust.

I wanted to support RISC-V boards too, so I went with the Milk-V Duo S as the test device. I have managed to get Tailscale working, and our Device SDK works too, with the bundled Python.

The experience of using the Milk-V Duo is definitely not as straightforward as the Pi Zero, but it does work, and is easily available in most places, unlike some of their other products. The Linux distro they provide is quite barebones, and I wasn't able to get Debian working. The docs for the device are pretty decent. I hope we get better support for Debian/Alpine/Arch for these kinds of boards soon.

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

#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.

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

#50
post #19

after https://dmitry.gr/?r=05.Projects&proj=35.%20Linux4004 nothing's really impressive when it comes to making it run linux, doubly so that it runs just normal Debian userspace

That is too practical. For ultimate HN bait it needs to include Rust deployed (over QUIC) as WASM on RISC-V.

Rust and QUIC are bloated, but I'll take WASM and RISC-V
Post reply on HN