Re: v2017.08.0

2017-08-01 Thread Uwe Kleine-König
Hello, On Mon, Jul 31, 2017 at 08:20:16PM +0200, Lucas Stach wrote: > One notable addition is support for the Turris Omnia, so you can now > run your favorite bootloader on a nice open-hardware router. Just for the record: Currently this only works as 2nd stage started from the vendor U-Boot. I

[PATCH] ARM: imx: phyCORE i.MX7: use register defines in dcd table

2017-08-01 Thread Uwe Kleine-König
This was done using scripts/regsubst.pl. Signed-off-by: Uwe Kleine-König --- .../flash-header-phytec-phycore-imx7.imxcfg| 94 +++--- 1 file changed, 48 insertions(+), 46 deletions(-) diff --git

Re: [PATCH] Add new command fs2bridge for socfpga

2017-08-01 Thread Steffen Trumtrar
Hi! Andrey Smirnov writes: > On Sun, Jul 30, 2017 at 2:17 PM, Mabcded Babcde > wrote: >> 2017-07-28 15:42 GMT+02:00 Andrey Smirnov : >>> On Fri, Jul 28, 2017 at 6:24 AM, Mabcded Babcde >>>

[RFC PATCH 1/4] reset: add of_reset_control_get to header

2017-08-01 Thread Steffen Trumtrar
Signed-off-by: Steffen Trumtrar --- include/linux/reset.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/reset.h b/include/linux/reset.h index be0d1bb5a621..c5660f798193 100644 --- a/include/linux/reset.h +++ b/include/linux/reset.h @@ -11,6 +11,8

[RFC PATCH 2/4] drivers: add fpga bridge framework

2017-08-01 Thread Steffen Trumtrar
Import the fpga bridge framework from linux v4.10-rc2. Signed-off-by: Steffen Trumtrar --- drivers/Kconfig| 1 + drivers/Makefile | 1 + drivers/fpga/Kconfig | 24 drivers/fpga/Makefile | 6 + drivers/fpga/fpga-bridge.c |

[PATCH] regsubst.pl: fix typo in help text

2017-08-01 Thread Uwe Kleine-König
It seems I did too much assembler stuff ... Fixes: e7fed4338441 ("scripts: Provide script that helps using cpp defines in dcd tables") Signed-off-by: Uwe Kleine-König --- scripts/regsubst.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[RFC PATCH 3/4] drivers: fpga: add socfpga bridges

2017-08-01 Thread Steffen Trumtrar
Import the SoCFPGA bridges drivers from linux v4.10-rc2. Signed-off-by: Steffen Trumtrar --- drivers/fpga/Kconfig | 8 ++ drivers/fpga/Makefile| 1 + drivers/fpga/socfpga-fpga2sdram-bridge.c | 143

[RFC PATCH 4/4] fpga: add fpga-region support

2017-08-01 Thread Steffen Trumtrar
Signed-off-by: Steffen Trumtrar --- common/firmware.c | 45 +- drivers/firmware/socfpga.c | 1 + drivers/fpga/Makefile | 2 +- drivers/fpga/fpga-region.c | 209 + include/firmware.h | 2 +

Re: [PATCH v3 00/11] i.MX7 SabreSD support

2017-08-01 Thread Andrey Smirnov
On Tue, Aug 1, 2017 at 11:46 AM, Uwe Kleine-König wrote: > Hello, > > a bit unrelated to this patches: I try to setup spi on my imx7d board > but it hangs in cspi_2_3_xchg_single. So it would be great to know if > spi works for you. Haven't had a chance to use

Re: [RFC PATCH 4/4] fpga: add fpga-region support

2017-08-01 Thread Robert Schwebel
On Tue, Aug 01, 2017 at 11:19:34AM +0200, Steffen Trumtrar wrote: > Signed-off-by: Steffen Trumtrar Could you add a more verbose patch description? rsc -- Pengutronix e.K. | | Industrial Linux Solutions

Re: Bootchooser has unexpected changes of variable 'remaining_attempts'

2017-08-01 Thread Robert Schwebel
Hi, On Tue, Aug 01, 2017 at 04:02:32PM +0200, Norbert Wiedmann wrote: > after debugging a while, I found the reason: > In file bootchooser.c, in funktion bootchooser_save(..) the call of > > ret = pr_setenv(bc, "%s.remaining_attempts=%d", > target->state_prefix, >

Re: Bootchooser has unexpected changes of variable 'remaining_attempts'

2017-08-01 Thread Norbert Wiedmann
Hi again, after debugging a while, I found the reason: In file bootchooser.c, in funktion bootchooser_save(..) the call of ret = pr_setenv(bc, "%s.remaining_attempts=%d", target->state_prefix, target->remaining_attempts); creates a "xxx.remaining_attempts=-1" if

Re: [PATCH v1 2/2] serial: ns16550: provide big-endian support

2017-08-01 Thread Oleksij Rempel
Am 31.07.2017 um 12:03 schrieb Lucas Stach: > Am Donnerstag, den 27.07.2017, 07:00 +0200 schrieb Oleksij Rempel: >> we need it at least for QCA AR9344 >> >> Signed-off-by: Oleksij Rempel >> --- >> drivers/serial/serial_ns16550.c | 19 +-- >> 1 file

Re: [PATCH] Add new command fs2bridge for socfpga

2017-08-01 Thread Mabcded Babcde
2017-08-01 11:13 GMT+02:00 Steffen Trumtrar : > > Hi! > > Andrey Smirnov writes: > >> On Sun, Jul 30, 2017 at 2:17 PM, Mabcded Babcde >> wrote: >>> 2017-07-28 15:42 GMT+02:00 Andrey Smirnov

[PATCH v1 0/3] provide QCA AR9344 support

2017-08-01 Thread Oleksij Rempel
This patch set is providing initial support for QCA AR9344 SoC. So far it provides PLL and DDR2 initialization. UART and SPI controller should work as well. Following variants was tested: - load PBL to SRAM over JTAG for PLL and DDR2 initialization or configure them with JTAG. - load and start

[PATCH v1 1/3] MIPS: ath79: provide CONFIG_SOC_QCA_AR9331 option

2017-08-01 Thread Oleksij Rempel
QCA AR9331 and QCA AR9344 have some similar part but different uart engines. We need this flag to provide common debug_ll support. Signed-off-by: Oleksij Rempel --- arch/mips/mach-ath79/Kconfig | 5 + 1 file changed, 5 insertions(+) diff --git

[PATCH v1 2/3] MIPS: ath79: add initial QCA AR9344 SoC support

2017-08-01 Thread Oleksij Rempel
According to the documentation: "The AR9344 is a highly integrated and feature-rich IEEE 802.11n 2x2 2.4/5 GHz System-on-a-Chip (SoC) for advanced WLAN platforms. It includes a MIPS 74Kc processor, PCI Express 1.1 Root Complex and Endpoint interfaces, five port IEEE 802.3 Fast Ethernet Switch

[PATCH v1 3/3] MIPS: ath79: add TP-Link WDR4300 board support

2017-08-01 Thread Oleksij Rempel
This provides low level initialization of pll and ddr2. Resulting binary should work from SRAM, DDR2 and SPI flash. If started from DDR2 RAM level initialization will skipped. Signed-off-by: Oleksij Rempel --- arch/mips/Makefile | 1 +

Re: [PATCH v3 00/11] i.MX7 SabreSD support

2017-08-01 Thread Uwe Kleine-König
Hello, a bit unrelated to this patches: I try to setup spi on my imx7d board but it hangs in cspi_2_3_xchg_single. So it would be great to know if spi works for you. Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König| Industrial Linux Solutions