Skip to content
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

Fix. Should read Detector register in GetDetector #279

Open
wants to merge 282 commits into
base: master
Choose a base branch
from

Conversation

DuzaBF
Copy link

@DuzaBF DuzaBF commented Dec 27, 2023

In GetDetector function the Generator VSYNC_F1 register with offset 0x8C is read but Detector VSYNC_F1 register with offset 0x40 should be read instead.

Kundanala, Praveen Teja and others added 30 commits September 4, 2023 18:31
Fix SW-BP-REDUNDANCY by oring Status with CloseStatus when
Status is XST_SUCCESS and this would avoid returning XST_SUCCESS
incase of glitch attack

Signed-off-by: Praveen Teja Kundanala <[email protected]>
Acked-by: Kalyani Akula <[email protected]>
The ZCU111 rfdc selftest example requires extra clock files.

These dependencies need to be added to the YAML for SDT flow.

Signed-off-by: Conall O'Griofa <[email protected]>
Acked-by: Kadamathikuttiyil Karthikeyan Pillai, Anish <[email protected]>
MISRA-C Rule 8.5:An external object or function shall be declared once in one and only one file

Solution: Removed the redundant declaration of the function

Signed-off-by: VSSLakshmiPrasanna.Vutukuri <[email protected]>
Acked-by: Kundanala, Praveen Teja <[email protected]>
As part of clean up renamed folder vck190 to versal in misc,
added debug header file, added debug level macros, enabled
only minimal prints by default

Signed-off-by: Sharath Kumar Dasari <[email protected]>
Acked-by: Sreedhar Kundella <[email protected]>
Added Null Check code for EmInit Parameters and Error code in xplmi_status.h

Signed-off-by: Mohd Saquib Siraj <[email protected]>
Fix HIS_COMF(comment frequency) violations of xilmailbox library by
adding comments to the code.

Signed-off-by: Harini T <[email protected]>
Acked-by: Srinivas Goud <[email protected]>
With the existing xilfpga library platform agnostic files xilfpga.c
and xilfpga.h  ifdef checks are not aligned to the user-exported APIs.
Ideally, both should be aligned.To align them updates xilfpga.c and
xilfpga.h files with proper platform checks.

Signed-off-by: Nava kishore Manne <[email protected]>
Acked-by: Appana Durga Kedareswara rao <[email protected]>
…as modular

Update XQspiPsu_PolledTransfer and XQspiPsu_InterruptHandler functions as modular.

Signed-off-by: Srikanth Boyapally <[email protected]>

Acked-for-series: Srinivas Goud <[email protected]>
Fix code formatting issues with checkpatch tool.
It fixes the indentation, formats the code as per coding standards.

Signed-off-by: Srikanth Boyapally <[email protected]>

Acked-for-series: Srinivas Goud <[email protected]>
Fix HIS_COMF(comment frequency) violations of ipipsu driver by adding
comments to the code.

Signed-off-by: Harini T <[email protected]>
Acked-by: Srinivas Goud <[email protected]>
Fix the below MISRA C vioation.

misra_c_2012_directive_4_7_violation: Calling Xil_WaitForEvent without checking return value.

Signed-off-by: Paul Alvin <[email protected]>

Acked-for-series: Srinivas Goud <[email protected]>
Fix the below MISRA C vioation.

misra_c_2012_rule_10_1_violation: The expression of non-boolean essential type is being interpreted as a boolean value for the operator &&

Signed-off-by: Paul Alvin <[email protected]>

Acked-for-series: Srinivas Goud <[email protected]>
Fix the below MISRA C vioation.

misra_c_2012_rule_10_4_violation: Essential type of the left hand operand is not the same as that of the right operand.

Signed-off-by: Paul Alvin <[email protected]>

Acked-for-series: Srinivas Goud <[email protected]>
Fix the below MISRA C vioation.

misra_c_2012_rule_10_6_violation: Assigning composite expression of width 8 to a target of width 32.

Signed-off-by: Paul Alvin <[email protected]>

Acked-for-series: Srinivas Goud <[email protected]>
Fix the below MISRA C vioation.

misra_c_2012_rule_12_1_violation: Missing explicit parentheses on sub-expression

Signed-off-by: Paul Alvin <[email protected]>

Acked-for-series: Srinivas Goud <[email protected]>
Fix the below MISRA C vioation.

misra_c_2012_rule_14_4_violation: The condition expression does not have an essentially boolean type.

Signed-off-by: Paul Alvin <[email protected]>

Acked-for-series: Srinivas Goud <[email protected]>
Fix the below MISRA C vioation.

misra_c_2012_rule_15_5_violation: return statement is not the final statement in the compound statement that forms the body of the function.

Signed-off-by: Paul Alvin <[email protected]>

Acked-for-series: Srinivas Goud <[email protected]>
Fix the below MISRA C vioation.

misra_c_2012_rule_8_5_violation: Symbol XSdPs_ConfigTable is declared more than once.

Signed-off-by: Paul Alvin <[email protected]>

Acked-for-series: Srinivas Goud <[email protected]>
change the data type of BaseAddress in XSdPs_Config structure from u32 to UINTPTR.APIs using BaseAddress are type casting u32 into UINTPTR hence this change will not affect any
functionality.

Change the data type of inline APIs which holds the value of BaseAddress and also XSdPs_CfgInitialize API argument EffectiveAddr from u32 to UINTPTR.

Changing the BaseAddress from u32 to UINTPTR will help the unit test to run in host without any segmentation fault.

Signed-off-by: Paul Alvin <[email protected]>

Acked-for-series: Srinivas Goud <[email protected]>
XPPU configurations before and after DME response operation.

Signed-off-by: Venkatesh Korikana <[email protected]>
Acked-by: VNSL Durga Challa <[email protected]>
Add a check to make sure user cannot overwrite the
an already programmed key.

Signed-off-by: Kalyani Akula <[email protected]>
Acked-by: VNSL Durga Challa <[email protected]>
update Embedded SW license file for 2023.1
Signed-off-by: Manikanta Sreeram <[email protected]>
Update Licene file

Signed-off-by: Manikanta Sreeram <[email protected]>
update Embedded SW license file for 2023.1
Signed-off-by: Manikanta Sreeram <[email protected]>
Update Licene file

Signed-off-by: Manikanta Sreeram <[email protected]>
Removing tapp section from dpdma and dppsu driver as display drivers
are not supposed to be put in peripheral tests as these usually need a
seprate setup.

Signed-off-by: Yash Ladani <[email protected]>
Acked-by: Varunkumar Allagadapa <[email protected]>
…cess for AIE2

The early write response is by default enabled for npi_nir REG_CNTL
register. Due to this, the NPI register writes are acked before the
write actually happens.

To ensure the NPI write is actually completed, added NPI read request
after write. The hardware ensures all previous writes are committed to
HW before responding to read request.

Signed-off-by: Naman Trivedi Manojbhai <[email protected]>
Acked-by: Ronak Jain <[email protected]>
Fixes "video_common: Add support for HF-SCDB in EDID parser"
[3c7edff].

Fix compilation warnings in type casting xvidc_cea861_hdmi_hf_sink_capability_data_block
structure.

Signed-off-by: Rajesh Gugulothu <[email protected]>
Acked-by: Gaddipati, Naveen <[email protected]>
Add support for DP21-10/13.5/20G linkrates.
Acked-by: Rajesh Gugulothu <[email protected]>
Ankush Mehtre and others added 29 commits September 24, 2023 13:42
Since cache is disabled for xilsecure library for VersalNet processors
and not for xilpuf and xilnvm libraries because of this xilpuf client
example is failing.
Fixed by adding cache disable check for xilpuf and xilnvm libraries
in their respective tcl files for VersalNet processors.

Signed-off-by: Ankush Mehtre <[email protected]>

Acked-for-series: Harsha <[email protected]>
Added xsecure_ver.h file for xilsecure client mode.

Signed-off-by: Ankush Mehtre <[email protected]>

Acked-for-series: Harsha <[email protected]>
Replace the base address mentioned in the lookup config
with XPAR_XAXIDMA_0_BASEADDR as mentioned in the canonical forms.

Signed-off-by: Abin Joseph <[email protected]>
Acked-by: Harini Katakam <[email protected]>
Commit 3eda3ce (scripts: pyesw: reconfig_bsp: Add support for
shared platform/bsp) added support for shared platform based on the
Path for older platforms, it's path won't be available in the bsp. Yaml
In that case, we should delete the build_configs and need to update
Cmake configuration this commit updates the same.

Signed-off-by: Appana Durga Kedareswara rao <[email protected]>
Acked-by: Siva Durga Prasad Paladugu <[email protected]>
Fix the order of the value of UEID extension in the certificate.

Signed-off-by: Harsha Harsha <[email protected]>

Acked-for-series: VNSL Durga Challa <[email protected]>
Replace XSecure_MemCpy64 with Xil_SMemCpy. XSecure_memCpy64 is a
void function and Xil_SMemCpy returns Status. As a result, change the
prototype of the functions calling Xil_SMemCpy to return Status.

Signed-off-by: Harsha Harsha <[email protected]>

Acked-for-series: VNSL Durga Challa <[email protected]>
…tic.c file

Added input argument validations for few missing API's in xsecure_elliptic.c file.

Signed-off-by: Triveni Modugula <[email protected]>
Acked-by: Kalyani Akula <[email protected]>
Added SDT support for xilskey examples.

Signed-off-by: Nandanikhil Gajulapally <[email protected]>
Acked-by: VNSL Durga Challa <[email protected]>
Macro definition is reduced for CPPUTEST to decrease unit test duration.

Signed-off-by: Jesus De Haro <[email protected]>
Updated for license and copyright at xbasic_types.h

Signed-off-by: Meena Paleti <[email protected]>
This Patch Updated copyright information
Signed-off-by: ANANTHA NAGA VIDHYA LAVANYA <[email protected]>
Acked-by: Rama devi Veggalam <[email protected]>
Updated for changelog

Signed-off-by: Meena Paleti <[email protected]>

Acked-by : Siva Addepalli<[email protected]>
Fixed coverity warning EXPRESSION_WITH_MAGIC_NUMBERS
by replacing magic number with the corresponding macro.

Also fixed MISRA-C Rule 10.1 violation : Operands shall not be of an inappropriate essential type
Solution: Typecasted according to the required type.

Signed-off-by: VSSLakshmiPrasanna.Vutukuri <[email protected]>

Acked-for-series: Kundanala, Praveen Teja <[email protected]>
MISRA-C Rule 8.13:A pointer should point to a const-qualified type whenever possible.

Solution: Added constant qualifier.

Signed-off-by: VSSLakshmiPrasanna.Vutukuri <[email protected]>

Acked-for-series: Kundanala, Praveen Teja <[email protected]>
MISRA-C Rule 10.3: The value of an expression shall not be assigned to an object with a
narrower essential type or of a different essential type category

MISRA-C Rule 10.4:Both operands of an operator in which the usual arithmetic conversions
are performed shall have the same essential type category

Solution: Typecasted accordingly.

Signed-off-by: VSSLakshmiPrasanna.Vutukuri <[email protected]>

Acked-for-series: Kundanala, Praveen Teja <[email protected]>
Compilation warnings occured when ecdsa example ran on r5 are being fixed.

Signed-off-by: VSSLakshmiPrasanna.Vutukuri <[email protected]>

Acked-for-series: Kundanala, Praveen Teja <[email protected]>
MISRA-C Rule 12.2: The righthand operand of a shift operator shall lie in the range zero
to one less than the width in bits of the essential type of the left hand
operand

Solution: Properly typecasted according to the requirement

Signed-off-by: VSSLakshmiPrasanna.Vutukuri <[email protected]>

Acked-for-series: Kundanala, Praveen Teja <[email protected]>
… of the hardware dependency

Xilflash library yaml meta-data has dependency on emc which is optional,
This library will work with or without the emc so ideally xilflash yaml
Should have optional driver dependency syntax, workaround this issue
By pulling the xilflash library by default irrespective of the hardware
Dependency.

Signed-off-by: Appana Durga Kedareswara rao <[email protected]>
Acked-by: Siva Durga Prasad Paladugu <[email protected]>
Embedded SW license update

Signed-off-by: Manikanta Sreeram <[email protected]>
… path

As OpenAMP demos depend on having app init object and the app object
depends on .repo.yaml path, pass this path via command line argument.

Signed-off-by: Ben Levinsky <[email protected]>
Acked-by: Appana Durga Kedareswara rao <[email protected]>
…er ESW apps

Install generated ELF at top of build directory
Pass App name if given to ELF
Remove extra cmake-configure step for OpenAMP and Libmetal apps
Remove use of extra app cmake toolchain file for apps

Signed-off-by: Ben Levinsky <[email protected]>

Acked-for-series: Appana Durga Kedareswara rao <[email protected]>
…al in BSP

Enable BSP support for Zynq platform to be built for OpenAMP and Libmetal
libraries

Signed-off-by: Ben Levinsky <[email protected]>

Acked-for-series: Appana Durga Kedareswara rao <[email protected]>
Do not run extra configure step. Instead simply pass the relevant
OpenAMP Lopper information to the lopper run.

This also removes the dependency on App object for OpenAMP Demos in
the build app step.

Signed-off-by: Ben Levinsky <[email protected]>

Acked-for-series: Appana Durga Kedareswara rao <[email protected]>
…nAMP

Ensure that cleanup for OpenAMP and Libmetal in the BSP is up to parity
with other components

Signed-off-by: Ben Levinsky <[email protected]>

Acked-for-series: Appana Durga Kedareswara rao <[email protected]>
Currently tools doesn't support enabling XRAM AXILITE interface so remove
XRAM_APB_CLK configuration which selects AXILITE PL source.

Signed-off-by: Nicole Baze <[email protected]>
Acked-by: Arun Kannan <[email protected]>
A lot of people are trying to send pull requests via github but this is not
the right channel to use. Linux project is doing review over emails that's
why use [email protected] if you want to contribute changes to this
repository.

Signed-off-by: Siva Addepalli <[email protected]>
In GetDetector function the Generator VSYNC_F1 register with offset 0x8C is read but Detector VSYNC_F1 register with offset 0x40 should be read instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.