[WIP] boards/arm/imxrt: Add frdm-imxrt1186 CM33 nsh. - #19858
Conversation
|
Host regression note: after this change, EVK serial proof is still pending — no MIMXRT1180-EVK attached on the development host yet. Happy to attach an |
|
@PetervdPerk could you please help to review? It is based on your i.MX RT1170 port |
|
@ajlennon Cursor made some mistakes: |
|
Thanks guys - Cursor is a bit overly keen here! I will change this to WIP ! Sorry to be a bother! I am about to smoke test this on an EVK board here... |
|
Please replace: Legally AI cannot assume Copyright, see: https://en.wikipedia.org/wiki/Monkey_selfie_copyright_dispute |
|
Marked WIP (draft + title). CI issues from Alan's note are addressed in a932f4d:
Still pending: MIMXRT1180-EVK serial |
51cc518 to
e8aeb16
Compare
|
@acassis Thanks — updated trailers per your note and NuttX Reference: https://en.wikipedia.org/wiki/Monkey_selfie_copyright_dispute |
e8aeb16 to
f1ebb9b
Compare
|
Follow-up on CONTRIBUTING compliance (re-read guide after your Assisted-by note):
|
|
The MIMXRT1180-EVK hardware smoke test now passes. LinkServer loads the CM33 image with code in secure ITCM and writable state in secure OCRAM. The board reaches NSH over MCU-LINK LPUART1 at 115200 baud; The early UsageFault was Posted by Cursor on Alex's behalf. |
linguini1
left a comment
There was a problem hiding this comment.
Please include more detailed testing information, like runtime logs and an OS test run on the board.
There was a problem hiding this comment.
Please follow the board doc template.
|
Runtime verification update, with scope kept explicit:
Separate fork-only bring-up has also now proved NETC receive plus DHCP ACK ( This PR therefore remains the focused CM33 NSH/clocks debugger-load slice, without a POR-boot, NETC, XIP, or USB scope claim. Posted by Cursor on Alex's behalf. |
|
Correction to the USB fork-only note above: CDC NSH is now proved end-to-end on J63. Fork tip This remains fork-only evidence and does not change the scope of this CM33 NSH/clocks PR. Posted by Cursor on Alex's behalf. |
1bb0777 to
604e10d
Compare
3235d4d to
643d283
Compare
|
@linguini1 Thanks — addressed your two notes on tip
PR remains [WIP] / draft. We will add an Posted by Cursor on Alex's behalf. |
|
Do not respond to my comments with AI. |
Sure - no more responses from me to you. |
643d283 to
8c2513f
Compare
|
Please include the full runtime logs, not just a truncated version. If it is too much text, you can either put them in Markdown drop-downs or attach the files. |
8c2513f to
59fe16f
Compare
| ****************************************************************************/ | ||
|
|
||
| #ifdef CONFIG_ARCH_FAMILY_IMXRT118x | ||
| void __attribute__((naked)) noinstrument_function __start(void) |
There was a problem hiding this comment.
but we can use the same __start for all cases.
26dcf81 to
2d3b689
Compare
|
@PetervdPerk-NXP @xiaoxiang781216 — force-pushed a single squash of the FRDM RT1186 CM33 work for re-review. Addressed in this tip:
Local checks on the squash tip: checkpatch clean; |
c0bb2ec to
efd3a51
Compare
Add the RT118x CM33 architecture, clocks, FRDM board configurations, XIP, USB CDC console, and NETC support. Use a shared reset dispatcher, expose RT118x USB gating through the common peripheral-clock interface, and keep implementation status in the board documentation. Assisted-by: Cursor:Auto Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
efd3a51 to
74a465d
Compare
PetervdPerk-NXP
left a comment
There was a problem hiding this comment.
This is still incomplete after a quick pass:
- Only a subset of the IRQs is defined.
- The memory map is not complete.
- The hardware register definitions therefore cannot yet be considered usable or review-ready.
Please use the i.MX RT1180 SVD to generate the headers and validate the resulting definitions against the hardware documentation. That is likely the simplest way to obtain a complete and consistent register map.
At the moment, the review is effectively being used to drive the implementation step by step. This consumes a significant amount of reviewer time and is not a sustainable way to develop the contribution. If an AI agent is being used, please iterate with it independently and perform a comprehensive validation before posting another revision. It is the author’s responsibility to identify and resolve these gaps, rather than relying on reviewers to crowdsource the agent’s next instructions.
Please return for review when the implementation has been checked end to end.
|
All good - I'll keep this new board support for my own work then and if anybody decides my work has value you may discuss with me using my work |

Summary
arch/arm/src/imxrt(ARCH_FAMILY_IMXRT118x).ARCH_CHIP_IMXRTto select Cortex-M7 or Cortex-M33 per chip.nsh— LPUART1, ITCM/OCRAM debugger RAM-loadnsh-xip— FlexSPI2 XIP at secure AHB0x14000000usbnsh— USB CDC/ACM system console on OTG1 J63netnsh/netnsh-xip— RT118x NETC Ethernet + DHCP (link-wait)MSPLIM/PSPLIM; ELE/TRDC ownership; SYS_PLL3 @ 480 MHz; M33 @ 240 MHz.src/Makefile→libboard.a).ostestserial log:ostest-xip.log.Documentation/contributing/doc_templates/board.rst.Out of scope: LED/button drivers, CM7, MCUBoot, fuse/AHAB. No MIMXRT1180-EVK / RT1189 claim.
BSP status
apps/testing/ostestwaited full suite (RAM-load)apps/testing/ostestwaited full suite (FlexSPI2 XIP @0x14000000)uhubctl, no gdb)192.168.2.248/24Impact
Documentation/platforms/arm/imxrt/boards/frdm-imxrt1186/.Testing
The maintained FRDM-IMXRT1186 testing record documents the hardware methods, results, and limitations. The complete XIP
ostestserial log isostest-xip.log.I confirm that changes are verified on local setup and work as intended.
frdm-imxrt1186— configsnsh,nsh-xip,usbnsh,netnsh,netnsh-xipWGUPS4RWFPGOTCMake configure/build for
nsh,nsh-xip,usbnsh, andnetnsh-xip— PASS.OS smoke on board (XIP POR → NSH)
True FlexSPI2 XIP power-on reset (
wirebootconfig xxxx, LinkServer flash @0x14000000,uhubctlhub cycle, no gdb on boot path). Serial console on MCU-Link VCOM:Debugger RAM-load
nshpreviously also reachednsh>withhelp/uname -a/uptime,g_imxrt118x_clock_status=0x7f,g_imxrt118x_clock_error=0, liveSYS_PLL3_CTRL=0x2020201b, M33 root0x00000201, LPUART0102 root0x00000209.apps/testing/ostestfull suite (RAM-load)Full waited run on PR tip
8c2513fbdd8, withCONFIG_SCHED_WAITPID=y,CONFIG_TESTING_OSTEST=y,CONFIG_TESTING_OSTEST_WAITRESULT=y, and one loop. The image was loaded by LinkServer through MCU-Link.The test-only RAM link kept executable text in ITCM and placed read-only data in OCRAM so the full suite would fit beyond the board's 128 KiB ITCM; this does not change the production
nshlayout.No
ERROR, panic, assertion, or failure line was emitted.apps/testing/ostestfull suite (XIP)Complete serial log:
ostest-xip.log.Full waited run on PR tip
8c2513fbdd8(CONFIG_TESTING_OSTEST=y,CONFIG_SCHED_WAITPID=y,CONFIG_TESTING_OSTEST_WAITRESULT=y, one loop).Image flashed with LinkServer to secure FlexSPI2
0x14000000;.textat0x1400b000. ~2m02s to exit.No
ERROR, panic, assertion, or failure line was emitted.USB CDC console (J63)
usbnshRAM-load; host enumerated0525:a4a7ascdc_acm:NETC / DHCP
ENETC1 + switch path; DHCP ACK on lab LAN:
Host→board ICMP while that address was held (earlier same-day evidence):
Board→LAN ping was not re-proven after the later RX BDR1 fix; DHCP ACK /
ifconfigremain the networking claim.Testing logs before change
N/A — new board / chip-family support (no prior
frdm-imxrt1186baseline on this tree).Testing logs after change
See the board testing record and the full XIP
ostestserial logostest-xip.log, plus the USB CDC and NETC/DHCP transcripts above.PR verification Self-Check
master.doc_templates/board.rst.Assisted-by:; still draft/WIP.AI assistance
Prepared with assistance from Cursor. Commits use
Assisted-by:above humanSigned-off-by:; no AICo-authored-by.