Commit graph

2 commits

Author SHA1 Message Date
Leo Liou
1fd5db8246 gs201: ffu: add lifeC and activated date as condition
Limit the following devices to accept ffu upgrade:
- LifeC time < 10%
- Activated date < 1 year

Bug: 273305600
Test: run ffu process at local
Change-Id: I9cc9298eeb7cd32f02a9577efb71bda0737f284d
Signed-off-by: Leo Liou <leoliou@google.com>
2023-09-19 03:24:09 +00:00
Leo Liou
8329190a5c gs201: conf: run ufs ffu script after boot complete
The ufs script is to work for ffu preparing. If device's ufs has an
old firmware, the script will copy the valid firmware into disk and
wait for ffu update on bootloader.

Bug: 273305212
Test: full build and test ffu update
Change-Id: Ic5069561b67e2773cd87edb31bfa3d682867b838
Signed-off-by: Leo Liou <leoliou@google.com>
2023-04-17 09:58:11 +00:00