or the
UART baudrate generator
Signed-off-by: Milan Obuch
Signed-off-by: Luis Araneda
---
This changes were originally sent by Milan Obuch using a diff format.
As he didn't know how to properly send git patches to the mailing list,
I converted them to a git commit, rephrased the commit message and
.
Disable the internal pull-up to fix the issue.
Signed-off-by: Milan Obuch
Signed-off-by: Luis Araneda
---
This changes were originally sent by Milan Obuch using a diff format.
As he didn't know how to properly send git patches to the mailing list,
I converted them to a git commit, rephrased
e patch on a Zybo Z7-20 board.
The push buttons are now handled correctly.
Tested with the command "gpio status -a"
When the push buttons are not pressed:
> gpio@e000a00050: input: 0 [ ]
> gpio@e000a00051: input: 0 [ ]
When the push buttons are pressed:
> gpio@e000a00050: inpu
SCRIPT=y
>
> Luis: Can you please check?
I successfully tested the patch on a Zybo Z7-20 board.
As the description said, the text "Debug uart enabled" is now displayed.
Once the commit is in shape to be merged, feel free to add my Tested-by tag.
Tested-by: Luis Araneda
Please pi
Only add CONFIG_DISPLAY to defconfig because CONFIG_I2C_EDID
is automatically selected by CONFIG_DISPLAY
Signed-off-by: Luis Araneda
---
configs/zynq_zybo_defconfig | 1 +
include/configs/zynq_zybo.h | 2 --
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/configs
Hi,
On Tue, Aug 14, 2018 at 11:07 AM Michal Simek wrote:
> On 14.8.2018 06:55, Luis Araneda wrote:
> > Implement a method for reading the MAC address from an
> > SPI flash memory.
> > In particular, this method is used by the Zybo Z7 board
> > to read the MAC
Implement a method for reading the MAC address from an
SPI flash memory.
In particular, this method is used by the Zybo Z7 board
to read the MAC address from the OTP region in the SPI NOR
memory
Signed-off-by: Luis Araneda
---
I'm trying to implement the reading of the MAC address of
the Zybo
Hi,
On Wed, Jul 4, 2018 at 2:40 AM Luis Araneda wrote:
>
> Drop the DM_I2C dependency, as the library only implements
> the parsing of EDID data and doesn't depend on any driver
>
> One user of this library, the i2c command, implements
> support for legacy and DM I2C drivers
&g
ng the
SPI speed to CONFIG_ENV_SPI_MAX_HZ.
As this board didn't have a flash node, the default value
was applied to the SPI speed, producing an error when probing
the flash memory (speed too slow).
Signed-off-by: Luis Araneda
---
arch/arm/dts/zynq-zed.dts | 7 +++
1 file changed, 7 insertion
push-buttons, 4 switches, 5 LEDs
- 1 (Z7-10) or 2 (Z7-20) RGB LEDs
Signed-off-by: Luis Araneda
---
This patch adds support for the Digilent Zybo Z7 board
The only thing that I tested and is not working yet, is reading the
MAC address from the OTP region of the SPI flash memory, but I'm trying
them
with v2 because the patch were less tha 100 kB.
I'll remove silicon version 1_0 and 2_0 with v3, which I'll send in a bit.
Thanks,
Luis Araneda.
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
push-buttons, 4 switches, 5 LEDs
- 1 (Z7-10) or 2 (Z7-20) RGB LEDs
Signed-off-by: Luis Araneda
---
This patch adds support for the Digilent Zybo Z7 board
The only thing that I tested and is not working yet, is reading the
MAC address from the OTP region of the SPI flash memory, but I'm trying
Hi Michal,
On Fri, Jul 20, 2018 at 3:09 AM Michal Simek wrote:
> On 13.7.2018 17:44, Luis Araneda wrote:
> > [...]
> > +CONFIG_DM_I2C=y
> > +CONFIG_SYS_I2C_CADENCE=y
> > +CONFIG_MMC_SDHCI=y
> > +CONFIG_MMC_SDHCI_ZYNQ=y
> > +CONFIG_
Hi Michal,
On Fri, Jul 20, 2018 at 6:57 AM Michal Simek wrote:
> On 9.7.2018 07:00, Luis Araneda wrote:
> > [...]
> > --- a/arch/arm/dts/zynq-syzygy-hub.dts
> > +++ b/arch/arm/dts/zynq-syzygy-hub.dts
> > @@ -15,6 +15,7 @@
> > alia
Hi,
On Fri, Jul 20, 2018 at 7:09 AM Michal Simek wrote:
>
> On 20.7.2018 08:12, Luis Araneda wrote:
> > [...]
> > Anyway, I just wanted to improve the current state of the code, I
> > don't need these changes for what I'm doing. So if you like to wait
> > for [1] t
Hi Michal,
On Fri, Jul 20, 2018 at 6:38 AM Michal Simek wrote:
> On 20.7.2018 01:37, Luis Araneda wrote:
> > Hi Michal,
> >
> > On Thu, Jul 19, 2018 at 2:23 AM Michal Simek
> > wrote:
> We need that functionality first but then enable it for all boards is
> f
Hi,
On Fri, Jul 13, 2018 at 11:45 AM Luis Araneda wrote:
> This series adds support for the Digilent Zybo Z7 board
>
> The only think, that I tested, and is not working yet, is reading the
> MAC address from the OTP region of the SPI flash memory, but I pretend
> to work on tha
.denx.de/pipermail/u-boot/2017-May/291401.html
Thanks,
Luis Araneda.
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
Hi Michal,
On Thu, Jul 19, 2018 at 2:23 AM Michal Simek wrote:
> On 18.7.2018 20:02, Luis Araneda wrote:
> > [...]
> > I didn't send them because just changing the defconfig isn't enough,
>
> It should be enough. It is configuration option and just enabling that
> f
r, and I found it when analyzing the (generated)
.u-boot.img.cmd file.
I just tested your patch with and without the "-E" option, and it
works on both cases :)
Thanks,
Luis Araneda.
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
Disable the use of function zynq_loadfs when compiling
the driver for the SPL, as the following filesystem
functions are not found by the linker:
- fs_set_blk_dev
- fs_read
- fs_set_blk_dev
- fs_read
- fs_read
Signed-off-by: Luis Araneda
---
drivers/fpga/zynqpl.c | 4 ++--
1 file changed, 2
Signed-off-by: Luis Araneda
---
arch/arm/mach-zynq/spl.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/mach-zynq/spl.c b/arch/arm/mach-zynq/spl.c
index 83297d6c69..9b7c0be951 100644
--- a/arch/arm/mach-zynq/spl.c
+++ b/arch/arm/mach-zynq/spl.c
@@ -29,6 +29,9 @@ void board_init_f(u
A message should be displayed if an image is loaded
to an FPGA, because the hardware might have changed,
and the user should be informed
Signed-off-by: Luis Araneda
---
common/spl/spl_fit.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/spl/spl_fit.c b/common/spl/spl_fit.c
index
said, it
will brake Arria10.
I'd like to see the functionality merged, but waiting to firmware
loader might delay it. So I propose the following:
- Keep the spl_load_fpga_image() function for devices
like the Arria10.
- Apply the first three patches of my series [1],
as they fix FPGA (Zynq) support on SPL.
- Apply a modified version of Michal's patch, adding
a temporary Kconfig option, like he suggested,
to choose between the two implementations:
fpga_load() for devices with DRAM available, and
spl_load_fpga_image() for devices like the Arria10.
- Once firmware loader is ready, convert the code to
use it and unify the functions if possible.
[1] https://lists.denx.de/pipermail/u-boot/2018-July/335127.html
Thanks,
Luis Araneda
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
d address was not necessary.
On the other hand, the zynpl driver doesn't have functions to program
the FPGA by chunks, so I had to allocate memory.
Thanks,
Luis Araneda.
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
hasn't responded yet, and this series to
the @xilinx.com account, which you replied quickly. Maybe you are just
waiting for other people to review/test it.
Thanks,
Luis Araneda.
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
Implement FPGA bitstream loading from SPL. The bitstream
is loaded from a FIT image into dynamically allocated memory
before programming the FPGA.
Signed-off-by: Luis Araneda
---
arch/arm/mach-zynq/spl.c | 39 +++
1 file changed, 39 insertions(+)
diff --git
A message should be displayed if an image is loaded
to an FPGA, because the hardware might have changed,
and the user should be informed
Signed-off-by: Luis Araneda
---
common/spl/spl_fit.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/spl/spl_fit.c b/common/spl/spl_fit.c
index
Disable the use of function zynq_loadfs when compiling
the driver for the SPL, as the following filesystem
functions are not found by the linker:
- fs_set_blk_dev
- fs_read
- fs_set_blk_dev
- fs_read
- fs_read
Signed-off-by: Luis Araneda
---
drivers/fpga/zynqpl.c | 4 ++--
1 file changed, 2
memory before programming the FPGA.
Additionally, some fixes are applied to compile the zynqpl driver
for SPL, and to properly detect an FPGA from the SPL.
I'm not sure if the fixes are correct or I'm missing something,
hence the RFC.
Tested on a Digilent Zybo Z7-20 board
Luis Araneda (4
Signed-off-by: Luis Araneda
---
arch/arm/mach-zynq/spl.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/mach-zynq/spl.c b/arch/arm/mach-zynq/spl.c
index 83297d6c69..9b7c0be951 100644
--- a/arch/arm/mach-zynq/spl.c
+++ b/arch/arm/mach-zynq/spl.c
@@ -29,6 +29,9 @@ void board_init_f(u
push-buttons, 4 switches, 5 LEDs
- 1 (Z7-10) or 2 (Z7-20) RGB LEDs
The device-tree was taken from Linux with some minor corrections
Signed-off-by: Luis Araneda
---
arch/arm/dts/Makefile | 3 +-
arch/arm/dts/zynq-zybo-z7.dts | 91 ++
configs
solution, or I'll just simply remove additional content
(Vivado's comments)
Luis Araneda (2):
arm: zynq: add ps7_init file for zybo z7
arm: zynq: add support for the zybo z7 board
arch/arm/dts/Makefile |3 +-
arch/arm/dts/zynq-zybo-z7.dts | 91
I2C multiplexers and require extended validation and testing
Signed-off-by: Luis Araneda
---
arch/arm/dts/zynq-syzygy-hub.dts | 1 +
arch/arm/dts/zynq-zybo.dts| 10 ++
board/xilinx/zynq/board.c | 24
configs/syzygy_hub_defconfig | 5
Migrate boards to use the generic kconfig options to
read the MAC address
Signed-off-by: Luis Araneda
---
board/xilinx/zynq/board.c| 7 +++
configs/syzygy_hub_defconfig | 4 +++-
configs/zynq_zybo_defconfig | 4 +++-
include/configs/syzygy_hub.h | 1 -
include/configs/zynq_zybo.h | 1
Migrate boards to use the generic kconfig options to
read the MAC address
Additionally, remove the ZYNQ_GEM_I2C_MAC_OFFSET kconfig
option, since no boards is using it now
Signed-off-by: Luis Araneda
---
board/xilinx/zynqmp/zynqmp.c | 10 --
configs
Add generic kconfig options to read MAC address(es) from an EEPROM
connected to an I2C bus
The SYS_I2C_EEPROM_* options can't be used because they depend
on I2C_EEPROM, which requires a DM driver, and not all boards
have DM I2C drivers yet
Signed-off-by: Luis Araneda
---
drivers/misc/Kconfig
zynq and zynqmp boards, and the same
binaries where generated for all boards
All commits were tested on a Digilent Zybo board
Luis Araneda (4):
drivers/misc: add options to read MAC address from EEPROM
arm: zynq: migrate EEPROM MAC address options to kconfig
arm64: zynqmp: migrate EEPROM
097
sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid());
^~~~~~~
Signed-off-by: Luis Araneda
---
scripts/kconfig/confdata.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/kconfig/confda
Drop the DM_I2C dependency, as the library only implements
the parsing of EDID data and doesn't depend on any driver
One user of this library, the i2c command, implements
support for legacy and DM I2C drivers
Tested on a Zynq board, whose I2C driver is not ported
yet to DM
Signed-off-by: Luis
40 matches
Mail list logo