On Fri, Mar 8, 2024 at 8:01 PM Marek Vasut wrote:
>
> On 3/8/24 6:12 PM, Michał Barnaś wrote:
> > Add Kconfig that enables FPGA reprogramming with warm boot on Arria 10.
> > This option allows to change the bitstream on the filesystem and apply
> > changes with warm reboo
Set CONFIG_TARGET_SOCFPGA_ARRIA10_ALWAYS_REPROGRAM as enabled in
chameleon v3 board's defconfig.
Signed-off-by: Michał Barnaś
---
Changes in v3:
- Update defconfig to use renamed Kconfig
configs/socfpga_chameleonv3_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/co
Add Kconfig that enables FPGA reprogramming with warm boot on Arria 10.
This option allows to change the bitstream on the filesystem and apply
changes with warm reboot without the need for a power cycle.
Signed-off-by: Michał Barnaś
---
Changes in v3:
- Rebase on current master branch
- Drop
v3:
- Rebase on current master branch
- Drop the TARGET_ prefix in Kconfig
- Remove #ifdefs and use IS_ENABLED
- Update defconfig to use renamed Kconfig
Changes in v2:
- Rebase on current master branch
Michał Barnaś (2):
arm: socfpga: arria10: add option to reprogram the FPGA every reboot
Thank you very much!
On Tue, Mar 5, 2024 at 2:17 PM Tom Rini wrote:
>
> On Mon, 19 Feb 2024 16:32:01 +, Michał Barnaś wrote:
>
> > Fix the driver to behave like the chip datasheet requires.
> > Improve wake up function to send low signal on SDA line for at least
> &g
Set CONFIG_TARGET_SOCFPGA_ARRIA10_ALWAYS_REPROGRAM as enabled in
chameleon v3 board's defconfig.
Signed-off-by: Michał Barnaś
---
(no changes since v1)
configs/socfpga_chameleonv3_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/socfpga_chameleonv3_defconfig
b/co
Add Kconfig that enables FPGA reprogramming with warm boot on Arria 10.
This option allows to change the bitstream on the filesystem and apply
changes with warm reboot without the need for a power cycle.
Signed-off-by: Michał Barnaś
---
Changes in v2:
- Rebase on current master branch
arch
v2:
- Rebase on current master branch
Michał Barnaś (2):
arm: socfpga: arria10: add option to reprogram the FPGA every reboot
chameleonv3: set in defconfig for FPGA to reprogram every reboot
arch/arm/mach-socfpga/Kconfig | 8
arch/arm/mach-socfpga/spl_a10.c | 8
On Thu, Feb 29, 2024 at 2:03 PM Dinh Nguyen wrote:
>
>
>
> On 2/22/24 09:20, Michał Barnaś wrote:
> >
> > By default, the board requires power cycle (cold boot) to program the
> > FPGA with bitstream. This change adds Kconfig that allows to enable
> > reprogra
Set CONFIG_TARGET_SOCFPGA_ARRIA10_ALWAYS_REPROGRAM as enabled in
chameleon v3 board's defconfig.
Signed-off-by: Michał Barnaś
---
configs/socfpga_chameleonv3_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/socfpga_chameleonv3_defconfig
b/co
Add Kconfig that enables FPGA reprogramming with warm boot on Arria 10.
This option allows to change the bitstream on the filesystem and apply
changes with warm reboot without the need for a power cycle.
Signed-off-by: Michał Barnaś
---
arch/arm/mach-socfpga/Kconfig | 8
arch/arm
By default, the board requires power cycle (cold boot) to program the
FPGA with bitstream. This change adds Kconfig that allows to enable
reprogramming the FPGA with every boot. This makes the update process
of the bitstream on the filesystem to be applied with simple system
reboot.
Michał
the i2c,
so the one byte is sent to the transfer function, but only the address
is sent anyway.
After sending the zero address, the bus speed is restored to the
previous value if it was slowed down to wake up the chip.
Signed-off-by: Michał Barnaś
---
drivers/misc/atsha204a-i2c.c | 49
Fix the sleep function to issue the sleep command instead of idle one.
Signed-off-by: Michał Barnaś
---
drivers/misc/atsha204a-i2c.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/misc/atsha204a-i2c.c b/drivers/misc/atsha204a-i2c.c
index ab83bbc3e9..29daefb2a5
Some previous commit changed the continue statement to return,
making the for loop used to retry waking up the chip to always
return after one iteration. This commit removes the loop, cleaning
the code a little.
Signed-off-by: Michał Barnaś
---
drivers/misc/atsha204a-i2c.c | 45
than one iteration.
Michał Barnaś (3):
misc: atsha204a: remove broken for loop
misc: atsha204a: fix sleep function
misc: atsha204a: fix wakeup function
drivers/misc/atsha204a-i2c.c | 90
1 file changed, 61 insertions(+), 29 deletions(-)
--
2.44.0
16 matches
Mail list logo