Re: [U-Boot] [PATCH 1/4] ARM: dts: at91: sama5d2: add seq for qspi1

2019-09-11 Thread Eugen.Hristev
On 26.08.2019 09:47, Eugen Hristev - M18282 wrote: > From: Eugen Hristev > > qspi1 does not have an alias/seq number. This is required for > SPL default SF bus booting for the boards that have this SoC > > Signed-off-by: Eugen Hristev > --- Applied series to u-boot-atmel/next ___

[U-Boot] [PATCH] configs: sama5d27_wlsom1_ek: add CONFIG_SPL_AT91_MCK_BYPASS

2019-09-04 Thread Eugen.Hristev
From: Eugen Hristev This board has an external oscillator as MCK that does not need driving. Bypass the driving for the main oscillator in SPL. Signed-off-by: Eugen Hristev --- configs/sama5d27_wlsom1_ek_mmc_defconfig | 1 + configs/sama5d27_wlsom1_ek_qspiflash_defconfig | 1 + 2 files c

[U-Boot] [PATCH] board: atmel: common: remove year from print message

2019-08-28 Thread Eugen.Hristev
From: Eugen Hristev Remove 2017 from being printed at boot video console. This is outdated. To avoid this situation, remove the year completely. Signed-off-by: Eugen Hristev --- board/atmel/common/video_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/atmel/c

Re: [U-Boot] [PATCH] arm: at91: gardena-smart-gateway-at91sam: Enable CONFIG_SYS_NAND_USE_FLASH_BBT

2019-08-27 Thread Eugen.Hristev
On 27.08.2019 09:14, Stefan Roese wrote: > > This patch enables the BBT in NAND on the AT91SAM based GARDENA smart > Gateway. This is especially important, since the Linux driver also > enables this option and uses the BBT table pages. Without setting this > option, U-Boot will try to re-use th

[U-Boot] [PATCH] ARM: dts: at91: sama5d27_wlsom1: add hlcdc node

2019-08-26 Thread Eugen.Hristev
From: Eugen Hristev Add node for hlcld for u-boot logo display at boot. This is compatible with the Precision Design Associates (PDA) TM5000 screen. Timings are compatible with simple panel from Linux, panel name is pda_91_00156_a0 Signed-off-by: Eugen Hristev --- This patch depends on previou

Re: [U-Boot] [PATCH 1/7] ARM: at91: Add the chip ID for SAMA5D2 LPDDR2 SiP

2019-08-26 Thread Eugen.Hristev
On 08.08.2019 10:48, eugen.hris...@microchip.com wrote: > From: Nicolas Ferre > > The SAMA5D2 LPDDR2 SiP (System in Package) is added for SoC > identification. > > Signed-off-by: Nicolas Ferre > --- Applied this series to u-boot-atmel/next to be queued for next merge window. ___

[U-Boot] [PATCH 2/4] ARM: dts: at91: sama5d27_wlsom1_ek: add support for qspi

2019-08-25 Thread Eugen.Hristev
From: Eugen Hristev Add node for qspi1 memory connected on the wlsom Signed-off-by: Eugen Hristev --- arch/arm/dts/at91-sama5d27_wlsom1_ek-u-boot.dtsi | 12 arch/arm/dts/at91-sama5d27_wlsom1_ek.dts | 4 arch/arm/dts/sama5d27_wlsom1.dtsi| 22 ++

[U-Boot] [PATCH 4/4] board: atmel: sama5d27_wlsom1_ek: start green led in SPL

2019-08-25 Thread Eugen.Hristev
From: Eugen Hristev When SPL boots, enable green led on the board. Signed-off-by: Eugen Hristev --- board/atmel/sama5d27_wlsom1_ek/sama5d27_wlsom1_ek.c | 8 1 file changed, 8 insertions(+) diff --git a/board/atmel/sama5d27_wlsom1_ek/sama5d27_wlsom1_ek.c b/board/atmel/sama5d27_wlsom1

[U-Boot] [PATCH 1/4] ARM: dts: at91: sama5d2: add seq for qspi1

2019-08-25 Thread Eugen.Hristev
From: Eugen Hristev qspi1 does not have an alias/seq number. This is required for SPL default SF bus booting for the boards that have this SoC Signed-off-by: Eugen Hristev --- arch/arm/dts/sama5d2.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/sama5d2.dtsi b/arch/arm/dts

[U-Boot] [PATCH 3/4] board: atmel: sama5d2_wlsom1_ek: add qspi support and qspi boot config

2019-08-25 Thread Eugen.Hristev
From: Eugen Hristev Add support for qspi memory on board. Created boot support for QSPI for both u-boot proper and SPL. Signed-off-by: Eugen Hristev --- board/atmel/sama5d27_wlsom1_ek/MAINTAINERS | 1 + .../atmel/sama5d27_wlsom1_ek/sama5d27_wlsom1_ek.c | 17 +++ configs/sama5d27_wl

[U-Boot] [PATCH 7/7] board: atmel: sama5d2_wlsom1_ek: add SPL support

2019-08-08 Thread Eugen.Hristev
From: Eugen Hristev Add support for SPL for this board: DRAM initialization, PMC initialization, MMC boot. Signed-off-by: Eugen Hristev --- arch/arm/mach-at91/Kconfig | 1 + .../atmel/sama5d27_wlsom1_ek/sama5d27_wlsom1_ek.c | 147 + configs/sama5d

[U-Boot] [PATCH 3/7] ARM: at91: sfr: convert to Kconfig

2019-08-08 Thread Eugen.Hristev
From: Eugen Hristev This converts the at91 sfr to Kconfig Signed-off-by: Eugen Hristev --- arch/arm/mach-at91/Kconfig | 9 - arch/arm/mach-at91/Makefile| 5 +++-- arch/arm/mach-at91/atmel_sfr.c | 3 +++ 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/arch/arm/ma

[U-Boot] [PATCH 4/7] ARM: at91: sfr: implement DDR input buffers open function

