avgoor commented on PR #16306:
URL: https://github.com/apache/nuttx/pull/16306#issuecomment-2851495441

   Hi @shtirlic, after enabling the FPU on RP2350 it now locks up during a 
startup in SMP configurations.
   Here are the only culprits I have at the moment:
   
   ```
   [rp2350.dap.core1] clearing lockup after double fault
   [rp2350.dap.core1] external reset detected
   
   Thread 1 "rp2350.dap.core0" received signal SIGINT, Interrupt.
   0x100121b2 in up_cpu_start (cpu=1) at chip/rp23xx_cpustart.c:252
   252       while (!g_core1_boot);
   warning: ARM M in lockup state, stack unwinding terminated.
   
   >>> where
   #0  0x100121b2 in up_cpu_start (cpu=1) at chip/rp23xx_cpustart.c:252
   #1  0x10002ba8 in nx_smp_start () at init/nx_smpstart.c:133
   #2  0x10002a6a in nx_start () at init/nx_start.c:749
   #3  0x100001f0 in __start () at chip/rp23xx_start.c:196
   >>> list
   247       /* Enable inter-processor FIFO interrupt */
   248
   249       irq_attach(RP23XX_SIO_IRQ_FIFO, rp23xx_smp_call_handler, NULL);
   250       up_enable_irq(RP23XX_SIO_IRQ_FIFO);
   251
   252       while (!g_core1_boot);
   253
   254       /* CPU Core 1 boot done */
   255
   256       return 0;
   >>> 
   ```
   Reducing `CONFIG_SMP_NCPUS` to 1 helps avoid it, and I suppose getting rid 
of SMP also. This is on current master with the `pimoroni-pico-2-plus:smp` 
configuration.


-- 
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