Hi there,
I am currently trying to optimize the boot speed from the TE0820. I am booting it from eMMC at 200MHz. Below you find the FSBL debug log.
The FSBL takes 13 secs to load the FIT image( I have everything packed in a .BIN) this is only 41 MB size.
According to xilinx this should take less than 3 secs. Any ideas what it might be wrong ?
Many thanks
Xilinx Zynq MP First Stage Boot Loader
Release 2023.1 Aug 14 2023 - 12:29:03
Multiboot FSBL: No
MultiBootOffset: 0x0
Device Name: XCZU3CG
Reset Mode: System Reset
Platform: Silicon (4.0)
-------------- XFsbl_ProcessorInit --------------
Cluster ID 0x80000000
Running on A53-0 (64-bit) Processor, Device Name: XCZU3CG
Proc: A53-0 Freq: 1200000000 Hz Arch: 64
-------------- XFsbl_BoardInit --------------
Processor Initialization Done
-------------- In Stage 2 --------------
[INFO] eMMC Boot Mode
SD: rc= 0
File name is BOOT.BIN
[INFO] SD0/eMMC, Freq: 200000000 Hz
[INFO] SD1, Freq: 200000000 Hz
[INFO] Multiboot Reg : 0x0
Image Header Table Offset 0x8C0
*****Image Header Table Details********
Boot Gen Ver: 0x1020000
No of Partitions: 0x6
Partition Header Address: 0x440
Partition Present Device: 0x0
Initialization Success
[INFO] Total Time: 145.390415 ms : Boot Dev. Init. Time
-------------- In Stage 3, Partition No:1 --------------
UnEncrypted data Length: 0x3025
Data word offset: 0x3025
Total Data word length: 0x3025
Destination Load Address: 0xFFFEA000
Execution Address: 0xFFFEA000
Data word offset: 0xF180
Partition Attributes: 0x117
[INFO] Total Time: 16.211010 ms : P1 Copy time, Size: 49300
Partition 1 Load Success
-------------- In Stage 3, Partition No:2 --------------
UnEncrypted data Length: 0x23BD
Data word offset: 0x23BD
Total Data word length: 0x23BD
Destination Load Address: 0x100000
Execution Address: 0x0
Data word offset: 0x121B0
Partition Attributes: 0x116
[INFO] Total Time: 11.063190 ms : P2 Copy time, Size: 36596
Partition 2 Load Success
-------------- In Stage 3, Partition No:3 --------------
UnEncrypted data Length: 0x531C0
Data word offset: 0x531C0
Total Data word length: 0x531C0
Destination Load Address: 0x8000000
Execution Address: 0x8000000
Data word offset: 0x14570
Partition Attributes: 0x114
[INFO] Total Time: 413.541466 ms : P3 Copy time, Size: 1361664
Partition 3 Load Success
-------------- In Stage 3, Partition No:4 --------------
UnEncrypted data Length: 0x9ADBE6
Data word offset: 0x9ADBE6
Total Data word length: 0x9ADBE6
Destination Load Address: 0x10000000
Execution Address: 0x0
Data word offset: 0x67730
Partition Attributes: 0x116
[INFO] Total Time: 12270.523840 ms : P4 Copy time, Size: 40595352
Partition 4 Load Success
-------------- In Stage 3, Partition No:5 --------------
UnEncrypted data Length: 0x300
Data word offset: 0x300
Total Data word length: 0x300
Destination Load Address: 0x20000000
Execution Address: 0x0
Data word offset: 0xA15320
Partition Attributes: 0x116
[INFO] Total Time: 0.978510 ms : P5 Copy time, Size: 3072
Partition 5 Load Success
All Partitions Loaded
[INFO] Total Time: 13086.604033 ms (Note: Total execution time includes print times)
-------------- In Stage 4 --------------
PM Init Success
Protection configuration applied
from U-Boot show that is not to 8-bit mode but 4-bit.
ZynqMP> mmc info
Device: mmc@ff160000
Manufacturer ID: 13
OEM: 4e
Name: Q2J54A
Bus Speed: 199999998
Mode: HS200 (200MHz)
Rd Block Len: 512
MMC version 5.0
High Capacity: Yes
Capacity: 3.6 GiB
Bus Width: 4-bit
Erase Group Size: 512 KiB
HC WP Group Size: 8 MiB
User Capacity: 3.6 GiB WRREL
Boot Capacity: 16 MiB ENH
RPMB Capacity: 512 KiB ENH
Boot area 0 is not write protected
Boot area 1 is not write protected