2019-08-08 Thread Eugen.Hristev
From: Eugen Hristev Add a function in SFR implementation that will open the DDR input buffers. This can be called at DRAM initialization time. Signed-off-by: Eugen Hristev --- arch/arm/mach-at91/atmel_sfr.c| 11 +++ arch/arm/mach-at91/include/mach/at91_common.h | 3 +++

[U-Boot] [PATCH 2/7] board: atmel: add sama5d27_wlsom1_ek board

2019-08-08 Thread Eugen.Hristev
From: Nicolas Ferre Add support for the SAMA5D27-WLSOM1-EK. It's based on the Microchip WireLess SoM which contains the SAMa5D27 LPDDR2 2Gbits SiP. Signed-off-by: Nicolas Ferre [eugen.hris...@microchip.com]: added u-boot specific dtsi and ported to 2019.10 Signed-off-by: Eugen Hristev --- arc

[U-Boot] [PATCH 6/7] ARM: at91: mpddrc: add lpddr2 initialization procedure

2019-08-08 Thread Eugen.Hristev
From: Eugen Hristev Implement the lpddr2 initialization procedure for at91 mpddrc multi-port ddram controller. Signed-off-by: Eugen Hristev --- arch/arm/mach-at91/include/mach/atmel_mpddrc.h | 23 arch/arm/mach-at91/mpddrc.c| 162 + 2 files cha

[U-Boot] [PATCH 5/7] board: laird: wb50n: use configure_ddrcfg_input_buffers

2019-08-08 Thread Eugen.Hristev
From: Eugen Hristev Replace code with new function configure_ddrcfg_input_buffers from SFR mach driver. Signed-off-by: Eugen Hristev --- arch/arm/mach-at91/Kconfig | 1 + board/laird/wb50n/wb50n.c | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-at91/Kcon

[U-Boot] [PATCH 1/7] ARM: at91: Add the chip ID for SAMA5D2 LPDDR2 SiP

2019-08-08 Thread Eugen.Hristev
From: Nicolas Ferre The SAMA5D2 LPDDR2 SiP (System in Package) is added for SoC identification. Signed-off-by: Nicolas Ferre --- arch/arm/mach-at91/armv7/sama5d2_devices.c | 8 arch/arm/mach-at91/include/mach/sama5d2.h | 4 2 files changed, 12 insertions(+) diff --git a/arch/ar

Re: [U-Boot] [PATCH 1/7] mmc: atmel_sdhci: fix uninitialized pointer deref on probe

2019-08-08 Thread Eugen.Hristev
On 08.08.2019 04:47, Peng Fan wrote: >> Subject: Re: [U-Boot] [PATCH 1/7] mmc: atmel_sdhci: fix uninitialized pointer >> deref on probe >> >> >> >> On 07.08.2019 13:04, Peng Fan wrote: >> >>> Subject: Re: [U-Boot] [PATCH 1/7] mmc: atmel_sdhci: fix uninitialized pointer deref on probe >

Re: [U-Boot] [PATCH 1/7] mmc: atmel_sdhci: fix uninitialized pointer deref on probe

2019-08-07 Thread Eugen.Hristev
On 07.08.2019 13:04, Peng Fan wrote: > >> Subject: Re: [U-Boot] [PATCH 1/7] mmc: atmel_sdhci: fix uninitialized pointer >> deref on probe >> >> Tested-by: Eugen Hristev >> >> This has to go as soon as possible into the tree. >> The at91 boards do not boot without this. The commit checking for

Re: [U-Boot] [PATCH 1/7] mmc: atmel_sdhci: fix uninitialized pointer deref on probe

2019-08-07 Thread Eugen.Hristev
Tested-by: Eugen Hristev This has to go as soon as possible into the tree. The at91 boards do not boot without this. The commit checking for sdhci-caps-mask introduces a crash at this point. I can take it through atmel tree if needed. Thanks, Eugen On 06.08.2019 05:47, Peng Fan wrote: > > C

[U-Boot] [PULL] u-boot-atmel-2019.10-a

2019-07-09 Thread Eugen.Hristev
Hello Tom, Please pull tag u-boot-atmel-2019.10-a , the first set of new features and fixes for u-boot-atmel for 2019.10 release. This includes the Atmel QSPI driver and support for the at91 boards. This is the port of the driver from Linux, mostly done by Tudor Ambarus Travis CI: https://travi

Re: [U-Boot] [PATCH v5 00/10] spi: Add Atmel QuadSPI driver

2019-07-08 Thread Eugen.Hristev
On 29.06.2019 17:55, Jagan Teki wrote: > Hi Eugen, > > On Tue, Jun 25, 2019 at 9:10 PM Jagan Teki wrote: >> >> On Tue, Jun 25, 2019 at 5:05 PM wrote: >>> >>> Hello Jagan, >>> >>> I can only take these patches through u-boot-atmel tree if you >>> Ack/Review them. >>> Otherwise you can consider

[U-Boot] [PULL] u-boot-atmel-fixes-2019.07-b

2019-07-01 Thread Eugen.Hristev
Hello Tom, Please pull tag u-boot-atmel-fixes-2019.07-b , the second set of fixes for u-boot-atmel for 2019.07 release. This includes a single small fix on the common atmel board code. It should be the last fix for this release cycle. Travis CI: https://travis-ci.org/ehristev/u-boot/builds/5526

Re: [U-Boot] [PATCH] board: atmel: fix pda variable not being reset

2019-06-27 Thread Eugen.Hristev
On 13.06.2019 09:22, Eugen Hristev - M18282 wrote: > From: Eugen Hristev > > In case someone detects a PDA and u-boot sets the 'pda' variable, > and the user does a saveenv, the pda is set in env, and if the > screen is removed, u-boot will still have in the env the 'pda' > variable, even if no

Re: [U-Boot] [PATCH v5 00/10] spi: Add Atmel QuadSPI driver

2019-06-25 Thread Eugen.Hristev
Hello Jagan, I can only take these patches through u-boot-atmel tree if you Ack/Review them. Otherwise you can consider taking them through u-boot-spi ? Thanks, Eugen On 18.06.2019 11:51, Tudor Ambarus - M18064 wrote: > From: Tudor Ambarus > > Backport the driver from linux v5.1-rc5 and adapt

