Emacps phy read function needs a pointer to a variable of type u16
to return phy register value. Fix the type to avoid and clean up warnings.
Signed-off-by: Harini Katakam <harinik@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
With the latest freertos, the stacksize given through tcl is
multiplied internally by wordsize. To take care of that, this
change in stacksize is needed.
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
The existing Zynq adapter has a bug when it handles interfaces other
than enet0. This patch fixes it.
Signed-off-by: Anirudha Sarangi <anirudh@xilinx.com>
Acked by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
Change the initialization, TX/RX tuning and auto negotiation sequence
as per TI phy spec.
Signed-off-by: Harini Katakam <harinik@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
This patch modifies the Makefile of xilopenamp to
remove the compilation error for IAR compiler.
Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
printf is used only in two places and it was requested to remove these
as it will reduce the size of the library.
Signed-off-by: Harini Katakam <harinik@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
Remove protect and unprotect calls in xemacif_input because
this is alreayd present inside individual interface's input calls
and interrupt should be disabled only for that duration.
Signed-off-by: Harini Katakam <harinik@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
Fix various issues related to new FreeRTOS port in lwip.
Signed-off-by: Anirudha Sarangi <anirudh@xilinx.com>
Acked-by: Harini Katakam <harinik@xilinx.com>
The property names for hier and non-hier designs
are differnet for ethernet this patch updates the same.
Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
This patch makes changes to add support for the latest freertos821 by
making changes in mld, tcl and sys_arch.c files.
Signed-off-by: Anirudha Sarangi <anirudh@xilinx.com>
Reviewed-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
This patch modifies openamp library to include missing header
files to bm_env.c for freertos.
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked by: Anirudha Sarangi <anirudh@xilinx.com>
This patch fixes the bsp compilation errors when elite is configured
with interrupts though a concat IP.
Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Acked by: Anirudha Sarangi <anirudh@xilinx.com>
Error out from tcl when A53 32 bit compiler is used as lwip
library does not support it.
Signed-off-by: Harini Katakam <harinik@xilinx.com>
Acked by: Anirudha Sarangi <anirudh@xilinx.com>
Read specific status register for negotiated speed and return the same.
The updated masks are only used for ZynqMP currently; follow the same
for Zynq as well. Corrected alignment in a couple of lines.
Signed-off-by: Harini Katakam <harinik@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
- Update mac address form s32 to u32
- Update autonegotiation for ZynqMP when checking status register for
negotiated speed. Report error when autonegotiation has failed for ~30 secs.
Signed-off-by: Harini Katakam <harinik@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
Add support for A53 by doing the following:
- Update conditional checks with __aarch64__
- Update typecast to UINTPTR
- Update u32_t type
- Update debug prints to reflect 64 bit address
- Disable data cache as lwip is not working on A53 with caches at the moment
- Update changelog for previouos missing history as well
Signed-off-by: Harini Katakam <harinik@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
This patch removes the unnecessary check in the lwip tcl
it is causing the compilation issues in few ethernetlite based designs.
Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
This patch adds lwip support for the axi ethernet with fifo
combination on zynq.
Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
Add support to be used with newer version of GEM in Zynq Ultrascale MPSoC.
Use TX Q1 and RX Q0; segregate Zynq specific TLB attributes and SLCR settings.
Signed-off-by: Harini Katakam <harinik@xilinx.com>
Reviewed-by: Anirudha Sarangi <anirudh@xilinx.com>
Add support for lwip library to be picked for A53 & R5 and to use
necessary GIC. Comment informational prints.
This is to add support for Zynq Ultrascale MPSoC.
Signed-off-by: Harini Katakam <harinik@xilinx.com>
Reviewed-by: Anirudha Sarangi <anirudh@xilinx.com>
This patch does following things:
---> Add support the hier IP (user parameters that got exported to xml/hdf file)
---> Remove redundant code for checking the type of target periphral
that got connected to axi ethernet provided an api for the same (axieth_target_periph).
Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
This patch modifies the code according to wendy's openamp changes
and also updates the license information
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
This patch modifies the hil and virtqueue header files to keep the
declaration after license information. It also modifies the bm_env.c
to remove the extern definitions and correct the env_map_memory function
The patch also updates license information for rpmsg_retarget.* files
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
This patch contains initial version of xilopenamp library. Currently
the library supports cortex-R5 processor
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Two new version of lwip are in the build, lwip140_v2_4 and lwip141_v1_0.
Since we recently upgraded to 141 version, we can delete the lwip with version 140.
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
This patch add's support for lwip141 stack
added new version of the lwip141_v1_0 and
deprecated the older version.
Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
This patch fixes following issues:
---> PHY auto detection & PHY access issues.
---> The existing lwip seems to misbehave when it undergoes a stress or
performance test with UDP packets.
---> Temac crashes and deadlocks if there is a high traffic load or transmitted
packets are not successfully delivered to the other side.
Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>