Child pages
  • RCE Boot Status Codes
Skip to end of metadata
Go to start of metadata

During the boot process, the bootloader or an operating system may output a status code to the COB IPMC.

This status code can be used to determine the current boot state of an RCE.

Executing the cob_dump command with the --rce switch will print the code in the "RCE State" column.

Due to boot stage timing and sample rates, some codes may never actually be detected by the COB IPMC.

See also COB Dump and DSL Commands

Linux and RTEMS

0x0 : BOOT_SUCCESS - The operating system has booted and been assigned an IP address
0x1 : BOOT_REBOOTING - The operating system received a DSL reboot request and is rebooting (V1.10.0 and up)
0x2 : BOOT_UPDATING - The operating system received a DSL update request and is updating (V1.10.0 and up)

RTEMS Only

0x8 - 8: BOOT_DSLEXE - dsl exe started
0xc - 12 : BOOT_DSLPREFS - dsl exe preferences loaded
0x10 - 16 : BOOT_STARTSVC - startup services started
0x12 - 18 : BOOT_LINKTRAIN - 10G network phy link training
0x14 - 20 : BOOT_STARTPREFS - startup service preferences loaded
0x18 - 24 : BOOT_APPSVT - application svt installed
0x1a - 26 : BOOT_SYSSVT - system svt installed
0x1e - 30 : BOOT_CFGNAMESPACE - config namespace installed
0x20 - 32 : BOOT_SYSNAMESPACE - system namespace installed
0x24 - 36 : BOOT_APP_SDMOUNT - application sd partition mounted
0x26 - 38 : BOOT_SYS_SDMOUNT - system sd partition mounted
0x28 - 40 : BOOT_SDINIT - sd driver initialized
0x2a - 42 : BOOT_RTEMSLDR - Ldr_Install_Rtems completed
0x2c - 44 : BOOT_DBGINIT - Debug package init completed
0x30 - 48 : BOOT_WRAPPOSTDRVHOOK - __wrap_bsp_postdriver_hook executed
0x34 - 52 : BOOT_POSTDRVHOOK - brd_postdriver_hook executed
0x38 - 56 : BOOT_WRAPPREDRVHOOK - __wrap_bsp_predriver_hook executed
0x3c - 60 :  BOOT_PREDRVHOOK - brd_predriver_hook executed
0x40 - 64 : BOOT_WRAPPRETASKHOOK - __wrap_bsp_pretasking_hook executed
0x44 - 68 : BOOT_PRETASKHOOK - brd_pretasking_hook executed
0x48 - 72 : BOOT_WRAPBSPSTART - __wrap_bsp_start executed
0x4c - 76 : BOOT_BRDSTART - brd_start executed
0x50 - 80 : BOOT_BSPSTARTHOOK1 - bsp_start_hook_1 executed
0x54 - 84 : BOOT_BSPSTARTHOOK0 - bsp_start_hook_0 executed

U-Boot

0xea - 234 : BOOT_OS_HANDOFF - U-boot has transferred control to another operating system
0xee - 238 : BOOT_RCE_READY - U-boot has completed RCE board initialization and is ready to boot an operating system
0xf2 - 242 : BOOT_CM_INIT - The DTM is initializing the network switch driver (DTM only)
0xff - 255 : BOOT_NOT_BOOTED - U-boot has started execution but has not yet initialized RCE board support

 

  • No labels