mirror of
https://github.com/apache/nuttx.git
synced 2026-10-05 13:17:49 +00:00
BOARDIOC_SWITCH_BOOT is required to communicate the boot partition from userspace (OTA subsystem) to board. It can be used to change the system boot behavior. So it's useful for A/B boot or even single boot case. For the board support A/B boot case: 1. Download the new image from the sever 2. Write the new image to the alternative partition 3. Call BOARDCTL_SWITCH_BOOT to the alternative system For single boot partition case: 1. Download the new image from the sever 2. Call BOARDCTL_SWITCH_BOOT and reboot to a small system 3. Write the new image to the main partition in the small system 4. Call BOARDCTL_SWITCH_BOOT again to the main system Change-Id: Ifebb495784ecf06842946a249bec64f75dce894f Signed-off-by: liuhaitao <liuhaitao@xiaomi.com> |
||
|---|---|---|
| .. | ||
| boardctl.h | ||
| custom_file.h | ||
| epoll.h | ||
| eventfd.h | ||
| file.h | ||
| ioctl.h | ||
| ipc.h | ||
| mman.h | ||
| mount.h | ||
| param.h | ||
| poll.h | ||
| prctl.h | ||
| resource.h | ||
| select.h | ||
| sendfile.h | ||
| shm.h | ||
| socket.h | ||
| sockio.h | ||
| stat.h | ||
| statfs.h | ||
| statvfs.h | ||
| syscall.h | ||
| syscall_lookup.h | ||
| time.h | ||
| times.h | ||
| types.h | ||
| uio.h | ||
| un.h | ||
| utsname.h | ||
| vfs.h | ||
| wait.h | ||