-
- Downloads
managerd: add nvmem boot-state backend
New nvmem backend added to boot-state.
This backend supports update rollback mechanism for
TI AM335x's SOC or processor which has RTC scratch registers.
For boot-state mechanism RTC scratch_register2 fields used as below
- byte zero hold boot count value
- byte one hold the update available state
- byte two hold the version
- byte four hold boot count magic
Signed-off-by:
Moses Christopher <BollavarapuMoses.Christopher@in.bosch.com>
parent
4793339f
No related branches found
No related tags found
Showing
- managerd/boot-state-nvmem.c 261 additions, 0 deletionsmanagerd/boot-state-nvmem.c
- managerd/boot-state-nvmem.h 29 additions, 0 deletionsmanagerd/boot-state-nvmem.h
- managerd/boot-state.c 3 additions, 2 deletionsmanagerd/boot-state.c
- meson.build 4 additions, 0 deletionsmeson.build
- tools/envread.c 1 addition, 0 deletionstools/envread.c
Loading
Please register or sign in to comment