nuttx icon indicating copy to clipboard operation
nuttx copied to clipboard

[BUG] RP2040 SMP configurations broken

Open linguini1 opened this issue 11 months ago • 11 comments

Description / Steps to reproduce the issue

I am unable to boot into NSH using the SMP configuration on RP2040 devices. Testing was primarily done on a Raspberry Pi Pico W.

Steps to reproduce:

  1. Checkout to almost latest master branch (abcbb1eebd).
  2. ./tools/configure.sh -l raspberrypi-pico-w:smp
  3. make -j
  4. Upload resulting UF2 to Pico W.
  5. No shell appears on UART0.

I have reverted back to 9d1e7a0510 and that version of NuttX has a working SMP configuration. I plan to continue bisecting.

On which OS does this issue occur?

[OS: Linux]

What is the version of your OS?

Linux 6.12.10-arch1-1 #1 SMP PREEMPT_DYNAMIC x86_64 GNU/Linux

NuttX Version

master

Issue Architecture

[Arch: arm]

Issue Area

[Area: Kernel]

Host information

No response

Verification

  • [x] I have verified before submitting the report.

linguini1 avatar Feb 05 '25 04:02 linguini1

@hujun260 look at this problem.

xiaoxiang781216 avatar Feb 05 '25 04:02 xiaoxiang781216

bisect.txt

The bad commit can be found here: b69111d16a2a330fa272af8175c832e08881844b Which is from PR #14578

linguini1 avatar Feb 05 '25 04:02 linguini1

do you try with this patch: https://github.com/apache/nuttx/pull/15728? @linguini1

xiaoxiang781216 avatar Feb 05 '25 05:02 xiaoxiang781216

do you try with this patch: https://github.com/apache/nuttx/pull/15728? @linguini1

No I haven't, the master branch I was testing with is 8 days old and this is from 5 days ago. Thank you for pointing this out, I will try with this patch included tomorrow morning (EST timezone)

linguini1 avatar Feb 05 '25 05:02 linguini1

Thanks, let's wait your verification.

xiaoxiang781216 avatar Feb 05 '25 06:02 xiaoxiang781216

I tested with the latest code and found no issues.

hujun260 avatar Feb 05 '25 07:02 hujun260

Latest master branch resolves this issue.

linguini1 avatar Feb 05 '25 16:02 linguini1

Still broken for rp23xx (pico2) on master, reverting to at least to b49f4286fb fixes the SMP build For me the first bad commit is 914ae532e68bf4ca75c758d6f541a1d2fcdce8c3 @linguini1

shtirlic avatar Apr 12 '25 07:04 shtirlic

I unfortunately do not have an RP23xx to help test

linguini1 avatar Apr 12 '25 17:04 linguini1

Still broken for rp23xx (pico2) on master, reverting to at least to b49f428 fixes the SMP build For me the first bad commit is 914ae53 @linguini1

Is this still broken?

linguini1 avatar May 17 '25 14:05 linguini1

Still broken for rp23xx (pico2) on master, reverting to at least to b49f428 fixes the SMP build For me the first bad commit is 914ae53 @linguini1

Is this still broken?

yep

shtirlic avatar May 19 '25 05:05 shtirlic