root@xilinx-vck190-2021_2:~# ./apu_script.sh APU: Versal interface APU: Setting all APU frequency to 1199999 [ 131.521469] fpga_manager fpga0: writing partial.pdi to Xilinx Versal FPGA Manager [147193.924]Loading PDI from DDR [147194.040]Monolithic/Master Device [147197.345]3.392 ms: PDI initialization time [147201.323]+++Loading Image#: 0x0, Name: pl_cfi_unmask, Id: 0x18700002 [147207.575]---Loading Partition#: 0x0, Id: 0x103 [147267.610] 55.636 ms for Partition#: 0x0, Size: 35104 Bytes [147270.212]---Loading Partition#: 0x1, Id: 0x105 [147274.860] 0.255 ms for Partition#: 0x1, Size: 4656 Bytes [147279.805]---Loading Partition#: 0x2, Id: 0x205 [147287.166] 2.966 ms for Partition#: 0x2, Size: 54352 Bytes [147289.682]---Loading Partition#: 0x3, Id: 0x203 [147294.106] 0.028 ms for Partition#: 0x3, Size: 544 Bytes [147299.192]---Loading Partition#: 0x4, Id: 0x303 [147345.369] 41.780 ms for Partition#: 0x4, Size: 5428464 Bytes [147348.141]---Loading Partition#: 0x5, Id: 0x305 [147353.581] 1.045 ms for Partition#: 0x5, Size: 28112 Bytes [147357.819]---Loading Partition#: 0x6, Id: 0x403 [147362.420] 0.207 ms for Partition#: 0x6, Size: 243648 Bytes [147367.584]---Loading Partition#: 0x7, Id: 0x405 [147372.243] 0.264 ms for Partition#: 0x7, Size: 4704 Bytes [147377.237]Subsystem PDI Load: Done [ 131.725508] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /fpga/firmware-name [ 131.736753] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/overlay0 [ 131.746586] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/fpga_PR0 [ 131.756755] of-fpga-region fpga:fpga-PR0: FPGA Region probed APU: *********************** APU, RPU and PL in full power mode ********************** APU: Delay 60 seconds APU: Powering off PL domain real 0m0.033s user 0m0.006s sys 0m0.000s [ 191.890911] fpga_manager fpga0: writing greybox.pdi to Xilinx Versal FPGA Manager [206826.345]Loading PDI from DDR [206826.461]Monolithic/Master Device [206829.767]3.394 ms: PDI initialization time [206833.749]+++Loading Image#: 0x0, Name: pl_cfi_unmask, Id: 0x18700002 [206840.006]---Loading Partition#: 0x0, Id: 0x103 [206844.612] 0.209 ms for Partition#: 0x0, Size: 35104 Bytes [206849.693]---Loading Partition#: 0x1, Id: 0x105 [206854.346] 0.255 ms for Partition#: 0x1, Size: 4656 Bytes [206859.297]---Loading Partition#: 0x2, Id: 0x205 [206866.662] 2.965 ms for Partition#: 0x2, Size: 54352 Bytes [206869.179]---Loading Partition#: 0x3, Id: 0x203 [206873.605] 0.028 ms for Partition#: 0x3, Size: 544 Bytes [206878.694]---Loading Partition#: 0x4, Id: 0x303 [206924.914] 41.822 ms for Partition#: 0x4, Size: 5428464 Bytes [206927.689]---Loading Partition#: 0x5, Id: 0x305 [206933.129] 1.044 ms for Partition#: 0x5, Size: 28112 Bytes [206937.373]---Loading Partition#: 0x6, Id: 0x403 [206941.978] 0.207 ms for Partition#: 0x6, Size: 243648 Bytes [206947.147]---Loading Partition#: 0x7, Id: 0x405 [206952.473] 0.930 ms for Partition#: 0x7, Size: 4672 Bytes [206956.805]Subsystem PDI Load: Done [ 192.190255] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /fpga/firmware-name [ 192.199938] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/overlay0 [ 192.209770] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/fpga_PR0 [ 192.219933] of-fpga-region fpga:fpga-PR0: FPGA Region probed real 0m0.481s user 0m0.015s sys 0m0.198s APU: ********************* APU and RPU full load, PL is OFF ************************** APU: Delay 60 seconds APU: Sending sync command to idle RPU RPU: DelayVal = 60 RPU: (60 seconds RTC timer) APU: ********************* APU full load, RPU idle, PL is OFF ************************ APU: Delay 60 seconds RPU: RTC Alarm generated. RPU: (1 seconds delay) APU: Sending sync command APU: Latency to Power OFF APU1 core [ 312.461144] cpu cpu0: dev_pm_opp_set_rate: failed to find current OPP for freq 1349998650 (-34) [ 312.493201] CPU1: shutdown [ 312.495933] psci: CPU1 killed (polled 0 ms) real 0m0.095s user 0m0.000s sys 0m0.007s APU: Delay 60 seconds RPU: (60 seconds RTC timer) RPU: RTC Alarm generated. RPU: (1 seconds delay) APU: Sending sync command APU: ************ APU (APU0 only) full load, RPU idle, PL is OFF ********************* APU: Delay 60 seconds RPU: (60 seconds RTC timer) RPU: RTC Alarm generated. RPU: (1 seconds delay) APU: Sending sync command APU: Setting APU0 frequency to 29[ 433.861557] cpu cpu0: dev_pm_opp_set_rate: failed to find current OPP for freq 1349998650 (-34) 9999 real 0m0.028s user 0m0.000s sys 0m0.012s APU: ********** APU (APU0 low freq) full load, RPU idle, PL is OFF ******************* APU: Delay 60 seconds RPU: (60 seconds RTC timer) RPU: RTC Alarm generated. RPU: (1 seconds delay) APU: Sending sync command real 0m0.041s user 0m0.004s sys 0m0.010s APU: Setting APU0 frequency to 1199999 APU: *********************** APU Linux Idle, RPU idle, PL is OFF ********************* APU: Delay 60 seconds RPU: (60 seconds RTC timer) RPU: RTC Alarm generated. RPU: (1 seconds delay) APU: Sending sync command RPU: IterationCnt = 1 RPU: Latency Measurement Start. Total iteration is 1 RPU: Latency measurement iteration count : 1 RPU: ******************************** RPU ON, APU ON ********************************* APU: APU Suspend requenst came[ 557.147902] PM: suspend entry (deep) from RPU [ 557.153241] Filesystems sync: 0.000 seconds [ 557.160230] (NULL device *): Direct firmware load for partial.pdi failed with error -2 [ 557.168306] (NULL device *): Direct firmware load for greybox.pdi failed with error -2 [ 557.176358] Freezing user space processes ... (elapsed 0.000 seconds) done. [ 557.184101] OOM killer disabled. [ 557.187321] Freezing remaining freezable tasks ... (elapsed 0.039 seconds) done. [ 557.245931] macb ff0c0000.ethernet eth0: Link is Down [ 557.253899] Disabling non-boot CPUs ... RPU: *********************** RPU ON, APU suspended with FPD ON *********************** RPU: (3 seconds delay) RPU: FPD will be off after releasing 0x18224029 RPU: XPm_ReleaseNode(18224029, 0, 0, 0, 0) RPU: XPm_NotifyCb (69255171, 1, 0) RPU: *********************** RPU ON, APU suspended with FPD OFF ********************** RPU: (3 seconds delay) RPU: XPm_RequestWakeUp(1810C003, 0, 0, 0, 0) [575334.857]Loading from BootPdi [575337.774]FlashID=0x20 0xBB 0x21 [575340.840]+++Loading Image#: 0x3, Name: fpd, Id: 0x0420C003 [575346.236]---Loading Partition#: 0x8, Id: 0x0 RPU: XPm_NotifyCb (69255171, 1, 2[ 75354.906] 4.445 ms for Partition#: 0x8, Size: 1104 Bytes RPU: XPm_NotifyCb (69255171, 1, 2) RPU: XPm_RequestNode(18224029, 1, 0, 0, 0) [ 557.259936] spi-nor spi0.0: trying to lock already unlocked area [ 557.266030] macb ff0c0000.ethernet eth0: configuring for phy/rgmii-id link mode [ 557.273894] macb ff0c0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off [ 557.283400] macb ff0c0000.ethernet eth0: Link is Down [ 557.469183] usb 1-1: reset high-speed USB device number 2 using xhci-hcd [ 557.621407] cpu cpu0: dev_pm_opp_set_rate: failed to find current OPP for freq 1349998650 (-34) [ 557.630760] OOM killer enabled. [ 557.633902] Restarting tasks ... done. [ 557.640536] PM: suspend exit APU: Sending sync command RPU: ******************************** RPU ON, APU ON ********************************* RPU: (3 seconds delay) [ 557.675014] mmc0: card aaaa removed [ 558.695814] mmc0: new SDHC card at address aaaa [ 558.702669] mmcblk0: mmc0:aaaa SC16G 14.8 GiB [ 558.714968] mmcblk0: p1 p2 [ 559.238898] EXT4-fs (mmcblk0p2): recovery complete [ 559.243733] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 559.260556] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. [ 560.337971] macb ff0c0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off RPU: Request Suspend Latency of Linux in micro seconds: Min: 113808, Max: 113808, Avg: 113808 RPU: FPD OFF Latency in micro seconds: Min: 6857, Max: 6857, Avg: 6857 RPU: Wakeup Latency of APU0 in micro seconds: Min: 29750, Max: 29750, Avg: 29750 RPU: Wakeup Latency of Linux in micro seconds: Min: 493969, Max: 493969, Avg: 493969 RPU: Latency Measurement Done APU: APU Suspend requenst[ 561.586972] PM: suspend entry (deep) came from RPU [ 561.592301] Filesystems sync: 0.000 seconds [ 561.598234] (NULL device *): Direct firmware load for partial.pdi failed with error -2 [ 561.606184] (NULL device *): Direct firmware load for greybox.pdi failed with error -2 [ 561.614181] Freezing user space processes ... (elapsed 0.001 seconds) done. [ 561.622245] OOM killer disabled. [ 561.625465] Freezing remaining freezable tasks ... (elapsed 0.071 seconds) done. [ 561.713862] macb ff0c0000.ethernet eth0: Link is Down [ 561.721824] Disabling non-boot CPUs ... RPU: (3 seconds delay) RPU: ********************** RPU Idle, APU suspended with FPD ON ********************** RPU: (60 seconds RTC timer) RPU: RTC Alarm generated. RPU: XPm_ReleaseNode(18224029, 0, 0, 0, 0) RPU: XPm_NotifyCb (69255171, 1, 0) RPU: *********************** RPU ON, APU suspended with FPD OFF ********************** RPU: (60 seconds delay) RPU: (60 seconds RTC timer) RPU: ********************** RPU Idle, APU suspended with FPD OFF ********************* RPU: RTC Alarm generated. RPU: (60 seconds RTC timer) RPU: XPm_SetWakeUpSource(18110005, 18224034, 1, 0, 0) RPU: XPm_SelfSuspend(18110005, FFFF, F, FFE00000, 0) RPU: ******************* RPU Suspended, APU suspended with FPD OFF ******************* RPU: Going to WFI... RPU: Running in lock-step mode RPU: RESUMED RPU: RTC Alarm generated. RPU: *********************** RPU ON, APU suspended with FPD OFF ********************** RPU: (60 seconds delay) RPU: ********************** RPU Idle, APU suspended with FPD OFF ********************* RPU: (60 seconds RTC timer) RPU: RTC Alarm generated. RPU: XPm_RequestWakeUp(1810C003, 0, 0, 0, 0) [973780.565]Loading from BootPdi [973783.485]FlashID=0x20 0xBB 0x21 [973786.553]+++Loading Image#: 0x3, Name: fpd, Id: 0x0420C003 [973791.955]---Loading Partition#: 0x8, Id: 0x0 RPU: XPm_NotifyCb (69255171, 1, 2) 73800.631] 4.449 ms for Partition#: 0x8, Size: 1104 Bytes RPU: XPm_NotifyCb (69255171, , 2).727858] spi-nor spi0.0: trying to lock already unlocked area [ 561.736808] macb ff0c0000.ethernet eth0: configuring for phy/rgmii-id link mode [ 561.744672] macb ff0c0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off [ 561.754009] macb ff0c0000.ethernet eth0: Link is Down [ 561.937175] usb 1-1: reset high-speed USB device number 2 using xhci-hcd [ 562.089401] cpu cpu0: dev_pm_opp_set_rate: failed to find current OPP for freq 1349998650 (-34) [ 562.098751] OOM killer enabled. [ 562.101894] Restarting tasks ... done. [ 562.106550] PM: suspend exit APU: Resumed script successfully APU: Sending syRPU: ******************************** RPU ON, APU ON ********************************* RPU: (60 seconds RTC timer) nc command APU: *********************** APU Linux Idle, RPU Idle, PL is OFF **************** APU: Delay 60 seconds [ 562.141331] mmc0: card aaaa removed [ 563.161937] mmc0: new SDHC card at address aaaa [ 563.167159] mmcblk0: mmc0:aaaa SC16G 14.8 GiB [ 563.176779] mmcblk0: p1 p2 [ 563.698361] EXT4-fs (mmcblk0p2): recovery complete [ 563.703164] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 563.718538] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. [ 564.817873] macb ff0c0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off RPU: RTC Alarm generated. RPU: (1 seconds delay) APU: Sending sync command APU: Setting APU0 frequency to 29[ 622.126441] cpu cpu0: dev_pm_opp_set_rate: failed to find current OPP for freq 1349998650 (-34) 9999 real 0m0.031s user 0m0.003s sys 0m0.009s APU: ********** APU (APU0 low freq) full load, RPU idle, PL is OFF ******************* APU: Delay 60 seconds RPU: (60 seconds RTC timer) RPU: RTC Alarm generated. RPU: (1 seconds delay) APU: Sending sync command APU: Setting APU0 frequency to 1199999 real 0m0.000s user 0m0.000s sys 0m0.000s APU: ************ APU (APU0 only) full load, RPU idle, PL is OFF ********************* APU: Delay 60 seconds RPU: (60 seconds RTC timer) RPU: RTC Alarm generated. RPU: (1 seconds delay) APU: Sending sync command APU: Latency to Power ON APU1 core [ 743.763415] Detected PIPT I-cache on CPU1 [ 743.767437] GICv3: CPU1: found redistributor 1 region 0:0x00000000f90a0000 [ 743.774325] CPU1: Booted secondary processor 0x0000000001 [0x410fd083] [ 743.781125] cpu cpu0: dev_pm_opp_set_rate: failed to find current OPP for freq 1349998650 (-34) real 0m0.056s user 0m0.000s sys 0m0.000s APU: Delay 60 seconds RPU: (60 seconds RTC timer) RPU: RTC Alarm generated. RPU: (1 seconds delay) APU: Sending sync command APU: ********************* APU full load, RPU idle, PL is OFF ************************ APU: Delay 60 seconds RPU: (60 seconds RTC timer) RPU: RTC Alarm generated. RPU: (1 seconds delay) APU: Sending sync command APU: ********************* APU and RPU full load, PL is OFF ************************** APU: Delay 60 seconds APU: Powering on PL domain real 0m0.035s user 0m0.006s sys 0m0.000s [ 925.894899] fpga_manager fpga0: writing partial.pdi to Xilinx Versal FPGA Manager [1333435.115]Loading PDI from DDR [1333435.318]Monolithic/Master Device [1333438.713]3.569 ms: PDI initialization time [1333442.782]+++Loading Image#: 0x0, Name: pl_cfi_unmask, Id: 0x18700002 [1333449.129]---Loading Partition#: 0x0, Id: 0x103 [1333509.262] 55.644 ms for Partition#: 0x0, Size: 35104 Bytes [1333511.953]---Loading Partition#: 0x1, Id: 0x105 [1333516.694] 0.255 ms for Partition#: 0x1, Size: 4656 Bytes [1333521.732]---Loading Partition#: 0x2, Id: 0x205 [1333529.188] 2.970 ms for Partition#: 0x2, Size: 54352 Bytes [1333531.793]---Loading Partition#: 0x3, Id: 0x203 [1333536.308] 0.028 ms for Partition#: 0x3, Size: 544 Bytes [1333541.487]---Loading Partition#: 0x4, Id: 0x303 [1333587.821] 41.847 ms for Partition#: 0x4, Size: 5428464 Bytes [1333590.686]---Loading Partition#: 0x5, Id: 0x305 [1333596.221] 1.045 ms for Partition#: 0x5, Size: 28112 Bytes [1333600.552]---Loading Partition#: 0x6, Id: 0x403 [1333605.246] 0.208 ms for Partition#: 0x6, Size: 243648 Bytes [1333610.503]---Loading Partition#: 0x7, Id: 0x405 [1333615.252] 0.264 ms for Partition#: 0x7, Size: 4704 Bytes [1333620.340]Subsystem PDI Load: Done [ 926.302243] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /fpga/firmware-name [ 926.311919] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/overlay0 [ 926.321751] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/fpga_PR0 [ 926.331916] of-fpga-region fpga:fpga-PR0: FPGA Region probed real 0m0.596s user 0m0.015s sys 0m0.253s APU: *********************** APU, RPU and PL in high power *************************** APU: Delay 60 seconds APU: Demo application is completed successfully! root@xilinx-vck190-2021_2:~# root@xilinx-vck190-2021_2:~# root@xilinx-vck190-2021_2:~#