Skip to content

sw_apps: zynqmp_fsbl: Fixed setting of secondary boot device #170

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 484 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
484 commits
Select commit Hold shift + click to select a range
dc8dbe5
dp14rxss: Loading BKSV at only once at initialisation.
Apr 27, 2021
65bfa62
Revert "common: Remove xstatus.h file"
mubinsyed May 6, 2021
72e1279
Revert "BSP: common: Consolidate xdebug.h"
mubinsyed May 6, 2021
54091ac
common: sync xstatus.h with standalone/src/common/xstatus.h
mubinsyed May 6, 2021
3d9e82c
common: sync xdebug.h with standalone/src/common/xdebug.h
mubinsyed May 6, 2021
9dbeb21
iomodule: Fix doxygen warnings
mubinsyed May 7, 2021
f4f5245
iomodule: Update doxygen tags
mubinsyed May 7, 2021
dba88c0
xilpm: versal: server: Get base address of device
Apr 30, 2021
a7bbd50
axiethernet: Fix gcc compilation errors on peripheral tests
Apr 27, 2021
4695931
aienginev2: interrupt: change L2 interrupt enabling macro to 0x3F
May 11, 2021
20671b5
bram: Export additional #defines to identify lmb_bram_if_cntlr instances
mubinsyed Apr 21, 2021
591e8de
sw_apps :zynqmp_fsbl: Added provision to load bitstream from OCM with…
May 9, 2021
ce71ba1
dp14rxss:rx_only:Cache enabled for VCU118 rxo app.
May 10, 2021
079eb60
dp14txss:tx_only:Support for sending VSC every frame.Cache enabled fo…
May 10, 2021
c925001
v_warp_init: Update hardware descriptor with new fields
May 7, 2021
0cd431e
XilNvm: Reset read mode after eFuse write operation
May 7, 2021
5911870
v_hdmirx1: Fix incorrectly failing FRL SCDC Writes
vishals-xlnx May 11, 2021
b6658f9
v_hdmrx1: Fix loop back failing case
vishals-xlnx May 11, 2021
5f399ba
aiefal: rsc: print warning if resource unavailable
May 10, 2021
bf1444b
Video_Drivers: All video driver examples are modified to use canonica…
May 11, 2021
dd0ca42
dpdma: example: Initialize dpdma subsystem before link training
rohitvisavalia May 11, 2021
450d650
BSP: Fix bug in ARM v7 spin lock mechanism
Apr 29, 2021
447a3e6
v_hdmirx1: Fix XV_HdmiRx1_FrlDdcWriteField() returns
vishals-xlnx May 11, 2021
8f64684
rfdc: DFE Variant Startup
May 7, 2021
6598b51
rfdc: ADC Clock Distribution
May 7, 2021
6af9fdb
rfdc: Macro Conflicts
May 7, 2021
c32e841
rfdc: Calibration Rerun
May 7, 2021
af40ac1
aiefal: rsc: broadcast: getEvent returns proper RC
May 6, 2021
7d66248
v_sditxss: Fixed 3GB DL no video issue.
May 8, 2021
9ad4cc3
xilfpga: Fix doxygen warnings
Apr 8, 2021
21c697a
xilpm: versal: server: Check for required power rails during CPM/CPM5…
rajanv-xilinx Apr 28, 2021
fdfc83b
sw_apps: memtest: Fix the rank selection logic for multi-rank DDR
mnarani Apr 30, 2021
edda60d
xilpm: versal: server: Update the command handling in ProcessCmd
May 11, 2021
6afbb4c
xilpm: versal: server: Remove XSDB IPI mask handling
May 11, 2021
2e5ed22
ospipsv: Fix MISRAC rule 10.3 violations
May 7, 2021
210cc29
xilpm: versal: server: Rename PmChkRegRmw32()
rajanv-xilinx Apr 27, 2021
47394ba
wdtps: Fixed MISRAC rule 8.4 violations
May 7, 2021
ccb75be
wdtps: Fixed MISRAC rule 10.6 violations
May 7, 2021
f375689
wdtps: Fixed MISRA-C rule 10.3 violations
May 7, 2021
9946a3e
wdtps: Fixed MISRA-C rule 10.8 violations
May 7, 2021
2f59087
rfdc: MTS Min DTC Gap
May 7, 2021
f19b2da
xilloader: Support to dump DDRMC registers
May 12, 2021
2df864f
BSP: Updates for doxygen
mubinsyed May 13, 2021
9999cff
dfeccf: Update to common trigger
May 11, 2021
045a380
dfeequ: Update to common trigger
May 11, 2021
e3fa5d6
dfeprach: Update to common trigger
May 11, 2021
b6d2bc3
dfemix: Update to common trigger
May 11, 2021
4295425
xilsem: updated Doxygen comments in client files
May 11, 2021
d83fca0
xilloader: Update chunking logic for hashes
May 12, 2021
fd6ca0d
dp14txss:app:tx_only: Update to Versal GT register programming
May 13, 2021
f29c474
dp14txss:app:pt_only: Versal GT registers updated
May 13, 2021
fcfaed7
mipicsiss: SP701 : Resolved SP701 elf generation issues
May 13, 2021
8892e35
mipicsiss: ZCU102: Resolved elf generation issues
May 13, 2021
a29eb4e
mipicsiss: VCK190: Resolved elf generation issues
May 13, 2021
d7978ff
versal_psmfw: Fix MISRA rule 4.6
May 6, 2021
0a9fc91
versal_psmfw: Fix MISRA rule 4.4
May 6, 2021
73a3b6b
versal_psmfw: Fix MISRA rule 2.7
May 6, 2021
78d9f75
aiefal: rsc: broadcast: added comments explaining broadcast types
May 3, 2021
c1e7e67
sw_apps: memtest: Fix read eye width mismatch issue
mnarani May 13, 2021
65e4534
aiefal: rsc: trace: only start successful stop broadcast
May 12, 2021
c4b3c18
xilpm: versal: server: Fix SRST flow
May 11, 2021
b8e88fb
aiefal: rsc: bc: reserve calls C driver if setRscs succeeds
May 12, 2021
c61d331
aiefal: rsc: bc: check if broadcast to all tiles in stop
May 11, 2021
3cbc424
sw_services:xilnvm:Environmental disable flag and sysmon instance is …
May 13, 2021
ca96d42
BSP: Move pragma messages to .c files
mubinsyed May 11, 2021
ae025a4
xilfpga: add support to load the authenticated bitstream image as non…
May 12, 2021
401f974
v_warp_init: Example application for warp example design.
May 13, 2021
532b84a
vprocss: Reverting back the wrong check-in made in vprocss driver.
May 17, 2021
5179342
sw_services: xilplmi: Write only data field bits when updating the er…
May 17, 2021
b8cd473
rfclk: Make clear LMK/LMX configuration comments
May 14, 2021
769f47a
dppsu: fix build issue for iar compiler
rohitvisavalia May 12, 2021
c1f711c
Update ESW license file for 2021.1 release
May 14, 2021
d659a3f
xilplmi: Ignore printing ssit errors for es1 silicon
May 18, 2021
68762db
xilsecure: Add common crypto instances
May 18, 2021
b226740
xilloader: Use common crypto instances for secure operations
May 18, 2021
9fbb2e2
xilsecure: update server to use common crypto instances
May 18, 2021
40bc19b
v_sditxss: Fixed 3GA psf no video issue.
May 18, 2021
56d9623
zynqmp_pmufw: Assign PL to PMU only during subsystem restart
agodhasa-xilinx May 12, 2021
0cce2bb
sw_services: xilloader: Minor code cleanup
May 19, 2021
37281a3
sw_apps :zynqmp_fsbl: Versionless updates for ZynqMP FSBL
May 17, 2021
f067396
sw_apps :zynqmp_pmufw: Versionless updates for ZynqMP PMUFW
May 17, 2021
e15997d
sw_apps :versal_plm: Versionless updates for Versal PLM
May 17, 2021
54cabe0
rfdc: DFE Clocking Configurations
May 18, 2021
6012136
sw_services:xilloader:Allow encryption of partition if PLM is authent…
May 19, 2021
dc1b784
xilpm: versal: client: Remove internal functions from doxygen
May 12, 2021
59adbbe
xilpm: versal: client: Fix doxygen comment warnings
May 12, 2021
935d6f9
xilpm: zynqmp: client: Fix doxygen comment warnings
May 12, 2021
a42df11
aiefal:examples:trace-pc-aie: Request tiles
vineethchowdhary May 7, 2021
c2524ef
sw_apps :zynqmp_fsbl: Loading of authenticated partions as non secure…
May 18, 2021
3e96ff0
xilsecure: Fix unaligned transfers in XSecure_MemCpy64
May 19, 2021
0b5cf3e
BSP: common: Fix HIS_COMF metric violations
mubinsyed May 17, 2021
7d72131
versal_psmfw: Update versionless files
May 18, 2021
f3afea2
sw_services: xilplmi: In XPlmi_ClearNpiErrors fix blind write on lock…
May 20, 2021
ecc74a5
sw_services: xilloader: Fix warnings introduced due to volatile quali…
May 20, 2021
e3ef90b
dmaps: Update version and copyright year
May 19, 2021
a480ca6
dmaps: Fix IAR compilation errors
May 19, 2021
6fed7a6
xilpm: versal: server: Add support for HSC BISR repair
rajanv-xilinx May 10, 2021
b97a45c
sw_services:xilskey:Added support for programming PUF Fuses as genera…
May 19, 2021
07b99be
aienginev2: src: core: Event occurred enable and disable bit masked f…
May 20, 2021
883b753
aienginev2: src: global: reserve broadcast for ECC
May 20, 2021
62511bd
aienginev2: src: timer: fix indentation mismatching
May 24, 2021
2606429
aienginev2: src: timer: block uncessary broadcast direction
May 21, 2021
adea990
xilpm: versal: server: Fix AIE BISR sequence
rajanv-xilinx May 20, 2021
0b5d6cd
xilpm: versal: server: Add Debug prints to housecleaning functions
May 7, 2021
0ed1cf4
dp14txss: Correcting double increment of dpt14txss driver
May 20, 2021
1e558bb
csi2txss: Version increment of this driver
May 20, 2021
067a2b7
video_common: Driver version increment
May 20, 2021
7baec31
hdmi_common: Driver version is incremented
May 20, 2021
75587e0
video drivers: Updating addtogroups for different drivers.
May 20, 2021
f967fca
sw_services:xilnvm:Added support for programming PUF Fuses as general…
May 20, 2021
c05d577
versal: Replace libPM with XilPM
May 21, 2021
930b8a6
xilpm: versal: server: Update the error prints at function end
May 21, 2021
ba0598f
xilplmi: Minor code cleanup
May 17, 2021
ac65d89
xilplmi: Fix issue in IpiDispatchHandler
May 18, 2021
a9d0fe1
sw_services:xilsecure:Secure Access Control for Xilsecure IPI calls
May 19, 2021
e074e7a
sw_services:xilsecure:Device key not allowed for IPI calls
May 19, 2021
d6061ed
XilSecure: Addressed XilSecure review comments
May 21, 2021
661d6e9
xilpm: versal: server: Update version of register notifier API
rajanv-xilinx May 20, 2021
0618b43
sw_services:xilloader:Return error if both bh auth and efuse auth is …
May 21, 2021
4ef1d51
sw_services:xilskey:xilskey does not allow PPK hashes to be programme…
May 21, 2021
9e34391
sw_services: xilplmi: Copy secure boot state information to RTCA
May 21, 2021
4cbeb4f
plm: Exclude USB code by default
May 22, 2021
cd1ee86
sw_services:xilpuf:Support for programming of Black IV in PUF example
May 21, 2021
23b425e
sw_services:xilsecure:Update versions in modification history
May 22, 2021
4088027
sw_services: xilsecure: Fix Uninitialized variable
May 22, 2021
337033d
sw_services: xilsecure: Fix mixed enum type
May 22, 2021
b1f97ee
sw_services: xilsecure: Fix implicit conversion
May 22, 2021
85ff1dd
sw_services: xilsecure: Fix type of operands in an expression are not…
May 22, 2021
aba33ed
sw_services: xilsecure: Fix modifying function parameter
May 22, 2021
225a950
sw_services: xilsecure: Fix used same function name in two different …
May 22, 2021
fd37604
sw_services: xilsecure: Fix missing void keyword for empty parameter
May 22, 2021
f869f9f
lib: sw_services: xilfpga: Fix MISRA Rule 10.3
May 20, 2021
8e84dd3
xilfpga: Fix for incorrect validation checks
May 20, 2021
0b4890c
lib: sw_services: xilfpga: Fix MISRA Rule 15.7
May 20, 2021
c69aa88
xilfpga: Remove unused structures
May 20, 2021
916f53c
Add platform specific ifdef checks to optimize the code.
May 20, 2021
36f5b8c
xilfpga: versal: Fix MISRA Rule 8.9
May 20, 2021
4e30197
sw_services: xilplmi: Support PLM to use configurable uart baudrate
May 24, 2021
7a35e78
sw_services: xilnvm: Update versions in modification history
May 23, 2021
ca85ab1
sw_services: xilnvm: Fix Uninitialized variable
May 23, 2021
ea8303d
sw_services: xilnvm: Fix type of operands in an expression are not same
May 23, 2021
0463901
sw_services: xilnvm: Fix implicit conversion of type enum to unsigned
May 23, 2021
16b8aa0
sw_services: xilnvm: Fix multiple return statement
May 23, 2021
7dc4c16
sw_services: xilnvm: Fix implicit conversion of address for a72 proce…
May 23, 2021
a7e25b9
doc:Changelog:Update for secure libraries
May 24, 2021
eae985b
ChangeLog: Update for Plm, Zynqmp Fsbl, Xilloader, XilPlmi and XilPdi
May 24, 2021
7a09e1a
lwip211: Update copyright year
May 24, 2021
005dbfe
lwip211: Use pbuf_take to copy the data into packet buffer
May 24, 2021
fb943af
tpg: tpg driver is deprecated
May 24, 2021
2d2aea9
sw_services: xilpuf: Fix missing void keyword for empty parameter
May 22, 2021
a2aef9f
sw_apps: memtest: Fix the eye test issue with multi rank DDRs
mnarani May 24, 2021
cd52db9
xilsem: Fixed descriptor scanning
Apr 23, 2021
f3dded7
xilsem: Fixes partial pdi load failures
May 21, 2021
4466bce
xilpm: versal: server: Restore PendingReqm in Release and SetRequirem…
May 24, 2021
10e997b
ChangeLog: Minor updates to ChangeLog
May 25, 2021
bc250ea
v_sditxss: Corrected fix for 3GA psf no video issue.
May 25, 2021
cb52bd1
xilpm: versal: server: Check return status of idle hooks
rajanv-xilinx May 7, 2021
82410b6
axivdma: Update version and copyright year
May 25, 2021
b15bf04
axivdma: Correct the initialization and data comparison logic
May 25, 2021
1b855df
axivdma: Fix axivdma interrupt example data comparison failure with O…
May 25, 2021
428e930
updated for 2021.1 changelog
May 26, 2021
c6b81c7
sdps: Fix the compilation issue for Cortex-A72 + EL1_NS
May 25, 2021
a721554
sw_apps: Add Dhrystone application
May 24, 2021
be46e26
aienginev2: src: unavailable resource in request prints warning
May 7, 2021
9ac920f
Updated src files addtogroup versions with mdd version for audio_form…
May 24, 2021
0c3b36b
Updated src files addtogroup versions with mdd version for axipcie dr…
May 24, 2021
796b8e4
dfeccf: Handling CCUpdate trigger
May 20, 2021
a5b2db2
dfemix: Handling CCUpdate trigger
May 20, 2021
69c21f1
dfeprach: Handling RachUpdate trigger
May 20, 2021
045b7ed
Updated src files addtogroup versions with mdd version for cframe dri…
May 25, 2021
077bcfa
Updated src files addtogroup versions with mdd version for xadcps dri…
May 25, 2021
5f5bd8e
Updated src files addtogroup versions with mdd version for cfupmc dri…
May 25, 2021
262e27a
v_sdirxss::app:vck190:Resetting SDI TX Bridge IP while RxStreamUpCall…
May 26, 2021
309b5dd
cpu_cortexa53: Add -fno-tree-loop-distribute-patterns flag
mubinsyed May 26, 2021
9224599
cpu_cortexa72: Add -fno-tree-loop-distribute-patterns flag
mubinsyed May 26, 2021
7063689
cpu_cortexr5: Add -fno-tree-loop-distribute-patterns flag
mubinsyed May 26, 2021
5b9318d
cpu_cortexa9: Add -fno-tree-loop-distribute-patterns flag
mubinsyed May 26, 2021
98aef1a
cpu: Add -fno-tree-loop-distribute-patterns flag
mubinsyed May 26, 2021
ec44e0f
BSP: common: Remove workaround from Xil_TestMem8
mubinsyed May 26, 2021
c260132
Updated the chagelog for 2021.1 components
May 27, 2021
8eca2d9
drivers: iicps: Fix doxygen warnings
May 26, 2021
47e54d8
sw_apps: memtest: Modify code to run 2D Eye Tests only for DDR4/LPDDR4
mnarani May 26, 2021
c5ed203
BSP: ARMv8: Fix speculative execution past ERET and BR instruction
mubinsyed May 25, 2021
c3ece45
freertos10_xilinx: Fix speculative execution past ERET, SMC, SVC and …
mubinsyed May 25, 2021
37927ff
clockps: Fix the comment add to group
May 24, 2021
252b143
sw_apps: memtest: Get the PS Ref Clk from design instead of constant
mnarani May 27, 2021
aa6afec
aiefal:examples:profile-io: Request tiles
vineethchowdhary May 7, 2021
22b3958
versal: psmfw: Bugfixes for H10
May 24, 2021
4ad7296
versal: psmfw: Enable CPM5 interrupts for H10
May 24, 2021
febec68
Updated for Change Log
May 31, 2021
4b91b1c
updated for changelog.
May 31, 2021
f162234
Updated src files addtogroup versions with mdd version for board_comm…
May 31, 2021
2195bf8
Updated src files addtogroup versions with mdd version for cpu_cortex…
May 31, 2021
de67dbd
Updated src files addtogroup versions with mdd version for dp12rxss d…
May 31, 2021
ebb2181
Updated src files addtogroup versions with mdd version for dp12txss d…
May 31, 2021
d303da3
Updated src files addtogroup versions with mdd version for dp14 drive…
May 31, 2021
c4c83fa
Updated src files addtogroup versions with mdd version for dp14rxss d…
May 31, 2021
4a680f8
Updated src files addtogroup versions with mdd version for v_sdirx dr…
May 31, 2021
75fc22a
v_hdmirx1: Fix FRL training failure for Club3D adapter
vishals-xlnx May 26, 2021
cce64b1
ChangeLog: Add RFDC Changes
May 31, 2021
0f478fe
sw_apps: memtest: clear the higher rank bit before setting it to 1 or 0
mnarani May 31, 2021
a61bf36
updated changelog for 2021.1 comp
Jun 1, 2021
dd7b406
updated changelog
Jun 1, 2021
3c6d536
updated for changelog avbuf_v2_5
Jun 1, 2021
9a84c8f
dsitxss: Incremented driver version.
May 31, 2021
e9ae0a9
xdmapcie/pciepsu: Update minor versions
Jun 1, 2021
b6b10f5
BSP: changelog: Updated BSP changelog
mubinsyed May 31, 2021
ff8b742
v_hdmitxss: Added extern definition for EdidHdmi20_t, Ps_Iic0 and Ps_…
Jun 1, 2021
e4324e5
memory_tests: Initialize memcfg dictionary from swapp_is_supported_hw
mubinsyed May 27, 2021
fe19338
dp14txss: zcu_pt_dp14_hdcp: Update to pt hdcp application to stop tx …
Jun 1, 2021
e0471ab
updated changelog for xilpm
Jun 2, 2021
2b2908f
xilpm: versal: server: Fix MISRA Rule 9.1
May 28, 2021
677ee96
xilpm: versal: server: Fix MISRA Rule 2.2
May 28, 2021
5e5f776
xilpm: versal: server: Fix MISRA Rule 8.3
May 28, 2021
8a2c813
xilpm: versal: server: Fix MISRA Rule 10.3
May 28, 2021
edeceea
xilpm: versal: server: Fix MISRA Rule 10.4
May 28, 2021
f14a9cc
xilpm: versal: server: Fix MISRA Rule 10.7
May 28, 2021
b9ca745
xilpm: versal: server: Fix MISRA Rule 15.7
May 28, 2021
e8b57de
xilpm: versal: server: Fix MISRA Rule 16.1
May 28, 2021
79498d9
xilpm: versal: server: Fix MISRA Rule 18.1
May 28, 2021
1a43629
xilpm: versal: server: Fix MISRA Rule 4.4
May 28, 2021
e9a629d
xilpm: versal: server: Fix MISRA Rule 13.5
May 28, 2021
20bf030
xilpm: versal: server: Fix MISRA Rule 20.7
May 28, 2021
9357d3e
xilpm: versal: server: Fix MISRA Rule 10.1
May 28, 2021
e4f44a9
xilpm: versal: server: Fix MISRA Rule 21.15
May 28, 2021
94c5248
xilpm: versal: server: Fix MISRA Rule 13.3
May 28, 2021
f2df4fb
xilpm: versal: server: Fix MISRA Rule 15.5
May 28, 2021
49f9de3
xilpm: versal: server: Fix MISRA Rule 12.1
May 28, 2021
0771a01
xilpm: versal: server: Fix MISRA Rule 5.9
May 28, 2021
da788b3
xilpm: versal: server: Fix MISRA Rule 17.8
May 28, 2021
e9cad8c
xilpm: versal: client: Fix MISRA Rule 9.1
May 28, 2021
e788a59
xilpm: versal: client: Fix MISRA Rule 12.3
May 28, 2021
c777e48
xilpm: versal: server: Fix MISRA Rule 4.6
May 28, 2021
43ef2b4
xilpm: versal: client: Fix MISRA Rule 4.6
May 28, 2021
38540b2
xilpm: versal: server: Fix MISRA rule 8.13
May 28, 2021
e65d58d
xilpm: versal: server: Update device names
Jun 1, 2021
56a199c
dfeprach: Update doxygen description
Jun 1, 2021
7114b75
ipipsu : Update the CRC code
Jun 2, 2021
202c970
updated for changelog xilsem_v1_ 3,axivdma_v6_9
Jun 3, 2021
3fe998f
updated chnagelog csi2txss_v1_5
Jun 3, 2021
903a149
xilpm: versal: server: Fix logic for PGGS Node IDs being requested
Jun 1, 2021
9c70b9d
updated for changelog video_common, dsitxss, dp14txss
Jun 4, 2021
62beda7
sw_services:xilsecure: Fixed GCC warnings for R5 compiler
Jun 2, 2021
598b96b
usb: usbpsu: Fixed MISRAC rule 8.4 violations
May 20, 2021
37bee9f
usb: usbpsu: Fixed MISRAC rule 10.6 violations
May 20, 2021
8ab9d29
updated for board_common in changelog
Jun 4, 2021
2672b76
updated changelog for v_hdmitxss_v6_1
Jun 5, 2021
d37a0e8
sw_apps: dhrystone: Add support for Microblaze
Jun 3, 2021
82fba50
Published Doxygen documentation for drivers, sw_services and PDF's fo…
Jun 23, 2021
32c95d3
sw_apps: zynqmp_fsbl: Fixed setting of secondary boot device
martinexner Jul 1, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
29 changes: 9 additions & 20 deletions ThirdParty/bsp/freertos10_xilinx/data/freertos10_xilinx.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -814,8 +814,15 @@ proc generate {os_handle} {
puts $config_file "#define portGET_RUN_TIME_COUNTER_VALUE()\n"
}

