jlaitine opened a new pull request, #20114:
URL: https://github.com/apache/nuttx/pull/20114

   
   ## Summary
   
   I have started working on imxrt1180-evk support. This is just a preview of 
this work, adding architecture support under arch/imxrt and boards.
   
   Some drivers have been ported from imx9 (trdc, ele, dma), some copied and 
later modified from imx9 (clock configuration), some using imxrt drivers 
directly (peripherals: usb, lpuart, spi,, i2c...).
   
   There are three board configurations available:
   
   imxrt1180-evk:bl: bootloader on m33
     - generates "flash.bin" to be flashed to offset 0 on qspi nor
     - loads ele firmware, configures ele & trdc
     - configures m7 power mode (HSRUN) and clocks (798 MHz for M7, 266MHz for 
M33)
     - releases m7 to run at 0x80000
   imxrt1180-evk:nsh:    nsh image for m7 core.
     - generates "nuttx.bin" to be flashed to offset 0x80000 on qspi nor 
(compatible with the bl above)
   imxrt1180-evk:nsh-m33: Plain nuttx nsh image on m33
     - does the same as "bl", but just runs nsh, leaves m7 to be
   
   There is still a lot of cleanup and testing needed, as well as need to bring 
up rest of the peripherals So this is WIP, and just a preview. Comments are 
welcome, if someone is interested (@PetervdPerk , someone else from NXP?), as 
well as information on if someone else is working on this same board already.
   
   Cleanup work also means adding "Assisted by AI" lines to commit messages, 
some commits used AI heavily (generating register configurations from RM, some 
debugging). Others are just copy/paste/hand modify. But I don't typically track 
so closely where I use AI and where not, so I have to read through the commits 
and determine that later.
   
   ## Impact
   
   Doesn't (shouldn't) impact existing targets. Only adds support for new board
   
   ## Testing
   
   Very little testing so far. Both configurations ("m33 bl + m7 nsh" & "m33 
nsh")  boot and appear stable.
   
   What seems to work: 
   - clock&power configurations, interrupts, GPIO, DMA3/4, LPUART.
   What almost works:
   - USB usbdev + cdcacm works from m33, but not on m7 yet, not debugged why
   Compiles, not tested:
   - SPI&I2C
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to