hujun260 commented on issue #15688:
URL: https://github.com/apache/nuttx/issues/15688#issuecomment-2613838462

   https://github.com/apache/nuttx/pull/15691
   This patch hasn't completely resolved the boot-up issue.
   
   still report
   ESP-ROM:esp32s3-20210327
   Build:Mar 27 2021
   rst:0x7 (TG0WDT_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
   Saved PC:0x40374c78
   SPIWP:0xee
   mode:DIO, clock div:2
   load:0x3fc8db60,len:0x5bc
   load:0x40374000,len:0x57f0
   SHA-256 comparison failed:
   Calculated: 4593aab18daaa2732b1d02dd28f1f75754dc2550751af064fbe69c2563625334
   Expected: 0000000010a20000000000000000000000000000000000000000000000000000
   Attempting to boot anyway...
   entry 0x40374e0c
   
   it seems during the boot-up phase, I can't call functions from NuttX, such 
as sched_lock, within regi2c_ctrl_read_reg_mask. How can I replace 
spin_lock_irqsave/spin_unlock_irqrestore in 
arch/xtensa/src/esp32s3/esp-hal-3rdparty with 
raw_spin_lock_irqsave/raw_spin_unlock_irqrestore? I'm not sure how to proceed, 
as this code was downloaded.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to