[U-Boot] [PATCH] board: atmel: fix pda variable not being reset

2019-06-12 Thread Eugen.Hristev
From: Eugen Hristev In case someone detects a PDA and u-boot sets the 'pda' variable, and the user does a saveenv, the pda is set in env, and if the screen is removed, u-boot will still have in the env the 'pda' variable, even if no screen is attached. In order to fix this, we have to reset the '

[U-Boot] [PULL] u-boot-atmel-fixes-2019.07-a

2019-06-09 Thread Eugen.Hristev
Hello Tom, Please pull tag u-boot-atmel-fixes-2019.07-a , the first set of fixes for u-boot-atmel for 2019.07 release. The fixes include small SPL fixes for the sama5d2 ICP board, and nand flash fixes for sama5d2 PTC and sama5d4_xplained Travis CI: https://travis-ci.org/ehristev/u-boot/builds

Re: [U-Boot] [PATCH 1/2] spl: at91: add support for SPL_AT91_MCK_BYPASS

2019-06-09 Thread Eugen.Hristev
On 24.05.2019 09:47, Eugen Hristev - M18282 wrote: > From: Eugen Hristev > > By default the configuration of the PMC is to have an external crystal > connected that requires driving on both XIN and XOUT pins. > The bypass configuration means that only XIN will be used, the SoC will not > do any

Re: [U-Boot] [PATCH] configs: atmel: sama5d4_xplained_mmc: enable HW PMECC

2019-06-09 Thread Eugen.Hristev
On 28.05.2019 12:35, Eugen Hristev - M18282 wrote: > From: Eugen Hristev > > NAND: BUG at drivers/mtd/nand/raw/nand_base.c:4361/nand_scan_tail()! > > This board has a NAND flash enabled, and it requires the HW PMECC in order > to correctly probe this flash. > In the NAND flash configuration ,

[U-Boot] [PATCH] configs: atmel: sama5d4_xplained_mmc: enable HW PMECC

2019-05-28 Thread Eugen.Hristev
From: Eugen Hristev NAND: BUG at drivers/mtd/nand/raw/nand_base.c:4361/nand_scan_tail()! This board has a NAND flash enabled, and it requires the HW PMECC in order to correctly probe this flash. In the NAND flash configuration , this is selected by the GENERATE_PMECC_HEADER which is not needed

Re: [U-Boot] [PATCH] configs: sama5d2_ptc_ek: fix NAND PMECC_CAP

2019-05-23 Thread Eugen.Hristev
On 15.05.2019 12:12, Tudor Ambarus - M18064 wrote: > From: Tudor Ambarus > > CONFIG_PMECC_CAP has a higher priority than its ONFI detected > parameter and will overwrite it when defined. As per commit > 49ad40298cc5, CONFIG_PMECC_CAP has a default value of 2 if not > otherwise stated. This resu

[U-Boot] [PATCH 2/2] configs: at91: sama5d2_icp: enable CONFIG_SPL_AT91_MCK_BYPASS and resync

2019-05-23 Thread Eugen.Hristev
From: Eugen Hristev Enabled CONFIG_SPL_AT91_MCK_BYPASS and resync with savedefconfig Signed-off-by: Eugen Hristev --- configs/sama5d2_icp_mmc_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/sama5d2_icp_mmc_defconfig b/configs/sama5d2_icp_mmc_defconfig i

[U-Boot] [PATCH 1/2] spl: at91: add support for SPL_AT91_MCK_BYPASS

2019-05-23 Thread Eugen.Hristev
From: Eugen Hristev By default the configuration of the PMC is to have an external crystal connected that requires driving on both XIN and XOUT pins. The bypass configuration means that only XIN will be used, the SoC will not do any driving, and the XIN needs to be provided with a proper signal.

Re: [U-Boot] [PATCH 1/3] board: atmel: sama5d2_icp: add periph reset in SPL hw init

2019-05-14 Thread Eugen.Hristev
On 08.05.2019 15:58, Eugen Hristev - M18282 wrote: > From: Eugen Hristev > > Some periphs on the board need to be reset by holding their reset GPIO down > for a specific time period. > On a warm reset, the periphs are not being reset by any reset pin and may be > in a wrong state. > Reset them

Re: [U-Boot] [PATCH] arm: at91: gardena-smart-gateway-at91sam: Enable CMD_WDT

2019-05-14 Thread Eugen.Hristev
On 08.05.2019 15:47, Stefan Roese wrote: > > This patch enables the "wdt" command, which is quite useful for watchdog > testing. > > Signed-off-by: Stefan Roese > Cc: Eugen Hristev > --- Applied to u-boot-atmel/master, thanks ! ___ U-Boot mailing

Re: [U-Boot] [PATCH v2] spl: kconfig: separate sysreset and firmware drivers from misc

2019-05-10 Thread Eugen.Hristev
On 08.05.2019 22:45, Simon Goldschmidt wrote: > This adds separate kconfig options for drivers/sysreset and > drivers/firmware. > > Up to now, CONFIG_SPL_DRIVERS_MISC_SUPPORT added drivers/misc to SPL > build but also added drivers/firmware and drivers/sysreset at the same > time. > > Since th

[U-Boot] [PATCH 3/3] board: atmel: sama5d2_icp: enable green led on SPL completion

2019-05-08 Thread Eugen.Hristev
From: Eugen Hristev Enable the green led on SPL completion. Red led has no pulldown and it will be lighted by default when the board starts up. If the PMIC is not configured to enable LDO2, the leds will not light. Signed-off-by: Eugen Hristev --- board/atmel/sama5d2_icp/sama5d2_icp.c | 8

[U-Boot] [PATCH 1/3] board: atmel: sama5d2_icp: add periph reset in SPL hw init

2019-05-08 Thread Eugen.Hristev
From: Eugen Hristev Some periphs on the board need to be reset by holding their reset GPIO down for a specific time period. On a warm reset, the periphs are not being reset by any reset pin and may be in a wrong state. Reset them in the SPL to make sure we are booting into the correct state machi

