6 ms·
Is 4 GB the Limit for the Raspberry Pi 4?
- Aissen 7y agoI'd agree with the hackaday commenters that this seems like they considered putting eMMC (or any kind of flash) storage on the high-end board. Would have been nice considering the reliability of most microSD cards.
- dividuum 7y agoRelevant: https://www.raspberrypi.org/forums/viewtopic.php?p=1484362#p1484362 https://www.raspberrypi.org/forums/viewtopic.php?p=1484362#p...
- deleted 7y ago[deleted]
- ac29 7y ago"Nope, personal experience. SD cards have wear leveling, EMMC generally doesn't, so if using them for the same thing, the EMMC will fail first. depends on the FS." - An Engineer at Rasberry Pi. Anyone comment on that?
- mrlambchop 7y agoIts an incorrect statement - I think James on the Pi forum was confusing NAND vs eMMC. eMMC has (with exception of some high grade SDCards) better write cycles and is considerably more durable than the average SDCard.
- agildehaus 7y agoWhat about above average SD cards: the so called "industrial" SD cards?
- imtringued 7y agoAverage users aren't running out of write cycles. SD cards usually corrupt themselves and can be reflashed multiple times before they become physically unusable. If you are willing to pay a premium then you can get a more reliable brand but there are no guarantees that the specific model you bought is reliable. Usually corruption happens in combination with sketchy micro USB cables and power adapters (micro USB compatibility isn't actually a great benefit). Smartphones have batteries so the only thing that matters is that the average power sent to the battery exceeds the discharge rate. A temporary voltage drop for a fraction of a second can ruin the stability of your SBC and corrupt the SD card in the process. eMMC is non replaceable, therefore it has to be more resistant against power loss. Corrupting eMMC can turn the entire device into a paperweight.
- blackflame7000 7y agoIt 100% comes from not enough amps from a power supply. The Pi will run on less than 2000ma but at some point you are going to start getting transistor level bit flips not unlike a CPU that is overclocked too high. Things like cell phone chargers also appear to work but simply cant supply a consistent current under load because they were never designed to
- akhilcacharya 7y agoWhat's the write speed comparison for the Pi 4 and an equivalent SBC with eMMC? I'm very tempted to buy one for general purpose compute but I'm wondering if I should get the RockPro instead (inferior software support but theoretically superior performance).
- Fronzie 7y agoI've had Odroid devices in the past. Although they by all means work as advertised, the SW support for the raspberry pi is higher, allowing more recent kernels and with more (most) of the sources available also more tinkering. I'd recommend to settle for the lower performance unless you really really need it.
- opencl 7y agoThe SD controller has been improved somewhat from the older Pi models, this article has some storage benchmarks: https://www.cnx-software.com/2019/06/24/raspberry-pi-4-benchmarks-mini-review/ https://www.cnx-software.com/2019/06/24/raspberry-pi-4-bench... Odroid has some eMMC performance numbers: https://magazine.odroid.com/article/orange-emmc-module-samsung-5-1-chipset-arrives/ https://magazine.odroid.com/article/orange-emmc-module-samsu... Though on either board the fastest storage you'll get will likely be a USB3->SATA bridge with an SSD.
- mrlambchop 7y agoA major product challenge of eMMC in a design is the requirement to supply a means of flashing data onto the storage device when the CPU can't boot from the eMMC (or the disk is corrupted). The SDCard solves this problem fairly well (although the solution requires a reasonable level of computer literacy due to the filesystems and raw block device access needed, however its a good fit for the Pi user demographic). Other systems solve this chicken/egg problem by having a tool that runs on a PC that can perform the programming of attached storage, often by downloading code and data into a CPUs RAM and then having it flash to the disk. Exposing JTAG to Pi customers however is a step too far and would require more expensive external JTAG hardware to be needed per customer as well. If I was Pi, I'd put a 10cent USB stick IC onto the board that connects in parallel to the eMMC and enable the board to be plugged into any USB host and mounted as external storage. Some programmable logic (get one of the Silego 10cent programmable logic ICs) would be needed to prevent the USB from being mounted when the system was running - I'd probably add in a button or switch that is read at power on and determines which interface gets to see the eMMC. It would need to hold either the Pi chip or the USB IC in reset depending on which function was selected. A second option would be to put an USB eMMC protocol stack into the BootROM, but this would need LittleKernel or something similar in the BootROM and its non-trivial to get right!
- pedrocx486 7y agoThey could go the "Android way" and have a fastboot of sorts to boot software like a recovery OS to reflash the main os.
- mrlambchop 7y agoI believe fast boot relies on having a stable, on PCB storage device (eMMC or NAND) to ensure that the recovery method doesn't have any opportunity to get wiped / trashed. Using an SDCard doesn't ensure this and thus something in hardware would be needed instead.
- realshowbiz 7y agoIve been running raspberry pis on sd cards for years and really haven't had any issues. And if I did have an issue I’d just fire up a new sd card and dd the disk image back on. It’s actually one of the great features of the PI IMO, having the ability to quickly swap disks and reboot. Reminds me of the computers and video games of yesterday.
- blackflame7000 7y agoI agree, as long as you store everything permanent on a centralized database then being able to fix a node in a cluster is just a card swap.
- giobox 7y agoThis! When I saw a new Pi was announced with multiple models I dearly hoped for one with optional reliable on board storage. The MicroSD card is easy to use, but just not remotely close to reliable enough as the only kind of onboard storage for many use cases. I migrated a few years ago to the ASU’s Up! Board - same dimensions, GPIO, general layout as a Pi but with quad core atom, 32GB onboard storage, 4gb of ram and “proper” gigabit Ethernet. No more micro SD card failures (I’m aware usb and network boot exist for the Pi but does not fit my needs). This Pi 4 ticks all of those boxes except for the storage. So close to a truly great little home server device.
- bitwize 7y agoGiven all the efforts to cram Visual Studio Code onto the Pi (because kids learning the basics of programming need a "modern" development environment), an 8 GiB Pi would actually make that practical.
- joezydeco 7y agoI cross-compile to ARM all day long. The idea of editing and building on the target completely eludes me. I guess I shouldn't worry - it's job security.
- Fronzie 7y agoRecently I tried to cross-compile a Qt application. With differences in the moc executable between host (x86 debian) and target (rpi3), I couldn't quite get things to work (with cmake as build system). Do you have any tips?
- joezydeco 7y agomoc is run at compile, and it runs on the host. You shouldn't need to run it on the target. I'd get a complete toolchain from ARM's developer website, then build the entire Qt project for cross compilation on the host. Then you should be able to build the complete Qt app on x86 and deploy on ARM.
- bitwize 7y agoNot everybody uses the Pi for IoT. It was originally intended to be a child's primary computer and an educational tool. Being able to do useful programming work on the Pi itself is an important use case.
- joezydeco 7y agoThen why wasn't that ready with version 1? You're correct that it was originally an edu tool. It isn't anymore.
- pcwalton 7y agoThey will need to offer a 64-bit kernel then. It's unfortunate that even the newest Raspbian for the Pi 4 is still 32-bit, both kernel and userland.
- dividuum 7y agoNot necessarily: Physical memory and virtually addressable memory are two different things. See for example https://en.wikipedia.org/wiki/Physical_Address_Extension https://en.wikipedia.org/wiki/Physical_Address_Extension. Not sure how that works on the Pi though.
- TheAdamist 7y agowhich causes its own problems with kernel & drivers, and your processes are still only 4gb per process aware unless you play windowing/segmenting games. 64bit is the solution, pae was a huge hack when 64bit wasn't ready yet.
- nickcw 7y agoARM does support LPAE and I think the linux kernel does too for ARM: https://lwn.net/Articles/415190/ https://lwn.net/Articles/415190/ I've never seen it in use though!
- IntelMiner 7y agoThe Pi 4 is an ARM64 device that they're still running in armhf mode?! Haven't the RPi's all been ARM64 since the Pi 2?
- opencl 7y agoYes, the 2/3/4 are all 64 bit. The Zero/Zero W are the same old 32 bit ARM11 hardware as the original Pi. Raspbian is still armhf but there are several aarch64 distros available (Arch, Fedora, Debian) for the recent Pi models.
- vardump 7y agoRPi2 is 32-bit ARMv7. All RPi3 models are ARMv8 (Cortex A53).
- coldtea 7y agoAnything a little more upscale but similar in spirit to the Pi 4? E.g. at around $100 or $200?
- aetimmes 7y agoDepends what you mean by "similar in spirit", but there are a smorgasboard of single board computers and self-contained computers out there at a multitude of different price points. If you're looking for just a small computer, the Intel NUC is a good place to start.
- deleted 7y ago[deleted]
- traspler 7y agoI really like Hardkernel's Odroid boards. They have a big catalog for many use cases and are a lot more performant than the Pi but less open hardware/driver wise and lack on board WiFi/BT. But as others have said, there are A LOT of similar boards. If you want something very small, the NanoPi boards look nice but I have never tried one of them.
- NikkiA 7y agoBeyond the OrangePI boards at the same price point as RPi, I like the UP boards which use x86 compatible chips for that $100-200+ bracket, you get good, fast, processors with decent memory options and don't have to screw about with weird android-orientated hardware.
- tyingq 7y agoSlower CPU than the Rpi4, but the Jetson Nano's GPU makes for a reasonable desktop experience. $99 Also, a refurb Asus Chromebox would be around $150 if you want x86.
- realshowbiz 7y agoHow about a used lenovo m92p
- fulafel 7y agoSoftware support (up to date distro, timely security parches to kernel, reasonably unbuggy drivers et ) is usually the weak point of arm boards. Even raspbian traditionally lags a bit there but most other boards are worse. You are probably better off with low end x86.