(Adding Simon, because of DM)
Hi Martin,
On Wed, Feb 28, 2018 at 7:27 PM, Martin Fuzzey wrote:
> Hi,
>
> since this commit:
>
> commit f62ca2cd2ab8171f603960da9203ceb6ee8a1efd
> Author: Mario Six
> Date: Mon Jan 15 11:07:45 2018 +0100
>
> gpio: pca953x_gpio: Make live-tree compatible
>
>
Hi Tom,
On 28.2.2018 21:24, Tom Rini wrote:
> On Fri, Feb 16, 2018 at 06:02:49PM +0530, Vipul Kumar wrote:
>
>> This patch added Kconfig support for FPGA_SPARTAN3.
>>
>> Signed-off-by: Vipul Kumar
>> Signed-off-by: Siva Durga Prasad Paladugu
>
> After merging 2/4 into this (we should always up
On 1.3.2018 05:01, Liam Beguin wrote:
> Hi Michal,
>
> On 27 February 2018 at 03:51, Michal Simek wrote:
>> Hi Liam,
>>
>> On 27.2.2018 05:17, Liam Beguin wrote:
>>> Add basic tests for the spi_flash subsystem.
>>
>> Good to see this patch.
>> FYI: We have created qspi tests too but didn't push i
dm_scan_fdt_node can't work when live dt is active,
we should use dm_scan_fdt_live instead.
Signed-off-by: Andy Yan
---
drivers/core/root.c | 16 +++-
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/drivers/core/root.c b/drivers/core/root.c
index 36336b6..b437892 1006
Hi Joe,
> -Original Message-
> From: Joe Hershberger [mailto:joe.hershber...@ni.com]
> Sent: Wednesday, February 28, 2018 1:47 AM
> To: Calvin Johnson
> Cc: u-boot ; Joe Hershberger
> ; Anji Jagarlmudi
> Subject: Re: [U-Boot] [PATCH v2 13/13] configs: ls1012a: add pfe
> configuration fo
Hi Michal,
On 27 February 2018 at 03:51, Michal Simek wrote:
> Hi Liam,
>
> On 27.2.2018 05:17, Liam Beguin wrote:
>> Add basic tests for the spi_flash subsystem.
>
> Good to see this patch.
> FYI: We have created qspi tests too but didn't push it out because of
> missing sf_configs options as yo
From: Duncan Hare
All the code is new, and not copied from any source.
>
Commit-notes
Routine tcp_print_buffer() is used to print portions of
non zero terminated buffers. If there is an existing routine
please let me know. I'm from the world of length fields
not zero terminated string
From: Duncan Hare
All the code is new, and not copied from any source.
>
Commit-notes
Why netboot:
Central management, including logs and change control,
coupled with with enhanced security and unauthorized
change detection and remediation by exposing a
small attack surface.
Why TCP:
On Thu, Mar 01, 2018 at 12:05:52AM +0100, Heinrich Schuchardt wrote:
> On 02/28/2018 02:09 AM, Tom Rini wrote:
> >On Mon, Feb 26, 2018 at 04:01:02PM +0100, Michal Simek wrote:
> >
> >>Enable networking command only when NET is enabled.
> >>And remove selecting NET for CMD_NET
> >>
> >>Signed-off-by
On 02/28/2018 02:09 AM, Tom Rini wrote:
On Mon, Feb 26, 2018 at 04:01:02PM +0100, Michal Simek wrote:
Enable networking command only when NET is enabled.
And remove selecting NET for CMD_NET
Signed-off-by: Michal Simek
---
Changes in v2:
- Check several boards by hand.
There is a huge impac
Yes, for example I did:
=> mmc read 0x 512 1
MMC read: dev # 0, block # 1298, count 1 ... CMD_SEND:16
ARG 0x0200
MMC_RSP_R1,5,6,7 0x0900
CMD_SEND:17
ARG 0x0512
MMC_RSP_R1,5,6,7 0x0
On Fri, Feb 16, 2018 at 06:02:51PM +0530, Vipul Kumar wrote:
> This patch added Kconfig support for CONFIG_FPGA_ZYNQPL.
>
> Signed-off-by: Vipul Kumar
> Signed-off-by: Siva Durga Prasad Paladugu
After merging 4/4 into this (we should always update the defconfigs in
the patch, otherwise we may
On Fri, Feb 16, 2018 at 06:02:49PM +0530, Vipul Kumar wrote:
> This patch added Kconfig support for FPGA_SPARTAN3.
>
> Signed-off-by: Vipul Kumar
> Signed-off-by: Siva Durga Prasad Paladugu
After merging 2/4 into this (we should always update the defconfigs in
the patch, otherwise we may get b
Let the Nintendo NES Classic use the Macronix NAND chip on it.
Signed-off-by: Miquel Raynal
---
arch/arm/dts/sun8i-a23-a33.dtsi | 17 +
arch/arm/dts/sun8i-r16-nintendo-nes-classic-edition.dts | 14 ++
2 files changed, 31 insertions(+)
diff --g
SPL support was first written to support only the earlier generations of
Allwinner SoCs, and was only really enabled on the A13 / GR8. However,
those old SoCs had a DMA engine that has been replaced since the A31 by
another DMA controller that is no longer compatible.
Since the code directly uses
Make SUNXI_NAND select SPL_NAND_SUPPORT in Kconfig, this limit the
number of entries to add in defconfig files when adding NAND support.
For now, the only board using it is the CHIP pro.
Signed-off-by: Miquel Raynal
Acked-by: Maxime Ripard
---
configs/CHIP_pro_defconfig | 1 -
drivers/mtd/nand
Move the NAND parameters from defconfig files to Kconfig for SUNXI
architecture only. Fort now only the CHIP pro is migrated.
It would have been better to convert this defconfig entry to Kconfig for
all supported machines/architectures but it has been abandoned due to a
fairly high amount of error
In the nand_read_buffer() step, the seed is calculated by doing a modulo
by conf->nseeds which is always zero when not using the randomizer (most
of SLC NANDs).
This situation turns out to lead to a run time freeze with certain
toolchains.
Derive this seed only when the randomizer is enabled (and
Code has been changed to do not use DMA anymore with the NAND
controller, instead PIO is used. Then, DMA-specific initialization may
be dropped.
Signed-off-by: Miquel Raynal
---
board/sunxi/board.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/board/sunxi/board.c b/board/sunxi/board.c
Prepare the future use of an helper to move the data pointer (the
column) of the NAND chip by renaming nand_reset_column() to
nand_change_column(). Resetting the column is just a matter of giving 0
as argument.
Signed-off-by: Miquel Raynal
Acked-by: Boris Brezillon
---
drivers/mtd/nand/sunxi_na
One bit in the control registers indicates if the NAND controller is
ready to receive a new command. Otherwise, the command FIFO is full and
we should wait for this bit to flip. It then states that the last
command has been processed and the FIFO is now free to welcome another
command.
Add this sa
It is best practice to always clear the status register before executing
a command to be sure that the status read afterwards is relevant.
Signed-off-by: Miquel Raynal
Acked-by: Boris Brezillon
---
drivers/mtd/nand/sunxi_nand_spl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mtd
Change NFC_SEND_ADR to NFC_SEND_ADDR.
Signed-off-by: Miquel Raynal
Acked-by: Boris Brezillon
---
drivers/mtd/nand/sunxi_nand_spl.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/mtd/nand/sunxi_nand_spl.c
b/drivers/mtd/nand/sunxi_nand_spl.c
index 06695fc15f..6
Remove NAND_SUNXI from the CHIP pro defconfig to be automatically
selected depending on the state of ARCH_SUNXI.
Signed-off-by: Miquel Raynal
Acked-by: Maxime Ripard
---
configs/CHIP_pro_defconfig | 1 -
drivers/mtd/nand/Kconfig | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
diff --gi
When changing the column, the ONFI specification states that a minimum
time of tCCS (Change Column Setup time) must elapse between the last
address cycle is asserted on the bus and the first data cycle is
clocked. An usual value for average NANDs is 500 nanoseconds. Round it
up to 1 microsecond to
Add NAND parameters to the Nintendo NES Classic configuration file which
features a Macronix NAND flash chip with 128kiB blocks of 2kiB pages
plus 64 OOB bytes.
Signed-off-by: Miquel Raynal
Acked-by: Maxime Ripard
---
configs/Nintendo_NES_Classic_Edition_defconfig | 4
1 file changed, 4 in
Executing a command is matter of always doing the following sequence:
* Waiting for the FIFO to be empty so we can fill it with the new
command.
* Clearing the status register.
* Writing the command in the FIFO.
* Waiting for the command to finish.
Add a nand_exec_cmd() helper to handl
The pattern of polling on a status register until a bit is set or a
timeout occurs is repeated multiple times in the driver. Mutualize the
code by introducing the nand_wait_int() helper that does wait for the
bit to flip or returns an error in case of timeout.
Signed-off-by: Miquel Raynal
Acked-b
Add some clocks/PLL definitions as well as the dependency on MACH_SUN8I
in Kconfig.
Signed-off-by: Miquel Raynal
---
arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 6 ++
drivers/mtd/nand/Kconfig | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/arch/
Ensure the NAND controller reset line is deasserted before use.
Signed-off-by: Miquel Raynal
---
board/sunxi/board.c | 4
1 file changed, 4 insertions(+)
diff --git a/board/sunxi/board.c b/board/sunxi/board.c
index 8891961dcc..b8f58fe133 100644
--- a/board/sunxi/board.c
+++ b/board/sunxi/b
Move the ecc_bytes array out of nand_max_ecc_strength() for future use
by nand_read_page().
Signed-off-by: Miquel Raynal
Acked-by: Boris Brezillon
---
drivers/mtd/nand/sunxi_nand_spl.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/sunxi_nand_spl.c
b/dri
A previous commit introduced the use of binman in the SPL.
After the binman_sym call over the 'pos' symbol, the output value is
checked against BINMAN_SYM_MISSING (-1UL). According to the
documentation (tools/binman/README), when it comes to the 'pos'
attribute:
pos:
This sets the positio
When the requested ECC strength does not exactly match the strengths
supported by the ECC engine, the driver is selecting the closest
strength meeting the 'selected_strength > requested_strength'
constraint. Fix the fact that, in this particular case, ecc->strength
value was not updated to match th
Hello,
This series first adds fixes and enhancements to sunxi NAND drivers (SPL
and U-Boot). Once this is done, the SPL NAND driver is converted to use
PIO instead of DMA with the goal to support all SoCs with this IP
without the need for DMA-related code. Finally, NAND support is added to
Nintend
> All other rockchip boards have rk_board_late_init() hook,
> so add it to rk3188 boards also.
>
> Signed-off-by: Alexander Kochetkov
> ---
> arch/arm/mach-rockchip/rk3188-board.c |7 ++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
Reviewed-by: Philipp Tomsich
_
> Clean the iomux definitions at grf_rk3188.h, and move them into
> pinctrl-driver for resolving the compiling error of redefinition.
>
> Signed-off-by: Alexander Kochetkov
> ---
> arch/arm/include/asm/arch-rockchip/grf_rk3188.h | 380
> ---
> drivers/pinctrl/rockchip/pinct
> Clean the iomux definitions at grf_rk3036.h, and move them into
> pinctrl-driver for resolving the compiling error of redefinition.
>
> Signed-off-by: Alexander Kochetkov
> ---
> arch/arm/include/asm/arch-rockchip/grf_rk3036.h | 409 --
> drivers/pinctrl/rockchip/pinctrl_r
> The patch set dpll settings for 300MHz to values used by binary
> blob[1]. With new values dpll still generate 300MHz clock, but
> EMAC work. Probably with new values dpll generate more stable clock.
>
> dpll on rk3188 provide clocks to DDR and EMAC. With current
> dpll settings EMAC doesn't wor
> Clean the iomux definitions at grf_rk3188.h, and move them into
> pinctrl-driver for resolving the compiling error of redefinition.
>
> Signed-off-by: Alexander Kochetkov
> ---
> arch/arm/include/asm/arch-rockchip/grf_rk3188.h | 380
> ---
> drivers/pinctrl/rockchip/pinct
> All other rockchip boards have rk_board_late_init() hook,
> so add it to rk3188 boards also.
>
> Signed-off-by: Alexander Kochetkov
> ---
> arch/arm/mach-rockchip/rk3188-board.c |7 ++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
Acked-by: Philipp Tomsich
> Clean the iomux definitions at grf_rk3036.h, and move them into
> pinctrl-driver for resolving the compiling error of redefinition.
>
> Signed-off-by: Alexander Kochetkov
> ---
> arch/arm/include/asm/arch-rockchip/grf_rk3036.h | 409 --
> drivers/pinctrl/rockchip/pinctrl_r
> The patch set dpll settings for 300MHz to values used by binary
> blob[1]. With new values dpll still generate 300MHz clock, but
> EMAC work. Probably with new values dpll generate more stable clock.
>
> dpll on rk3188 provide clocks to DDR and EMAC. With current
> dpll settings EMAC doesn't wor
On Tue, Feb 27, 2018 at 01:52:38PM -0500, Liam Beguin wrote:
> Hi,
>
> On Tue, 27 Feb 2018 at 11:29 Stephen Warren wrote:
> >
> > Liam Beguin wrote at Monday, February 26, 2018 9:18 PM:
> > > Hi all,
> > >
> > > This is the inital step to adding tests for the SF subsystem plus very
> > > minor fi
From: Patrice Chotard
On linux kernel side, on STM32F7 and STM32H7 SoCs, DMA requires
uncachable regions. These regions are defined in DT.
Since kernel linux v4.15, on ARMv7-M Cortex, kernel is able
to configure MPU regions depending on DT settings.
As kernel is able to configure MPU, this allow
From: Patrice Chotard
Enable DOS_PARTITION for boards STM32F429-eval, STM32F469-disco
and STM32F746-disco.
This allows to read FAT partition on mmc.
Signed-off-by: Patrice Chotard
---
configs/stm32f429-evaluation_defconfig | 1 -
configs/stm32f469-discovery_defconfig | 1 -
configs/stm32f746-
If we use hardware with very small RAM (let's consider just a couple
of hundreds of kB but not megabytes) it is not super convenient to lose
64kB for statically allocated bufer which most probably won't be used
as big as it is. Typically we'll have much shorter data packages to
excahnge and in the
Prabhakar, Jagan,
On Wed, 28 Feb 2018 09:42:11 +
Prabhakar Kushwaha wrote:
> [Resending on correct patch of the patch-set]
>
> Dear Jagan,
>
>
> > -Original Message-
> > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of
> > Jagan Teki
> > Sent: Thursday, December 28,
Hi Jaehoon,
> -Original Message-
> From: Jaehoon Chung [mailto:jh80.ch...@samsung.com]
> Sent: Wednesday, February 28, 2018 1:13 PM
> To: Vipul Kumar ; u-boot@lists.denx.de
> Cc: Vipul Kumar ; michal.si...@xilinx.com; Siva Durga
> Prasad Paladugu
> Subject: Re: [U-Boot] [UBOOT PATCH v2 2/
Hi,
>
> >
> > >
> > > During update the not serviced watchdog reset the board and you may
> > > end up with brick.
> > >
> >
> > Depends on your setup and needs. If you have board with only one
> > watchdog when you boot from qspi but
> > reading variables from qspi failed (for whatever reason).
HI,
2018-02-28 12:06 GMT+01:00 Lukasz Majewski :
> Hi Michal,
>
> > Hi,
> >
> > 2018-02-28 9:51 GMT+01:00 Lukasz Majewski :
> >
> > > Hi Michal,
> > >
> > > > From: Shreenidhi Shedi
> > > >
> > > > This IP can be found on Zynq and ZynqMP devices.
> > > > The driver was tested with reset-on-timeo
Hi Michal,
> Hi,
>
> 2018-02-28 10:42 GMT+01:00 Lukasz Majewski :
>
> > On Wed, 28 Feb 2018 10:29:24 +0100
> > Michal Simek wrote:
> >
> > > HI,
> > >
> > > 2018-02-28 9:55 GMT+01:00 Lukasz Majewski :
> > >
> > > > On Mon, 26 Feb 2018 10:09:55 +0100
> > > > Michal Simek wrote:
> > > >
>
Hi Michal,
> Hi,
>
> 2018-02-28 9:51 GMT+01:00 Lukasz Majewski :
>
> > Hi Michal,
> >
> > > From: Shreenidhi Shedi
> > >
> > > This IP can be found on Zynq and ZynqMP devices.
> > > The driver was tested with reset-on-timeout; feature.
> > >
> > > Also adding WATCHDOG symbol to Kconfig becaus
This series of patch added Kconfig support for
CONFIG_ZYNQ_SDHCI_MAX_FREQ and CONFIG_ZYNQ_SDHCI_MIN_FREQ and
set the default values.
-Changes in V2:
-Set min. frequency for ep 100KHz
-Branch: u-boot-microblaze/kconfig
Vipul Kumar (2):
mmc: Added Kconfig support for CONFIG_ZYNQ_SDHCI_MAX_FREQ
This patch added Kconfig support for CONFIG_ZYNQ_SDHCI_MIN_FREQ
and enabled it in respective defconfig.
Signed-off-by: Vipul Kumar
Signed-off-by: Siva Durga Prasad Paladugu
---
- Changes in v2:
- Set min. frequency for ep 100KHz
- Branch: u-boot-microblaze/kconfig
---
configs/xilinx_zynqmp_ep_d
This patch added Kconfig support for CONFIG_ZYNQ_SDHCI_MAX_FREQ
and enabled it in respective defconfig.
Signed-off-by: Vipul Kumar
Signed-off-by: Siva Durga Prasad Paladugu
---
arch/arm/cpu/armv8/zynqmp/Kconfig | 3 +++
arch/arm/mach-zynq/Kconfig | 3 +++
configs/xilinx_zynqmp_ep_defco
Hi,
2018-02-28 10:42 GMT+01:00 Lukasz Majewski :
> On Wed, 28 Feb 2018 10:29:24 +0100
> Michal Simek wrote:
>
> > HI,
> >
> > 2018-02-28 9:55 GMT+01:00 Lukasz Majewski :
> >
> > > On Mon, 26 Feb 2018 10:09:55 +0100
> > > Michal Simek wrote:
> > >
> > > > Watchdog is only enabled in full u-boot.
On Wed, 28 Feb 2018 10:29:24 +0100
Michal Simek wrote:
> HI,
>
> 2018-02-28 9:55 GMT+01:00 Lukasz Majewski :
>
> > On Mon, 26 Feb 2018 10:09:55 +0100
> > Michal Simek wrote:
> >
> > > Watchdog is only enabled in full u-boot. Adoption for SPL should
> > > be also done because that's the right
[Resending on correct patch of the patch-set]
Dear Jagan,
> -Original Message-
> From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Jagan
> Teki
> Sent: Thursday, December 28, 2017 11:42 AM
> To: u-boot@lists.denx.de
> Cc: Tom Rini
> Subject: [U-Boot] [PATCH v10 03/27] mtd:
Hi,
2018-02-28 9:51 GMT+01:00 Lukasz Majewski :
> Hi Michal,
>
> > From: Shreenidhi Shedi
> >
> > This IP can be found on Zynq and ZynqMP devices.
> > The driver was tested with reset-on-timeout; feature.
> >
> > Also adding WATCHDOG symbol to Kconfig because it is required.
>
> If I may ask - w
Dear Jagan,
> -Original Message-
> From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Jagan
> Teki
> Sent: Thursday, December 28, 2017 11:42 AM
> To: u-boot@lists.denx.de
> Cc: Tom Rini
> Subject: [U-Boot] [PATCH v10 00/27] dm: Generic MTD Subsystem, with SPI-
> NOR interface
HI,
2018-02-28 9:55 GMT+01:00 Lukasz Majewski :
> On Mon, 26 Feb 2018 10:09:55 +0100
> Michal Simek wrote:
>
> > Watchdog is only enabled in full u-boot. Adoption for SPL should be
> > also done because that's the right place where watchdog should be
> > enabled.
> >
> > Signed-off-by: Michal Si
This patch added Kconfig support for CONFIG_ZYNQ_EEPROM_BUS
and CONFIG_ZYNQ_GEM_EEPROM_ADDR and enabled it in
respective defconfig.
Signed-off-by: Vipul Kumar
Signed-off-by: Siva Durga Prasad Paladugu
---
- Changes in V2:
- Added depends on ARCH_ZYNQ
- Branch: u-boot-microblaze/kconfig
---
conf
This patch enabled eeprom related u-boot headers in
the respective defconfig and removed CONFIG_ZYNQ_EEPROM.
Signed-off-by: Vipul Kumar
Signed-off-by: Siva Durga Prasad Paladugu
---
- Changes in v2:
- Removed CONFIG_ZYNQ_EEPROM for zynqmp.
- Enabled configs defined under CONFIG_ZYNQ_EEPROM for z
This series of patch added Kconfig support for eeprom u-boot
headers and enabled in respective defconfig.
These are the configs:
-CONFIG_ZYNQ_EEPROM_BUS
-CONFIG_ZYNQ_GEM_EEPROM_ADDR
-Changes in v2:
- Removed CONFIG_ZYNQ_EEPROM for zynqmp
- Enabled configs defined under CONFIG_ZYNQ_EEPROM for zynq
On Mon, 26 Feb 2018 23:18:00 +0200
Sam Protsenko wrote:
> Refactor the code for "part start" and "part size" commands to avoid
> code duplication.
>
> Signed-off-by: Sam Protsenko
> ---
> cmd/part.c | 61
> +++-- 1 file
> changed, 23 inser
On Mon, 26 Feb 2018 23:17:59 +0200
Sam Protsenko wrote:
> Allow passing the partition name to "part start" and "part size"
> commands, so we can avoid magic numbers in the environment.
>
> Consider one real use-case: in include/environment/ti/boot.h we have
> commands like these:
>
> setenv
On Mon, 26 Feb 2018 19:59:46 +0530
Faiz Abbas wrote:
> Hi,
>
> On Sunday 25 February 2018 07:18 PM, Tom Rini wrote:
> > On Sun, Feb 25, 2018 at 09:53:10AM +0100, Wolfgang Denk wrote:
> >> Dear Tom Rini,
> >>
> >> In message <20180224215325.GQ4311@bill-the-cat> you wrote:
> >>>
> Why d
On Mon, 26 Feb 2018 10:09:55 +0100
Michal Simek wrote:
> Watchdog is only enabled in full u-boot. Adoption for SPL should be
> also done because that's the right place where watchdog should be
> enabled.
>
> Signed-off-by: Michal Simek
> ---
>
> Changes in v2:
> - Make watchdog_reset depends o
Hi Michal,
> From: Shreenidhi Shedi
>
> This IP can be found on Zynq and ZynqMP devices.
> The driver was tested with reset-on-timeout; feature.
>
> Also adding WATCHDOG symbol to Kconfig because it is required.
If I may ask - what is the purpose of adding separate WATCHDOG symbol?
Cannot HW_
69 matches
Mail list logo