[U-Boot] [PATCH 2/3] board: atmel: sama5d2_icp: standby disable on CAN transceivers in SPL

2019-05-08 Thread Eugen.Hristev
From: Eugen Hristev The 2 CAN transceivers have a STBDY pin which must be low in order to operate. This pin is tied to PB25. Set it to 0 in bootstrap. At a later time, this needs to be controlled by Linux power management system, or requested by some driver as a gpio and tied to 0 during CAN link

[U-Boot] [PULL] u-boot-atmel-2019.07-b

2019-04-22 Thread Eugen.Hristev
Hello Tom, Please pull tag u-boot-atmel-2019.07-b , the second set of new features and fixes for u-boot-atmel for 2019.07 release. The features include the new SAMA5D2 Industrial Connectivity Platform (ICP) and some minor fixes on corvus and sam9260. Travis CI: https://travis-ci.org/ehristev/u

Re: [U-Boot] [PATCH] at91: corvus_defconfig: get rid of build warnings

2019-04-22 Thread Eugen.Hristev
On 15.04.2019 14:53, Heiko Schocher wrote: > fix CONFIG_OF_EMBED and add CONFIG_DM_USB > build warnings. > > Signed-off-by: Heiko Schocher > --- Applied to u-boot-atmel/master, thanks ! ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.den

Re: [U-Boot] [PATCH 2/2] board: sama5d2_icp: Enable MACB driver

2019-04-17 Thread Eugen.Hristev
On 12.04.2019 14:58, Eugen Hristev - M18282 wrote: > From: Razvan Stefanescu > > Signed-off-by: Razvan Stefanescu > --- Applied to u-boot-atmel/master ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v3] board: atmel: add SAMA5D2 ICP board

2019-04-17 Thread Eugen.Hristev
On 12.04.2019 09:48, Eugen Hristev - M18282 wrote: > From: Eugen Hristev > > The SAMA5D2 ICP Board features the SAMA5D27 SoC, > together with QSPI Flash, Wilc3000 wireless device and > EtherCat support. > > Signed-off-by: Eugen Hristev > --- > Changes in v3: > - Added CONFIG_SPL_RAM_DEVICE=

Re: [U-Boot] [PATCH 1/2] ARM: dts: at91-sama5d2-icp: Add MACB node

2019-04-17 Thread Eugen.Hristev
On 12.04.2019 14:58, Eugen Hristev - M18282 wrote: > From: Razvan Stefanescu > > MACB has a fixed link connection to KSZ8563 switch port. > > Signed-off-by: Razvan Stefanescu > --- Applied to u-boot-atmel/master ___ U-Boot mailing list U-Boot@lists

Re: [U-Boot] [PATCH v2] mtd: nand: raw: Fix CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT behavior

2019-04-17 Thread Eugen.Hristev
On 17.04.2019 12:22, Gregory CLEMENT wrote: > The purpose of "mtd: nand: raw: allow to disable unneeded ECC layouts" > was to allow disabling the default ECC layouts if a driver is known to > provide its own ECC layout. However, this commit did the opposite and > disabled the default layout when

Re: [U-Boot] [PATCH 1/2] at91sam9260.dtsi: add some labels

2019-04-15 Thread Eugen.Hristev
On 11.04.2019 08:53, Heiko Schocher wrote: > > add labels to rtc, pinctrl and watchdog node. > > This makes it possible to reference the nodes > from board dts files. > > Signed-off-by: Heiko Schocher > --- Applied this one patch to u-boot-atmel/master Thanks !

Re: [U-Boot] [PATCH 2/2] at91: cleanup taurus port

2019-04-12 Thread Eugen.Hristev
On 12.04.2019 15:53, Heiko Schocher wrote: > External E-Mail > > > Hello eugen, > > Am 12.04.2019 um 13:24 schrieb eugen.hris...@microchip.com: >> >> >> On 11.04.2019 08:53, Heiko Schocher wrote: >> >>> >>> - at91sam9g20-taurus.dts: use labels >>> - cleanup taurus port to compile clean with >>

[U-Boot] [PATCH 2/2] board: sama5d2_icp: Enable MACB driver

2019-04-12 Thread Eugen.Hristev
From: Razvan Stefanescu Signed-off-by: Razvan Stefanescu --- configs/sama5d2_icp_mmc_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/sama5d2_icp_mmc_defconfig b/configs/sama5d2_icp_mmc_defconfig index 203b869..6d4d199 100644 --- a/configs/sama5d2_icp_mmc_defconfig +++ b

[U-Boot] [PATCH 1/2] ARM: dts: at91-sama5d2-icp: Add MACB node

2019-04-12 Thread Eugen.Hristev
From: Razvan Stefanescu MACB has a fixed link connection to KSZ8563 switch port. Signed-off-by: Razvan Stefanescu --- arch/arm/dts/at91-sama5d2_icp.dts | 37 + 1 file changed, 37 insertions(+) diff --git a/arch/arm/dts/at91-sama5d2_icp.dts b/arch/arm/dts/a

Re: [U-Boot] [PATCH 2/2] at91: cleanup taurus port

2019-04-12 Thread Eugen.Hristev
On 11.04.2019 08:53, Heiko Schocher wrote: > > - at91sam9g20-taurus.dts: use labels > - cleanup taurus port to compile clean with >current mainline again. SPL has no serial >output anymore, so it fits into SRAM. > > Signed-off-by: Heiko Schocher [snip] Hello Heiko, This patch has s

[U-Boot] [PATCH v3] board: atmel: add SAMA5D2 ICP board

2019-04-11 Thread Eugen.Hristev
From: Eugen Hristev The SAMA5D2 ICP Board features the SAMA5D27 SoC, together with QSPI Flash, Wilc3000 wireless device and EtherCat support. Signed-off-by: Eugen Hristev --- Changes in v3: - Added CONFIG_SPL_RAM_DEVICE=y to fix build warning Changes in v2: - created at91-sama5d2_icp-u-boot.

[U-Boot] [PATCH v2] board: atmel: add SAMA5D2 ICP board

2019-04-09 Thread Eugen.Hristev
From: Eugen Hristev The SAMA5D2 ICP Board features the SAMA5D27 SoC, together with QSPI Flash, Wilc3000 wireless device and EtherCat support. Signed-off-by: Eugen Hristev --- Changes in v2: - created at91-sama5d2_icp-u-boot.dtsi with the pre-reloc properties - removed some #ifdef as suggeste

[U-Boot] [PULL] u-boot-atmel-2019.07-a

2019-04-09 Thread Eugen.Hristev
Hello Tom, Please pull tag u-boot-atmel-2019.07-a , the first set of new features and fixes for u-boot-atmel for 2019.07 release. The features include the pincontrol drive strength/slew rate for Microchip at91 9x60 SoC, new Gardena board, pm9g45 migration to DM, SPL and watchdog fixes for at91

Re: [U-Boot] [PATCH] board: atmel: add SAMA5D2 ICP board

2019-04-08 Thread Eugen.Hristev
Hi Stefan, Thanks for reviewing, On 08.04.2019 15:59, Stefan Roese wrote: > > On 08.04.19 14:50, eugen.hris...@microchip.com wrote: >> From: Eugen Hristev >> >> The SAMA5D2 ICP Board features the SAMA5D27 SoC, >> together with QSPI Flash, Wilc3000 wireless device and >> EtherCat support. >>

[U-Boot] [PATCH] board: atmel: add SAMA5D2 ICP board

2019-04-08 Thread Eugen.Hristev
From: Eugen Hristev The SAMA5D2 ICP Board features the SAMA5D27 SoC, together with QSPI Flash, Wilc3000 wireless device and EtherCat support. Signed-off-by: Eugen Hristev --- arch/arm/dts/Makefile | 3 + arch/arm/dts/at91-sama5d2_icp.dts | 100 + arch/arm/

Re: [U-Boot] [PATCH 0/4] add drive strenght and slew rate support for SAM9X60

2019-04-07 Thread Eugen.Hristev
On 25.03.2019 12:33, claudiu.bez...@microchip.com wrote: > From: Claudiu Beznea > > Hi, > > This series adds support for drive strength and slew rate support for > Microchip SAMX60's pin controller. For drive strenght we could have 2 > values: low, high. For slew rate we could have 2 values:

Re: [U-Boot] [PATCH] net: macb: Add small delay after link establishment

2019-04-07 Thread Eugen.Hristev
On 05.04.2019 04:35, Joe Hershberger wrote: > > On Wed, Mar 27, 2019 at 5:20 AM Stefan Roese wrote: >> >> I've noticed that the first ethernet packet after PHY link establishment >> is not tranferred correctly most of the time on my AT91SAM9G25 board. >> Here I usually see a timeout of a few s

Re: [U-Boot] [PATCH 10/13 v5] Makefile: Add Kconfig option CONFIG_SPL_IMAGE to select the SPL binary

2019-04-04 Thread Eugen.Hristev
On 03.04.2019 16:24, Stefan Roese wrote: > This patch adds the CONFIG_SPL_IMAGE option to select the SPL image that > shall be used to generate the combined SPL + U-Boot image. The default > value is the current value "spl/u-boot-spl.bin". > > This patch also sets CONFIG_SPL_IMAGE to "spl/boot.

Re: [U-Boot] [PATCH v2] board: pm9g45: Migrate to CONFIG_DM

2019-04-04 Thread Eugen.Hristev
On 03.04.2019 17:50, Ilko Iliev wrote: > Migrate the following options to CONFIG_DM: >CONFIG_DM_GPIO >CONFIG_DM_MMC >CONFIG_DM_ETH >CONFIG_DM_SERIAL >CONFIG_DM_USB > > Signed-off-by: Ilko Iliev Applied to u-boot-atmel/next Thanks ! _

Re: [U-Boot] [PATCH 10/13 v3] Makefile: Add Kconfig option CONFIG_SPL_IMAGE to select the SPL binary

2019-04-03 Thread Eugen.Hristev
On 03.04.2019 15:38, Stefan Roese wrote: > External E-Mail > > > On 03.04.19 14:31, eugen.hris...@microchip.com wrote: >> >> >> On 03.04.2019 15:22, Stefan Roese wrote: >>> External E-Mail >>> >>> >>> Hi Eugen, >>> >>> On 03.04.19 13:21, Stefan Roese wrote: >>> >>> >>> >> If I try to just

Re: [U-Boot] [PATCH 10/13 v3] Makefile: Add Kconfig option CONFIG_SPL_IMAGE to select the SPL binary

2019-04-03 Thread Eugen.Hristev
On 03.04.2019 15:22, Stefan Roese wrote: > External E-Mail > > > Hi Eugen, > > On 03.04.19 13:21, Stefan Roese wrote: > > > If I try to just use menuconfig and change this value to something else, build fails. The purpose of this Kconfig is to name the SPL filename as p

Re: [U-Boot] [PATCH 10/13 v3] Makefile: Add Kconfig option CONFIG_SPL_IMAGE to select the SPL binary

2019-04-03 Thread Eugen.Hristev
On 03.04.2019 14:03, Eugen Hristev wrote: > > > On 02.04.2019 11:57, Stefan Roese wrote: > >> >> This patch adds the CONFIG_SPL_IMAGE option to select the SPL image that >> shall be used to generate the combined SPL + U-Boot image. The default >> value is the current value "spl/u-boot-spl.bin"

Re: [U-Boot] [PATCH 10/13 v3] Makefile: Add Kconfig option CONFIG_SPL_IMAGE to select the SPL binary

2019-04-03 Thread Eugen.Hristev
On 02.04.2019 11:57, Stefan Roese wrote: > > This patch adds the CONFIG_SPL_IMAGE option to select the SPL image that > shall be used to generate the combined SPL + U-Boot image. The default > value is the current value "spl/u-boot-spl.bin". > > This patch also sets CONFIG_SPL_IMAGE to "spl/bo