set val [common::get_property CONFIG.use_port_optimized_task_selection $os_handle]
if {$val == "false"} {
xput_define $config_file "configUSE_PORT_OPTIMISED_TASK_SELECTION" "0"
} else {
xput_define $config_file "configUSE_PORT_OPTIMISED_TASK_SELECTION" "1"
}

puts $config_file "#define configUSE_TICKLESS_IDLE 0"
puts $config_file "#define configTASK_RETURN_ADDRESS NULL"
puts $config_file "#define configTASK_RETURN_ADDRESS prvTaskExitError"
puts $config_file "#define INCLUDE_vTaskPrioritySet 1"
puts $config_file "#define INCLUDE_uxTaskPriorityGet 1"
puts $config_file "#define INCLUDE_vTaskDelete 1"
Expand All @@ -826,6 +833,7 @@ proc generate {os_handle} {
puts $config_file "#define INCLUDE_eTaskGetState 1"
puts $config_file "#define INCLUDE_xTimerPendFunctionCall 1"
puts $config_file "#define INCLUDE_pcTaskGetTaskName 1"
puts $config_file "#define INCLUDE_xTaskGetHandle 1"
set flag_mb64 ""
if {$proctype == "microblaze"} {
set sw_proc_handle [hsi::get_sw_processor]
Expand Down Expand Up @@ -1016,12 +1024,6 @@ proc generate {os_handle} {
set max_api_call_interrupt_priority [common::get_property CONFIG.max_api_call_interrupt_priority $os_handle]
xput_define $config_file "configMAX_API_CALL_INTERRUPT_PRIORITY" "($max_api_call_interrupt_priority)"

set val [common::get_property CONFIG.use_port_optimized_task_selection $os_handle]
if {$val == "false"} {
xput_define $config_file "configUSE_PORT_OPTIMISED_TASK_SELECTION" "0"
} else {
xput_define $config_file "configUSE_PORT_OPTIMISED_TASK_SELECTION" "1"
}
}
# end of if $proctype == "psu_cortexr5"

Expand Down Expand Up @@ -1195,12 +1197,6 @@ proc generate {os_handle} {
puts $config_file "#define portSET_INTERRUPT_MASK_FROM_ISR() uxPortSetInterruptMask()"
puts $config_file "#define portCLEAR_INTERRUPT_MASK_FROM_ISR(x) vPortClearInterruptMask(x)"

set val [common::get_property CONFIG.use_port_optimized_task_selection $os_handle]
if {$val == "false"} {
xput_define $config_file "configUSE_PORT_OPTIMISED_TASK_SELECTION" "0"
} else {
xput_define $config_file "configUSE_PORT_OPTIMISED_TASK_SELECTION" "1"
}
}
# end of if $proctype == "psu_cortexa53"

Expand Down Expand Up @@ -1325,13 +1321,6 @@ proc generate {os_handle} {
set max_api_call_interrupt_priority [common::get_property CONFIG.max_api_call_interrupt_priority $os_handle]
xput_define $config_file "configMAX_API_CALL_INTERRUPT_PRIORITY" "($max_api_call_interrupt_priority)"

set val [common::get_property CONFIG.use_port_optimized_task_selection $os_handle]
if {$val == "false"} {
xput_define $config_file "configUSE_PORT_OPTIMISED_TASK_SELECTION" "0"
} else {
xput_define $config_file "configUSE_PORT_OPTIMISED_TASK_SELECTION" "1"
}

puts $config_file "#define configINTERRUPT_CONTROLLER_BASE_ADDRESS ( XPAR_PS7_SCUGIC_0_DIST_BASEADDR )"
puts $config_file "#define configINTERRUPT_CONTROLLER_CPU_INTERFACE_OFFSET ( -0xf00 )"
puts $config_file "#define configUNIQUE_INTERRUPT_PRIORITIES 32"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,11 @@ point is zero. */
#define portMAX_8_BIT_VALUE ( ( uint8_t ) 0xff )
#define portBIT_0_SET ( ( uint8_t ) 0x01 )

/* Let the user override the pre-loading of the initial LR with the address of
prvTaskExitError() in case is messes up unwinding of the stack in the
debugger. */
#define portTASK_RETURN_ADDRESS configTASK_RETURN_ADDRESS

/*-----------------------------------------------------------*/

/*
Expand All @@ -157,6 +162,10 @@ point is zero. */
*/
extern void vPortRestoreTaskContext( void );

/*
* Used to catch tasks that attempt to return from their implementing function.
*/
static void prvTaskExitError( void );
/*-----------------------------------------------------------*/

/* A variable is used to keep track of the critical section nesting. This
Expand Down Expand Up @@ -287,7 +296,7 @@ StackType_t *pxPortInitialiseStack( StackType_t *pxTopOfStack, TaskFunction_t px
pxTopOfStack--;
*pxTopOfStack = ( StackType_t ) 0x00; /* XZR - has no effect, used so there are an even number of registers. */
pxTopOfStack--;
*pxTopOfStack = ( StackType_t ) 0x00; /* R30 - procedure call link register. */
*pxTopOfStack = ( StackType_t ) portTASK_RETURN_ADDRESS; /* R30 - procedure call link register. */
pxTopOfStack--;

*pxTopOfStack = portINITIAL_PSTATE;
Expand Down Expand Up @@ -708,6 +717,19 @@ uint32_t mask;
}
/*-----------------------------------------------------------*/

static void prvTaskExitError( void )
{
/* A function that implements a task must not exit or attempt to return to
its caller as there is nothing to return to. If a task wants to exit it
should instead call vTaskDelete( NULL ) */
xil_printf("Warning: return statement has been called from task %s, deleting it\n",pcTaskGetName(NULL));
if (uxTaskGetNumberOfTasks() == 2)
{
xil_printf("Warning: Kernel does not have any task to manage other than idle task\n");
}
vTaskDelete( NULL );
}
/*-----------------------------------------------------------*/
#if( configASSERT_DEFINED == 1 )

void vPortValidateInterruptPriority( void )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@
.global vPortRestoreTaskContext


.macro exception_return
ERET
#if defined (versal)
DSB NSH
ISB
#endif
.endm

.macro portSAVE_CONTEXT

/* Switch to use the EL0 stack pointer. */
Expand Down Expand Up @@ -231,7 +239,7 @@
/* Switch to use the ELx stack pointer. _RB_ Might not be required. */
MSR SPSEL, #1

ERET
exception_return

.endm

Expand Down Expand Up @@ -436,7 +444,7 @@ Exit_IRQ_No_Context_Switch:
LDP X2, X3, [SP], #0x10
LDP X0, X1, [SP], #0x10

ERET
exception_return



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,13 @@
.globl SErrorInterrupt
.globl SynchronousInterrupt

.macro exception_return
eret
#if defined (versal)
dsb nsh
isb
#endif
.endm

.org 0

Expand All @@ -86,7 +93,10 @@ _vector_table:
/* HW reset vector. */
ldr x16, =_boot
br x16

#if defined (versal)
dsb nsh
isb
#endif
/* text offset. */
.dword 0
/* image size. */
Expand Down Expand Up @@ -246,7 +256,7 @@ SynchronousInterruptHandler:
ldp X2,X3, [sp], #0x10
ldp X0,X1, [sp], #0x10

eret
exception_return

IRQInterruptHandler:
stp X0,X1, [sp,#-0x10]!
Expand Down Expand Up @@ -275,7 +285,7 @@ IRQInterruptHandler:
ldp X2,X3, [sp], #0x10
ldp X0,X1, [sp], #0x10

eret
exception_return

FIQInterruptHandler:

Expand Down Expand Up @@ -305,7 +315,7 @@ FIQInterruptHandler:
ldp X2,X3, [sp], #0x10
ldp X0,X1, [sp], #0x10

eret
exception_return

SErrorInterruptHandler:

Expand Down Expand Up @@ -335,6 +345,6 @@ SErrorInterruptHandler:
ldp X2,X3, [sp], #0x10
ldp X0,X1, [sp], #0x10

eret
exception_return

.end
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,25 @@ extern uint64_t ullPortYieldRequired; \
}

#define portYIELD_FROM_ISR( x ) portEND_SWITCHING_ISR( x )
#if defined(versal)
#if EL1_NONSECURE
#define portYIELD() \
__asm volatile ( "SVC 0" ::: "memory" ); \
__asm volatile ( "DSB NSH" ); \
__asm volatile ( "ISB" );
#else
#define portYIELD() \
__asm volatile ( "SMC 0" ::: "memory" ); \
__asm volatile ( "DSB NSH" ); \
__asm volatile ( "ISB" );
#endif
#else
#if EL1_NONSECURE
#define portYIELD() __asm volatile ( "SVC 0" ::: "memory" )
#else
#define portYIELD() __asm volatile ( "SMC 0" ::: "memory" )
#endif
#endif
/*-----------------------------------------------------------
* Critical section control
*----------------------------------------------------------*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,7 @@ the CPU itself before modifying certain hardware registers. */
/* Let the user override the pre-loading of the initial LR with the address of
prvTaskExitError() in case it messes up unwinding of the stack in the
debugger. */
#ifdef configTASK_RETURN_ADDRESS
#define portTASK_RETURN_ADDRESS configTASK_RETURN_ADDRESS
#else
#define portTASK_RETURN_ADDRESS prvTaskExitError
#endif
#define portTASK_RETURN_ADDRESS configTASK_RETURN_ADDRESS

/* The space on the stack required to hold the FPU registers. This is 32 64-bit
registers, plus a 32-bit status register. */
Expand Down Expand Up @@ -341,9 +337,12 @@ static void prvTaskExitError( void )

Artificially force an assert() to be triggered if configASSERT() is
defined, then stop here so application writers can catch the error. */
configASSERT( ulPortInterruptNesting == ~0UL );
portDISABLE_INTERRUPTS();
for( ;; );
xil_printf("Warning: return statement has been called from task %s, deleting it\n",pcTaskGetName(NULL));
if (uxTaskGetNumberOfTasks() == 2)
{
xil_printf("Warning: Kernel does not have any task to manage other than idle task\n");
}
vTaskDelete( NULL );
}
/*-----------------------------------------------------------*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,7 @@ the CPU itself before modifying certain hardware registers. */
/* Let the user override the pre-loading of the initial LR with the address of
prvTaskExitError() in case is messes up unwinding of the stack in the
debugger. */
#ifdef configTASK_RETURN_ADDRESS
#define portTASK_RETURN_ADDRESS configTASK_RETURN_ADDRESS
#else
#define portTASK_RETURN_ADDRESS prvTaskExitError
#endif
#define portTASK_RETURN_ADDRESS configTASK_RETURN_ADDRESS

/* The space on the stack required to hold the FPU registers.
* vfpv3-d16 has 16 64 bit registers or 32 32 bit registers. plus
Expand Down Expand Up @@ -323,9 +319,12 @@ static void prvTaskExitError( void )

Artificially force an assert() to be triggered if configASSERT() is
defined, then stop here so application writers can catch the error. */
configASSERT( ulPortInterruptNesting == ~0UL );
portDISABLE_INTERRUPTS();
for( ;; );
xil_printf("Warning: return statement has been called from task %s, deleting it\n",pcTaskGetName(NULL));
if (uxTaskGetNumberOfTasks() == 2)
{
xil_printf("Warning: Kernel does not have any task to manage other than idle task\n");
}
vTaskDelete( NULL );
}
/*-----------------------------------------------------------*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,7 @@ created. */
/* Let the user override the pre-loading of the initial R15 (sub routine
return address) with the address of prvTaskExitError() in case is messes
up unwinding of the stack in the debugger. */
#ifdef configTASK_RETURN_ADDRESS
#define portTASK_RETURN_ADDRESS configTASK_RETURN_ADDRESS
#else
#define portTASK_RETURN_ADDRESS prvTaskExitError
#endif
#define portTASK_RETURN_ADDRESS configTASK_RETURN_ADDRESS

/*
* Global counter used for calculation of run time statistics of tasks.
Expand Down Expand Up @@ -330,9 +326,13 @@ static void prvTaskExitError( void )

Artificially force an assert() to be triggered if configASSERT() is
defined, then stop here so application writers can catch the error. */
configASSERT( uxCriticalNesting == ~0UL );
portDISABLE_INTERRUPTS();
for( ;; );
xil_printf("Warning: return statement has been called from task %s, deleting it\n",pcTaskGetName(NULL));
if (uxTaskGetNumberOfTasks() == 2)
{
xil_printf("Warning: Kernel does not have any task to manage other than idle task\n");
}
vTaskDelete( NULL );

}
/*-----------------------------------------------------------*/

Expand Down
Binary file added ThirdParty/sw_services/lwip211/doc/lwip211.pdf
Binary file not shown.
20 changes: 0 additions & 20 deletions XilinxProcessorIPLib/drivers/aiefal/doc/CMakeLists.txt

This file was deleted.

Loading