Earticle

현재 위치 Home

비정상 전원 차단 환경에서 Boot Policy 기반 Fail-Safe Boot 기법의 설계 및 검증
Design and Verification of Boot Policy-Based Fail-Safe Boot Method for Unexpected Power-Off Conditions

첫 페이지 보기
  • 발행기관
    한국차세대컴퓨팅학회 바로가기
  • 간행물
    한국차세대컴퓨팅학회 논문지 KCI 등재 바로가기
  • 통권
    Vol.22 No.5 (2026.10)바로가기
  • 페이지
    pp.65-78
  • 저자
    노현탁
  • 언어
    한국어(KOR)
  • URL
    https://www.earticle.net/Article/A494470

원문정보

초록

영어
Embedded systems may experience boot image corruption and repeated boot failures due to unexpected power loss or storage device errors, which can reduce system availability and operational reliability. Conventional bootloaders generally provide Main Image integrity verification and Backup Image-based booting. However, boot procedures determined primarily by the current image validation results have limitations in distinguishing temporary boot failures from repeated failures and controlling the timing of recovery accordingly. This paper proposes a Boot Policy-based Fail-Safe Boot method that manages previous boot failure history using a Boot Fail Count and determines recovery execution based on both image validation results and accumulated failure history. The Main Image is validated first, followed by the Backup Image when the Main Image is unavailable. The Boot Fail Count is increased when a normal system boot cannot be completed using either image. Once the accumulated count reaches a predefined threshold, the failure is regarded as a repeated boot failure and recovery is performed. The key distinction lies not in Backup Image-based booting itself, but in the policy-based determination of recovery timing by considering both the current image state and previous boot failure history. To verify the operation of the proposed Boot Policy, a Zephyr RTOS-based Boot Simulator was implemented and evaluated in a QEMU Cortex-M3 environment under normal boot, boot failure conditions that may result from unexpected power loss, Main Image CRC errors, and repeated boot failures. The results confirmed that Main and Backup Image validation and selection, Boot Fail Count increments, threshold evaluation, recovery execution, and count initialization operated according to the designed procedure. Under repeated boot failure conditions, recovery was performed only when the predefined threshold was reached, unlike the immediate recovery method that performs recovery for each boot failure. The proposed method can distinguish isolated failures from repeated failures by incorporating boot failure history into the recovery decision and can control the timing of recovery accordingly.
한국어
임베디드 시스템은 비정상적인 전원 차단이나 저장장치 오류로 인해 Boot Image가 손상되거나 부팅 실패가 반복 될 수 있으며, 이는 시스템의 가용성과 운용 신뢰성을 저하시키는 원인이 된다. 기존 Bootloader는 Main Image의 무결성 검증과 Backup Image 기반 부팅 기능을 제공하지만, 현재 Image의 검증 결과를 중심으로 부트 절차를 결정하므로 일시적인 부트 실패와 반복적인 부트 실패를 구분하여 Recovery 수행 시점을 제어하는 데 한계가 있다. 본 논문은 이전 Boot Failure History를 Boot Fail Count로 관리하고, Image 검증 결과와 누적된 실패 이력을 기반으로 Recovery 수행 여부를 결정하는 Boot Policy 기반 Fail-Safe Boot 기법을 제안한다. Main Image를 우선 검증하고 사용할 수 없는 경우 Backup Image를 검증하며, 두 Image를 통해 정상적인 시스템 부팅을 완료하지 못했을 때 Boot Fail Count를 증가시킨다. 누적된 Count가 설정된 Threshold에 도달하면 반복적인 부트 실패로 판단하여 Recovery를 수행한다. 제안 기법의 차별점은 Backup Image를 이용한 부팅 기능이 아니라, 현재 Image 상태와 이전 Boot Failure History를 함께 고려하여 Recovery 진입 시점을 정책적으로 결정하는 데 있다. 제안한 Boot Policy의 동작 검증을 위해 Zephyr RTOS 기반 Boot Simulator를 구현하고 QEMU Cortex-M3 환경에서 정상 부팅, Power Loss로 인해 발생할 수 있는 Boot Failure, Main Image CRC Error 및 반복적인 Boot Failure 조건을 시험하였다. 시험 결과 Main Image와 Backup Image의 검증 및 선택, Boot Fail Count 증가, Threshold 판단, Recovery 수행과 Count 초기화 과정이 설계된 절차에 따라 동작함을 확인하였다. 특히 반복적인 Boot Failure 조건에서는 매 실패마다 Recovery를 수행하는 즉시 Recovery 방식과 달리, 설정된 Threshold에 도달한 경우에만 Recovery가 수행되었다. 제안 기법은 Boot Failure History를 Recovery Decision에 반영함으로써 단발성 오류와 반복적인 오류를 구분하고 Recovery 수행 시점을 제어할 수 있다.

목차

요약
Abstract
1. 서론
2. 관련 연구
2.1 Bootloader와 이미지 무결성 검증
2.2 Dual Image 기반 Boot 방식
2.3 NAND Flash 기반 저장장치의 특성 및 기존방식의 한계
3. 제안하는 Boot Policy 기반 Fail-Safe Boot기법
3.1 Boot Policy 구조
3.2 Boot Policy 알고리즘
3.3 Boot Policy 동작 절차
3.4 예외 상황 및 적용 범위
4. 구현 및 실험 환경
4.1 Boot Simulator 구현
4.2 실험 환경
4.3 시험 시나리오
5. 실험 결과 및 분석
5.1 Power Loss 환경에서의 Boot 동작 분석
5.2 Main Image CRC Error 환경에서의 Boot동작 분석
5.3 반복 부트 실패 및 Recovery 동작 분석
5.4 기존 Recovery 방식과의 정책 비교
5.5 결과 분석
6. 결론
참고문헌

저자

  • 노현탁 [ HyunTak Noh | 한화시스템 ]

참고문헌

자료제공 : 네이버학술정보

간행물 정보

발행기관

  • 발행기관명
    한국차세대컴퓨팅학회 [Korean Institute of Next Generation Computing]
  • 설립연도
    2005
  • 분야
    공학>컴퓨터학
  • 소개
    본 학회는 차세대 PC 및 그 관련분야의 학술활동을 통하여 차세대 PC의 학문 및 기술발전을 도모하고 산업발전 및 국제협력 증진을 목적으로 한다.

간행물

  • 간행물명
    한국차세대컴퓨팅학회 논문지 [THE JOURNAL OF KOREAN INSTITUTE OF NEXT GENERATION COMPUTING]
  • 간기
    격월간
  • pISSN
    1975-681X
  • 수록기간
    2005~2026
  • 등재여부
    KCI 등재
  • 십진분류
    KDC 566 DDC 004

이 권호 내 다른 논문 / 한국차세대컴퓨팅학회 논문지 Vol.22 No.5

    피인용수 : 0건 (자료제공 : 네이버학술정보)

    함께 이용한 논문 이 논문을 다운로드한 분들이 이용한 다른 논문입니다.

      페이지 저장