Jump to content

Armbian crashing when trying to compile code?


Go to solution Solved by Igor,

Recommended Posts

Posted

I am using my Orange Pi as a Pi-Hole and also to run a discord bot of mine

 

I am having the issue with this repo where I can install packages with `pnpm install` will run and work fine, but when i move to use `pnpm compile` which uses Parcel to compile the codebase from TS and etc to workable JS, I run it and it starts that command and then the Putty terminal I use to remote into my OrangePi (which is on my LAN) from my Windows 11 machine gets a "remote connection terminated" which generally just happens when the remote restarts. 

 

Any idea why this may be happening?

  Reveal hidden contents

 

 

  • Solution
Posted
  On 8/29/2023 at 4:15 AM, Daniel Turcich said:

Any idea why this may be happening?

Expand  


Expensive research is usually needed to fully understand why this is happening. But as most developers knows that Rockchip legacy kernel is a consumer demo-grade trash, its unlikely this will happen. Repairing deep problems just for this kernel is usually futile. It is not Armbian problem, but Rockchip's which provides this fork and currently the only stable(ish) kernel you can run on those devices. It is worth trying to build image from latest sources. They have been greatly improved, but can't tell if your problem will be gone. I assume you are using stock power supply? Not sufficient power can help in crashing ...
 

If you need to run some serious things on your device, move to test 6.5.y kernel (CI builds at the bottom of the page). This is the only sane way, but they come without video output. We are running several build runners on few Rock 5 devices and so far it does the job. Here are logs: https://paste.armbian.com/gupidarusa

 

BTW, Welcome!

Posted

I haven't had problems until now, I am using a rather dinky powersupply atm. It looks like they reccomend a 5v 4a but I assume that's not enough, they use USB-C as delivery. Any suggestions on what voltage and amperage I should look for? 

I will look into compiling from source using `6.5.#` kernel, I don't use a video out, only need it to act as a DNS and run some backends/ APIs I write.

Posted

tl;dr: 5.3 to 5.4 volts and 4 amps. Ideally something industrial-grade.

 

Ideally you'd get something that outputs slightly above 5 volts in order to compensate for voltage drop.

For example the wall adapter sold by Xulong with their boards actually outputs 5.3 volts (even though the there is 5 volts written on it). Under full load the voltage drops down to around 5 volts across the board (measured at the USB-A connector).

Now imagine powering the board with "only" 5 volts and put a heavy load to it. Will drop well below 5v and this causes malfunction. Also RK SoCs seem to enjoy slight overvoltage :D

 

Posted

Personally I like Mean Well, they are decent brand who tend to deliver the advertised voltage (which is a whole another problem with no-name supplies, not just in SBC world but also PC and others) and last a good long while.  And pretty affordable, usually.

 

Lately I have even been switching to DIN rail mounted power supplies for my SBCs (and other devices, even monitors, as I had too many power bricks piling up around my desktop/workbench area).

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines