Re: [U-Boot] [PATCH] spi-uclass: claim bus before setting speed

2019-06-26 Thread Jagan Teki
On Thu, Jun 20, 2019 at 6:48 PM George Hilliard wrote: > > The sunxi SPI peripheral driver attempts to interact with the > peripheral in the set_speed function. It also resets the device > completely (disabling clocks and power) when the bus is released and We do set_speed even before this, duri

Re: [U-Boot] [PATCH v2 2/2] xilinx_xiic: Fix transfer initialisation

2019-06-26 Thread Melin Tomas
On 6/27/19 4:41 AM, Marek Vasut wrote: > On 6/26/19 8:17 PM, Melin Tomas wrote: >> On 6/26/19 4:36 PM, Marek Vasut wrote: >>> On 6/26/19 3:19 PM, Melin Tomas wrote: On 6/26/19 3:48 PM, Marek Vasut wrote: > On 6/26/19 2:45 PM, Melin Tomas wrote: >> On 6/26/19 3:26 PM, Marek Vasut wrote

Re: [U-Boot] Upstreaming usb host drivers for iMX8/iMX8M

2019-06-26 Thread Peng Fan
Hi Igor, > Subject: Upstreaming usb host drivers for iMX8/iMX8M > > Hi Peng, Ye, Peter, > > Currently there in no any usb host/gadget support in the mainline U-boot, and > seems that no one has posted anything yet to the mailing list (at least I > haven't found anything related to this in the M

Re: [U-Boot] [PATCH] arm: qemu: fix failure in flash initialization if booting from TF-A

2019-06-26 Thread AKASHI Takahiro
On Thu, Jun 27, 2019 at 06:50:55AM +0200, Heinrich Schuchardt wrote: > On 6/27/19 3:09 AM, AKASHI Takahiro wrote: > >If U-Boot is loaded and started from TF-A (you need to change > >SYS_TEXT_BASE to 0x6000), it will hang up at flash initialization. > > > >If secure mode is off (default, or -mac

Re: [U-Boot] efi_loader: implementing non-volatile UEFI variables

2019-06-26 Thread AKASHI Takahiro
Wolfgang, I think that we are getting much closer than a few days ago, but first let me explain one point that I'm afraid that you might misunderstand somehow: On Wed, Jun 26, 2019 at 11:44:03AM +0200, Wolfgang Denk wrote: > Dear Ilias, > > In message > you > wrote: > > > > > There have been

Re: [U-Boot] [PATCH] arm: qemu: fix failure in flash initialization if booting from TF-A

2019-06-26 Thread Heinrich Schuchardt
On 6/27/19 3:09 AM, AKASHI Takahiro wrote: If U-Boot is loaded and started from TF-A (you need to change SYS_TEXT_BASE to 0x6000), it will hang up at flash initialization. If secure mode is off (default, or -machine virt,secure=off) at qemu, it will provide dtb with two flash memory banks:

Re: [U-Boot] [PATCH v4] gpio: add gpio-hog support

2019-06-26 Thread Heiko Schocher
Hello Simon, Am 26.06.2019 um 17:07 schrieb Simon Glass: Hi Heiko, On Mon, 24 Jun 2019 at 00:16, Heiko Schocher wrote: Hello Simon, Am 22.06.2019 um 21:09 schrieb Simon Glass: Hi Heiko, On Wed, 12 Jun 2019 at 05:12, Heiko Schocher wrote: add gpio-hog support. GPIO hogging is a mechanis

Re: [U-Boot] [PATCH v2 2/2] xilinx_xiic: Fix transfer initialisation

2019-06-26 Thread Marek Vasut
On 6/26/19 8:17 PM, Melin Tomas wrote: > > On 6/26/19 4:36 PM, Marek Vasut wrote: >> On 6/26/19 3:19 PM, Melin Tomas wrote: >>> On 6/26/19 3:48 PM, Marek Vasut wrote: On 6/26/19 2:45 PM, Melin Tomas wrote: > On 6/26/19 3:26 PM, Marek Vasut wrote: >> On 6/26/19 2:19 PM, Melin Tomas wro

[U-Boot] [PATCH] arm: qemu: fix failure in flash initialization if booting from TF-A

2019-06-26 Thread AKASHI Takahiro
If U-Boot is loaded and started from TF-A (you need to change SYS_TEXT_BASE to 0x6000), it will hang up at flash initialization. If secure mode is off (default, or -machine virt,secure=off) at qemu, it will provide dtb with two flash memory banks: flash@0 { bank-width =

[U-Boot] Pull request: u-boot-rockchip/tags/rockchip-for-v2019.07-rc5

2019-06-26 Thread Kever Yang
Hi Tom, Please pull some rockchip updates: - new board: rk3328 rock64 - rk3328 SPL support - rk3399 spl/tpl board init cleanup - use environment to get ATF binary for rk3399 - build u-boot.itb target by default for rockchip - rk3399 board init fix after pinctrl patch set merged Travis: https://tr

Re: [U-Boot] [PATCH 1/2] arm64: add an option to switch visibility of CONFIG_SYS_INIT_SP_BSS_OFFSET

2019-06-26 Thread AKASHI Takahiro
Yamada-san, On Wed, Jun 26, 2019 at 01:51:46PM +0900, Masahiro Yamada wrote: > By default, CONFIG_SYS_INIT_SP_BSS_OFFSET was made invisible by not > giving a prompt to it. > > The only way to define it is to hard-code an extra entry in SoC/board > Kconfig, like arch/arm/mach-tegra/tegra{186,210}/

Re: [U-Boot] [linux-sunxi] [PATCH 0/6] sunxi: H6: Enable USB (2.0) support

2019-06-26 Thread Clément Péron
Hi André, On Thu, 20 Jun 2019 at 23:18, André Przywara wrote: > > On 20/06/2019 19:01, Clément Péron wrote: > > Hi Clément, > > thanks for trying that! > ... > > > On Wed, 19 Jun 2019 at 12:03, Andre Przywara wrote: > >> > >> On Wed, 19 Jun 2019 10:57:14 +0200 > >> Clément Péron wrote: > >> > >

[U-Boot] [PATCH 5/5] ARM: socfpga: vining_fpga: Extract eth1 MAC from EEPROM

2019-06-26 Thread Marek Vasut
The EEPROM contains eth1 MAC address as well, use it. Signed-off-by: Marek Vasut Cc: Silvio Fricke Cc: Simon Goldschmidt --- board/softing/vining_fpga/socfpga.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/softing/vining_fpga/socfpga.c b/board/softing/vining_fpga/socfpga.c inde

[U-Boot] [PATCH 4/5] ARM: socfpga: vining_fpga: Update environment

2019-06-26 Thread Marek Vasut
Update board environment to match the one used in deployment. Signed-off-by: Marek Vasut Cc: Silvio Fricke Cc: Simon Goldschmidt --- include/configs/socfpga_vining_fpga.h | 111 -- 1 file changed, 87 insertions(+), 24 deletions(-) diff --git a/include/configs/socfpga_v

[U-Boot] [PATCH 3/5] ARM: socfpga: vining_fpga: Update generated headers

2019-06-26 Thread Marek Vasut
Update headers generated by quartus to the latest version. Signed-off-by: Marek Vasut Cc: Silvio Fricke Cc: Simon Goldschmidt --- board/softing/vining_fpga/qts/iocsr_config.h | 140 +- board/softing/vining_fpga/qts/pinmux_config.h | 6 +- board/softing/vining_fpga/qts/pll_co

[U-Boot] [PATCH 2/5] ARM: socfpga: vining_fpga: Update DT

2019-06-26 Thread Marek Vasut
Pick minor changes from the downstream DT, disable MMC, add GMAC0 node and adjust PHY skew settings for GMAC1. Signed-off-by: Marek Vasut Cc: Silvio Fricke Cc: Simon Goldschmidt --- .../dts/socfpga_cyclone5_vining_fpga-u-boot.dtsi | 2 +- arch/arm/dts/socfpga_cyclone5_vining_fpga.dts | 1

[U-Boot] [PATCH 1/5] ARM: socfpga: vining_fpga: Rename VINING|FPGA

2019-06-26 Thread Marek Vasut
The company Samtec was merged into Softing, migrate the board over to the new name and update copyright headers. Signed-off-by: Marek Vasut Cc: Silvio Fricke Cc: Simon Goldschmidt --- arch/arm/dts/socfpga_cyclone5_vining_fpga.dts| 2 +- arch/arm/mach-socfpga/Kconfig

[U-Boot] [PATCH] common: Fix autocompletion with CONFIG_CMDLINE_PS_SUPPORT

2019-06-26 Thread Marek Vasut
The autocompletion did not work if CONFIG_CMDLINE_PS_SUPPORT was enabled because U-Boot was comparing the prompt string with CONFIG_SYS_PROMPT . While this works if CONFIG_CMDLINE_PS_SUPPORT is disabled, this no longer works if it's enabled because user can override the PS1 . Fix this by checking p

[U-Boot] [RFC 1/2] scripts/dtc: Update to upstream version v1.4.7-57-gf267e674d145

2019-06-26 Thread Tom Rini
Update to this version to match Linux kernel v5.2-rc6. This adds the following commits from upstream: f267e674d145 checks: Fix crash with multiple source annotations 3616b9a811b6 checks: Use source position information for check failures 2bdbd07a1223 checks: Make each message output atomic a1eff7

[U-Boot] [RFC 2/2] sandbox: Update dts files

2019-06-26 Thread Tom Rini
With a more modern dtc we now get lots of warnings about problems with the sandbox dts files and then in turn the DM tests. Start addressing these warnings by using, or not using in some cases, addresses on nodes and update tests to match. Cc: Simon Glass Signed-off-by: Tom Rini --- Please note

Re: [U-Boot] python3 support for pylibfdt

2019-06-26 Thread Tom Rini
On Thu, Jun 20, 2019 at 11:45:02AM +0100, Peter Robinson wrote: > On Wed, Jun 19, 2019 at 7:22 PM Tom Rini wrote: > > > > On Tue, Jun 18, 2019 at 10:39:54AM +0100, Peter Robinson wrote: > > > Hi Simon, > > > > > > With the EOL of python2 soon I've been looking at the Fedora U-Boot > > > builds to

Re: [U-Boot] [PATCH v2 2/2] xilinx_xiic: Fix transfer initialisation

2019-06-26 Thread Melin Tomas
On 6/26/19 4:36 PM, Marek Vasut wrote: > On 6/26/19 3:19 PM, Melin Tomas wrote: >> On 6/26/19 3:48 PM, Marek Vasut wrote: >>> On 6/26/19 2:45 PM, Melin Tomas wrote: On 6/26/19 3:26 PM, Marek Vasut wrote: > On 6/26/19 2:19 PM, Melin Tomas wrote: >> On 6/26/19 2:49 PM, Marek Vasut wrote

Re: [U-Boot] [PATCH PATCH v3 00/12] Add support for applications of overlays in SPL

2019-06-26 Thread Simon Glass
Hi Jean-Jacques, On Tue, 25 Jun 2019 at 12:10, Jean-Jacques Hiblot wrote: > > Hi Simon, > > > On 22/06/2019 21:09, Simon Glass wrote: > > Hi Jean-Jacques, > > > > On Thu, 23 May 2019 at 11:39, Jean-Jacques Hiblot wrote: > >> > >> The purpose of this series is to provide the SPL with ability to a

Re: [U-Boot] [PATCH V2] usb: ehci-mx6: Fix bus enumeration for DM case

2019-06-26 Thread Adam Ford
On Wed, Jun 26, 2019 at 4:39 AM Lukasz Majewski wrote: > > Hi Marek, > > > The EHCI iMX6 driver is only partly converted to DT probing and > > still uses a tremendous amount of hard-coded addresses. Worse, > > the driver uses hard-coded SoC-model-specific base addresses, which > > are derived from

[U-Boot] [PATCH] ARM: am3517-evm: Remove undefined pinmuxing

2019-06-26 Thread Adam Ford
The pinmux controller on AM3517 is the same as OMAP3, however according to the AM3517 TRM, there are no valid entries between 48002180 and 48002210, which are supported by other OMAP3 devices. This patch removes the references undefined pin muxing. Signed-off-by: Adam Ford diff --git a/board/log

Re: [U-Boot] [PATCH v4] gpio: add gpio-hog support

2019-06-26 Thread Simon Glass
Hi Heiko, On Mon, 24 Jun 2019 at 00:16, Heiko Schocher wrote: > > Hello Simon, > > Am 22.06.2019 um 21:09 schrieb Simon Glass: > > Hi Heiko, > > > > On Wed, 12 Jun 2019 at 05:12, Heiko Schocher wrote: > >> > >> add gpio-hog support. GPIO hogging is a mechanism > >> providing automatic GPIO reque

Re: [U-Boot] [PATCH v2 2/2] xilinx_xiic: Fix transfer initialisation

2019-06-26 Thread Marek Vasut
On 6/26/19 3:19 PM, Melin Tomas wrote: > > On 6/26/19 3:48 PM, Marek Vasut wrote: >> On 6/26/19 2:45 PM, Melin Tomas wrote: >>> On 6/26/19 3:26 PM, Marek Vasut wrote: On 6/26/19 2:19 PM, Melin Tomas wrote: > On 6/26/19 2:49 PM, Marek Vasut wrote: >> On 6/26/19 1:25 PM, Melin Tomas wro

[U-Boot] OMAP3+ EHCI DM_USB Conversion

2019-06-26 Thread Adam Ford
Looking at the OMAP3 family, there is a single host controller called usbhshost. It has the option of having up to 3 ports. Under usbhshost, there are sub-nodes which have ohci and ehci. I am trying to port the EHCI controller to DM_USB to pull in the device tree info. I am fairly certain the e

Re: [U-Boot] [PATCH v2 2/2] xilinx_xiic: Fix transfer initialisation

2019-06-26 Thread Melin Tomas
On 6/26/19 3:48 PM, Marek Vasut wrote: > On 6/26/19 2:45 PM, Melin Tomas wrote: >> On 6/26/19 3:26 PM, Marek Vasut wrote: >>> On 6/26/19 2:19 PM, Melin Tomas wrote: On 6/26/19 2:49 PM, Marek Vasut wrote: > On 6/26/19 1:25 PM, Melin Tomas wrote: >> On 6/26/19 1:47 PM, Marek Vasut wrote

Re: [U-Boot] [PATCH] mmc: Do not poll using CMD13 when changing timing

2019-06-26 Thread Marek Vasut
On 6/26/19 2:21 PM, Jean-Jacques Hiblot wrote: > > On 26/06/2019 11:50, Marek Vasut wrote: >> On 6/26/19 11:22 AM, Jean-Jacques Hiblot wrote: >>> On 25/06/2019 21:47, Marek Vasut wrote: On 6/25/19 9:07 PM, Jean-Jacques Hiblot wrote: > On 25/06/2019 17:53, Marek Vasut wrote: >> On 6/25

Re: [U-Boot] Watchdog DM conversion, sram overflow(SPL)

2019-06-26 Thread Marek Vasut
On 6/26/19 2:51 PM, Suniel Mahesh wrote: > On 26/06/19 16:49, Marek Vasut wrote: >> On 6/26/19 12:54 PM, Jagan Teki wrote: >>> On Wed, Jun 26, 2019 at 4:07 PM Stefan Roese wrote: On 26.06.19 11:53, Suniel Mahesh wrote: > Hi, > > I am trying to convert watchdog driver(omap3_wd

Re: [U-Boot] Install U-boot into rock960 v1.3 issue【请注意,邮件由u-boot-boun...@lists.denx.de代发】

2019-06-26 Thread Kever Yang
Hi Khaled,     You can follow the instructions in doc/README.rockchip, the defconfig for rock960 is rock960-rk3399_defconfig. Thanks, - Kever On 06/26/2019 05:42 PM, khaled hnaien wrote: > Hi, > > I need your help to get solution for how to install u-boot and display the > u-boot terminal promp

Re: [U-Boot] Watchdog DM conversion, sram overflow(SPL)

2019-06-26 Thread Suniel Mahesh
On 26/06/19 16:49, Marek Vasut wrote: > On 6/26/19 12:54 PM, Jagan Teki wrote: >> On Wed, Jun 26, 2019 at 4:07 PM Stefan Roese wrote: >>> >>> On 26.06.19 11:53, Suniel Mahesh wrote: Hi, I am trying to convert watchdog driver(omap3_wdt) on TI AM33XX platform to Driver Model. >>

Re: [U-Boot] [PATCH v2 2/2] xilinx_xiic: Fix transfer initialisation

2019-06-26 Thread Marek Vasut
On 6/26/19 2:45 PM, Melin Tomas wrote: > > On 6/26/19 3:26 PM, Marek Vasut wrote: >> On 6/26/19 2:19 PM, Melin Tomas wrote: >>> On 6/26/19 2:49 PM, Marek Vasut wrote: On 6/26/19 1:25 PM, Melin Tomas wrote: > On 6/26/19 1:47 PM, Marek Vasut wrote: > >> On 6/26/19 12:39 PM, Melin To

Re: [U-Boot] [PATCH v2 2/2] xilinx_xiic: Fix transfer initialisation

2019-06-26 Thread Melin Tomas
On 6/26/19 3:26 PM, Marek Vasut wrote: > On 6/26/19 2:19 PM, Melin Tomas wrote: >> On 6/26/19 2:49 PM, Marek Vasut wrote: >>> On 6/26/19 1:25 PM, Melin Tomas wrote: On 6/26/19 1:47 PM, Marek Vasut wrote: > On 6/26/19 12:39 PM, Melin Tomas wrote: > >> As such, it's probably a

Re: [U-Boot] Upstreaming usb host drivers for iMX8/iMX8M

2019-06-26 Thread Fabio Estevam
Hi Igor, On Wed, Jun 26, 2019 at 9:36 AM Igor Opaniuk wrote: > > Hi Peng, Ye, Peter, > > Currently there in no any usb host/gadget support in the mainline > U-boot, and seems that no one has posted anything yet to the mailing > list (at least I haven't found anything related to this in the ML > a

[U-Boot] Upstreaming usb host drivers for iMX8/iMX8M

2019-06-26 Thread Igor Opaniuk
Hi Peng, Ye, Peter, Currently there in no any usb host/gadget support in the mainline U-boot, and seems that no one has posted anything yet to the mailing list (at least I haven't found anything related to this in the ML archives). I've spent some time testing (usb host, ums etc.) the one in the

Re: [U-Boot] [PATCH v2 2/2] xilinx_xiic: Fix transfer initialisation

2019-06-26 Thread Marek Vasut
On 6/26/19 2:19 PM, Melin Tomas wrote: > > On 6/26/19 2:49 PM, Marek Vasut wrote: >> On 6/26/19 1:25 PM, Melin Tomas wrote: >>> On 6/26/19 1:47 PM, Marek Vasut wrote: >>> On 6/26/19 12:39 PM, Melin Tomas wrote: > As such, it's probably a good idea to keep the same delay values here a

Re: [U-Boot] [PATCH] mmc: Do not poll using CMD13 when changing timing

2019-06-26 Thread Jean-Jacques Hiblot
On 26/06/2019 11:50, Marek Vasut wrote: On 6/26/19 11:22 AM, Jean-Jacques Hiblot wrote: On 25/06/2019 21:47, Marek Vasut wrote: On 6/25/19 9:07 PM, Jean-Jacques Hiblot wrote: On 25/06/2019 17:53, Marek Vasut wrote: On 6/25/19 4:13 PM, Jean-Jacques Hiblot wrote: Hi Marek, On 06/02/2019 14:1

Re: [U-Boot] [PATCH v2 2/2] xilinx_xiic: Fix transfer initialisation

2019-06-26 Thread Melin Tomas
On 6/26/19 2:49 PM, Marek Vasut wrote: > On 6/26/19 1:25 PM, Melin Tomas wrote: >> On 6/26/19 1:47 PM, Marek Vasut wrote: >> >>> On 6/26/19 12:39 PM, Melin Tomas wrote: >>> As such, it's probably a good idea to keep the same delay values here as in the original driver unless good reason

Re: [U-Boot] [PATCH v2 2/2] xilinx_xiic: Fix transfer initialisation

2019-06-26 Thread Marek Vasut
On 6/26/19 1:25 PM, Melin Tomas wrote: > On 6/26/19 1:47 PM, Marek Vasut wrote: > >> On 6/26/19 12:39 PM, Melin Tomas wrote: >> >>> As such, it's probably a good idea to keep the same delay values here as >>> in the original driver unless good reason to use something else. >>> >>> As what goes for

Re: [U-Boot] [PATCH 0/5] Virtex2 FPGA enhancements

2019-06-26 Thread Michal Simek
On 25. 06. 19 17:53, Robert Hancock wrote: > On 2019-06-25 7:01 a.m., Michal Simek wrote: >> On 21. 06. 19 18:10, Robert Hancock wrote: >>> On 2019-06-21 12:19 a.m., Michal Simek wrote: > If it helps, here is part of our board file that does the FPGA GPIO and > SPI initialization and initia

Re: [U-Boot] [PATCH v2 2/2] xilinx_xiic: Fix transfer initialisation

2019-06-26 Thread Melin Tomas
On 6/26/19 1:47 PM, Marek Vasut wrote: > On 6/26/19 12:39 PM, Melin Tomas wrote: > >> As such, it's probably a good idea to keep the same delay values here as >> in the original driver unless good reason to use something else. >> >> As what goes for the original reasoning for 3ms, the commit histo

Re: [U-Boot] Watchdog DM conversion, sram overflow(SPL)

2019-06-26 Thread Marek Vasut
On 6/26/19 12:54 PM, Jagan Teki wrote: > On Wed, Jun 26, 2019 at 4:07 PM Stefan Roese wrote: >> >> On 26.06.19 11:53, Suniel Mahesh wrote: >>> Hi, >>> >>> I am trying to convert watchdog driver(omap3_wdt) on TI AM33XX platform to >>> Driver Model. >>> Since DM is also enabled in SPL, size of SPL

Re: [U-Boot] Das U-Boot 'bootaux' command breaks USB communication from and to main CPU

2019-06-26 Thread Lukasz Majewski
Hi Lucan, > Dear sir, madam, > > > Our product uses the i.MX 6SoloX SOC with a Cortex A9 and M4, U-Boot > runs on the A9 and boots Linux. But before booting Linux it executes > the 'bootaux 0x7F800' command to boot the M4. However, Linux is > unable to initialize the USB when this command is exe

Re: [U-Boot] pull request: raspberry pi updates

2019-06-26 Thread Matthias Brugger
On 25/06/2019 09:58, Matthias Brugger wrote: > > > On 24/06/2019 20:11, Tom Rini wrote: >> On Wed, Jun 12, 2019 at 04:25:33PM -0400, Tom Rini wrote: >>> On Wed, Jun 12, 2019 at 10:21:22PM +0200, Heinrich Schuchardt wrote: On 6/12/19 10:08 PM, Tom Rini wrote: > On Wed, Jun 12, 2019 at 1

Re: [U-Boot] Watchdog DM conversion, sram overflow(SPL)

2019-06-26 Thread Jagan Teki
On Wed, Jun 26, 2019 at 4:07 PM Stefan Roese wrote: > > On 26.06.19 11:53, Suniel Mahesh wrote: > > Hi, > > > > I am trying to convert watchdog driver(omap3_wdt) on TI AM33XX platform to > > Driver Model. > > Since DM is also enabled in SPL, size of SPL image generated(with watchdog > > DM enabl

[U-Boot] Install U-boot into rock960 v1.3 issue

2019-06-26 Thread khaled hnaien
Hi, I need your help to get solution for how to install u-boot and display the u-boot terminal prompt in order to excutes uboot commands. Thanks . Best regards, khaled ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] Das U-Boot 'bootaux' command breaks USB communication from and to main CPU

2019-06-26 Thread Lucan de Groot
Dear sir, madam, Our product uses the i.MX 6SoloX SOC with a Cortex A9 and M4, U-Boot runs on the A9 and boots Linux. But before booting Linux it executes the 'bootaux 0x7F800' command to boot the M4. However, Linux is unable to initialize the USB when this command is executed. This problem

Re: [U-Boot] [PATCH] apalis_imx6: fix set_emmcargs wrapper

2019-06-26 Thread Philippe Schenker
On Tue, 2019-06-25 at 14:48 +0300, Igor Opaniuk wrote: > From: Igor Opaniuk > > Fix set_emmcargs wrapper, which prepares proper bootargs for booting > from eMMC. > > Signed-off-by: Igor Opaniuk Reviewed-by: Philippe Schenker > --- > include/configs/apalis_imx6.h | 4 ++-- > 1 file changed,

Re: [U-Boot] Watchdog DM conversion, sram overflow(SPL)

2019-06-26 Thread Marek Vasut
On 6/26/19 12:37 PM, Stefan Roese wrote: > On 26.06.19 11:53, Suniel Mahesh wrote: >> Hi, >> >> I am trying to convert watchdog driver(omap3_wdt) on TI AM33XX >> platform to Driver Model. >> Since DM is also enabled in SPL, size of SPL image generated(with >> watchdog DM enabled) is >> bigger compa

Re: [U-Boot] [PATCH v2 2/2] xilinx_xiic: Fix transfer initialisation

2019-06-26 Thread Marek Vasut
On 6/26/19 12:39 PM, Melin Tomas wrote: > > On 6/26/19 1:26 PM, Marek Vasut wrote: >> On 6/26/19 12:12 PM, Melin Tomas wrote: >>> On 6/26/19 12:46 PM, Marek Vasut wrote: >>> On 6/26/19 7:30 AM, Melin Tomas wrote: > On 6/25/19 6:15 PM, Marek Vasut wrote: > >> On 6/25/19 3:30 PM, Me

Re: [U-Boot] [PATCH v2 2/2] xilinx_xiic: Fix transfer initialisation

2019-06-26 Thread Melin Tomas
On 6/26/19 1:26 PM, Marek Vasut wrote: > On 6/26/19 12:12 PM, Melin Tomas wrote: >> On 6/26/19 12:46 PM, Marek Vasut wrote: >> >>> On 6/26/19 7:30 AM, Melin Tomas wrote: On 6/25/19 6:15 PM, Marek Vasut wrote: > On 6/25/19 3:30 PM, Melin Tomas wrote: >> Prior to starting a new tra

Re: [U-Boot] Watchdog DM conversion, sram overflow(SPL)

2019-06-26 Thread Stefan Roese
On 26.06.19 11:53, Suniel Mahesh wrote: Hi, I am trying to convert watchdog driver(omap3_wdt) on TI AM33XX platform to Driver Model. Since DM is also enabled in SPL, size of SPL image generated(with watchdog DM enabled) is bigger compared to the SRAM size(.u_boot_list section doesn't fit in th

[U-Boot] [PATCH v5 0/2] add command env erase

2019-06-26 Thread Frank Wunderlich
sometimes it is needed to erase the non-volatile environment e.g. for boot-up with builtin-environment or after resizing env this series add basic functionality for erasing environment from storage as a first storage-driver mmc is introduced, other needs to be added later changes since v4: - reb

[U-Boot] [PATCH v5 1/2] env: register erase command

2019-06-26 Thread Frank Wunderlich
this patch adds basic changes for adding a erase-subcommand to env with this command the environment stored on non-volatile storage written by saveenv can be cleared. Signed-off-by: Frank Wunderlich squashed fixes - start message with "Erasing" - mark erase-function as optional - env: separa

Re: [U-Boot] [PATCH 2/6] rockchip: rk3288: add separate TPL STACK address

2019-06-26 Thread Jagan Teki
On Wed, Jun 26, 2019 at 4:00 PM Jagan Teki wrote: > > On Wed, Jun 26, 2019 at 3:23 PM Kever Yang wrote: > > > > TPL is at SRAM while other stage is at SDRAM, so it needs > > separate STACK. > > > > Signed-off-by: Kever Yang > > --- > > Jagan Teki Reviewed-by: Jagan Teki __

[U-Boot] [PATCH v5 2/2] env: mmc: add erase-function

2019-06-26 Thread Frank Wunderlich
this adds erase environment for mmc storage squashed fixes: - add CONFIG_CMD_ERASEENV - env: erase redundant offset if defined Suggested-by: Simon Goldschmidt Signed-off-by: Frank Wunderlich --- env/mmc.c | 52 1 file changed, 52 insertion

Re: [U-Boot] [PATCH 1/6] rockchip: rk3288: enable TPL configs to chip level

2019-06-26 Thread Jagan Teki
On Wed, Jun 26, 2019 at 3:21 PM Kever Yang wrote: > > More boards other than vyasa needs TPL, so enable the TPL configs > at chip level instead of board level. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/Kconfig| 14 ++ > arch/arm/mach-rockchip/rk3288/Kconf

Re: [U-Boot] [PATCH 2/6] rockchip: rk3288: add separate TPL STACK address

2019-06-26 Thread Jagan Teki
On Wed, Jun 26, 2019 at 3:23 PM Kever Yang wrote: > > TPL is at SRAM while other stage is at SDRAM, so it needs > separate STACK. > > Signed-off-by: Kever Yang > --- Jagan Teki ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinf

Re: [U-Boot] [PATCH v2 2/2] xilinx_xiic: Fix transfer initialisation

2019-06-26 Thread Marek Vasut
On 6/26/19 12:12 PM, Melin Tomas wrote: > On 6/26/19 12:46 PM, Marek Vasut wrote: > >> On 6/26/19 7:30 AM, Melin Tomas wrote: >>> On 6/25/19 6:15 PM, Marek Vasut wrote: >>> On 6/25/19 3:30 PM, Melin Tomas wrote: > Prior to starting a new transfer, conditionally wait for bus to not > b

Re: [U-Boot] [PATCH 3/6] rockchip: dts: rk3288-tinker: enable sdmmc pinctrl node in spl

2019-06-26 Thread Jagan Teki
On Wed, Jun 26, 2019 at 3:23 PM Kever Yang wrote: > > rockchip pinctrl driver has update to use dts, so we need > to add the pinctrl config in SPL for sdmmc. > > Signed-off-by: Kever Yang > --- > > arch/arm/dts/rk3288-tinker.dts | 26 +- > 1 file changed, 25 insertions(+)

Re: [U-Boot] Watchdog DM conversion, sram overflow(SPL)

2019-06-26 Thread Jagan Teki
On Wed, Jun 26, 2019 at 3:24 PM Suniel Mahesh wrote: > > Hi, > > I am trying to convert watchdog driver(omap3_wdt) on TI AM33XX platform to > Driver Model. > Since DM is also enabled in SPL, size of SPL image generated(with watchdog DM > enabled) is > bigger compared to the SRAM size(.u_boot_lis

Re: [U-Boot] [PATCH v2 00/99] ram: rk3399: Add LPDDR4 support

2019-06-26 Thread Jagan Teki
On Wed, Jun 26, 2019 at 12:12 AM Ezequiel Garcia wrote: > > Hi Jagan, > > Thanks for your hard work. I'm sure everyone in the Rockchip community > is excited about finally having this support in U-Boot. > > On Tue, 25 Jun 2019 at 12:46, Jagan Teki wrote: > [..] > > > > > > Was it absolutely neces

Re: [U-Boot] [PATCH v2 2/2] xilinx_xiic: Fix transfer initialisation

2019-06-26 Thread Melin Tomas
On 6/26/19 12:46 PM, Marek Vasut wrote: > On 6/26/19 7:30 AM, Melin Tomas wrote: >> On 6/25/19 6:15 PM, Marek Vasut wrote: >> >>> On 6/25/19 3:30 PM, Melin Tomas wrote: Prior to starting a new transfer, conditionally wait for bus to not be busy. Reinitialise controller as other

[U-Boot] Watchdog DM conversion, sram overflow(SPL)

2019-06-26 Thread Suniel Mahesh
Hi, I am trying to convert watchdog driver(omap3_wdt) on TI AM33XX platform to Driver Model. Since DM is also enabled in SPL, size of SPL image generated(with watchdog DM enabled) is bigger compared to the SRAM size(.u_boot_list section doesn't fit in the region alloted) and build is failing w

[U-Boot] [PATCH 5/6] rockchip: config: tiner-rk3288: extend CONFIG_SYS_MONITOR_LEN to 600KB

2019-06-26 Thread Kever Yang
The raw u-boot.bin for tinker board has been about 450KB without debug option, and 550KB with all debug on, and the default value is 200KB, which is not enough for run raw u-boot.bin. Signed-off-by: Kever Yang --- include/configs/tinker_rk3288.h | 2 +- 1 file changed, 1 insertion(+), 1 deletio

[U-Boot] [PATCH 4/6] rockchip: config: update config for TPL support on tinker-rk3288

2019-06-26 Thread Kever Yang
We need to update TEXT BASE for TPL/SPL/U-Boot; SPL no need relocate STACK after enable TPL, so remove it; Don't enable pinctrl names so that SPL can get pinctrl dts; Signed-off-by: Kever Yang --- configs/tinker-rk3288_defconfig | 13 + 1 file changed, 5 insertions(+), 8 deletions(-

[U-Boot] [PATCH 6/6] rockchip: rk3288: enable TPL for tinker-board

2019-06-26 Thread Kever Yang
All the config for TPL has been update, we can enable the TPL. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/rk3288/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-rockchip/rk3288/Kconfig b/arch/arm/mach-rockchip/rk3288/Kconfig index 541301dfb8..c5dcd061cf 1006

[U-Boot] [PATCH 3/6] rockchip: dts: rk3288-tinker: enable sdmmc pinctrl node in spl

2019-06-26 Thread Kever Yang
rockchip pinctrl driver has update to use dts, so we need to add the pinctrl config in SPL for sdmmc. Signed-off-by: Kever Yang --- arch/arm/dts/rk3288-tinker.dts | 26 +- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/rk3288-tinker.dts b/arch

[U-Boot] [PATCH 2/6] rockchip: rk3288: add separate TPL STACK address

2019-06-26 Thread Kever Yang
TPL is at SRAM while other stage is at SDRAM, so it needs separate STACK. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig index ec7104bf9e..3712e8af8d 100644 ---

[U-Boot] [PATCH 0/6] rockchip: enable TPL for tinker-rk3288

2019-06-26 Thread Kever Yang
Tinker board has overflow the SRAM size limit, enable TPL for it so that there will be no size limit for SPL. Also some other fix to bring up Tinker board: - enabel sdmmc pinctrl with dts in SPL - extend raw u-boot.bin size limit Kever Yang (6): rockchip: rk3288: enable TPL configs to chip l

[U-Boot] [PATCH 1/6] rockchip: rk3288: enable TPL configs to chip level

2019-06-26 Thread Kever Yang
More boards other than vyasa needs TPL, so enable the TPL configs at chip level instead of board level. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/Kconfig| 14 ++ arch/arm/mach-rockchip/rk3288/Kconfig | 14 -- 2 files changed, 14 insertions(+), 14 delet

Re: [U-Boot] [PATCH] mmc: Do not poll using CMD13 when changing timing

2019-06-26 Thread Marek Vasut
On 6/26/19 11:22 AM, Jean-Jacques Hiblot wrote: > > On 25/06/2019 21:47, Marek Vasut wrote: >> On 6/25/19 9:07 PM, Jean-Jacques Hiblot wrote: >>> On 25/06/2019 17:53, Marek Vasut wrote: On 6/25/19 4:13 PM, Jean-Jacques Hiblot wrote: > Hi Marek, > > On 06/02/2019 14:11, Marek Vasut

Re: [U-Boot] [PATCH v2 2/2] xilinx_xiic: Fix transfer initialisation

2019-06-26 Thread Marek Vasut
On 6/26/19 7:30 AM, Melin Tomas wrote: > On 6/25/19 6:15 PM, Marek Vasut wrote: > >> On 6/25/19 3:30 PM, Melin Tomas wrote: >>> Prior to starting a new transfer, conditionally wait for bus to not >>> be busy. >>> >>> Reinitialise controller as otherwise operation is not stable. >>> For reference,

Re: [U-Boot] efi_loader: implementing non-volatile UEFI variables

2019-06-26 Thread Wolfgang Denk
Dear Ilias, In message you wrote: > > > There have been thoughts about using signed environment storage > > before. This is manageable as long as your environment is read-only. > > But for writing ("env save") you need access to the private key to > > sign the new data. Do you have a good solu

Re: [U-Boot] [PATCH V2] usb: ehci-mx6: Fix bus enumeration for DM case

2019-06-26 Thread Lukasz Majewski
Hi Marek, > The EHCI iMX6 driver is only partly converted to DT probing and > still uses a tremendous amount of hard-coded addresses. Worse, > the driver uses hard-coded SoC-model-specific base addresses, which > are derived from values protected by SoC-specific macros, hence the > driver is also

Re: [U-Boot] [PATCH] mmc: Do not poll using CMD13 when changing timing

2019-06-26 Thread Jean-Jacques Hiblot
On 25/06/2019 21:47, Marek Vasut wrote: On 6/25/19 9:07 PM, Jean-Jacques Hiblot wrote: On 25/06/2019 17:53, Marek Vasut wrote: On 6/25/19 4:13 PM, Jean-Jacques Hiblot wrote: Hi Marek, On 06/02/2019 14:11, Marek Vasut wrote: When using CMD6 to switch eMMC card timing from HS200/HS400 to HS/l

Re: [U-Boot] efi_loader: implementing non-volatile UEFI variables

2019-06-26 Thread Wolfgang Denk
Dear Takahiro, In message <20190626052624.gr6...@linaro.org> you wrote: > > > See above. If you think small (and go for minimal coding efforts), > > just add a UEFI flag now to provide a UEFI context. If tomorrow > > someone needs a FOO context, add a FOO flag. We did not really need > > such c

[U-Boot] [PATCH 2/2] drivers/spi: fsl_qspi: fix controller busy check

2019-06-26 Thread Thomas Schaefer
Use readl_poll_timeout instead of explicit calculation. Signed-off-by: Thomas Schaefer --- drivers/spi/fsl_qspi.c | 17 ++--- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/drivers/spi/fsl_qspi.c b/drivers/spi/fsl_qspi.c index 2c5937509f..41abe1996f 100644 --- a/drive

[U-Boot] [PATCH 1/2] drivers/spi: fsl_qspi: fix controller busy check

2019-06-26 Thread Thomas Schaefer
During QSPI reads, current is_controller_busy function sporadically fails with -ETIMEDOUT due to fixed number of 5 test loops. Using timer functions to wait 1000 us instead will fix this. Signed-off-by: Thomas Schaefer --- drivers/spi/fsl_qspi.c | 9 - 1 file changed, 4 insertions(+), 5

[U-Boot] [PATCH] drivers/spi: fsl_qspi: fix controller busy check

2019-06-26 Thread Thomas Schaefer
> On Mon, Jun 24, 2019 at 10:34 PM Fabio Estevam wrote: > > > > From: Thomas Schaefer > > > > During QSPI reads, current is_busy_controller function sporadically > > fails with -ETIMEDOUT due to fixed number of 5 test loops. This > > patch fixes this by using the readl_poll_timeout function wi

Re: [U-Boot] efi_loader: implementing non-volatile UEFI variables -- was U-Boot Digest, Vol 133, Issue 57

2019-06-26 Thread Wolfgang Denk
Dear Francois, it would have been _very_ helpful to keep the Subject: and the Cc: list in place. In message you wrote: > > On one side we have UEFI have objects that can be persistent and/or > secure. More importantly, a UEFI application can register a storage > backend to perform > UEFI variab

[U-Boot] [PATCH] board: st: add missing gpio_request() for stm32f429-discovery

2019-06-26 Thread Patrice Chotard
This fixes the following error message: U-Boot 2019.07-rc4-00103-g5eea874b5e (Jun 25 2019 - 15:09:31 +0200) DRAM: 8 MiB gpio@40021800: dir_output: error: gpio GPIOG14 not reserved gpio@40021800: dir_output: error: gpio GPIOG13 not reserved gpio@40021800: set_value: error: gpio GPIOG14 not reserv

Re: [U-Boot] rpi2: u-boot misaligned operation

2019-06-26 Thread Matthias Brugger
On 25/06/2019 02:42, Alexander von Gluck IV wrote: > Was rebuilding u-boot binary for the Raspberry Pi 2 (from master), and ran > into the following issue: > " > U-Boot 2019.07-rc4-00179-g77f6e2dd05 (Jun 24 2019 - 14:25:14 -0500) > > DRAM: 128 MiB > RPI 2 Model B (0xa21041) > MMC: sdhci@7e3

Re: [U-Boot] efi_loader: implementing non-volatile UEFI variables

2019-06-26 Thread Ilias Apalodimas
Dear Wolfgang, On Tue, 25 Jun 2019 at 12:27, Wolfgang Denk wrote: > > Dear Ilias, > > In message <20190625091140.GA19606@apalos> you wrote: > > > > > > Currently UEFI variables are stored in U-Boot variables. Saving the > > > > U-Boot variables will persist all UEFI variables in the environment b