HSS reports BEU error when booting application from SPI-Flash #240
Unanswered
jt3829
asked this question in
HSS and U-Boot
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
While attempting to boot an application binary from SPI Flash using HSS on a custom board, the beu monitor reports
"beu_monitoring_handler(): Uncorrectable errors: hart 1 - accrued: 0x84027000 value: 0xdead0bad".
Below is a trace of the HSS console output seen before this error is announced. This error is not reported on every power cycle of the board but at least 50% of the time. The application binary does execute as expected when no beu error is asserted.
[12.283792] HSS_MemTestDDRFast(): DDR-Lo size is 32 MiB
[12.290953] HSS_MemTestDDRFast(): DDR-Hi size is 1888 MiB
Press a key to enter CLI, ESC to skip
Timeout in 10 seconds
..........
[22.304418] HSS_TinyCLI_Parser(): CLI boot interrupt timeout
[22.312056] HSS_IHCInit(): Initializing Mi-V IHC
[22.318549] IPI_QueuesInit(): Initializing IPI Queues (6056 bytes @ 0xa0248c8)...
[22.328192] HSS_PMP_Init(): Initializing PMPs
[22.334398] HSS_BootInit(): Initializing Boot Image ...
[22.341559] HSS_BootInit(): Trying to boot via SPI ...
[22.348625] getBootImageFromSpiFlash_(): Preparing to copy from SPI Flash +0x0 to DDR ...
[22.359032] getBootImageFromSpiFlash_(): Attempting to read image header (1632 bytes) ...
[22.370360] copyBootImageToDDR_(): Copying 4968752 bytes to 0xa0000000
[25.302360] tryBootFunction_(): SPI: Boot Image registered ...
[25.310258] HSS_Boot_ValidateImage(): Boot image passed CRC
[25.318088] HSS_Boot_ValidateImage(): Boot image set name: "PolarFire-SoC-HSS::seL4"
[25.328018] HSS_Boot_RestartCore(): called for all harts
[25.335274] HSS_Wdog_MonitorHart(): monitoring U54_1 U54_2 U54_3 U54_4
[25.343867] RunStateMachine(): ipi_poll_service :: Init -> Monitoring
[25.352651] RunStateMachine(): boot_service(u54_1) :: Init -> SetupPMP
[25.361531] RunStateMachine(): boot_service(u54_2) :: Init -> SetupPMP
[25.370411] RunStateMachine(): boot_service(u54_3) :: Init -> SetupPMP
[25.379290] RunStateMachine(): boot_service(u54_4) :: Init -> SetupPMP
[25.388170] RunStateMachine(): beu_service :: init -> monitoring
[25.396477] RunStateMachines(): loop 1 took 31565491 ticks (max 31565491 ticks)
[25.406311] boot_setup_pmp_onEntry(): boot_service(u54_1)::Registering domain "sel4.bin" (hart mask 0x1e)
[25.418524] IPI_Send(): IHC_tx_message_from_hart status 0 with target 1!
[25.432872] RunStateMachine(): boot_service(u54_1) :: SetupPMP -> SetupPMPComplete
[25.450084] IPI_Send(): IHC_tx_message_from_hart status 0 with target 2!
[25.458869] RunStateMachine(): boot_service(u54_2) :: SetupPMP -> SetupPMPComplete
[25.468894] IPI_Send(): IHC_tx_message_from_hart status 0 with target 3!
[25.477678] RunStateMachine(): boot_service(u54_3) :: SetupPMP -> SetupPMPComplete
[25.487703] IPI_Send(): IHC_tx_message_from_hart status 0 with target 4!
[25.496488] RunStateMachine(): boot_service(u54_4) :: SetupPMP -> SetupPMPComplete
Beta Was this translation helpful? Give feedback.
All reactions