Re: [U-Boot] [PATCH 3/13 v4] serial: atmel_usart: Use fixed clock value in SPL version with DM_SERIAL

2019-04-03 Thread Eugen.Hristev
On 03.04.2019 13:58, Stefan Roese wrote: > Hi Eugen, > > On 03.04.19 12:52, eugen.hris...@microchip.com wrote: >> >> >> On 02.04.2019 14:21, Stefan Roese wrote: >> >>> This patch adds an alterative SPL version of atmel_serial_enable_clk(). >>> This enables the usage of this driver without full

Re: [U-Boot] [PATCH 3/13 v4] serial: atmel_usart: Use fixed clock value in SPL version with DM_SERIAL

2019-04-03 Thread Eugen.Hristev
On 02.04.2019 14:21, Stefan Roese wrote: > This patch adds an alterative SPL version of atmel_serial_enable_clk(). > This enables the usage of this driver without full clock support (in > drivers and DT nodes). This saves some space in the SPL image. > > Please note that this fixed clock suppor

Re: [U-Boot] [PATCH] net: macb: Add small delay after link establishment

2019-04-02 Thread Eugen.Hristev
On 29.03.2019 17:24, Stefan Roese wrote: > > On 29.03.19 15:59, eugen.hris...@microchip.com wrote: >> >> >> On 29.03.2019 16:52, Stefan Roese wrote: >> >>> Hi Eugen, >>> >>> On 29.03.19 15:40, eugen.hris...@microchip.com wrote: > I've noticed that the first ethernet packet after PHY link >

Re: [U-Boot] [PATCH 07/13 v3] arm: at91: Enable watchdog support

2019-04-02 Thread Eugen.Hristev
On 02.04.2019 11:57, Stefan Roese wrote: > > This patch enables and starts the watchdog on the AT91 platform if > configured. The WD timeout value is read in the AT91 WD device driver > from the DT, using the "timeout-sec" DT property. If not provided in > the DT, the default value of 2 seconds

Re: [U-Boot] [PATCH 06/13 v3] arm: at91: Remove CONFIG_AT91_HW_WDT_TIMEOUT

2019-04-02 Thread Eugen.Hristev
On 02.04.2019 11:57, Stefan Roese wrote: > External E-Mail > > > This patch removes the CONFIG_AT91_HW_WDT_TIMEOUT as its not needed any > more. The WD timeout value can be provided via the "timeout-sec" DT > property. If not provided this way, the default value of 2 seconds will > be used. >

Re: [U-Boot] [PATCH 03/13 v3] serial: atmel_usart: Use fixed clock value in SPL version with DM_SERIAL

2019-04-02 Thread Eugen.Hristev
On 02.04.2019 13:40, Stefan Roese wrote: > External E-Mail > > > Hi Eugen, > > On 02.04.19 12:12, eugen.hris...@microchip.com wrote: >> >> >> On 02.04.2019 11:57, Stefan Roese wrote: >> >>> This patch adds an alterative SPL version of atmel_serial_enable_clk(). >>> This enables the usage of th

Re: [U-Boot] [PATCH 03/13 v3] serial: atmel_usart: Use fixed clock value in SPL version with DM_SERIAL

2019-04-02 Thread Eugen.Hristev
On 02.04.2019 11:57, Stefan Roese wrote: > This patch adds an alterative SPL version of atmel_serial_enable_clk(). > This enables the usage of this driver without full clock support (in > drivers and DT nodes). This saves some space in the SPL image. > > Please note that this fixed clock suppor

[U-Boot] [PATCH v2] travis-ci: fix at91 missing boards

2019-04-01 Thread Eugen.Hristev
From: Eugen Hristev Fix missing at91 boards and split the at91 in two categories: at91 arm v7 at91 arm926esj which are the two main cores for the at91 architecture. Signed-off-by: Eugen Hristev --- Changes in v2: - replaced atmel with at91 everywhere, not just the split travis for this patch

Re: [U-Boot] [PATCH 09/12 v2] Makefile: Add Kconfig option CONFIG_SPL_IMAGE to select the SPL binary

2019-03-29 Thread Eugen.Hristev
On 29.03.2019 17:53, Stefan Roese wrote: > External E-Mail > > > On 29.03.19 11:04, eugen.hris...@microchip.com wrote: >> >> >> On 26.03.2019 14:16, Stefan Roese wrote: >> >>> >>> This patch adds the CONFIG_SPL_IMAGE option to select the SPL image that >>> shall be used to generate the combined

Re: [U-Boot] [PATCH] net: macb: Add small delay after link establishment

2019-03-29 Thread Eugen.Hristev
On 29.03.2019 16:52, Stefan Roese wrote: > Hi Eugen, > > On 29.03.19 15:40, eugen.hris...@microchip.com wrote: >>> I've noticed that the first ethernet packet after PHY link establishment >>> is not tranferred correctly most of the time on my AT91SAM9G25 board. >>> Here I usually see a timeout

Re: [U-Boot] [PATCH] net: macb: Add small delay after link establishment

2019-03-29 Thread Eugen.Hristev
On 27.03.2019 12:20, Stefan Roese wrote: > I've noticed that the first ethernet packet after PHY link establishment > is not tranferred correctly most of the time on my AT91SAM9G25 board. > Here I usually see a timeout of a few seconds, which is quite > annoying. > > Adding a small delay (10ms

Re: [U-Boot] [PATCH 09/12 v2] Makefile: Add Kconfig option CONFIG_SPL_IMAGE to select the SPL binary

2019-03-29 Thread Eugen.Hristev
On 26.03.2019 14:16, Stefan Roese wrote: > > This patch adds the CONFIG_SPL_IMAGE option to select the SPL image that > shall be used to generate the combined SPL + U-Boot image. The default > value is the current value "spl/u-boot-spl.bin". > > This patch also sets CONFIG_SPL_IMAGE to "spl/boo

