10 ms·
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 li
by mrweasel 6y ago
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).
- happimess 6y agoI'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.
- mrweasel 6y agoIt wouldn't need to be a spinning disk, I'm think SSD or NVME
- mbreese 6y agoI still need to run an SSD off of a powered hub for an RPi to use it stably.
- hackmiester 6y agoStrange. What Pi? I’ve had a spinning 2.5” HDD connected to a Pi 3B+ for a few years now.
- znpy 6y agomaybe you're running a 4200rpm disk and the other person is running a 7200rpm disk. faster-spinning-plates would draw more power, I guess.
- mbreese 6y agoRPI 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.
- mceachen 6y agoTry a higher-quality power supply for your RPi.
- jandrese 6y agoHonestly 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.
- artificialLimbs 6y agoRunning a spinny 2.5" 1TB drive on my pi zerow using a Samsung rapid charger to power the pi.
- swebs 6y agoThe Rasperry Pi 4 can power an 2.5 HDD just fine.
- seabird 6y agoYou 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.
- lsb 6y agoYou 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?
- MisterTea 6y agoSD 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.
- cjbconnor 6y agoNearly 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
- Drdrdrq 6y agoSame here. I now run them read only.
- moftz 6y agoI 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.
- megous 6y agoUsing 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.
- Octoth0rpe 6y agoFWIW, 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-board https://www.raspberrypi.org/products/compute-module-4-io-boa... Lack of sata/m.2 port is very frustrating to me.
- mbreese 6y agoYou 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/ https://turingpi.com/v2/ Should be much more stable than a USB3 connection.
- rjsw 6y agoIf you already have an SD card controller then an eMMC slot is probably the easiest upgrade.
- brucehoult 6y agohttps://www.crowdsupply.com/sifive/hifive-unmatched 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)
- mrweasel 6y agoThat's a little costly, but I guess development of a board like that isn't cheap.
- brucehoult 6y agoExisting is the first step. Prices will reduce in time -- probably quite rapidly.
- edsouza 6y agoThe board has 16GB DDR4 memory on board, that's probably one of the most costly components.
- jandrese 6y ago16GB 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.
- brucehoult 6y agoPeople 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 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
- qwerty456127 6y agoWhy 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.
- cogman10 6y agoHonestly 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.
- blkbjhjkl 6y agoI 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.
- brucehoult 6y agoSD 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.
- numpad0 6y agoYes; 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.
- vhodges 6y agoYou 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://wiki.pine64.org/wiki/ROCKPro64 https://pine64.com/product/rockpro64-4gb-single-board-computer/?v=0446c16e2e66 https://pine64.com/product/rockpro64-4gb-single-board-comput...
- wipt 6y agoThe 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.
- jacquesm 6y agoMount a fileserver via NFS?
- Rond 6y agoCheck out Khadas VIM3
- mlyle 6y agoNo, 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.
- 1vuio0pswjnm7 6y agoOn 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.
- znpy 6y ago> 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.
- 1vuio0pswjnm7 6y agoI 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.
- TimSchumann 6y agoIf 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
- stormbrew 6y agoMy 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.
- nomel 6y ago> have multiple ethernet ports Could you say more about the use case you have in mind?
- Teever 6y agoI would imagine that a person who wants multiple ethernet ports on an SBC would be interested using the SBC as a router or firewall.
- guidoism 6y agoSeveral of the boards from Friendly ELEC have dual ethernet: https://www.friendlyarm.com https://www.friendlyarm.com
- johnwalkr 6y agoCheck 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).
- exporectomy 6y agoPerhaps 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.
- SulfurHexaFluri 6y agoIf you want sata then your best bet is probably the Intel NUC. Still fairly small but as powerful as your average laptop.
- Fnoord 6y agoAren't AMD NUCs supposed to be better now with Ryzen 2 and onward?
- SulfurHexaFluri 6y agoProbably. I had no idea such a thin existed