zouboan opened a new pull request, #12806: URL: https://github.com/apache/nuttx/pull/12806
## Summary Original zcu111 nsh defconfig corresponding to configuration boot nuttx from JTAG, now we finally able to boot nuttx from QSPI FLASH by FSBL and ATF, so we rename original zcu111 nsh defconfig to jtag and create a new defconfig named nsh. ## Impact zynq-mpsoc/zcu111 ## Testing zcu111 boot from QSPI, and reboot nuttx by executing reboot command: ``` Xilinx Zynq MP First Stage Boot Loader Release 2018.3 Jul 25 2024 - 16:35:19 Reset Mode : System Reset Platform: Silicon (4.0), Cluster ID 0x80000000 Running on A53-0 (64-bit) Processor, Device Name: XCZUUNKNEG FMC VADJ Configuration Successful Board Configuration successful Processor Initialization Done ================= In Stage 2 ============ In JTAG Boot Mode ================= In Stage 4 ============ PMU-FW is not running, certain applications may not be supported. Protection configuration applied Exit from FSBL Xilinx Zynq MP First Stage Boot Loader Release 2018.3 Jul 25 2024 - 16:35:19 Reset Mode : System Reset Platform: Silicon (4.0), Cluster ID 0x80000000 Running on A53-0 (64-bit) Processor, Device Name: XCZUUNKNEG FMC VADJ Configuration Successful Board Configuration successful Processor Initialization Done ================= In Stage 2 ============ QSPI 32 bit Boot Mode QSPI is in Dual Parallel connection QSPI is using 4 bit bus FlashID=0x20 0xBB 0x22 MICRON 2G Bits Multiboot Reg : 0x0 QSPI Reading Src 0x0, Dest FFFF1C40, Length EC0 .QSPI Read Src 0x0, Dest FFFF1C40, Length EC0 Image Header Table Offset 0x8C0 QSPI Reading Src 0x8C0, Dest FFFDB150, Length 40 .QSPI Read Src 0x460, Dest FFFDB150, Length 40 *****Image Header Table Details******** Boot Gen Ver: 0x1020000 No of Partitions: 0x5 Partition Header Address: 0x440 Partition Present Device: 0x0 QSPI Reading Src 0x1100, Dest FFFDB190, Length 40 .QSPI Read Src 0x880, Dest FFFDB190, Length 40 QSPI Reading Src 0x1140, Dest FFFDB1D0, Length 40 .QSPI Read Src 0x8A0, Dest FFFDB1D0, Length 40 QSPI Reading Src 0x1180, Dest FFFDB210, Length 40 .QSPI Read Src 0x8C0, Dest FFFDB210, Length 40 QSPI Reading Src 0x11C0, Dest FFFDB250, Length 40 .QSPI Read Src 0x8E0, Dest FFFDB250, Length 40 QSPI Reading Src 0x1200, Dest FFFDB290, Length 40 .QSPI Read Src 0x900, Dest FFFDB290, Length 40 Initialization Success ======= In Stage 3, Partition No:1 ======= UnEncrypted data Length: 0x31D2 Data word offset: 0x31D2 Total Data word length: 0x31D2 Destination Load Address: 0x10000 Execution Address: 0x10000 Data word offset: 0xF980 Partition Attributes: 0x117 QSPI Reading Src 0x3E600, Dest 10000, Length C748 .QSPI Read Src 0x1F300, Dest 10000, Length C748 Partition 1 Load Success ======= In Stage 3, Partition No:2 ======= UnEncrypted data Length: 0xBDFB Data word offset: 0xBDFB Total Data word length: 0xBDFB Destination Load Address: 0x100000 Execution Address: 0x100000 Data word offset: 0x12B60 Partition Attributes: 0x112 QSPI Reading Src 0x4AD80, Dest 100000, Length 2F7EC .QSPI Read Src 0x256C0, Dest 100000, Length 2F7EC Partition 2 Load Success ======= In Stage 3, Partition No:3 ======= UnEncrypted data Length: 0x312E Data word offset: 0x312E Total Data word length: 0x312E Destination Load Address: 0x130000 Execution Address: 0x0 Data word offset: 0x1E960 Partition Attributes: 0x112 QSPI Reading Src 0x7A580, Dest 130000, Length C4B8 .QSPI Read Src 0x3D2C0, Dest 130000, Length C4B8 Partition 3 Load Success ======= In Stage 3, Partition No:4 ======= UnEncrypted data Length: 0x3FF0 Data word offset: 0x3FF0 Total Data word length: 0x3FF0 Destination Load Address: 0x13D000 Execution Address: 0x0 Data word offset: 0x21A90 Partition Attributes: 0x112 QSPI Reading Src 0x86A40, Dest 13D000, Length FFC0 .QSPI Read Src 0x43520, Dest 13D000, Length FFC0 Partition 4 Load Success All Partitions Loaded ================= In Stage 4 ============ PM Init Success Protection configuration applied NOTICE: BL31: Built : 21:00:23, Jul 25 2024 - Ready to Boot Primary CPU - Boot from EL1 - Boot to C runtime �nx_start: Entry up_allocate_heap: heap_start=0x0x14d000, heap_size=0x7fdb3000 gic_validate_dist_version: GICv2 detected uart_register: Registering /dev/console uart_register: Registering /dev/ttyS0 work_start_highpri: Starting high-priority kernel worker thread(s) nxtask_activate: hpwork pid=1,TCB=0x14d5d0 nx_start_application: Starting init thread task_spawn: name=nsh_main entry=0x10c8f4 file_actions=0 attr=0x14cf40 argv=0x148 nxtask_activate: nsh_main pid=2,TCB=0x14f990 lib_cxx_initialize: _sinit: 0x12e474 _einit: 0x12e474 NuttShell (NSH) Nuttnx_start: CPU0: Beginning Idle Loop X-10.2.0 nsh> nsh> nsh> nsh> nsh> reboot Xilinx Zynq MP First Stage Boot Loader Release 2018.3 Jul 25 2024 - 16:35:19 Reset Mode : System Reset Platform: Silicon (4.0), Cluster ID 0x80000000 Running on A53-0 (64-bit) Processor, Device Name: XCZUUNKNEG FMC VADJ Configuration Successful Board Configuration successful Processor Initialization Done ================= In Stage 2 ============ QSPI 32 bit Boot Mode QSPI is in Dual Parallel connection QSPI is using 4 bit bus FlashID=0x20 0xBB 0x22 MICRON 2G Bits Multiboot Reg : 0x0 QSPI Reading Src 0x0, Dest FFFF1C40, Length EC0 .QSPI Read Src 0x0, Dest FFFF1C40, Length EC0 Image Header Table Offset 0x8C0 QSPI Reading Src 0x8C0, Dest FFFDB150, Length 40 .QSPI Read Src 0x460, Dest FFFDB150, Length 40 *****Image Header Table Details******** Boot Gen Ver: 0x1020000 No of Partitions: 0x5 Partition Header Address: 0x440 Partition Present Device: 0x0 QSPI Reading Src 0x1100, Dest FFFDB190, Length 40 .QSPI Read Src 0x880, Dest FFFDB190, Length 40 QSPI Reading Src 0x1140, Dest FFFDB1D0, Length 40 .QSPI Read Src 0x8A0, Dest FFFDB1D0, Length 40 QSPI Reading Src 0x1180, Dest FFFDB210, Length 40 .QSPI Read Src 0x8C0, Dest FFFDB210, Length 40 QSPI Reading Src 0x11C0, Dest FFFDB250, Length 40 .QSPI Read Src 0x8E0, Dest FFFDB250, Length 40 QSPI Reading Src 0x1200, Dest FFFDB290, Length 40 .QSPI Read Src 0x900, Dest FFFDB290, Length 40 Initialization Success ======= In Stage 3, Partition No:1 ======= UnEncrypted data Length: 0x31D2 Data word offset: 0x31D2 Total Data word length: 0x31D2 Destination Load Address: 0x10000 Execution Address: 0x10000 Data word offset: 0xF980 Partition Attributes: 0x117 QSPI Reading Src 0x3E600, Dest 10000, Length C748 .QSPI Read Src 0x1F300, Dest 10000, Length C748 Partition 1 Load Success ======= In Stage 3, Partition No:2 ======= UnEncrypted data Length: 0xBDFB Data word offset: 0xBDFB Total Data word length: 0xBDFB Destination Load Address: 0x100000 Execution Address: 0x100000 Data word offset: 0x12B60 Partition Attributes: 0x112 QSPI Reading Src 0x4AD80, Dest 100000, Length 2F7EC .QSPI Read Src 0x256C0, Dest 100000, Length 2F7EC Partition 2 Load Success ======= In Stage 3, Partition No:3 ======= UnEncrypted data Length: 0x312E Data word offset: 0x312E Total Data word length: 0x312E Destination Load Address: 0x130000 Execution Address: 0x0 Data word offset: 0x1E960 Partition Attributes: 0x112 QSPI Reading Src 0x7A580, Dest 130000, Length C4B8 .QSPI Read Src 0x3D2C0, Dest 130000, Length C4B8 Partition 3 Load Success ======= In Stage 3, Partition No:4 ======= UnEncrypted data Length: 0x3FF0 Data word offset: 0x3FF0 Total Data word length: 0x3FF0 Destination Load Address: 0x13D000 Execution Address: 0x0 Data word offset: 0x21A90 Partition Attributes: 0x112 QSPI Reading Src 0x86A40, Dest 13D000, Length FFC0 .QSPI Read Src 0x43520, Dest 13D000, Length FFC0 Partition 4 Load Success All Partitions Loaded ================= In Stage 4 ============ PM Init Success Protection configuration applied NOTICE: BL31: Built : 21:00:23, Jul 25 2024 - Ready to Boot Primary CPU - Boot from EL1 - Boot to C runtime fnx_start: Entry up_allocate_heap: heap_start=0x0x14d000, heap_size=0x7fdb3000 gic_validate_dist_version: GICv2 detected uart_register: Registering /dev/console uart_register: Registering /dev/ttyS0 work_start_highpri: Starting high-priority kernel worker thread(s) nxtask_activate: hpwork pid=1,TCB=0x14d5d0 nx_start_application: Starting init thread task_spawn: name=nsh_main entry=0x10c8f4 file_actions=0 attr=0x14cf40 argv=0x148 nxtask_activate: nsh_main pid=2,TCB=0x14f990 lib_cxx_initialize: _sinit: 0x12e474 _einit: 0x12e474 NuttShell (NSH) Nuttnx_start: CPU0: Beginning Idle Loop X-10.2.0 nsh> nsh> ``` -- 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