Commit graph

12 commits

Author SHA1 Message Date
Kedareswara rao Appana
fff3aa2723 mcap: linux: Improve error info..
This patch updates the error information
message in the driver so that it will error out
with detailed info so that it will be clear to the users
incase of path to bitstreams is incorrect.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-12-01 15:21:57 +05:30
Kedareswara rao Appana
5241673129 mcap: linux: Fix race condition while programming bitfiles
During programming the bit files as per flow
in case of errors need to do a full reset of mcap
config space. This patch fixes this issue.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Reviewed-by: Srikanth Vemula <svemula@xilinx.com>
2015-07-31 16:54:57 +05:30
Kedareswara rao Appana
dd458e20d2 mcap: linux: Options -c and -C may be confusing
This patch modifies the Access Device Configuration Space
option to -a instead of -c.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Reviewed-by: Srikanth Vemula <svemula@xilinx.com>
2015-07-31 16:54:56 +05:30
Kedareswara rao Appana
2d4fbf6e77 mcap: linux: update README
This patch updaets README in the
driver for the updated changes.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Reviewed-by: Srikanth Vemula <svemula@xilinx.com>
2015-07-31 16:54:55 +05:30
Kedareswara rao Appana
70c875feea mcap: linux: Update copyright
This patch updates the copyright info.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Reviewed-by: Srikanth Vemula <svemula@xilinx.com>
2015-07-31 16:54:55 +05:30
Kedareswara rao Appana
74b5ab5e36 mcap: linux: Modify Programfiles handling
This patch fixes the issues with the program files(.rbt,.bit)
handling.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Reviewed-by: Srikanth Vemula <svemula@xilinx.com>
2015-07-31 16:54:53 +05:30
Kedareswara rao Appana
04f84f637b mcap: linux: Add support for multiple bitstreams
This patch adds support for configuring
a partial clear file followed by a partial bit file.
(Ex: ./mcap -x 0x8038 -C partialclear.bit -p partial.bit)

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Reviewed-by: Srikanth Vemula <svemula@xilinx.com>
2015-07-31 16:54:53 +05:30
Kedareswara rao Appana
03d6ee77cf mcap: linux: Add support for partial reconfiguration clear file
This patch adds support for programming the partial
Reconfiguration clear file.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Reviewed-by: Srikanth Vemula <svemula@xilinx.com>
2015-07-31 16:54:52 +05:30
Kedareswara rao Appana
e1557c765f mcap: linux: Add check for bitstream completion
This patch fixes the issue
Done pin doesn't go high after programming
the 2nd stage bit stream.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Reviewed-by: Srikanth Vemula <svemula@xilinx.com>
2015-07-31 16:54:51 +05:30
Kedareswara rao Appana
554c3f5dd2 mcap: linux: Dump all registers option (-d) Returns "Failed Reading Registers"
when -d option is used to dump all the registers,
It should ignore the Data register if it's empty or
Not set and should not return a failure in reading those registers.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Reviewed-by: Srikanth Vemula <svemula@xilinx.com>
2015-07-31 16:54:50 +05:30
Kedareswara rao Appana
d9904389a5 mcap: linux: Add the "Type" Information for -c Option to the Help Menu
This patch adds the "Type" option of (b or h or w)
for the -c option when the help menu is printed.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Reviewed-by: Srikanth Vemula <svemula@xilinx.com>
2015-07-31 16:54:49 +05:30
Kedareswara rao Appana
8c62367e0d mcap: Add MCAP Linux Library
The MCAP interface enables an embedded microprocessor, such as MicroBlaze,
    to read and write the FPGA configuration memory.
    This library allows user to access the MCAP i/f.

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Reviewed-by: Srikanth Vemula <svemula@xilinx.com>
2015-07-31 16:54:48 +05:30