Jump to content

Rafig

Members
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thank you very much for assistance. I know that SD card boots, I was just wondering if it is possible to restore the system. I guess corruption happens in OS held in NVME and is not fixable. I didn't do anything related to UUID, it is the default one.
  2. System logs: http://ix.io/4bd2 I have been using Armbian OS with Rock Pi 4B. The problem with Rock Pi 4B is that it doesn't have a power-on/off button. So, for closed systems with no keyboard/UI, there is no way to shutdown/start the system properly. Only option is to disconnect the power cable, which has corrupted my OS few times(by the way didn't happen on Debian). I implemented shutdown function through MRAA library and by attaching a button to 40-pin GPIO header. But with this approach, system can go to sleep, but cannot wake-up through button because my software is not running. As I have understood, the best approach to have a proper button functionality is to put Linux into sleep instead of shutdown, and to modify the device tree so that a GPIO would have a wake-up functionality. Unfortunately, I don't have expertise in device trees. On RockPro64, another device that uses RK3399, the device has a power button. So, I tried to copy its dts implementation into rock pi 4b dts, but unfortunately it didn't work. Here is the link showing the modifications of rock-pi-4b dts: https://github.com/RafigRzayev/RockPi4B_wake_button_dts/commit/046c5b81c39756e8cd0e8b69a243539e01429c39 I also opened an issue on Radxa forum, but no success there yet. Could someone help with this topic?
  3. Hi, I am using Rock Pi 4B and want to be able to turn the system on after sleep (suspend/hibernate or any other state that would allow it). Previously, I have used MRAA library to set an interrupt, and called system("shutdown now") inside interrupt code. I did it according to the following post and according to the MRAA examples. I wrote a shell script, which executes the MRAA program. Shell script, in its turn, is called by a service on a start-up. So, with this method I was able to shutdown the system, but I cannot get out of this state via button press. I researched few posts, such as: 1, 2, and 3. It looks like either I have to modify the DTS file and generate new OS image, or perhaps there is a method to set the pin as a wake-up source inside the OS. While on Debian, when I go into directory: cd /sys/kernel/irq/<PIN #>/ There is a field called wakeup When doing cat wakeup it shows disabled Though I didn't find this folder in Armbian, but I suppose they may share similar settings for the pins. Can anyone please help me to achieve my goal? I came across another similar post, but unfortunately there was no solution there.
  4. Hello, I have been using Armbian OS on Rock Pi 4B. Full system is on NVME, not using SD card, and there is no eMMC chip on the board. During usage, I needed to shut it down improperly: by removing power cable, not through sudo shutdown now In the end I have following message during boot: Also, here is contents of dev folder: I was wondering if it is possible to fix this error. If not, I will reinstall with new image. Just spent much time on setting the environment, don't want to redo this all I would appreciate any help.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines