Commit graph

8 commits

Author SHA1 Message Date
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
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
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