Git Product home page Git Product logo

Comments (17)

FilipBE avatar FilipBE commented on August 15, 2024 4

Some Raspberry Pi Compute Module 4 (CM4) boards come with a built-in eMMC flash chip for storing nonvolatile data. This chip replaces the need for a separate SD card, which can be useful if you want to avoid the use of SD cards.

from openmower.

JoeKae avatar JoeKae commented on August 15, 2024 1

You can use small m2 type ssds.

from openmower.

Schaumi19 avatar Schaumi19 commented on August 15, 2024

As far as I know the OS is still Raspbian with ROS installed. The Problem with the SD-card is writing and in Raspbian there is a option to not write to SD. If that is selected it writes only to the RAM so if there is a power loss the system is set back to the point the option was selected.
Hope it helps

from openmower.

ClemensElflein avatar ClemensElflein commented on August 15, 2024

This might be a problem indeed, since I'm using Ubuntu on the Pi. I haven't gotten ROS to work with Raspbian in a stable way. But @Schaumi19 is right, there is an option which just writes to RAM and does not modify the SD. I haven't used it yet, though since I'm working on the software and therefore need write access to the SD

from openmower.

scottishjohn1982 avatar scottishjohn1982 commented on August 15, 2024

from openmower.

noobydp avatar noobydp commented on August 15, 2024

I got bored and read up on this problem, so I'm no expert.

This article suggests the problem has been resolved and may have been due to bad rpi hardware or cheap sd cards.

I've used 3 or 4 pi's over the past few years starting with a Pi B, and I've never had an issue.
I've always Used genuine samdisk cards, not sure if it helps.

That said the overlay fs/ read only sd card mode is handled at the os level in raspbian so might be an option.

from openmower.

scottishjohn1982 avatar scottishjohn1982 commented on August 15, 2024

from openmower.

Schaumi19 avatar Schaumi19 commented on August 15, 2024

It is true that you have less problems with genuine sdcards whatever brand, but it is also a fakt that the life time of an sd card is limited tue to the write cycles(up to 10k some sources say 100k). Thats why the problem is not the normal usage. But if there is something like a log file that gets written every second you are done afer a few days. Or if the file gets writen less the problem occurs afer a longer period of time what could be worse.

from openmower.

JoeKae avatar JoeKae commented on August 15, 2024

Just boot from a small ssd via usb. They last much longer than sdcards or emmc.

from openmower.

FadeFx avatar FadeFx commented on August 15, 2024

i am not sure if adding an ssd inside the smal case of a mower.

from openmower.

vguttmann avatar vguttmann commented on August 15, 2024

I did open this issue because I had a (as far as I can tell) genuine Samsung 64GB SD card go bad in a Pi that a personal project ran on.

I would agree that a CM4-based mower sounds like a good idea, given the onboard eMMC flash, and that it is intended with use in industrial settings in mind. Of course, that would mean sacrificing USB 3.0 connectivity, but as far as I can see, that's not really used here.
The CM4 DOES have a USB 2.0 interface, so no USB controller on the board would be necessary.

from openmower.

pedromorgan avatar pedromorgan commented on August 15, 2024

At end of day we want machine to be 100% reliable.. with ..a failover etc...(line replacable)

maybe an SD raid ? or ssd RAID ?
as @JoeKae mentions, the m2 ssd's could be useful.. but expensive..

or a stpuid raid..
https://hackaday.com/2018/02/12/worlds-stupidest-solid-state-disk-drive-hack/

from openmower.

Schaumi19 avatar Schaumi19 commented on August 15, 2024

ssds last longer but have the same problem. So just dont write do the ssd/sd or only write every few days. I don't think it is a real problem, that it gets reset a few days if the battery dies.

from openmower.

wooter avatar wooter commented on August 15, 2024

I've been using Log2Ram, and endurance type SD cards. None of them have failed yet, in other applications like RPi dash cams and power monitoring.

from openmower.

ClemensElflein avatar ClemensElflein commented on August 15, 2024

We're working on having the software as docker images, so that we can use Raspbian as base system. This would allow us to use the overlayfs setting in raspi-config which should fix the sd corruption problem without much work.

from openmower.

plopaur avatar plopaur commented on August 15, 2024

I would recommend looking at Tinycore Linux for Rasperry Pi. This is a minimal ramdisk only distribution with no automatic writing to sdcard which i have used in the past. A new package for openmower has to be created.
Configuration changes can be written to sdcard instantly.

http://www.tinycorelinux.net/ports.html

from openmower.

docgalaxyblock avatar docgalaxyblock commented on August 15, 2024

@plopaur I could not find any information if ROS runs on TinyCore. If it does and it is stable that may be a way to do it

@vguttmann @pedromorgan I am planning to build my mower based on a CM4 w/ emmc and this adapter - It has a M.2 2230/42 slot too but I think a ssd is an overkill

It will take some time cause I accidentally ordered a CM4 w/o wifi so I am returning it and need to wait until my desired variant is available again.
Also I plan to take a look around the OS side of the project
Stay tuned 🤗

from openmower.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.