Jump to content

Device tree overlay - set default board optimizations at boot


Recommended Posts

Posted

Hello dear armbianites,

 

I'm trying to make the hc1 optimization for the odroid HC2 board permanent, every time the kernel is updated, armbiam loses the optimization and an admin action is needed to apply the optimization again via ambianconfig > System DTB  > optimized board configuration, followed by a reboot.
My Odroid HC2 suffers from temperature sensor problems, which can be easily bypassed. But I avoid restarts of this server which hosts an OMV instance for personal needs.

 

I understand that the /boot/armbianEnv.txt file passes the information to /boot/boot.ini, but this file seems to be overwritten when the kernel is updated!

is there any possibility of upstream action like 'first.boot' after update?

 

konki

Posted

hi,

 

here is a log before the kernel update: https://paste.armbian.com/xawajuyito

 

the board loses HC1 optimization just after apt-upgrade, here is a log before reboot: https://paste.armbian.com/itocatefak

 

I apply hc1 optimization again via ambianconfig>System DTB >optimized board configuration, before reboot

 

the board crashed during reboot several times before finally booting completely: https://paste.armbian.com/gufozeyedi

/boot/armbianEnv.txt contained 2 lines board_name=hc1 after reboot!

 

This is not my initial question, but it's a problem I've encountered for at least 6-8 months, hardware or software problem?

 

Thanks

 

konki

Posted

Hi,

I ended up by disabling the kernel update (the loaded kernel is Linux 5.4.225-odroidxu4). My odroidhc2 has been running for over 3 months now.

This is a workaround not a solution!

 

Is there a solution to freeze the HC1/HC2 optimization during the kernel update?

Thanks

 

konki

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.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines