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

Antsdr #17

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

Antsdr #17

wants to merge 69 commits into from

Conversation

MicroPhase
Copy link

No description provided.

Boot speedup
Removed unused CMDs
Add DFU ALT info excluding (not yet) u-boot
Enter DFU mode if reset was caused by SWRST

Signed-off-by: Michael Hennerich <[email protected]>
Check for (img_len >= desc_xilinx->size) fails with compressed bit streams.
Add CONFIG option to always force "full" bit streams.
Proper fix would be to introduce IH_TYPE_FPGA_PARTIAL.

Signed-off-by: Michael Hennerich <[email protected]>
The SPI NOR driver for ST/MICRON doesn't handle bottom protect and 4 bit
protection at all. Add support to protect 1M from bottom.

Signed-off-by: Michael Hennerich <[email protected]>
Signed-off-by: Michael Hennerich <[email protected]>
This fixes a bug seen with DFU Serial Flash upload/medium-read in case
dfu->data.sf.start > 0.


Signed-off-by: Michael Hennerich <[email protected]>
Signed-off-by: Michael Hennerich <[email protected]>
Tagged for xilinx-v2016.4
commodo and others added 30 commits February 23, 2018 18:00
The Pluto is not compatible with the `xlnx,zynq-picozed-sdr2` board, so
remove this string from the compatible list.

Signed-off-by: Alexandru Ardelean <[email protected]>
The Pluto DTS file header also contained incorrect info about the board.
Updated to `Analog Devices Inc. Pluto SDR board DTS`
And updated copyright years.

Signed-off-by: Alexandru Ardelean <[email protected]>
[to-branch-Pluto] Sidekiq Z2: add basic support for board
This is largely a copy of the extra envs from  `zynq-common.h`.
What's been adapted is that GPIO 48 controls the DFU boot mode.

These env vars have been copied/adapted from a running SidekiqZ2.

Maybe at some point [later] it could make sense to adapt these to be a bit
more granular [i.e. define macros for QSPIBOOT and so on], but for now they
should be fine.

Signed-off-by: Alexandru Ardelean <[email protected]>
This optimization also fixes a compiler bug (arm-linux-gnueabihf-gcc)
which that has triggered in case mode was ZYNQ_BM_JTAG.

Signed-off-by: Michael Hennerich <[email protected]>
This patch adds the following environment variables for configuring:
compatible, mode, ad9363x_ext_refclk, ad936x_ext_refclk_override,
refclk_source, cs_gpio.

attr_name			attr_val		rev	mode
__________________________________________________________________________
compatible			ad9363a (default)	B, C	1r1t,2r2t
				ad9364			B, C	1r1t
				ad9361			C	1r1t,2r2t

mode				1r1t (default)		B, C
				2r2t			C

ad936x_ext_refclk		Actual clock		B, C
				setting in Hz.

ad936x_ext_refclk_override	Clock setting		C
				override for ext clk.

cs_gpio				GPIO chip select	C
				for use with axi spi.

refclk_source			internal (default)	C
				external		C

Signed-off-by: Mircea Caprioru <[email protected]>
When selecting 1r1t mode set DDS to point to the ad9464 configuration.

Fixes: 469a0fd ("configs: zynq-common: Add environment configuration for RevC")
Signed-off-by: Mircea Caprioru <[email protected]>
Because of an error in the check for compatible = ad9464 the SPI memory was
updated at each reboot. This patch fixes this issue and the deletion of the
2r2t property if the mode is set to 1r1t before this check.

Fixes: 469a0fd ("configs: zynq-common: Add environment configuration for RevC")
Signed-off-by: Mircea Caprioru <[email protected]>
The change adds a minimal CI integration for Azure Pipelines for the ADALM
Pluto and ADALM 2000 boards.

Signed-off-by: Alexandru Ardelean <[email protected]>
Some environment configurations are only valid for Pluto. These patch does
a check for the board model and guard against calling configurations for
M2k.

Signed-off-by: Mircea Caprioru <[email protected]>
For AD9364 there is only mode 1r1t available but this condition was
enforced for all compatible devices. This patch fixes the mode option for
AD9361 and AD9363.

Fixes: e1eb71f ("configs: zynq-common: Fix SPI env update")
Signed-off-by: Mircea Caprioru <[email protected]>
For Pluto Rev B there are no 2r2t options so these do not have to be
removed. The same goes for refclk_source which is not available for Rev. B.

Signed-off-by: Mircea Caprioru <[email protected]>
It is safer to use quotes for variables containing string values in bash.
Also the shell used in u-boot is limited with string operations and only
accomodats the use of a minimal test command.

Signed-off-by: Mircea Caprioru <[email protected]>
Reorder the operations done for refclk setting. Check first that the
setting is valid and then apply the changes.

Signed-off-by: Mircea Caprioru <[email protected]>
Reorder the operations for attr_val and check that the values are valid
before applying the changes.

Signed-off-by: Mircea Caprioru <[email protected]>
This patch removes the extra compatible setting and only leaves the old
method for changing the IIO devicei, attr_name and attr_val.

The user will use the combination of these two commands:

fw_setenv attr_name compatible
fw_setenv attr_val ad9364

This will ensure that we don't change anything to the documentation that is
already in place for Pluto.

Signed-off-by: Mircea Caprioru <[email protected]>
add support for antsdr e200
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.

8 participants