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

   *Note: Please adhere to [Contributing 
Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).*
   
   ## Summary
   This PR adds initial NuttX bring-up support for TI AM62x boards and 
introduces board support for:
   
    - BeaglePlay
    - PocketBeagle2
   
    The main goal is to make AM62x boot reliably into NuttX with a working 
serial console and interactive NSH on BeaglePlay.
   
    What this PR adds:
    - common ARM64 EL2 handoff update so EL1 can use the GICv3 system-register 
interface
    - AM62x arch support under `arch/arm64`
    - AM62x low-level boot, memory map, IRQ definitions, low-level console, and 
16550 lower-half serial support
    - 16550 driver fixes needed for AM62x console bring-up
    - BeaglePlay board support with:
      - `beagleplay:nsh`
      - `beagleplay:ostest`
    - PocketBeagle2 board support with matching AM62x integration
    - AM62x platform and board documentation
   
    The 16550 changes are required because AM62x UART bring-up was not stable 
with the generic initialization sequence alone. This PR keeps the generic 16550 
path, but adjusts it so the AM62x/TI K3 UART setup works correctly during both 
early console and runtime console use.
   
   For BeaglePlay, the documented and validated boot flow is manual U-Boot boot 
from microSD:
   
   ```text
   mmc dev 1 0
   fatload mmc 1:1 0x82000000 nuttx.bin
   go 0x82000000
   ```
    ostest was also validated on hardware using:
   
    ```text
    mmc dev 1 0
   fatload mmc 1:1 0x82000000 nuttx-ostest.bin
   go 0x82000000
   ```
   ## Impact
   
   Is a part towards completing this task #18666 
   
   Architecture / core:
    - adds AM62x support to arch/arm64
     - adds EL2-to-EL1 GICv3 handoff handling needed on this boot path
   
   Drivers:
   - updates drivers/serial/uart_16550.c for AM62x-compatible FIFO setup
   - preserves bootloader-owned console state where required
   - fixes TX polling behavior needed for reliable console output
   
   Boards:
   - adds BeaglePlay support
   - adds PocketBeagle2 support
   
   Build / config:
   - adds new board defconfigs:
       - beagleplay:nsh
       - beagleplay:ostest
       - PocketBeagle2 configs
   
   ## Testing
   Ran Basic commands and  OStest on beagleplay:
   <img width="1600" height="758" alt="image" 
src="https://github.com/user-attachments/assets/ac278d5d-f15f-4d28-ae20-a544ee6abe3e";
 />
   
   


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