Re: [U-Boot] [PATCH 03/12 v2] serial: atmel_usart: Use fixed clock value in SPL version with DM_SERIAL

2019-03-29 Thread Eugen.Hristev
On 26.03.2019 14:16, Stefan Roese wrote: > This patch adds an alterative SPL version of atmel_serial_enable_clk(). > This enables the usage of this driver without full clock support (in > drivers and DT nodes). This saves some space in the SPL image. > > Please note that this fixed clock suppor

[U-Boot] [PATCH] travis-ci: fix at91 missing boards

2019-03-28 Thread Eugen.Hristev
From: Eugen Hristev Fix missing at91 boards and split the at91 in two categories: at91 arm v7 at91 arm926esj which are the two main cores for the at91 architecture. Signed-off-by: Eugen Hristev --- Hello, I am not very good with Travis, I added this because buildman atmel has lesser total boar

Re: [U-Boot] [PATCH] ARM: at91: sama5d2: Wrap cpu detection to fix macb driver

2019-03-28 Thread Eugen.Hristev
On 22.03.2019 15:25, Alexander Dahl wrote: > When introducing the SAMA5D27 SoCs, the SAMA5D2 series got an additional > chip id. The check if the cpu is sama5d2 was changed from a preprocessor > definition (inlining a call to 'get_chip_id()') to a C function, > probably to not call get_chip_id t

Re: [U-Boot] scan_peb ubi error sama5d36 nand flash v2019.01

2019-03-27 Thread Eugen.Hristev
On 26.03.2019 18:40, Daniel Evans wrote: > > After an install of Nand flash using an SD card and linux script on a > custom sama5d36 board, setup with the following partitions: > > $ cat /proc/mtd > dev:    size   erasesize  name > mtd0: 0004 0002 "at91bootstrap" > mtd1: 000c 0002

Re: [U-Boot] [PATCH 12/12 v2] arm: at91: Add gardena-gateway-at91sam support

2019-03-26 Thread Eugen.Hristev
On 26.03.2019 16:01, Stefan Roese wrote: > > On 26.03.19 14:58, eugen.hris...@microchip.com wrote: >> >> >> On 26.03.2019 14:16, Stefan Roese wrote: >> >>> The GARDENA smart Gateway boards are equipped with an Atmel / Microchip >>> AT91SAM9G25 SoC and with 128 MiB of RAM and 256 MiB of NAND sto

Re: [U-Boot] [PATCH 12/12 v2] arm: at91: Add gardena-gateway-at91sam support

2019-03-26 Thread Eugen.Hristev
On 26.03.2019 14:16, Stefan Roese wrote: > The GARDENA smart Gateway boards are equipped with an Atmel / Microchip > AT91SAM9G25 SoC and with 128 MiB of RAM and 256 MiB of NAND storage. > This patch adds support for this board including SPL support. Therefore > the AT91Boostrap is not needed on

Re: [U-Boot] [PATCH] pm9g45: Migrate to CONFIG_DM

2019-03-26 Thread Eugen.Hristev
On 07.03.2019 17:05, Ilko Iliev wrote: > Migrate the following options to CONFIG_DM: >CONFIG_DM_GPIO >CONFIG_DM_MMC >CONFIG_DM_ETH >CONFIG_DM_SERIAL >CONFIG_DM_USB > > Signed-off-by: Ilko Iliev Hello Ilko, This patch breaks the build for pm9g45_defconfig in my test, Can

Re: [U-Boot] [PATCH 08/11] Makefile.spl: Move generate AT91SAM NAND image boot.bin to spl directory

2019-03-25 Thread Eugen.Hristev
On 19.03.2019 17:56, Stefan Roese wrote: > External E-Mail > > > This patch moves the AT91SAM NAND booting SPL image "boot.bin" which > includes the ECC values from the root directory into the spl directory, > where all SPL related images are located. Hi Stefan, Yes, indeed, but someone may b

Re: [U-Boot] [PATCH 03/11] serial: atmel_usart: Use fixed clock value in SPL version

2019-03-25 Thread Eugen.Hristev
On 20.03.2019 09:30, Stefan Roese wrote: > > On 20.03.19 08:25, eugen.hris...@microchip.com wrote: >> >> >> On 19.03.2019 17:56, Stefan Roese wrote: >>> External E-Mail >>> >>> >>> This patch adds an alterative SPL version of atmel_serial_enable_clk(). >>> This enables the usage of this driver w

Re: [U-Boot] [PATCH] ARM: at91: sama5d2: Wrap cpu detection to fix macb driver

2019-03-25 Thread Eugen.Hristev
On 25.03.2019 11:17, Alexander Dahl wrote: > Hei hei, > > one thing still puzzled me, why did it work on SAMA5D27-SOM1-EK1 board, but > not on our custom board? I think I know the reason now. > > As Nicolas Ferre replied on my confusion on that MID register, on SAMA5D2 that > register reads 0x

Re: [U-Boot] [PATCH 06/11] arm: at91: Enable watchdog support

2019-03-21 Thread Eugen.Hristev
On 21.03.2019 14:00, Stefan Roese wrote: > External E-Mail > > > On 21.03.19 11:23, eugen.hris...@microchip.com wrote: >> >> >> On 19.03.2019 17:56, Stefan Roese wrote: >>> External E-Mail >>> >>> >>> This patch enables and starts the watchdog on the AT91 platform if >>> configured. Currently t

Re: [U-Boot] [PATCH 06/11] arm: at91: Enable watchdog support

2019-03-21 Thread Eugen.Hristev
On 19.03.2019 17:56, Stefan Roese wrote: > External E-Mail > > > This patch enables and starts the watchdog on the AT91 platform if > configured. Currently the WD timeout is configured to 16 seconds, > which is the longest value for this timer. > > Signed-off-by: Stefan Roese > Cc: Heiko Scho

Re: [U-Boot] [PATCH 04/11] watchdog: Handle SPL build with watchdog disabled

