Coder Social home page Coder Social logo

Comments (9)

vipulgupta2048 avatar vipulgupta2048 commented on September 27, 2024 1

@lurch No apologies needed, we will take whatever help we can get 🐣 Thanks for sticking around. I will put down your comments in a PR and put this 4-year-old issue to bed. This will go around to helping people nonetheless.

from docs.

vipulgupta2048 avatar vipulgupta2048 commented on September 27, 2024

@ntzovanis Maybe you can help here me here? Would it be relevant to have this information now.

from docs.

ntzovanis avatar ntzovanis commented on September 27, 2024

@vipulgupta2048 sure, what's the context on this? PSUs for what type of board? What is it that we're trying to achieve here?

from docs.

lurch avatar lurch commented on September 27, 2024

I suspect the original context here was people using "cheap" micro-USB PSUs (e.g. a generic phone charger) to power e.g. a Raspberry Pi. If the PSU is insufficient and the Pi starts doing something CPU-intensive (or controls something with its GPIO pins), then the Pi may draw more current than the PSU can supply, which will cause the Pi to brown-out; and like any unexpected-reset-event this can cause the filesystem on the SD card to become corrupt (which in the worst-case-scenario might cause the Pi to fail to boot until the SD card is re-flashed).

from docs.

vipulgupta2048 avatar vipulgupta2048 commented on September 27, 2024

Hey @ntzovanis I have taken up some Docs Cleanup this time round. I don't have a lot of context for you apart from the front conversation linked in the first message by Shaun (4 years old). Reading from the messages there, it seems like the issue was diagnosed as SD card corruption due to heavy read/writes. Another leading cause for that might be an inefficient PSU that they might be using as lurch suggested above. Hence, was my question if we could have any relevant information of PSU that folks could use according to their board type which I agree is a very broad, not to mention vague question.

What we can do?

If nothing comes to mind, the issue is infact 4 years old. Balena now supports a ton of devices, so having info on specific PSU's for each board might not be a list that would be beneficial to maintain. We can close the issue cc @shaunmulligan if you have thoughts since you created the issue.

from docs.

lurch avatar lurch commented on September 27, 2024

How about a small FAQ answer on the FAQ page about better reading voltage requirements to pick the right PSU for the board that customers might be using?

Just a quick comment to add that the current-requirements are just as important as the voltage-requirements. A PSU with too high voltage may damage the board, but a PSU with too low voltage will probably cause the board to fail to boot. Whereas if the PSU isn't capable of providing the maximum current that the board can demand (which is what I was referring to by "insufficient" in my previous comment) then the board may boot okay (giving the user the impression that everything is "okay"), but then later on (when a CPU-intensive task kicks in) the board may try to draw more current than the PSU is capable of, which then leads to the brown-out (i.e. the board unexpectedly resetting).

Any useful advice other than what's already mentioned here under power - https://www.balena.io/docs/learn/welcome/production-plan/#hardware

That page says "the power supply is capable and actually providing the required power" - looks like that might be a typo for "the power supply is capable of actually providing the required power" ? 🤷

from docs.

vipulgupta2048 avatar vipulgupta2048 commented on September 27, 2024

Hey @lurch Thanks for the comments. Information like this is exactly what might help a new user or a customer running a fleet deploy with fewer issues. Would you like to take a shot at this and we can continue the discussion in the PR?

from docs.

lurch avatar lurch commented on September 27, 2024

I'm happy to provide helpful comments, but I don't have time to create PRs, sorry.

from docs.

lurch avatar lurch commented on September 27, 2024

It might also be worth noting that with the increased power-requirements of e.g. the Pi3 and the Pi4, trying to power them with a low-quality phone-charger might not even get them past the boot-stage; so this issue of low-current power supplies causing unexpected resets during high CPU-load might be less prevalent than it was 5 years ago? 😉 🤷

from docs.

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.