News for hackers. Stuff that matters.
Re:BeagleV – An affordable RISC-V computer designed to run L... by mrweasel on Wednesday January 13, 2021 @09:50AM (#25762625)
Is there something inherently complicated in adding a SATA/M.2 port to board like this?

The RaspberryPi is also "disk-less", which to me is one of the major limitations.

It's a super interesting little board, and I love that it's a RISC-V, that could really help getting the CPU in the hands of people. I just don't know enough about these things to understand why there are no storage connectors (other than an SD card slot).

Re:BeagleV – An affordable RISC-V computer designed to run L... by 1vuio0pswjnm7 on Wednesday January 13, 2021 @05:02PM (#25768533)
On the systems I can control, I do all work "disk-less". I strongly prefer it. I like to keep programs and data segregated. The basic setup on NetBSD is as follows, with endless variations possible therefrom. The kernel(s) and userland(s), along with bootloader(s), are on external media, like an SD card or USB stick, marked read-only. There's a RAM-disk in the kernel with a multi-call binary-based userland (custom-made using BusyBox or crunchgen). After boot, a full userland from external media or the network is mounted on tmpfs-based or mfs-based overlay and then we chroot into the full userland. From there, the work space is all tmpfs (RAM).^1 I can experiment to heart's content without jeopardising the ability to reboot into a clean slate. The "user experience" is also much faster than with disk-based. Any new "data" that is to be retained for future use across reboots is periodically saved to some USB or Ethernet connected storage media. I do not use "cloud" for personal data. Sorry. This forces me to think carefully about what needs to be saved and what is just temporary. It helps prevent the accumulation of cruft. The number one benefit of this for me though is that I can recover from a crash instantly and without an internet connection. No dependencies on any corporation.

This BeagleV looks like it would work well for me as it has Ethernet and USB ports.

1. With NetBSD, I can run out of memory with no major problems. With Linux, this has not been the case. I have to be more careful.

Re:BeagleV – An affordable RISC-V computer designed to run L... by znpy on Wednesday January 13, 2021 @05:59PM (#25769164)
> 1. With NetBSD, I can run out of memory with no major problems.

Could you elaborate a bit more on that, please ?

It's been a while since I last touched NetBSD, but I don't remember anything special regarding that aspect.

Re:BeagleV – An affordable RISC-V computer designed to run L... by knorker on Wednesday January 13, 2021 @06:25PM (#25769456)
The OOM killer makes running out of memory on Linux not fun. I've found that turning of overcommit avoids this problem.

Then again, I've seen BSDs handle it even worse.

Re:BeagleV – An affordable RISC-V computer designed to run L... by 1vuio0pswjnm7 on Wednesday January 13, 2021 @06:47PM (#25769658)
"I've found that turning of overcommit avoids this problem."

("tuning of" or "turning off")

Do you mean something like

   sysctl vm.overcommit_memory=2
Re:BeagleV – An affordable RISC-V computer designed to run L... by k_sze on Wednesday January 13, 2021 @06:53PM (#25769719)
The grand parent maybe meant “turning off”. One could argue that’s the ultimate “tuning”. :P
Re:BeagleV – An affordable RISC-V computer designed to run L... by knorker on Thursday January 14, 2021 @04:51AM (#25774348)
I meant "turning off". Sorry. Yes, something exactly like that.

Seems too late to edit now.

Re:BeagleV – An affordable RISC-V computer designed to run L... by 1vuio0pswjnm7 on Wednesday January 13, 2021 @06:41PM (#25769594)
I disable swap. If I run out of RAM, thrashing may occur but it is not fatal. Some process that needs to write to "disk" might fail, but the system does not. I just delete some file(s) to free up the needed RAM, restart the process and continue working. I don't think NetBSD has anything like "OOM killer".

Note that one drawback with "disk-less" via read-only SD card or USB stick is how to have a good source of entropy at boot time.

Re:BeagleV – An affordable RISC-V computer designed to run L... by lovelyviking on Thursday January 14, 2021 @01:28AM (#25772876)
This is interesting setup. Do you know a good guide for such setup?
Re:BeagleV – An affordable RISC-V computer designed to run L... by 1vuio0pswjnm7 on Thursday January 14, 2021 @05:10AM (#25774541)
I actually came up with this myself just playing around with NetBSD. You will probably not find anyone advocating disabling swap. I do not run X11 anymore. I stay in VGA textmode. Doubt anyone would want to do exactly what I do. NetBSD users tend toward DIY and each has their own preferences. If you study how NetBSD's install media are created that will teach you almost everything you need to know. Happy to walk you through it though if you want to try NetBSD.

Chromebooks are claimed to be 100% safe from certain types of attacks. The developers came up with this silly "whitewash" gimmick. Their motivation for a disk-less-like system is to force users to store personal data in the cloud. Ugh. Well, the disk-less systems I have been creating for recreational use long before Chromebooks existed are just as safe. Probably safer because I do not use a graphics layer or a web browser with Javascript interpeter.

Re:BeagleV – An affordable RISC-V computer designed to run L... by lovelyviking on Thursday January 14, 2021 @12:33PM (#25779303)
>I actually came up with this myself just playing around with NetBSD. You will probably not find anyone advocating disabling swap.

Actually I saw recently some discussion exactly about that. I think many people would be glad to do it if they new how. It is not easy when you relatively new in the area. It is not too complicated but a lot of information and it is not obvious what is important and what not, so you read all and get overwhelmed easily.

>I do not run X11 anymore. I stay in VGA textmode. Doubt anyone would want to do exactly what I do.

I do exactly what you do, simply because x11 is not working on Pi with TV I have and I have nothing more since MBPro has simply died. (if you wish details, see here ”how“: https://news.ycombinator.com/item?id=25778247 )

>If you study how NetBSD's install media are created that will teach you almost everything you need to know. Happy to walk you through it though if you want to try NetBSD.

Thank you very much. This advice is already precious, because it helps to orient yourself in tons of info, and now I would know where to start digging. I would love to try once I’ll have equipment and time. I really wish to encourage you though to write down this process, I am sure there are some people who are desperately looking for this setup and how to achieve it properly, bothered with many questions. This guide could also be a good practical introduction into a NetBSD by the way.

>Chromebooks are claimed to be 100% safe from certain types of attacks. The developers came up with this silly "whitewash" gimmick. Their motivation for a disk-less-like system is to force users to store personal data in the cloud. Ugh.

it’s a shame really and done for wrong purpose. I never considered Chromebooks seriously for that reason.

>Well, the disk-less systems I have been creating for recreational use long before Chromebooks existed are just as safe. Probably safer because I do not use a graphics layer or a web browser with Javascript interpreter.

What I really like about it is the ability of fast recovery, which gives more freedom for experiments. I love it.

Re:BeagleV – An affordable RISC-V computer designed to run L... by 1vuio0pswjnm7 on Thursday January 14, 2021 @04:35PM (#25782943)
Note I did all the experiments many years ago, on i386, and using NetBSD's venerable bootloader. For the Pi, some things will differ obviously.

Not only does this type of setup give freedom for experiments (which NetBSD really does in general) but it makes expts easier. You can put multiple different kernels on the USB stick and reboot into each of them to test pros and cons of different release versions and/or configurations. Or you might boot one computer with kernel A, pull out the stick, insert into another computer and boot kernel B and run them simultaneously. No HDDs needed.

I might do a writeup; some users have done writeups on "disk-less" in the distant past. I have some simplification tricks no one has ever written about. However NetBSD has such great documentation relative to almost every other project and the developers tend to be "quietly competent" in the best way. It was never a culture of "HOW-TO's" as you will find in Linux. Studying the source and following source-changes and other mailing lists is better than any writeup, IMO.

It is like the old saw about teaching a man to fish. It is worth learning. Things do not change in NetBSD so fast or dramatically that what you have learnt will be later considered "obsolete".

Re:BeagleV – An affordable RISC-V computer designed to run L... by lovelyviking on Thursday January 14, 2021 @06:07PM (#25784257)
I would agree that following source-changes is better then any writeups if there is time and dedication. I like the culture you describe and it could fit very well with the way I like to do things. I use those “how to” just as quick tutorial to get into the new topics and then I go deeper. It is easier to learn when you actually do something and if there is no person around who can introduce me into the topic properly which is much faster and better of course then I use some “how-to” for that. Writeups can help too so if you know some good ones it’s worth mentioning.
Re:BeagleV – An affordable RISC-V computer designed to run L... by brucehoult on Wednesday January 13, 2021 @10:29AM (#25763159)
https://www.crowdsupply.com/sifive/hifive-unmatched

PCIe, 16 GB DDR4, two M.2 (one for storage, one WIFI), quad core 1.5 GHz (same cores as this board, but twice as many)

Re:BeagleV – An affordable RISC-V computer designed to run L... by kwdc on Thursday January 14, 2021 @01:04AM (#25772702)
Sensible spec. The price isn’t outlandish for what is basically a desktop with a relatively exotic CPU. 16GB ram is minimum for development in my view even though you can do a lot in 8GB.

I'm sure people would start comparing it pricewise to a i7 or something made at significant economies of scale. I think that is an unfair comparison due to the exotic CPU. Exotic in the sense that these aren't commodity CPUs.

Re:BeagleV – An affordable RISC-V computer designed to run L... by mrweasel on Wednesday January 13, 2021 @10:33AM (#25763209)
That's a little costly, but I guess development of a board like that isn't cheap.
Re:BeagleV – An affordable RISC-V computer designed to run L... by brucehoult on Wednesday January 13, 2021 @10:47AM (#25763446)
Existing is the first step. Prices will reduce in time -- probably quite rapidly.
Re:BeagleV – An affordable RISC-V computer designed to run L... by edsouza on Wednesday January 13, 2021 @01:05PM (#25765736)
The board has 16GB DDR4 memory on board, that's probably one of the most costly components.
Re:BeagleV – An affordable RISC-V computer designed to run L... by jandrese on Wednesday January 13, 2021 @05:41PM (#25768999)
16GB DDR4 2400 DIMMs run about $67 retail. So about 1/10 of the total cost of that board. It's a little apples and oranges, but since it seems like they just plucked down the same 8 chips you'd find on a DIMM right to the board maybe not that much.

I note that it has a PCIe x8 slot, but they don't have drivers for a video card (or any card) yet so it's kinda useless.

Re:BeagleV – An affordable RISC-V computer designed to run L... by brucehoult on Wednesday January 13, 2021 @05:57PM (#25769144)
People have been running Radeon graphics cards with Linux desktop and the open source driver on the predecessor HiFive Unleashed board for literally three years already.

SiFive demonstrates the HiFive Unmatched using a $300 150W Radeon RX580. https://www.youtube.com/watch?v=HVsnnYuvDXI

You can complain that you don't want to spend that much on a graphics card [1] but you can't complain that it's not supported.

[1] cheaper ones will work too

Re:BeagleV – An affordable RISC-V computer designed to run L... by jandrese on Wednesday January 13, 2021 @06:00PM (#25769189)
Then they should probably mention that on their page, which only says that graphics cards are being planned for but not currently supported.
Re:BeagleV – An affordable RISC-V computer designed to run L... by seabird on Wednesday January 13, 2021 @09:58AM (#25762730)
You would have to integrate a storage controller into your design and verify that it works. It's not insurmountable, but it's engineering time that has to go toward something that a lot of people aren't ever going to use, along with an increase in BOM cost.
Re:BeagleV – An affordable RISC-V computer designed to run L... by stormbrew on Wednesday January 13, 2021 @06:26PM (#25769458)
My pet peeve about all these small single board computers is that none of them have multiple ethernet ports, which severely limits their usefulness as networking hardware. They'd otherwise be very well suited to being various kinds of packet routing appliances.

You can sometimes hang a usb ethernet dongle off them but performance on those tend to be somewhat limited.

Re:BeagleV – An affordable RISC-V computer designed to run L... by johnwalkr on Wednesday January 13, 2021 @08:36PM (#25770648)
Check out solidrun, they have a variety of boards with multiple Ethernet ports.

I used to wonder why embedded boards didn’t have multiple Ethernet boards and why it’s not common to use ethernet to connect to peripherals instead of “old interfaces”. Until I tried it for a project. It turns out Ethernet uses roughly 0.5 to 2W per port depending on speed (that’s 1-4W per connection).

Re:BeagleV – An affordable RISC-V computer designed to run L... by guidoism on Wednesday January 13, 2021 @06:46PM (#25769644)
Several of the boards from Friendly ELEC have dual ethernet: https://www.friendlyarm.com
Re:BeagleV – An affordable RISC-V computer designed to run L... by gorgoiler on Thursday January 14, 2021 @12:03AM (#25772310)
I use consumer (Netgear) switches with VLAN support to enforce network separation.

The actual routing is done as a router-on-a-stick. It’s not perfect but it’s simple, scalable, and reliable.

Re:BeagleV – An affordable RISC-V computer designed to run L... by exporectomy on Wednesday January 13, 2021 @09:01PM (#25770861)
Perhaps what you want is a range of boards with many combinations of features. Some with 4xethernet, some with 2xethernet, some with PCIE and 1xethernet, some with M.2 and PCIE, some with M.2 and 2xethernet, etc. to fill out that big matrix of combinations. But is the market big enough for such a huge range to be economical?

Some of them have PCIE which you could connect a network card to. That seems like a more practical way to allow flexibility than having a lot of special purpose boards.

Re:BeagleV – An affordable RISC-V computer designed to run L... by bentcorner on Thursday January 14, 2021 @12:31AM (#25772499)
Depending on your bandwidth (especially if you have an asymmetric connection like cable) using it as a router-on-a-stick with vlans should work.

On lower end hardware you'd probably get higher throughput over the single link than trying to add a USB LAN adapter to it.

Re:BeagleV – An affordable RISC-V computer designed to run L... by nomel on Wednesday January 13, 2021 @06:37PM (#25769549)
> have multiple ethernet ports

Could you say more about the use case you have in mind?

Re:BeagleV – An affordable RISC-V computer designed to run L... by Teever on Wednesday January 13, 2021 @06:45PM (#25769636)
I would imagine that a person who wants multiple ethernet ports on an SBC would be interested using the SBC as a router or firewall.
Re:BeagleV – An affordable RISC-V computer designed to run L... by vhodges on Wednesday January 13, 2021 @12:36PM (#25765336)
You might be interested in the RockPro64 which comes with a PCIe 2.0x4 slot for all your HBA needs.

https://wiki.pine64.org/wiki/ROCKPro64

https://pine64.com/product/rockpro64-4gb-single-board-comput...

Re:BeagleV – An affordable RISC-V computer designed to run L... by wipt on Saturday January 16, 2021 @11:03AM (#25803061)
The support for PCIe cards is very limited on that board. I've spent too much time trying to get a disk controller to work, and I'm not alone. I ended up buying old server boards with low power xeon processors to accomplish my goal.
Re:BeagleV – An affordable RISC-V computer designed to run L... by mlyle on Wednesday January 13, 2021 @02:43PM (#25767021)
No, not too complicated, though connectors of all kinds take lots of space (both physical space and routing). Not to mention the amount of power that SATA drives might take.

HardKernel/ODroid has things like the oDroid-HC4.

Also, USB3-to-SATA isn't completely crazy to do.

Re:BeagleV – An affordable RISC-V computer designed to run L... by Octoth0rpe on Wednesday January 13, 2021 @10:16AM (#25762962)
FWIW, I believe the IO boards available for the Pi4 CM variants have a PCIe slot that could use used for storage: https://www.raspberrypi.org/products/compute-module-4-io-boa...

Lack of sata/m.2 port is very frustrating to me.

Re:BeagleV – An affordable RISC-V computer designed to run L... by mbreese on Wednesday January 13, 2021 @10:52AM (#25763527)
You can certainly use the PCIe support on the RPi 4 CM with a SATA controller. Either with a PCIe SATA card on the IO board you linked, or by building a custom board.

The Turing Pi project looks to do that with their next version: https://turingpi.com/v2/

Should be much more stable than a USB3 connection.

Re:BeagleV – An affordable RISC-V computer designed to run L... by qwerty456127 on Wednesday January 13, 2021 @10:30AM (#25763175)
Why would you need SATA when you have SD, also USB3 and Gigabit Ethernet? I have no problem booting from the SD then accessing data on my SATA drives using a USB-attached controller, also plan to get a NAS.

Sure, it would be great to have connectors for everything and support for every cool standard but these guys have to give up all what is non-essential to keep it small, cheap and possible to engineer by a small team.

Re:BeagleV – An affordable RISC-V computer designed to run L... by cogman10 on Wednesday January 13, 2021 @11:36AM (#25764338)
Honestly I just wish there was a faster standard than SD. 100MB/s for solid state is just incredibly slow now-a-days.

There's no reason you couldn't kick SD transfer speeds up towards SSD speeds other than the protocol doesn't allow for it.

Re:BeagleV – An affordable RISC-V computer designed to run L... by blkbjhjkl on Wednesday January 13, 2021 @03:02PM (#25767233)
I wish folks would stop conflating boot media and root media. There's no reason your SD card has to consist of anything more than u-boot.

SD is fantastically simple, so that the boot rom can get at a bootloader without much effort (generally the bootrom just looks at a memory offset on the mmc device). Once you start speaking newer faster protocols, this simplicity is lost. You're not likely going to find a bootrom that implements all the bits needed to get u-boot from a sata device.

In a perfect world, once these are no longer developer devices, the mmc would be replaced with some spi flash (or even an emmc) with just u-boot.

On 90% of embedded dev systems, you're better off thinking of the sd card as a "bios chip" then a hard drive. The fact you can also use it as a block device to store a rw filesystem is almost incidental, and should probably be avoided.

Re:BeagleV – An affordable RISC-V computer designed to run L... by brucehoult on Wednesday January 13, 2021 @06:04PM (#25769232)
SD cards speak SPI. In fact SPI is all SiFive supported on their first 2018 HiFive Unleashed. As you say, it's good enough to bootstrap. That old board has gigE. Once you're up enough to TFTP you're away. I've never actually bothered to set that up on mine -- I boot a full kernel with NFS support and then switch to that.
Re:BeagleV – An affordable RISC-V computer designed to run L... by imtringued on Thursday January 14, 2021 @10:06AM (#25777125)
>There's no reason your SD card has to consist of anything more than u-boot.

Oh, that's a nice idea! It would be nice if you linked to a guide or wiki page so that more people can replicate your setup.

Re:BeagleV – An affordable RISC-V computer designed to run L... by qwerty456127 on Wednesday January 13, 2021 @08:47PM (#25770746)
The existence of Raspberry Pi as it is, Raspberry Pi 4 in parricular, is is a huge leap forward for the humanity already. The next leap is going to be the same kind of board but with no connectors besides an increasing number of full Thunderbolt 4 ports letting you connect anything you can imagine (incl as many GPIO connectors as you need). There is no need in a zoo of connectors like M.2, U.2, SATA, HDMI etc when we can conduct PCIe, DisplayPort and USB over a unified standard wire.
Re:BeagleV – An affordable RISC-V computer designed to run L... by qwerty456127 on Wednesday January 13, 2021 @11:23PM (#25771975)
By the way, switching to a single super-fast (for the time) connector for everything (including internal hard drives) was already anticipated before the invention of SATA and even USB2 - FireWire (IEEE 1394) was meant for that.
Re:BeagleV – An affordable RISC-V computer designed to run L... by PaulDavisThe1st on Thursday January 14, 2021 @12:02AM (#25772299)
Apple giveth. Apple taketh away.
Re:BeagleV – An affordable RISC-V computer designed to run L... by tenebrisalietum on Thursday January 14, 2021 @11:19AM (#25778180)
There's value in having GPIO pins not behind any bus or controller at all. Don't Thunderbolt controllers need firmware uploaded and such before they start working? How complex is Thunderbolt device and bus enumeration?
Re:BeagleV – An affordable RISC-V computer designed to run L... by qwerty456127 on Friday January 15, 2021 @08:25AM (#25790659)
Perhaps you're right. In fact I was going to write about connectors of 3 kinds: GPIO, dedicated fan connectors and Thunderbolt-enabled USB-C but then I came to the conclusion you can also put a GPIO controller or a fan on Thunderbolt the Occam's razor suggests we should only leave Thunderbolt - because we can. Apparently Apple thinks the same as it only left USB-C conectors on their recent laptops.
Re:BeagleV – An affordable RISC-V computer designed to run L... by colejohnson66 on Wednesday January 13, 2021 @05:37PM (#25768949)
CFast is CompactFlash, but with a SATA-based interface (up to ~600 MByte/sec) instead of IDE. It was designed because video cameras were making too much data for CF to handle. The downside is its size: 43x36x5 mm vs 15x11x1 mm for microSD.

Also, CFast aren’t as ubiquitous as microSD. I can go to Target or Walmart and get a wide “selection” of microSD, but I’d be hard pressed to find a CFast card. So the chances of an SBC using CFast over eMMC or microSD is low.

Re:BeagleV – An affordable RISC-V computer designed to run L... by panny on Thursday January 14, 2021 @05:45PM (#25783954)
>Honestly I just wish there was a faster standard than SD

There is one. It's called UFS 3.0. The Sony Xperia 1 II has it. They're same size as MicroSD, but look slightly different.

https://store.shopping.yahoo.co.jp/rarahu-store/B085B2LTLB.h...

Re:BeagleV – An affordable RISC-V computer designed to run L... by tenebrisalietum on Wednesday January 13, 2021 @12:57PM (#25765627)
SD cards are fragile.
Re:BeagleV – An affordable RISC-V computer designed to run L... by tubularhells on Wednesday January 13, 2021 @12:12PM (#25764973)
Because he wants to run a file server from it. This too was my first question.
Re:BeagleV – An affordable RISC-V computer designed to run L... by EamonnMR on Wednesday January 13, 2021 @01:05PM (#25765737)
I'm running a file server with a pi and a USB enclosure for a huge sata drive, and it works fine. Could be neater though.
Re:BeagleV – An affordable RISC-V computer designed to run L... by tubularhells on Saturday January 16, 2021 @05:15AM (#25801334)
Yeah, I like data integrity and failsafe setups, so your solution feels to me like standing on 3 stacked chairs while fixing something with live wire.
Re:BeagleV – An affordable RISC-V computer designed to run L... by EamonnMR on Monday January 18, 2021 @03:03PM (#25825942)
It gets better, I'm powering the pi through its own powered USB hub. I was afraid doing so would short something but it's held up so far.
Re:BeagleV – An affordable RISC-V computer designed to run L... by lsb on Wednesday January 13, 2021 @09:59AM (#25762743)
You can get an SD card with 0.5TB capacity on it for USD$30, what storage needs do you foresee? Also these tend to be used where weight is an issue, so, why do you want to lug around a huge disk?
Re:BeagleV – An affordable RISC-V computer designed to run L... by cjbconnor on Wednesday January 13, 2021 @10:07AM (#25762835)
Nearly all SD cards that I've used in Pis and other SBCs have died unpredictably in the past, so I've pretty much given up on using them
Re:BeagleV – An affordable RISC-V computer designed to run L... by megous on Wednesday January 13, 2021 @03:20PM (#25767447)
Using f2fs and setting up the SW on my SBCs to not write data needlessly to SD card all the time (some programs are really bad at this), and having a very high quality power supply and cabling was enough to make my boards work for years on a single SD card. Some are at 4 years currently and still work fine. I'm using Sandisk only, since a few years ago, because it's the only manufacturer that allows me to verify online whether the card I bought is genuine and provides A1 rated cards at the same time. Experience with about 20 boards.
Re:BeagleV – An affordable RISC-V computer designed to run L... by adrianstoll on Wednesday January 13, 2021 @05:56PM (#25769137)
Samsung provides authentication software for their sd cards too.
Re:BeagleV – An affordable RISC-V computer designed to run L... by megous on Wednesday January 13, 2021 @09:57PM (#25771266)
Now that's interesting. I have a few dead samsung uSD cards, that I'd check for genuineness, if possible. I suspect they might have been a cheap clone.

https://www.samsung.com/semiconductor/minisite/ssd/download/...

I guess too little too late. None of the 4 dead Samsung cards I could find have the V mark (too old for that), required for validation, and they probably started adding support for regular EVO cards just a year ago or so.

Re:BeagleV – An affordable RISC-V computer designed to run L... by znpy on Wednesday January 13, 2021 @06:03PM (#25769221)
does it run on linux or do i need windows to run that? because if windows is needed then sandisk can get a chunk of my salary.
Re:BeagleV – An affordable RISC-V computer designed to run L... by megous on Wednesday January 13, 2021 @09:57PM (#25771272)
It's a windows tool.
Re:BeagleV – An affordable RISC-V computer designed to run L... by novok on Wednesday January 13, 2021 @05:14PM (#25768678)
We shouldn't have to do that or special USB boot things that don't integrate well with extra cables sticking out of the form factor.
Re:BeagleV – An affordable RISC-V computer designed to run L... by moftz on Wednesday January 13, 2021 @03:59PM (#25767889)
I have a special SD card made up that has all of the correct boot configs set and a small script to update everything and set up the Pi for PXE boot. After everything is configured, I take out the SD card and let it just pull boot images over the network. My main home server serves everything up over tftp. The only downside is that you can't get this to work over wifi. The wifi Pis get read only SD cards that are all configured the same so it's easy to reimage a new one if the card dies.
Re:BeagleV – An affordable RISC-V computer designed to run L... by wyldfire on Thursday January 14, 2021 @12:34AM (#25772508)
This seemed to be such a frequent problem that I have up on ARM SBCs (despite how cool they are).

Bought a cheap NUC with a disk and a BIOS and it is working like a champ - boots every time. I probably paid a little more but it's enough for my needs - a simple login and (occasional) DLNA server.

Re:BeagleV – An affordable RISC-V computer designed to run L... by richardcrossley on Thursday January 14, 2021 @05:02AM (#25774476)
I bought a cheap used ultra small form factor PC with an i5, 8GB of RAM, all for less than 200 USD. It even included a licensed copy of Windows 7 Pro, which I don't use.
Re:BeagleV – An affordable RISC-V computer designed to run L... by paulcarroty on Thursday January 14, 2021 @03:49AM (#25773836)
NUCs costs much more than Pi, even used.
Re:BeagleV – An affordable RISC-V computer designed to run L... by wyldfire on Thursday January 14, 2021 @07:59AM (#25775805)
It costs more upfront, but it's worth it because I don't have to spend my time investigating why it's not working.

Also, when comparing costs you should take into account things like enclosure, power supply, as card(s) etc.

I'd say I probably paid around $250 or so for the NUC and a SODIMM and I had a SATA boot disk already. I had previously owned ODROID, libre computer (le potato), and Pi(s). These were probably in the ballpark of $80-$120 each, when including all the necessary equipment.

Re:BeagleV – An affordable RISC-V computer designed to run L... by paulcarroty on Saturday January 16, 2021 @04:20AM (#25801141)
Agree on point paid more for features, but x2.5 price is debatable here.
Re:BeagleV – An affordable RISC-V computer designed to run L... by Drdrdrq on Wednesday January 13, 2021 @10:34AM (#25763232)
Same here. I now run them read only.
Re:BeagleV – An affordable RISC-V computer designed to run L... by hajile on Wednesday January 13, 2021 @10:09AM (#25762863)
I suspect they don't necessarily mean spinning platters. A SATA port also allows the connection of an SSD which is almost always a huge boost in usability over SD slots. The fact that you can add a large platter for a small NAS solution is just a nice option.

I'd far rather see a 2x PCIe port that could be used for whatever you wanted.

Re:BeagleV – An affordable RISC-V computer designed to run L... by tachyonbeam on Wednesday January 13, 2021 @10:15AM (#25762955)
I think it's just that most people want to use the Raspberry Pi for toy projects. They're trying to keep the cost down, and to keep the board small. If you want something like micro ATX ARM motherboard, that's a different use case. The large majority of Raspberry Pi users are fine with USB 3.0 ports for I/O.
Re:BeagleV – An affordable RISC-V computer designed to run L... by tjoff on Wednesday January 13, 2021 @11:49AM (#25764584)
Most that are complaining about this just want something reliable.

Raspberry pis are very popular as audio streamers, media centers that streams of the network, home automations etc.

But all or them greatly suffer from the fact that it can randomly die on you. Which is quite frustrating.

The only sensible solution (imho) to this currently is netbooting but it can be a hassle to setup in some cases.

An integrated 16GB emmc would do wonders for everything mentioned above.

Re:BeagleV – An affordable RISC-V computer designed to run L... by bsder on Wednesday January 13, 2021 @12:21PM (#25765115)
We have an alternative to the RPi that has an eMMC. It's called a Beaglebone.

And everybody bitches that the board is too expensive.

Re:BeagleV – An affordable RISC-V computer designed to run L... by hajile on Wednesday January 13, 2021 @12:41PM (#25765389)
A PI4 compute unit with 8GB of RAM instead of 1GB (faster, DDR4 instead of DDR3 too) and 32GB eMMC and a quad-core 64-bit CPU with much higher IPC while only costing $90 which is around $50 cheaper than a BeagleBoard AI (the same comparison exists for the Black too). You also get direct PCIe access to do what you want.

Beagle just doesn't offer anywhere near the same value.

Re:BeagleV – An affordable RISC-V computer designed to run L... by bsder on Wednesday January 13, 2021 @01:06PM (#25765746)
The Black compared with the older RPi3. And everybody was always "The RPi3 is cheaper".

The conversations always went like this:

"Cheaper? So, did you count the SD card you need for the RPi?"

"But it's cheaper."

"And the special power supply because the RPi power systems suck?"

"But it's cheaper."

"And the keyboard and monitor because it doesn't run headless over USB?"

"But it's cheaper."

"... Okay, boss, it's cheaper. Go have fun."

And that's before we even start talking about the lousy documentation of the RPi CPU chips. And the fact that the Ethernet was installed over the USB. etc.

But the RPi was cheaper. Shrug. The guys at TI learned their lesson. Throw everything off the board and make it cheap--the hackers don't give a shit about anything else.

Re:BeagleV – An affordable RISC-V computer designed to run L... by greyhair on Wednesday January 13, 2021 @03:59PM (#25767887)
Two different targets, I have used both. I have so many 5V power supplies sitting around, they git in the way. Including 12v/5v buck converters for auto stuff. You can configure for headless when you set up the SD card before you ever boot. I have never booted a Pi with attached display/keyboard.

The Pi is cheap, for a reason, but it is still more powerful than anything I use it for. But the same goes for the Beagle Board.

Choose the board you want, for the project you are doing.

Note: For every RPi project I have done, I have done two or three ESP8266/ESP32 projects along with five or six AVR/M0/M2 Arduino projects.

Re:BeagleV – An affordable RISC-V computer designed to run L... by imtringued on Thursday January 14, 2021 @10:25AM (#25777405)
I'm always irritated by people calling it a $35 computer when you can get complete systems for just a little more.
Re:BeagleV – An affordable RISC-V computer designed to run L... by tjoff on Wednesday January 13, 2021 @01:51PM (#25766362)
It doesn't have the same ecosystem. Which is half the point of the rpi to start with.

But if you vouch for it I'll take a closer look.

Re:BeagleV – An affordable RISC-V computer designed to run L... by bsder on Wednesday January 13, 2021 @02:14PM (#25766666)
> It doesn't have the same ecosystem. Which is half the point of the rpi to start with.

Now that's a valid argument. And I would argue it's way more than half.

If you want a one-off mumblesomething and can stay at the Linux OS level (ie. Web application, USB peripherals or maybe the most basic of GPIOs), the RPi ecosystem is going to let you get there much faster even though it will crash and burn occasionally. If that's "good enough" ... Douzou! ... Ganbatte! ... get moving and get going.

I have the same comment about Arduino. It ain't real reliable (but, to be fair, it's quite a bit more reliable than the RPis), but the ecosystem is awesome.

However, when you start asking something like "Gee, how do I send a single address byte over the I2C subsystem?" or "That signal needs a response in 50 nanoseconds, can I make that work?" you will thank the TI folks for producing that 5000 page (not joking or exaggerating) Technical Reference Manual.

One other thing that people who live in the RPi system always overlook in the Beagle ecosystem are the PRU cores. You can do HARD real-time work on those and still live in the Linux world. That's something that the RPi series just simply cannot do no matter how much you hack at them. And it often means the difference between a design which needs an FPGA and one that doesn't.

However, yes, you are going to live in that Technical Reference Manual for the Beagle series. If you're not comfortable doing that, then the Beagle stuff probably isn't for you.

There are really good reasons to use and love RPi's--ease of use is huge. But the whole "It's cheaper" thing just chaps my hide.

Re:BeagleV – An affordable RISC-V computer designed to run L... by tjoff on Wednesday January 13, 2021 @03:37PM (#25767629)
I'll take your word for it, but it sounds like a very different use-case than most use the pis for though.

When you spend that much time with your device cost isn't a factor (imho). But the pi is cheap enough that I can gift one if I know the end result will work well. And it is quite nice to just have one lying around for when you get an itch.

Using netboot I have never had an issue with the pi. All reliability problems I've experienced can be tracked down bad power and SD-cards (note: I have not used any IO other than USB). Both are annoying enough to look for alternatives but both are also fixable (netbooting likely disqualifies it for many usecases though).

Minimizing reads on the sd card usually means that they work at least several years untouched (in my experience, obviously limited sample size), which is likely good enough for many (a true read-only system might work even better). But when the audio streamer in the vacation cabin dies when you aren't around to fix it is still frustrating. So I'm in the moment of figuring out how to move the last of them to be netbooted. Which has some very nice side-effects as well, such as trivial remote system backup+restores.

It also comes down to time. I know the pi and the pitfalls. Researching an alternative would take many hours and I'd still have to experience some of them. If the goal of the project isn't to learn a new sbc then that alone is a dealbreaker.

That said, PocketBeagle seems to support wifi netboot (which neither the pi and pi zero w do). Might be able to find a project for that!

Re:BeagleV – An affordable RISC-V computer designed to run L... by mrweasel on Wednesday January 13, 2021 @10:14AM (#25762941)
I would love to see a Micro-ATX og Mini-ITX board with an ARM or RISC-V CPU, with PCIe ports and storage connectors. There are ARM boards, but they're a little pricy.
Re:BeagleV – An affordable RISC-V computer designed to run L... by brucehoult on Wednesday January 13, 2021 @10:28AM (#25763136)
https://www.crowdsupply.com/sifive/hifive-unmatched

PCIe, 16 GB DDR4, two M.2 (one for storage, one WIFI), quad core 1.5 GHz (same cores as this board, but twice as many)

Re:BeagleV – An affordable RISC-V computer designed to run L... by unwind on Wednesday January 13, 2021 @12:32PM (#25765283)
At $679, that's more than "a little pricey" to me at least.
Re:BeagleV – An affordable RISC-V computer designed to run L... by brucehoult on Wednesday January 13, 2021 @06:10PM (#25769296)
Existing and shipping at all is the first step. Low price comes later, with volume.
Re:BeagleV – An affordable RISC-V computer designed to run L... by unwind on Wednesday January 13, 2021 @07:02PM (#25769814)
That makes sense and sounds logical, but (and I'm certainly no historian) didn't the Raspberry Pi debut at a low price?
Re:BeagleV – An affordable RISC-V computer designed to run L... by imtringued on Thursday January 14, 2021 @10:29AM (#25777460)
The original Raspberry Pi was based on surplus stock of Broadcom's SoCs. It was a set top box chip that was produced in high volume.
Re:BeagleV – An affordable RISC-V computer designed to run L... by vhodges on Wednesday January 13, 2021 @01:09PM (#25765809)
https://turingpi.com/v2/ is coming (soon?!?). Uses 1-4 Pi compute modules.
Re:BeagleV – An affordable RISC-V computer designed to run L... by MisterTea on Wednesday January 13, 2021 @10:07AM (#25762831)
SD cards are too slow to be of practical use as a general purpose disk. They're fine when you have a very predictable workload that does not involve a lot of disk IO.
Re:BeagleV – An affordable RISC-V computer designed to run L... by mrweasel on Wednesday January 13, 2021 @10:11AM (#25762892)
The SD card on the Raspberry Pi is 50 MBps max, if I recall. That's a little slow if you want to use it as a small desktop.

I don't want to lug around anything, I want it to sit behind my monitor. Also an M.2 drive isn't that big, it could fit in many existing cases.

Re:BeagleV – An affordable RISC-V computer designed to run L... by btreecat on Wednesday January 13, 2021 @10:08AM (#25762850)
How about _reliable_ storage needs?
Re:BeagleV – An affordable RISC-V computer designed to run L... by numpad0 on Wednesday January 13, 2021 @10:23AM (#25763073)
SD in itself isn't technically unreliable. Lots of smartphones do just fine with eMMC, which is same thing as microSD card except in nonstandard IC chip form thus can't carry SD branding.
Re:BeagleV – An affordable RISC-V computer designed to run L... by monocasa on Wednesday January 13, 2021 @11:50AM (#25764594)
Practically they end up being really different. SD Cards end up being bottom of the barrel flash chips (even from the 'good' brands), whereas eMMC uses flash good enough that you can count on it being non replaceable.

You want "industrial" cards from a vendor tailored to the space. I wouldn't trust even those new industrial sandisk cards.

Re:BeagleV – An affordable RISC-V computer designed to run L... by jschwartzi on Wednesday January 13, 2021 @02:15PM (#25766678)
Yeah as someone who has deployed SD-based and eMMC-based systems in industrial spaces, SD cards are hot garbage compared to eMMC and I would strongly recommend not using them in anything that needs to be reliable.
Re:BeagleV – An affordable RISC-V computer designed to run L... by jandrese on Wednesday January 13, 2021 @05:47PM (#25769055)
There should be a market for people who will pay extra for SD cards that:

1. Absolutely don't lie about their capacity

2. Have a reasonable MTBF

3. Are reliably fast

But instead we're all dealing with an industry that raced to the bottom years ago.

I'm concerned that the same mentality will infect the eMMC market eventually and it will become impossible to find quality parts after a couple of years.

Re:BeagleV – An affordable RISC-V computer designed to run L... by monocasa on Wednesday January 13, 2021 @06:50PM (#25769682)
What you're asking for does exist in the industrial market (and I'm skeptical of those 'industrial' branded sandisk cards). They still use pseudo SLC (storing one bit in every flash cell as 00(0) or 11(1) and correcting up or down on read back). They also will work with you so you can track BOM changes as they internally change the cards so you can track failure rates. They also give you access to tons of internal perf counters so you can do preventative maintenance (ie. swap the card if it's getting long in the tooth). They also just generally treat you as a business partner rather than a consumer, wrt support and what have you.

It costs a pretty penny though. $40 for a 2GB non micro card was the last quote I got.

Re:BeagleV – An affordable RISC-V computer designed to run L... by jandrese on Wednesday January 13, 2021 @11:25PM (#25771992)
Worth it if you're installing something like a Raspberry Pi in a ceiling mount screen that's a pain to access.
Re:BeagleV – An affordable RISC-V computer designed to run L... by imtringued on Thursday January 14, 2021 @10:36AM (#25777572)
Technically it should be the same. In practice manufacturers make certain assumptions.

1. most SD card devices are battery powered

2. SD card failure is acceptable because they are replaceable

3. SD cards are not used as main storage for a computer

That leads to low quality SD cards.

Re:BeagleV – An affordable RISC-V computer designed to run L... by jwandborg on Wednesday January 13, 2021 @10:08AM (#25762857)
An M.2 SSD is not huge. In my experience, SD cards are way slower than SSDs for random access operations.
Re:BeagleV – An affordable RISC-V computer designed to run L... by stjohnswarts on Wednesday January 13, 2021 @12:17PM (#25765050)
compiling on SSD is so slow. I once compiled an rpi kernel on rpi just for fun and it took forever. Cross compiling is the only way to go for now, unless you only have a small project.
Re:BeagleV – An affordable RISC-V computer designed to run L... by jandrese on Wednesday January 13, 2021 @05:48PM (#25769073)
Raspberry Pis tend to be skimpy on memory. If it starts swapping it's going to be slow even on a fast SSD.
Re:BeagleV – An affordable RISC-V computer designed to run L... by jug on Wednesday January 13, 2021 @10:52AM (#25763525)
Cheap, slow (as an operating system medium at least), and unreliable. They're the modern day floppy disk. The one upside is that the space is cheap and quite plentiful.
Re:BeagleV – An affordable RISC-V computer designed to run L... by adamc on Wednesday January 13, 2021 @11:55AM (#25764688)
SD cards are kind of slow, though.
Re:BeagleV – An affordable RISC-V computer designed to run L... by numpad0 on Wednesday January 13, 2021 @10:33AM (#25763223)
Yes; SATA host controller is an extra if the SoC don't come with one, connectors can't be cheap either. Too expensive as a nice-to-have item.
Re:BeagleV – An affordable RISC-V computer designed to run L... by happimess on Wednesday January 13, 2021 @09:57AM (#25762717)
I'm certainly no expert, but I've never been able to run a spinning disk HDD off of a raspberry pi without a powered USB hub. I imagine the thermals and form factor would be hurt pretty badly by including a plausible power supply.
Re:BeagleV – An affordable RISC-V computer designed to run L... by mrweasel on Wednesday January 13, 2021 @10:16AM (#25762963)
It wouldn't need to be a spinning disk, I'm think SSD or NVME
Re:BeagleV – An affordable RISC-V computer designed to run L... by mbreese on Wednesday January 13, 2021 @10:48AM (#25763454)
I still need to run an SSD off of a powered hub for an RPi to use it stably.
Re:BeagleV – An affordable RISC-V computer designed to run L... by hackmiester on Wednesday January 13, 2021 @11:17AM (#25764035)
Strange. What Pi? I’ve had a spinning 2.5” HDD connected to a Pi 3B+ for a few years now.
Re:BeagleV – An affordable RISC-V computer designed to run L... by mbreese on Wednesday January 13, 2021 @06:08PM (#25769280)
RPI 4 -- the original revision. Whenever I ran it off the "official" power supply, I got disk errors. As soon as I moved over to a powered USB hub, I had no other issues. This was also with a keyboard and mouse plugged in, so maybe that had something to do with it.

I was also trying to run it as a NAS, so it had a decent amount of IO.

Maybe it could have been fixed with a better power supply, but switching over to the powered hub was easier to figure out.

Re:BeagleV – An affordable RISC-V computer designed to run L... by znpy on Wednesday January 13, 2021 @06:02PM (#25769210)
maybe you're running a 4200rpm disk and the other person is running a 7200rpm disk.

faster-spinning-plates would draw more power, I guess.

Re:BeagleV – An affordable RISC-V computer designed to run L... by mceachen on Wednesday January 13, 2021 @12:05PM (#25764865)
Try a higher-quality power supply for your RPi.
Re:BeagleV – An affordable RISC-V computer designed to run L... by jandrese on Wednesday January 13, 2021 @05:44PM (#25769022)
Honestly even with a high quality supply I'd tend to prefer if the drive were externally powered. I have flashbacks to the first generation Pis that would brownout and reboot if you plugged in a mouse or keyboard while it was running.
Re:BeagleV – An affordable RISC-V computer designed to run L... by artificialLimbs on Wednesday January 13, 2021 @12:32PM (#25765284)
Running a spinny 2.5" 1TB drive on my pi zerow using a Samsung rapid charger to power the pi.
Re:BeagleV – An affordable RISC-V computer designed to run L... by swebs on Wednesday January 13, 2021 @12:55PM (#25765594)
The Rasperry Pi 4 can power an 2.5 HDD just fine.
Re:BeagleV – An affordable RISC-V computer designed to run L... by TimSchumann on Wednesday January 13, 2021 @05:49PM (#25769083)
If I had to guess, and this is just a guess, so take it with a grain of salt. I'd bet most storage devices these days are just thin wrappers around PCI-Express lanes, most of the hardware in the silicon running that stuff is on die for AMD/Intel CPU's and you likely run into cost/power/board space limitations in a device like this
Re:BeagleV – An affordable RISC-V computer designed to run L... by SulfurHexaFluri on Wednesday January 13, 2021 @06:59PM (#25769779)
If you want sata then your best bet is probably the Intel NUC. Still fairly small but as powerful as your average laptop.
Re:BeagleV – An affordable RISC-V computer designed to run L... by Fnoord on Thursday January 14, 2021 @04:33AM (#25774161)
Aren't AMD NUCs supposed to be better now with Ryzen 2 and onward?
Re:BeagleV – An affordable RISC-V computer designed to run L... by SulfurHexaFluri on Thursday January 14, 2021 @05:52PM (#25784040)
Probably. I had no idea such a thin existed
Re:BeagleV – An affordable RISC-V computer designed to run L... by rjsw on Wednesday January 13, 2021 @10:21AM (#25763034)
If you already have an SD card controller then an eMMC slot is probably the easiest upgrade.
Re:BeagleV – An affordable RISC-V computer designed to run L... by jacquesm on Wednesday January 13, 2021 @01:10PM (#25765815)
Mount a fileserver via NFS?
Re:BeagleV – An affordable RISC-V computer designed to run L... by Rond on Wednesday January 13, 2021 @01:57PM (#25766434)
Check out Khadas VIM3