commit | 2e531d7af722300998e65c62e14e242d1c015159 | [log] [tgz] |
---|---|---|
author | zhenyu.gao <zhenyu.gao@amlogic.com> | Thu May 16 17:31:03 2024 +0800 |
committer | Zhenyu Gao <zhenyu.gao@amlogic.com> | Wed May 22 00:51:49 2024 -0700 |
tree | 1be7fd653110ec6ad843f4c9c852c5974f6ae8ea | |
parent | 835ec579fb297bec02f2a67dffd22456ddc9e436 [diff] |
aml_commonlib: CF1 Fix updateenv block issue [1/1] PD#OTT-59596 Problem: When bootenv_update is called, fsync occasionally takes too long time, resulting in the failure of "envimg_buffer_lock". Solution: Remove the fsync operation and use the "O_SYNC" parameter instead, Change the lock operation to infinite wait Verify: SC2-AH212 RDK trunk PB#9005 YOCTO 4.0 PB#1630 Change-Id: I4115777283532703260b1f7c53dc6f560af6aba7 Signed-off-by: zhenyu.gao <zhenyu.gao@amlogic.com>