Commit graph

57 commits

Author SHA1 Message Date
Jyotheeswar Reddy
66409812e8 sw_apps:zynqmp_pmufw: Adding initial set of files with PM
This is the first functional set of files with
-Power Management
-Error Handlers
-Basic Timer based Scheduler

Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
2015-03-13 10:45:54 +05:30
Sarat Chand Savitala
370b4827f2 sw_apps:zynqmp_fsbl: Removed unnecessary files and set compiler options
Made changes in FSBL tcl file so that unnecessary files are deleted
from build. Since HSI and SDK create their own Makefile,
static Makefile is also removed from build. Also based on CPU,
compiler optins are set to match to those set in SDK.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-03-12 23:30:19 +05:30
Sarat Chand Savitala
990cca15db sw_apps:zynqmp_fsbl: Added eMMC bootmode support in FSBL
eMMC uses same driver as SD.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-03-12 18:15:25 +05:30
Peter Crosthwaite
9efeaa8f17 zynq_fsbl: Auto-populate -mcpu argument
FSBL has R5 specific behaviours so -mcpu must be passed to the build.
Automatically do this on app generation.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
2015-03-12 18:06:09 +05:30
Sarat Chand Savitala
4f2925975f sw_apps:zynqmp_fsbl: Added fallback and multiboot functionality
Adding this feature in FSBL enables BootROM to search for
next available image in the boot devices. Also user can
jump to a different image with the help of multiboot.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-03-12 10:25:11 +05:30
Sarat Chand Savitala
918e66a41a sw_apps:zynqmp_fsbl: Added power on reset bit fields
While releasing resets, power on reset bit fields of
the corresponding CPU core also considered now.
These bit fields are added in RST_FPD_APU register from RTL 5.0.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-03-11 14:33:53 +05:30
Sarat Chand Savitala
208a4977d0 sw_apps:zynqmp_fsbl: Fix to address change in arguments to f_mount
Signature for function f_mount() is changed.
Now three arguments are expected (earlier had two arguments).
In FSBL code, now f_mount() is called with new set of arguments.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-02-27 18:05:23 +05:30
Sarat Chand Savitala
c402428673 sw_apps:zynqmp_fsbl: Removed the RTL version reference
All the references to the RTL version are removed in the FSBL code.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-02-26 15:03:05 +05:30
Sarat Chand Savitala
58335dabbd sw_apps:zynqmp_fsbl: Removed PMU Firmware file from FSBL
HSI API is now also generating PMU configuration source file
which is not needed in FSBL. Hence deleting it.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-02-26 14:33:37 +05:30
Sarat Chand Savitala
c719cebbac sw_apps:zynqmp_fsbl: Change in FSBL banner
FSBL banner is changed and is displayed independent of debug level

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-02-23 14:48:35 +05:30
Sarat Chand Savitala
52e9d348e4 sw_apps:zynqmp_fsbl: Changes in naming for psu
Changes done to replace all ps8 and pss references to psu.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-02-18 19:57:13 +05:30
Sarat Chand Savitala
9b05c2842a sw_apps:zynq_fsbl: optimised the file deletion code
Replaced the multiple file deletions with a loop to delete files

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-02-18 17:53:48 +05:30
Jyotheeswar Reddy
39f60018d1 sw_apps:pmufw: Adding initial set of files for PMU Firmware App
This initial version has the basic set of files required to
build a basic firmware for PMU Microblaze in ZynqMP

Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
2015-02-18 17:32:33 +05:30
Sarat Chand Savitala
4a0709ace1 sw_apps:zynqmp_fsbl: Update SD boot mode
Changed the SD (SD0) boot mode as per bootmode pin encoding from 5 to 3.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-02-17 21:26:03 +05:30
Sarat Chand Savitala
8b1c93702d sw_apps:zynqmp_fsbl: Changes in FSBL to match register changes
This change is done to match the change in the hardware registers
used to enable the RSA authentication during boot.
Also a small logical error is corrected.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-02-17 21:26:03 +05:30
Sarat Chand Savitala
b6aa8be915 sw_apps:zynqmp_fsbl: Change to copy ps init files in FSBL
This change is to handle the PS init files copying.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-02-17 21:26:03 +05:30
Kedareswara rao Appana
47d14c6a7b sw_apps: echo_server: Add support for lwip141 stack
This patch updates the echo_server app to
use the lwip141 stack.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-02-02 16:37:16 +05:30
Kishore Kumar Korathaluri
6024205aba zynqmp_fsbl : added common namespace to all common tcl commands.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-01-22 11:52:54 +05:30
Kishore Kumar Korathaluri
37062cd26b zynq_fsbl : added common namespace to all common tcl commands.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-01-22 11:52:54 +05:30
Kishore Kumar Korathaluri
42f4462b86 xilkernal_thread_demo : added common namespace to all common tcl commands.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-01-22 11:52:53 +05:30
Kishore Kumar Korathaluri
4717af7c58 rsa_auth_app : added common namespace to all common tcl commands.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-01-22 11:52:52 +05:30
Kishore Kumar Korathaluri
f88cf14be0 lwip_echo_server : added common namespace to all common tcl commands.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-01-22 11:52:52 +05:30
Kishore Kumar Korathaluri
9c2fe66c2d zynq_fsbl : added namespace for all HSI TCL commands.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-01-08 16:15:11 +05:30
Kishore Kumar Korathaluri
4af35343ba xilkernel_thread_demo : added namespace for all HSI TCL commands.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-01-08 16:15:10 +05:30
Kishore Kumar Korathaluri
7446107f39 rsa_auth_app : added namespace for all HSI TCL commands.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-01-08 16:15:09 +05:30
Kishore Kumar Korathaluri
0c875e87c8 lwip_echo_server : added namespace for all HSI TCL commands.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-01-08 16:15:08 +05:30
Sarat Chand Savitala
e5bc1ff112 sw_apps:zynqmp_fsbl: Publishing zynqmp FSBL to HEAD of embeddedsw
Initial publishing of zynqmp_fsbl in the embeddedsw repo.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-01-08 09:01:51 +05:30
Sarat Chand Savitala
592dee49fa sw_apps:zynq_fsbl: Changes to remove unnecessary ps init files from FSBL
This change in FSBL is done to remove unnecessary ps init files in FSBl application project.
Only ps7_init.c and ps7_init.h are required files in FSBL project.
Presence of ps7_init_gpl files lead to linker errors.
Hence removed those and all other unnecessary files.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2014-12-24 18:46:38 +05:30
Sarat Chand Savitala
61bfd0ddd2 sw_apps:zynq_fsbl: Change to copy ps init files from FSBL
This change in FSBL is done to support PS parameters configuration in SDK.
Now FSBL handles the PS init files generation/copying.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
----
This is to address CR# 808143
2014-12-24 10:06:13 +05:30
Suneel Garapati
0ae197d5e4 all: make source code non-executable
Changes -
find -name "*.h" -exec chmod a-x '{}' ';'
find -name "*.c" -exec chmod a-x '{}' ';'
find -name "*.S" -exec chmod a-x '{}' ';'
find -name "*.ld" -exec chmod a-x '{}' ';'
find -name Makefile -exec chmod a-x '{}' ';'

Signed-off-by: Suneel Garapati <suneel.garapati@xilinx.com>
2014-12-17 15:13:03 +05:30
Sarat Chand Savitala
7512b7dfda sw_apps:zynq_fsbl: Fix for the library information in the FSBL template
In SDK GUI, the information of requirement of libraries for creating
Zynq FSBL was showing incorrect messages in Application project window.
When both xilffs and xilrsa libraries were absent, the error message
in SDK mentions only about xilffs. This is  corrected and the
error message now reflects the exact essential libraries that are missing.
This is fix for CR#837141.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2014-12-15 10:48:46 +05:30
Sarat Chand Savitala
9270b68a0a sw_apps:zynq_fsbl: Fix to address change in arguments to f_mount()
From 2015.1_1210_1, signature for function f_mount() is changed.
Now it expects three arguments (earlier had two arguments).
In SD initialization routine of FSBL code, now f_mount()
is called with new set of arguments.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2014-12-15 10:23:22 +05:30
Kedareswara rao Appana
3877f190b9 sw_apps: call the tcp fast and slow timers in user context instead of timer interrupt context
This patch fixes the issue TCP re-transmission and data abort were noticed
in the echo server app when send/receive at high rates.
To fix this issue call the tcp fast and slow timers in the application
context instead of timer interrupt context

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
2014-11-21 12:25:48 +05:30
Kedareswara rao Appana
5998568e86 sw_apps: Fix echo server sfp phy programming issues
This patch fixes the sfp phy clock programming
issues on zynq.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
2014-10-29 17:58:18 +05:30
Keerthana Voruganti
cee0b5464b sw_apps:zynq_fsbl: LinearBootDeviceFlag is initialized
LinearBootDeviceFlag is initialized since the variable undefined when operated in IO mode.

Signed-off-by: Keerthana Voruganti <keertha@xilinx.com>
2014-10-15 10:37:02 +05:30
Krishna Chaitanya Patakamuri
c45ff04481 sw_apps:zynq_fsbl: Changes for IAR compiler
Modified code for IAR compilation

Signed-off-by: Krishna Chaitanya Patakamuri <kpataka@xilinx.com>
2014-08-28 16:32:46 +05:30
Krishna Chaitanya
ecd70612c1 sw_apps: zynq_fsbl: Updated the release year to 2014.3
Updated the Release year to 2014.3

Signed-off-by: Krishna Chaitanya <kpataka@xilinx.com>
Acked-by: Nirmala Pelluri <nirmala@xilinx.com"
2014-08-06 16:16:03 +05:30
Kedareswara rao Appana
397d8672c6 lwip: Fix for echo server app compilation issue.
This patch fixes issue while compiling echo server app for a Zynq design where
the axi_ethernet is present in  the PL fabric.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2014-08-05 23:09:30 +05:30
Krishna Chaitanya Patakamuri
ba1f755cf4 sw_apps:zynq_fsbl: Removed smc.h
Removed unused smc.h from nand.h and nor.h header files.

Signed-off-by: Krishna Chaitanya Patakamuri <kpataka@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2014-08-04 17:04:10 +05:30
Krishna Chaitanya
8fbb1b0a90 sw_apps:zynq_fsbl: Removed the PEEP code
Removed the unwanted PEEP code from FSBL

Signed-off-by: Krishna Chaitanya <kpataka@xilinx.com>
Acked-by: Nirmala Pelluri <nirmala@xilinx.com>
2014-07-26 23:53:32 +05:30
Krishna Chaitanya
025250a09c sw_apps:zynq_fsbl: Remove integer.h
Remove the integer.h file FSBL src as it is present as a part of xilffs library.

Signed-off-by: Krishna Chaitanya <kpataka@xilinx.com>
Acked-by: Nirmala Pelluri <nirmala@xilinx.com>
2014-07-26 23:53:32 +05:30
Krishna Chaitanya
78f59e50d8 sw_apps:zynq_fsbl: Removed the redundant code present in FsblMeasurePerfTime
Removed the redundant code present in FsblMeasurePerfTime

Signed-off-by: Krishna Chaitanya <kpataka@xilinx.com>
Acked-by: Nirmala Pelluri <nirmala@xilinx.com>
2014-07-26 23:53:32 +05:30
Krishna Chaitanya
f235decf5e sw_apps:zynq_fsbl: Fallback support for AES encryption with Efuse
Fallback support for AES encryption with Efuse - Enhancement
Disabling the cache for fallback cases after authentication failure

Signed-off-by: Krishna Chaitanya <kpataka@xilinx.com>
Acked-by: Nirmala Pelluri <nirmala@xilinx.com>
2014-07-26 23:53:32 +05:30
Krishna Chaitanya
1b9aa61b5d sw_apps:zynq_fsbl: MD5 related changes in FSBL
Checksum Offset value for calculation for MD5 checksum
is modified to take the relative address from the
image start address instead of exact offset specified
in partition header.

Signed-off-by: Krishna Chaitanya <kpataka@xilinx.com>
Acked-by: Nirmala Pelluri <nirmala@xilinx.com>
2014-07-26 23:53:32 +05:30
Krishna Chaitanya
61ea3dd4bb sw_apps:zynq_fsbl: Updated the PCAP defines with driver defines
Updated the PCAP FSBL defines with driver definitions

Signed-off-by: Krishna Chaitanya <kpataka@xilinx.com>
Acked-by: Nirmala Pelluri <nirmala@xilinx.com>
2014-07-26 23:53:31 +05:30
Krishna Chaitanya
a627da79d8 sw_apps:zynq_fsbl: Updated the permissions for FSBL files
Updated the permissions of sources files[c/h] in src and misc
folder to 644.

Signed-off-by: Krishna Chaitanya <kpataka@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2014-07-14 12:49:50 +05:30
Appa Rao Nali
bcf4cc059b Removing unwanted .mss file as HSM is not considering
Wall Data:
  Originally submitted from RDI_apparao_0611
  Build Type: none
  Test Types: pre-commits, gui pre-commits
[git-p4: depot-paths = "//Rodin/HEAD/data/embeddedsw/": change = 937379]
2014-06-23 15:11:21 +05:30
Krishna Chaitanya
866380eb6b sw_apps:zynq_fsbl: Updated gpl licence and support for zed boards
Upadted the GPL licence for FSBL ps7_init gpl files.
Added support for FSBL building for microzed and zed boards

Signed-off-by: Krishna Chaitanya <kpataka@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2014-06-18 18:10:05 +05:30
Krishna Chaitanya
bd2c924e6a sw_apps:zynq_fsbl: Updated misc files with licence
Added ps7_init files with GPL licence in misc folder
Updated the ps7_init files with new licence

Signed-off-by: Krishna Chaitanya <kpataka@xilinx.com>
Acked-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
2014-06-03 17:06:14 +05:30
Harini Katakam
2b921f7310 lib: sw_apps: Update copyright
This patch updates the copyright of rsa_auth_app.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Acked-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
2014-05-28 11:39:42 +05:30