2019-03-20 Thread Eugen.Hristev
On 20.03.2019 09:48, Stefan Roese wrote: > External E-Mail > > > On 20.03.19 08:41, eugen.hris...@microchip.com wrote: >> >> >> On 20.03.2019 09:33, Stefan Roese wrote: >>> External E-Mail >>> >>> >>> On 20.03.19 08:30, eugen.hris...@microchip.com wrote: On 19.03.2019 17:56, Stef

Re: [U-Boot] [PATCH 04/11] watchdog: Handle SPL build with watchdog disabled

2019-03-20 Thread Eugen.Hristev
On 20.03.2019 09:33, Stefan Roese wrote: > External E-Mail > > > On 20.03.19 08:30, eugen.hris...@microchip.com wrote: >> >> >> On 19.03.2019 17:56, Stefan Roese wrote: >>> External E-Mail >>> >>> >>> This patch adds some checks, so that the watchdog can be enabled in main >>> U-Boot proper but

Re: [U-Boot] [PATCH 04/11] watchdog: Handle SPL build with watchdog disabled

2019-03-20 Thread Eugen.Hristev
On 19.03.2019 17:56, Stefan Roese wrote: > External E-Mail > > > This patch adds some checks, so that the watchdog can be enabled in main > U-Boot proper but can be disabled in SPL. Hi Stefan, Actually your code looks at CONFIG_SPL_WATCHDOG_SUPPORT , so , if this is disabled in the config, y

Re: [U-Boot] [PATCH 03/11] serial: atmel_usart: Use fixed clock value in SPL version

2019-03-20 Thread Eugen.Hristev
On 19.03.2019 17:56, Stefan Roese wrote: > External E-Mail > > > This patch adds an alterative SPL version of atmel_serial_enable_clk(). > This enables the usage of this driver without full clock support (in > drivers and DT nodes). This saves some space in the SPL image. > > If some boards ne

[U-Boot] [PULL] U-boot-atmel 2019.04-a

2019-03-04 Thread Eugen.Hristev
Hello Tom, Please pull tag u-boot-atmel-2019.04-a , the first set of fixes for u-boot-atmel for 2019.04 release. There are two fixes with changes to defconfigs. Travis CI: https://travis-ci.org/ehristev/u-boot/builds/501351347 Thanks, Eugen The following changes since commit f14de0014c56093f

Re: [U-Boot] [PATCH v2 3/4] ARM: atmel: at91sam9x5ek: enable spl support

2019-02-22 Thread Eugen.Hristev
On 21.02.2019 19:00, Stefan Roese wrote: > Hi Eugene, > > On 19.02.19 15:56, Stefan Roese wrote: > > > >>> I did not test myself the SPL for any 9x5 board. The DDR2 init code >>> should be executed inside the SPL. Once you build your board with a >>> CONFIG_SPL enabled, you should get the spl

Re: [U-Boot] [PATCH v2 3/4] ARM: atmel: at91sam9x5ek: enable spl support

2019-02-19 Thread Eugen.Hristev
On 19.02.2019 15:27, Stefan Roese wrote: > Hi Eugene, > Hi Bo, > > On 27.03.15 07:23, Bo Shen wrote: >> Enable SPL support for at91sam9x5ek board. Now, it supports >> boot up from NAND flash and SPI flash. >> >> Signed-off-by: Bo Shen > > Sorry to hijack this thread, but I do have a few questi

Re: [U-Boot] [PATCH] configs: at91: remove SPL_GENERATE_ATMEL_PMECC_HEADER from non-nand configs

2019-02-17 Thread Eugen.Hristev
On 11.02.2019 09:22, Eugen Hristev - M18282 wrote: > From: Eugen Hristev > > SPL_GENERATE_ATMEL_PMECC_HEADER will generate a header for the SPL for NAND > information. The initial stage 1 bootloader will use this header in case the > NAND flash doesn't support commands to retrieve sector size,

Re: [U-Boot] [PATCH] ARM: at91: Apply PMECC header for NAND_BOOT only

2019-02-17 Thread Eugen.Hristev
On 17.02.2019 06:58, Derald D. Woods wrote: > This commit guards against applying the PMECC header in a non-NAND_BOOT > scenario. This a modified version of a previous patch found here: > > https://patchwork.ozlabs.org/patch/1009885/ > > Now that SPL_GENERATE_ATMEL_PMECC_HEADER has been convert

[U-Boot] [PATCH] configs: at91: remove SPL_GENERATE_ATMEL_PMECC_HEADER from non-nand configs

2019-02-10 Thread Eugen.Hristev
From: Eugen Hristev SPL_GENERATE_ATMEL_PMECC_HEADER will generate a header for the SPL for NAND information. The initial stage 1 bootloader will use this header in case the NAND flash doesn't support commands to retrieve sector size, etc. However this header is bad for different boot media, like

Re: [U-Boot] [PATCH 2/2] configs: sama5d27_som1_ek: Activate misc init for uSD variant

2019-02-07 Thread Eugen.Hristev
On 06.02.2019 16:19, Alexander Dahl wrote: > This was already set for 'sama5d27_som1_ek_mmc_defconfig' (first SD > card, full size). Without this option set, the MAC address is not read > from the I²C EEPROM at boot, and remains unset: > > U-Boot 2019.01 (Jan 01 2019 - 00:00:00 +) > >

[U-Boot] [PATCH] MAINTAINERS: update u-boot-atmel tree

2019-02-05 Thread Eugen.Hristev
From: Eugen Hristev Update Atmel AT91 maintainership Signed-off-by: Eugen Hristev --- MAINTAINERS | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index e3a1586..d32851e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -113,12 +113,6 @@ F

Re: [U-Boot] [PATCH] atmel: add CMD_FS_GENERIC to SAMA5D3 for EFI boot

2019-01-25 Thread Eugen.Hristev
Hi Greg, On 21.01.2019 06:51, Greg Czerniak wrote: > I'm working on getting OpenBSD to run on the Atmel SAMA5D3 Xplained. > OpenBSD uses an EFI bootloader, which requires the "load" command to > work, since "fatload" doesn't initialize the EFI memory addresses > properly. To get "load" on the SAM

<    1   2   3   4   >