Re: [U-Boot] SPL Platdata howto?

2019-01-03 Thread Simon Goldschmidt
On Fri, Dec 21, 2018 at 10:20 PM Simon Goldschmidt wrote: > > > > Am Fr., 21. Dez. 2018, 22:16 hat Simon Glass geschrieben: >> >> Hi Simon, >> >> On Thu, 20 Dec 2018 at 14:32, Simon Goldschmidt >> wrote: >> > >> > Am 20.12.2018 um 21:53 schrieb Simon Goldschmidt: >> > > Am 20.12.2018 um 18:37 sc

Re: [U-Boot] [PATCH v4 00/10] Improvements for the dwc3_generic driver

2019-01-03 Thread Jon Nettleton
On Fri, Dec 7, 2018 at 8:46 AM Jean-Jacques Hiblot wrote: > > > On 06/12/2018 21:56, Loic Devulder wrote: > > Hi, > > > > I re-tested this series on Khadas VIM1 and it still fix the USB issue I > > had with 'usb reset' (I already tested v2 patches). > > > > I just have a message and I'm not sure t

[U-Boot] [GIT] Pull request: u-boot-dfu (04.01.2019)

2019-01-03 Thread Lukasz Majewski
Dear Marek, The following changes since commit 7436f5e54d35bcad53befec90e2e67288071f74e: Merge tag 'for-master-20190103' of git://git.denx.de/u-boot-rockchip (2019-01-03 08:39:44 -0500) are available in the git repository at: git://git.denx.de/u-boot-dfu.git for you to fetch

Re: [U-Boot] [PATCH v2 3/7] riscv: use invalidate/flush_*cache_range functions in cache.c

2019-01-03 Thread Rick Chen
> > From: Lukas Auer [mailto:lukas.a...@aisec.fraunhofer.de] > > Sent: Friday, January 04, 2019 8:38 AM > > To: u-boot@lists.denx.de > > Cc: Anup Patel; Lukas Auer; Rick Jian-Zhi Chen(陳建志); Bin Meng; Greentime Hu > > Subject: [PATCH v2 3/7] riscv: use invalidate/flush_*cache_range functions > > in

Re: [U-Boot] [PATCH v2 2/7] riscv: move the AX25-specific implementation of flush_dcache_all

2019-01-03 Thread Rick Chen
> > From: Lukas Auer [mailto:lukas.a...@aisec.fraunhofer.de] > > Sent: Friday, January 04, 2019 8:37 AM > > To: u-boot@lists.denx.de > > Cc: Anup Patel; Lukas Auer; Rick Jian-Zhi Chen(陳建志); Bin Meng; Greentime Hu > > Subject: [PATCH v2 2/7] riscv: move the AX25-specific implementation of > > flush_

Re: [U-Boot] [PATCH 2/6] riscv: remove invalid dcache flush implementation

2019-01-03 Thread Rick Chen
Hi Lukas Auer, Lukas 於 2019年1月4日 週五 上午8:40寫道: > > Hi Rick, > > On Thu, 2019-01-03 at 08:48 +0800, Rick Chen wrote: > > Hi Lukas > > > > Auer, Lukas 於 2019年1月2日 週三 下午8:22寫道: > > > Hi Rick, > > > > > > On Wed, 2019-01-02 at 10:54 +0800, Rick Chen wrote: > > > > Hi Lukas > > > > > > > > > > From: L

[U-Boot] [PATCH 1/1] LX2160AQDS: Adds SECURE_BOOT defconfig.

2019-01-03 Thread Udit Agarwal
Configs added to enable secure boot on LX2160AQDS board. Signed-off-by: Udit Agarwal --- configs/lx2160aqds_tfa_SECURE_BOOT_defconfig | 90 1 file changed, 90 insertions(+) create mode 100644 configs/lx2160aqds_tfa_SECURE_BOOT_defconfig diff --git a/configs/lx2160aqds_tfa_

[U-Boot] [PATCH 1/1] LX2160AQDS: Adds SECURE_BOOT defconfig.

2019-01-03 Thread Udit Agarwal
Configs added to enable secure boot on LX2160AQDS board. Signed-off-by: Udit Agarwal --- configs/lx2160aqds_tfa_SECURE_BOOT_defconfig | 90 1 file changed, 90 insertions(+) create mode 100644 configs/lx2160aqds_tfa_SECURE_BOOT_defconfig diff --git a/configs/lx2160aqds_tfa_

Re: [U-Boot] [PATCH] exynos: allow SPL to build in thumb mode

2019-01-03 Thread Siarhei Siamashka
On Wed, 2 Jan 2019 14:31:41 +0100 Guillaume GARDET wrote: > Building peach-pi smdk5420 and peach-pit with thumb mode for SPL > ends-up in the following error: > > Error: Thumb encoding does not support an immediate here -- `msr > cpsr_c,#0x13|0xC0' > > Use an intermediate register to be able

Re: [U-Boot] [PATCH 2/2] lib: fdtdec: fixup fdtdec_get_addr_size

2019-01-03 Thread Keerthy
On Thursday 03 January 2019 11:44 PM, s...@google.com wrote: > On 12/21/18 9:24 AM, Keerthy wrote: >> fix up fdtdec_get_addr_size to use fdtdec_get_addr_size_auto_noparent >> so that the address cells and size cells are obtained from the >> parent instead of going by the fixed length. > > This p

Re: [U-Boot] [PATCH 1/6] ARM: socfpga: Description on FPGA bitstream type and file name for Arria 10

2019-01-03 Thread Chee, Tien Fong
On Fri, 2019-01-04 at 03:24 +0100, Marek Vasut wrote: > On 1/4/19 3:22 AM, Chee, Tien Fong wrote: > > > > On Fri, 2019-01-04 at 03:10 +0100, Marek Vasut wrote: > > > > > > On 1/4/19 1:46 AM, Chee, Tien Fong wrote: > > > [...] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >

Re: [U-Boot] [PATCH] Kconfig: don't pollute Kconfig w/ i.MX8M options for everyone

2019-01-03 Thread Peng Fan
> -Original Message- > From: Philipp Tomsich [mailto:philipp.toms...@theobroma-systems.com] > Sent: 2019年1月4日 1:48 > To: u-boot@lists.denx.de > Cc: Tom Rini ; Philipp Tomsich > ; Peng Fan ; > Masahiro Yamada > Subject: [PATCH] Kconfig: don't pollute Kconfig w/ i.MX8M options for > everyo

Re: [U-Boot] [PATCH 2/2] travis: Wire Xilinx Versal Virt platform

2019-01-03 Thread Tom Rini
On Fri, Jan 04, 2019 at 09:29:47AM +0800, Bin Meng wrote: > On Thu, Jan 3, 2019 at 9:39 PM Tom Rini wrote: > > > > On Thu, Jan 03, 2019 at 09:00:41AM +0100, Michal Simek wrote: > > > On 26. 12. 18 15:29, Tom Rini wrote: > > > > On Thu, Dec 20, 2018 at 04:30:19PM +0800, Bin Meng wrote: > > > >> Hi

Re: [U-Boot] [PATCH 1/6] ARM: socfpga: Description on FPGA bitstream type and file name for Arria 10

2019-01-03 Thread Marek Vasut
On 1/4/19 3:22 AM, Chee, Tien Fong wrote: > On Fri, 2019-01-04 at 03:10 +0100, Marek Vasut wrote: >> On 1/4/19 1:46 AM, Chee, Tien Fong wrote: >> [...] >> >>> > > 2. What you means with partial loading? partial loading for > periph.rbf > or core.rbf or both rbfs? That you

Re: [U-Boot] [PATCH 1/6] ARM: socfpga: Description on FPGA bitstream type and file name for Arria 10

2019-01-03 Thread Chee, Tien Fong
On Fri, 2019-01-04 at 03:10 +0100, Marek Vasut wrote: > On 1/4/19 1:46 AM, Chee, Tien Fong wrote: > [...] > > > > > > > > > > > > > > 2. What you means with partial loading? partial loading for > > > > periph.rbf > > > > or core.rbf or both rbfs? > > > That you can only load the relevant image

Re: [U-Boot] [PATCH 1/6] ARM: socfpga: Description on FPGA bitstream type and file name for Arria 10

2019-01-03 Thread Marek Vasut
On 1/4/19 1:46 AM, Chee, Tien Fong wrote: [...] >>> 2. What you means with partial loading? partial loading for >>> periph.rbf >>> or core.rbf or both rbfs? >> That you can only load the relevant image from the fitImage, not the >> entire fitImage, which lets you load the core bitstream in SPL. >

Re: [U-Boot] [PATCH v2 3/7] riscv: use invalidate/flush_*cache_range functions in cache.c

2019-01-03 Thread Bin Meng
On Fri, Jan 4, 2019 at 8:38 AM Lukas Auer wrote: > > The flush_cache() function in lib/cache.c ignores its arguments and > flushes the complete data and instruction caches. Use the > invalidate/flush_*cache_range() functions instead to only flush the > requested memory region. > > This patch does

Re: [U-Boot] [PATCH v2 2/7] riscv: move the AX25-specific implementation of flush_dcache_all

2019-01-03 Thread Bin Meng
On Fri, Jan 4, 2019 at 8:38 AM Lukas Auer wrote: > > The fence instruction is used to enforce device I/O and memory ordering > constraints in RISC-V. It can not be relied on to directly affect the > data cache on every CPU. > Andes' AX25 does not have a coherence agent. Its fence instruction > flu

Re: [U-Boot] [PATCH 2/2] travis: Wire Xilinx Versal Virt platform

2019-01-03 Thread Bin Meng
On Thu, Jan 3, 2019 at 9:39 PM Tom Rini wrote: > > On Thu, Jan 03, 2019 at 09:00:41AM +0100, Michal Simek wrote: > > On 26. 12. 18 15:29, Tom Rini wrote: > > > On Thu, Dec 20, 2018 at 04:30:19PM +0800, Bin Meng wrote: > > >> Hi Michal, > > >> > > >> On Thu, Dec 20, 2018 at 4:17 PM Michal Simek >

Re: [U-Boot] [PATCH 1/8] arm: dts: imx7s-warp: Import Linux warp7 dts

2019-01-03 Thread Auer, Lukas
Hi Bryan, On Thu, 2019-01-03 at 01:44 +, Bryan O'Donoghue wrote: > This patch imports the Linux kernel warp7 dts as at upstream kernel > commit > cf76c364a1e1. > > The following was dropped from the incoming kernel DTS file > > -&wdog1 { > - pinctrl-names = "default"; > - pinctrl

Re: [U-Boot] [PATCH 1/6] ARM: socfpga: Description on FPGA bitstream type and file name for Arria 10

2019-01-03 Thread Chee, Tien Fong
On Thu, 2019-01-03 at 21:14 +0100, Marek Vasut wrote: > On 1/3/19 8:28 AM, Chee, Tien Fong wrote: > > > > On Thu, 2019-01-03 at 06:27 +0100, Marek Vasut wrote: > > > > > > On 1/3/19 6:07 AM, Chee, Tien Fong wrote: > > > > > > > > > > > > On Tue, 2019-01-01 at 21:27 +0100, Marek Vasut wrote: > >

Re: [U-Boot] [PATCH 3/6] ARM: socfpga: Add the configuration for FPGA SoCFPGA A10 SoCDK

2019-01-03 Thread Chee, Tien Fong
On Thu, 2019-01-03 at 21:15 +0100, Marek Vasut wrote: > On 1/3/19 6:36 AM, Chee, Tien Fong wrote: > > > > On Tue, 2019-01-01 at 21:29 +0100, Marek Vasut wrote: > > > > > > On 1/1/19 4:32 AM, Chee, Tien Fong wrote: > > > > > > > > > > > > On Sun, 2018-12-30 at 16:47 +0100, Marek Vasut wrote: > >

Re: [U-Boot] [PATCH 2/6] riscv: remove invalid dcache flush implementation

2019-01-03 Thread Auer, Lukas
Hi Rick, On Thu, 2019-01-03 at 08:48 +0800, Rick Chen wrote: > Hi Lukas > > Auer, Lukas 於 2019年1月2日 週三 下午8:22寫道: > > Hi Rick, > > > > On Wed, 2019-01-02 at 10:54 +0800, Rick Chen wrote: > > > Hi Lukas > > > > > > > > From: Lukas Auer [mailto:lukas.a...@aisec.fraunhofer.de] > > > > > Sent: Mond

[U-Boot] [PATCH v2 7/7] riscv: qemu: define standalone load address

2019-01-03 Thread Lukas Auer
We need to define the standalone load address to use standalone application on qemu-riscv. Define it and set it equal to CONFIG_SYS_LOAD_ADDR. To not overwrite it, change the assigned of CONFIG_STANDALONE_LOAD_ADDR in arch/riscv/config.mk to a conditional one. Signed-off-by: Lukas Auer Reviewed-

[U-Boot] [PATCH v2 6/7] riscv: support standalone applications on RV64I systems

2019-01-03 Thread Lukas Auer
Add an implementation of EXPORT_FUNC() for RV64I systems to support them in standalone applications. Signed-off-by: Lukas Auer Reviewed-by: Bin Meng Tested-by: Bin Meng --- Changes in v2: None examples/standalone/stubs.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/exampl

[U-Boot] [PATCH v2 5/7] riscv: replace use of callee-saved register in standalone

2019-01-03 Thread Lukas Auer
Register x19 (s3) is a callee-saved register. It must not be used to load and jump to exported functions without saving it beforehand. Replace it with t0, a temporary and caller-saved register. Change the code comment to reflect this and fix it to correctly list gp as the register with the pointer

[U-Boot] [PATCH v2 4/7] riscv: remove RISC-V standalone linker script

2019-01-03 Thread Lukas Auer
Standalone applications do not require a separate linker script and can use the default linker script of the compiler instead. Remove the RISC-V standalone linker script. Signed-off-by: Lukas Auer Reviewed-by: Bin Meng Tested-by: Bin Meng --- Changes in v2: None arch/riscv/config.mk

[U-Boot] [PATCH v2 2/7] riscv: move the AX25-specific implementation of flush_dcache_all

2019-01-03 Thread Lukas Auer
The fence instruction is used to enforce device I/O and memory ordering constraints in RISC-V. It can not be relied on to directly affect the data cache on every CPU. Andes' AX25 does not have a coherence agent. Its fence instruction flushes the data cache and is used to keep data in the system coh

[U-Boot] [PATCH v2 3/7] riscv: use invalidate/flush_*cache_range functions in cache.c

2019-01-03 Thread Lukas Auer
The flush_cache() function in lib/cache.c ignores its arguments and flushes the complete data and instruction caches. Use the invalidate/flush_*cache_range() functions instead to only flush the requested memory region. This patch does not change the current behavior of U-Boot, since the implementa

[U-Boot] [PATCH v2 0/7] Small fixes for RISC-V

2019-01-03 Thread Lukas Auer
This patch series contains small fixes for RISC-V. It touches three areas. - Patch 1 clarifies the error message on undefined exceptions. - Patch 2 removes the current dcache flush implementation. It uses the fence instruction, which does not directly affect the data cache and can therefore not b

[U-Boot] [PATCH v2 1/7] riscv: clarify error message on undefined exceptions

2019-01-03 Thread Lukas Auer
Undefined exceptions are treated as reserved. This is not clearly communicated to the user. Adjust the error message to clarify that a reserved exception has occurred and add additional details. Fixes: e8b522b ("riscv: treat undefined exception codes as reserved") Signed-off-by: Lukas Auer Review

[U-Boot] [V2] please pull u-boot-samsung master

2019-01-03 Thread Minkyu Kang
Hi, The following changes since commit 1f2e948d6d53f77a2ddb2dde3531b0d5bc2815ad: Prepare v2019.01-rc2 (2018-12-17 20:25:24 -0500) are available in the git repository at: git://git.denx.de/u-boot-samsung master for you to fetch changes up to 2a195703d6e62172e532ffae05a79e9d12f602bc: exyn

Re: [U-Boot] [PATCH] exynos: allow SPL to build in thumb mode

2019-01-03 Thread Minkyu Kang
On 02/01/19 22:31, Guillaume GARDET wrote: > Building peach-pi smdk5420 and peach-pit with thumb mode for SPL > ends-up in the following error: > > Error: Thumb encoding does not support an immediate here -- `msr > cpsr_c,#0x13|0xC0' > > Use an intermediate register to be able to use thumb for e

Re: [U-Boot] [PATCH] Kconfig: don't pollute Kconfig w/ i.MX8M options for everyone

2019-01-03 Thread Philipp Tomsich
> On 03.01.2019, at 21:21, Tom Rini wrote: > > On Thu, Jan 03, 2019 at 06:47:40PM +0100, Philipp Tomsich wrote: > >> No point in showing the various DRAM options (right in the top-level >> menu for 'Device Drivers') for i.MX8M when configured for a different >> architecture. This wraps an 'if

Re: [U-Boot] [PATCH] dm: usb: gadget: Fix boot breakage on sunxi platforms

2019-01-03 Thread Marek Vasut
On 1/3/19 10:47 PM, Lukasz Majewski wrote: > On Fri, 4 Jan 2019 01:23:17 +0530 > Jagan Teki wrote: > >> On Thu, Jan 3, 2019 at 12:29 PM Lukasz Majewski wrote: >>> >>> Hi Jagan, >>> On Wed, Jan 2, 2019 at 4:08 PM Jean-Jacques Hiblot wrote: > > > On 29/12/2018 19:49, Jag

Re: [U-Boot] [PATCH] imx6q_logic: Enable MMC booting from SPL

2019-01-03 Thread Lukasz Majewski
Hi Adam, > On Thu, Dec 27, 2018 at 10:53 AM Adam Ford wrote: > > > > The MMC booting wasn't previously fitting into the codespace. > > This patch enables MMC booting from the baseboard by reducing > > some DM overhead during SPL. > > > > I'm going to NAK my own work because I found some bugs a

Re: [U-Boot] Booting on RK3399

2019-01-03 Thread Simon Glass
Hi Mark, On Thu, 3 Jan 2019 at 04:23, Mark Kettenis wrote: > > > From: Simon Glass > > Date: Wed, 2 Jan 2019 20:37:45 -0700 > > > > > Haven't tested flashing eMMC with rkdeveloptool myself, but that > > > should work on the firefly as well. > > > > > > Another complication as that the serial con

Re: [U-Boot] [PATCH 0/6] Add support for loading FPGA bitstream

2019-01-03 Thread Marek Vasut
On 1/3/19 6:33 AM, Chee, Tien Fong wrote: > On Tue, 2019-01-01 at 21:36 +0100, Marek Vasut wrote: >> On 1/1/19 3:52 AM, Chee, Tien Fong wrote: >>> >>> On Sun, 2018-12-30 at 16:44 +0100, Marek Vasut wrote: On 12/30/18 9:13 AM, tien.fong.c...@intel.com wrote: > > > From: Tien Fo

Re: [U-Boot] [PATCH 3/6] ARM: socfpga: Add the configuration for FPGA SoCFPGA A10 SoCDK

2019-01-03 Thread Marek Vasut
On 1/3/19 6:36 AM, Chee, Tien Fong wrote: > On Tue, 2019-01-01 at 21:29 +0100, Marek Vasut wrote: >> On 1/1/19 4:32 AM, Chee, Tien Fong wrote: >>> >>> On Sun, 2018-12-30 at 16:47 +0100, Marek Vasut wrote: On 12/30/18 9:13 AM, tien.fong.c...@intel.com wrote: > > > From: Tien Fo

Re: [U-Boot] [PATCH 1/6] ARM: socfpga: Description on FPGA bitstream type and file name for Arria 10

2019-01-03 Thread Marek Vasut
On 1/3/19 8:28 AM, Chee, Tien Fong wrote: > On Thu, 2019-01-03 at 06:27 +0100, Marek Vasut wrote: >> On 1/3/19 6:07 AM, Chee, Tien Fong wrote: >>> >>> On Tue, 2019-01-01 at 21:27 +0100, Marek Vasut wrote: On 1/1/19 4:10 AM, Chee, Tien Fong wrote: > > > On Sun, 2018-12-30 at 16

[U-Boot] [PATCH] ARM: imx: fix: Provide correct enum values for ONENAND/NOR boot recognition

2019-01-03 Thread Lukasz Majewski
According to "Table 5-1. Boot Device Select" (page 335, i.MX 6Dual/6Quad Applications Processor Reference Manual, Rev. 4, 09/2017) the BOOT_CFG1[3] have following values (regarding EIM booting): 0 - NOR flash and 1 - ONENAND This commit provides correct identification of the boot medium for IMX6Q

Re: [U-Boot] [PATCH] dm: usb: gadget: Fix boot breakage on sunxi platforms

2019-01-03 Thread Lukasz Majewski
On Fri, 4 Jan 2019 01:23:17 +0530 Jagan Teki wrote: > On Thu, Jan 3, 2019 at 12:29 PM Lukasz Majewski wrote: > > > > Hi Jagan, > > > > > On Wed, Jan 2, 2019 at 4:08 PM Jean-Jacques Hiblot > > > wrote: > > > > > > > > > > > > On 29/12/2018 19:49, Jagan Teki wrote: > > > > > On Mon, Dec 24,

Re: [U-Boot] [PATCH 2/2] rockchip: Drop call to rockchip_dnl_mode_check() for now[Please note, mail behalf by 3vnmnxammciszqnjoyvtpbt.vynrlcly.fhunyvjr-jopwz....@chromium-sendgmr.bounces.google.com]

2019-01-03 Thread Philipp Tomsich
> On 03.01.2019, at 22:29, Simon Glass wrote: > > Hi, > > On Thu, 3 Jan 2019 at 00:32, Kever Yang > wrote: >> >> Hi Simon, >> >> >> On 12/29/2018 09:16 PM, Simon Glass wrote: >>> This function causes a 5-second delay and stops the display working on >>> mi

Re: [U-Boot] [PATCH 2/2] rockchip: Drop call to rockchip_dnl_mode_check() for now[Please note, mail behalf by 3vnmnxammciszqnjoyvtpbt.vynrlcly.fhunyvjr-jopwz....@chromium-sendgmr.bounces.google.com]

2019-01-03 Thread Simon Glass
Hi, On Thu, 3 Jan 2019 at 00:32, Kever Yang wrote: > > Hi Simon, > > > On 12/29/2018 09:16 PM, Simon Glass wrote: > > This function causes a 5-second delay and stops the display working on > > minnie. > > I don't understand why need 5-second, the logic is to check the adc key > press to decide th

Re: [U-Boot] [PATCH] fdt: Fix string property comparison overflow

2019-01-03 Thread Simon Glass
Hi Teddy, On Fri, 23 Nov 2018 at 19:18, Teddy Reed wrote: > > FDT property searching can overflow when comparing strings. This will > result in undefined behavior. This upstream patch adds checks to assure > property name lengths do not overrun the string region or the totalsize. > > The implemen

Re: [U-Boot] [PATCH] power: regulator: Return success on attempt to disable an always-on regulator

2019-01-03 Thread Simon Glass
Hi Lokesh, On Sun, 30 Dec 2018 at 23:26, Lokesh Vutla wrote: > > Hi Simon, > > On 29/12/18 6:58 PM, Simon Glass wrote: > > Hi Lokesh, > > > > On Thu, 27 Dec 2018 at 22:33, Lokesh Vutla wrote: > >> > >> Hi Simon, > >> > >> On 28/12/18 3:57 AM, Simon Glass wrote: > >>> Hi Lokesh, > >>> > >>> On Mo

Re: [U-Boot] Issue faced due to "serial: Remove DM_FLAG_PRE_RELOC flag in various drivers" patch

2019-01-03 Thread Simon Glass
Hi Priyanka, On Thu, 3 Jan 2019 at 03:31, Priyanka Jain wrote: > Hello, > > I am working to add support for NXP LX2160ARDB board support" " > https://patchwork.ozlabs.org/patch/1004541/"; > > For serial driver, we are using PL01X_SERIAL driver with DM_SERIAL enabled > Since we need to support va

[U-Boot] [PATCH 2/2] cmd: mmc: Invalidate MMC block cache after init

2019-01-03 Thread Marek Vasut
Make sure the block cache is cleared for the MMC device after it was reinitialized to avoid having any stale data in the cache, like e.g. partition tables or such. Signed-off-by: Marek Vasut Cc: Jaehoon Chung --- cmd/mmc.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/cmd/mmc.c b/cm

[U-Boot] [PATCH 1/2] cmd: mmc: Force mmc reinit when no card present

2019-01-03 Thread Marek Vasut
In case the card is removed, force-init the MMC to start the internal machinery which deregisters and invalidate the MMC device. Signed-off-by: Marek Vasut Cc: Jaehoon Chung --- cmd/mmc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/mmc.c b/cmd/mmc.c index 3920a1836a..ca8f982f53 1

Re: [U-Boot] [PULL] Please pull u-boot-rockchip fixes for 2019.1

2019-01-03 Thread Tom Rini
; 19:55:05 -0500) > > are available in the git repository at: > > git://git.denx.de/u-boot-rockchip.git tags/for-master-20190103 > > for you to fetch changes up to 77012e79ffc35994e5d6efca458d65bd03842b00: > > rockchip: rk3399-puma: Set VDD_LOG to 950 mV. (2019-01-02 22:40

Re: [U-Boot] Pull request: u-boot-spi/master

2019-01-03 Thread Tom Rini
On Thu, Jan 03, 2019 at 12:49:12AM +0530, Jagan Teki wrote: > Hi Tom, > > Please pull this spi PR as part of 2019.01 > > thanks, > Jagan. > > The following changes since commit 08337cd64832ed7f8147da75013510b92bbcd188: > > riscv: bootm: Support booting VxWorks (2018-12-31 08:08:51 -0500) >

Re: [U-Boot] [PATCH] Kconfig: don't pollute Kconfig w/ i.MX8M options for everyone

2019-01-03 Thread Tom Rini
On Thu, Jan 03, 2019 at 06:47:40PM +0100, Philipp Tomsich wrote: > No point in showing the various DRAM options (right in the top-level > menu for 'Device Drivers') for i.MX8M when configured for a different > architecture. This wraps an 'if ARCH_IMX8M' around these. > > Signed-off-by: Philipp T

[U-Boot] [PATCH] mmc: Add support for downgrading HS200/HS400 to HS mode

2019-01-03 Thread Marek Vasut
The mmc_select_mode_and_width() function can be called while the card is in HS200/HS400 mode and can be used to downgrade the card to lower mode, e.g. HS. This is used for example by mmc_boot_part_access_chk() which cannot access the card in HS200/HS400 mode and which is in turn called by saveenv i

Re: [U-Boot] [PATCH] dm: usb: gadget: Fix boot breakage on sunxi platforms

2019-01-03 Thread Marek Vasut
On 1/3/19 7:59 AM, Lukasz Majewski wrote: > Hi Jagan, > >> On Wed, Jan 2, 2019 at 4:08 PM Jean-Jacques Hiblot >> wrote: >>> >>> >>> On 29/12/2018 19:49, Jagan Teki wrote: On Mon, Dec 24, 2018 at 3:44 AM Jagan Teki wrote: > On Fri, Dec 21, 2018 at 2:20 PM Jean-Jacques Hiblot >>>

Re: [U-Boot] [PATCH] dm: usb: gadget: Fix boot breakage on sunxi platforms

2019-01-03 Thread Marek Vasut
On 1/3/19 8:53 PM, Jagan Teki wrote: > On Thu, Jan 3, 2019 at 12:29 PM Lukasz Majewski wrote: >> >> Hi Jagan, >> >>> On Wed, Jan 2, 2019 at 4:08 PM Jean-Jacques Hiblot >>> wrote: On 29/12/2018 19:49, Jagan Teki wrote: > On Mon, Dec 24, 2018 at 3:44 AM Jagan Teki > wrote: >

Re: [U-Boot] Pull request: u-boot-spi/master

2019-01-03 Thread Jagan Teki
On Thu, Jan 3, 2019 at 12:49 AM Jagan Teki wrote: > > Hi Tom, > > Please pull this spi PR as part of 2019.01 This PR is for the release as well, please pick. ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH] dm: usb: gadget: Fix boot breakage on sunxi platforms

2019-01-03 Thread Jagan Teki
On Thu, Jan 3, 2019 at 12:29 PM Lukasz Majewski wrote: > > Hi Jagan, > > > On Wed, Jan 2, 2019 at 4:08 PM Jean-Jacques Hiblot > > wrote: > > > > > > > > > On 29/12/2018 19:49, Jagan Teki wrote: > > > > On Mon, Dec 24, 2018 at 3:44 AM Jagan Teki > > > > wrote: > > > >> On Fri, Dec 21, 2018 at 2:2

[U-Boot] Please pull u-boot-video

2019-01-03 Thread Anatolij Gustschin
Hi Tom, please pull some video updates for v2019.01. Thanks, Anatolij The following changes since commit bea3d826203f90507ff32ed24bd0a3c53479e55c: Merge tag 'signed-efi-2019.01' of git://github.com/agraf/u-boot (2018-12-27 12:59:01 -0500) are available in the Git repository at: git://git

Re: [U-Boot] [PATCH 1/2] lib: fdtdec: fdtdec_get_addr_size_fixed remove checks

2019-01-03 Thread sjg
On Fri, 21 Dec 2018 at 09:24, Keerthy wrote: > > With 8 bytes addressing even on 32 bit machines these checks > are no longer valid. Remove them. > > Signed-off-by: Keerthy > --- > lib/fdtdec.c | 10 -- > 1 file changed, 10 deletions(-) Reviewed-by: Simon Glass Applied to u-boot-dm/ne

Re: [U-Boot] [PATCH 2/2] lib: fdtdec: fixup fdtdec_get_addr_size

2019-01-03 Thread sjg
On 12/21/18 9:24 AM, Keerthy wrote: > fix up fdtdec_get_addr_size to use fdtdec_get_addr_size_auto_noparent > so that the address cells and size cells are obtained from the > parent instead of going by the fixed length. This patch makes perfect sense to me. However, I am worried about the potentia

Re: [U-Boot] [RFC PATCH 4/8] arm: board: Remove board files for bubblegum_96

2019-01-03 Thread André Przywara
On 03/01/2019 13:26, Amit Singh Tomar wrote: > Bubblegum board now gets driven from common owl framework, so > let's remove the respected board files. I think this patch could be split and merged into other patches, mostly 1/8. > Signed-off-by: Amit Singh Tomar > --- > board/ucRobotics/bubblegu

Re: [U-Boot] [PATCH] dm: video: fix test failures with enabled default TrueType font

2019-01-03 Thread Anatolij Gustschin
On Sat, 29 Dec 2018 01:09:19 +0100 Anatolij Gustschin ag...@denx.de wrote: > With enabled default Nimbus font dm_test_video_truetype* tests fail. > Update expected expressions to fix them. > > Signed-off-by: Anatolij Gustschin > --- > test/dm/video.c | 6 +++--- > 1 file changed, 3 insertions(+

Re: [U-Boot] [PATCH] buildman: Deal nicely with invalid build-status file

2019-01-03 Thread sjg
The 'done' files created by buildman may end up being empty if buildman runs out of disk space while writing them. This error is then persistent, since even if disk space is reclaimed and the build retries, the empty file causes an exception in the builder thread. Deal with this silently by doing

Re: [U-Boot] [PATCH] sandbox: Correct SDL build flags

2019-01-03 Thread sjg
The check for CONFIG_SANDBOX_SDL in config.mk does not work since the build config is not available by the time that file is included. Remove it so that we always call sdl-config except when NO_SDL is used. Signed-off-by: Simon Glass --- arch/sandbox/config.mk | 2 -- arch/sandbox/cpu/sdl.c | 2

[U-Boot] [PATCH] Kconfig: don't pollute Kconfig w/ i.MX8M options for everyone

2019-01-03 Thread Philipp Tomsich
No point in showing the various DRAM options (right in the top-level menu for 'Device Drivers') for i.MX8M when configured for a different architecture. This wraps an 'if ARCH_IMX8M' around these. Signed-off-by: Philipp Tomsich --- drivers/ddr/imx/Kconfig | 2 ++ 1 file changed, 2 insertions(+

Re: [U-Boot] [RFC PATCH 1/8] arm: actions: Add common framework for Actions Semi SoCs

2019-01-03 Thread André Przywara
On 03/01/2019 13:26, Amit Singh Tomar wrote: > This adds common arch owl support that drives both s700 > and s900, 64-bits SoCs from Actions Semiconductor. Nice cleanup. > > Signed-off-by: Amit Singh Tomar > --- > arch/arm/Kconfig | 2 -- > arch/arm/mach-owl/Kconfig | 31 ++

Re: [U-Boot] Booting on RK3399

2019-01-03 Thread Jagan Teki
On Thu, Jan 3, 2019 at 9:10 PM Mark Kettenis wrote: > > > From: Jagan Teki > > Date: Thu, 3 Jan 2019 20:53:43 +0530 > > > > On Thu, Jan 3, 2019 at 7:20 AM Mark Kettenis > > wrote: > > > > > > > From: Simon Glass > > > > Date: Wed, 2 Jan 2019 18:15:31 -0700 > > > > > > > > Hi Kever, > > > > > >

Re: [U-Boot] [PATCH] MTD: mxs_nand: Fix BCH read timeout error on boards requiring ECC

2019-01-03 Thread Stefan Agner
[this time using reply to all] On 03.01.19 03:36, Adam Ford wrote: > The LogicPD board uses a Micron Flash with ECC. To boot this from > SPL, the ECC needs to be correctly configured or the BCH engine > times out. > > Signed-off-by: Adam Ford Looks good to me, Acked-by: Stefan Agner > > di

Re: [U-Boot] [PATCH] net: bcm6368: fix restart flow issues

2019-01-03 Thread Daniel Schwierzeck
Am 01.01.19 um 19:44 schrieb Álvaro Fernández Rojas: > Correctly enable/disable bcm6368-net controller to avoid flow issues. > > Signed-off-by: Álvaro Fernández Rojas > --- > drivers/net/bcm6368-eth.c | 109 > ++ > 1 file changed, 62 insertions(+),

Re: [U-Boot] [PATCH] drivers: block: Allow to cache 4K blocks by default

2019-01-03 Thread Tom Rini
On Thu, Jan 03, 2019 at 04:42:08PM +0100, Jan Kiszka wrote: > On 20.12.18 09:45, Marek Vasut wrote: > >On 12/10/2018 01:28 PM, Tom Rini wrote: > >>On Mon, Dec 10, 2018 at 05:13:58AM +0100, Marek Vasut wrote: > >>>On 12/09/2018 09:55 AM, Jan Kiszka wrote: > The default settings of the block cach

Re: [U-Boot] [PATCH] MTD: nand: mxs_nand_spl: Fix empty function pointer for BBT

2019-01-03 Thread Stefan Agner
On 30.12.18 17:11, Adam Ford wrote: > The initialization function calls a nand_chip.scan_bbt(mtd) but > scan_bbt is never initialized resulting in an undefined function > pointer. This will direct the function pointer to nand_default_bbt > defined in the same file. > > Signed-off-by: Adam Ford S

Re: [U-Boot] [PATCH] bmips: fix config warnings from 2019.01

2019-01-03 Thread Daniel Schwierzeck
Am 02.01.19 um 23:14 schrieb Tom Rini: > On Wed, Jan 02, 2019 at 11:11:09PM +0100, Álvaro Fernández Rojas wrote: > >> Hi Marek, >> >> Check commits 841d5fbae4e993476fa87d8933db0cd58d3c2d41 and >> 109d8bf3ac7b9bb04f3c46bb540eb2bb865f3dd7. >> >> http://git.denx.de/?p=u-boot.git;a=commitdiff;h=841d

Re: [U-Boot] Booting on RK3399

2019-01-03 Thread Philipp Tomsich
> On 03.01.2019, at 16:40, Mark Kettenis wrote: > >> From: Jagan Teki >> Date: Thu, 3 Jan 2019 20:53:43 +0530 >> >> On Thu, Jan 3, 2019 at 7:20 AM Mark Kettenis wrote: >>> From: Simon Glass Date: Wed, 2 Jan 2019 18:15:31 -0700 Hi Kever, I have a firefly-rk33

Re: [U-Boot] [PATCH v1 1/2] dm: usb: udc: Use SEQ_ALIAS to index the USB gadget ports

2019-01-03 Thread Sam Protsenko
Tested on BeagleBoard X15, works fine. Thanks, Jean-Jacques! Lukasz, is there any way this series can make it to v2019.01 release? Like to see it there, for stability/consistence reasons. Reviewed-by: Sam Protsenko Tested-by: Sam Protsenko Thanks! On Sun, Dec 16, 2018 at 10:47 PM Lukasz Majew

Re: [U-Boot] [PATCH] drivers: block: Allow to cache 4K blocks by default

2019-01-03 Thread Jan Kiszka
On 20.12.18 09:45, Marek Vasut wrote: On 12/10/2018 01:28 PM, Tom Rini wrote: On Mon, Dec 10, 2018 at 05:13:58AM +0100, Marek Vasut wrote: On 12/09/2018 09:55 AM, Jan Kiszka wrote: The default settings of the block cache so far only allow to hold single 1K blocks. However, larger filesystems t

Re: [U-Boot] Booting on RK3399

2019-01-03 Thread Mark Kettenis
> From: Jagan Teki > Date: Thu, 3 Jan 2019 20:53:43 +0530 > > On Thu, Jan 3, 2019 at 7:20 AM Mark Kettenis wrote: > > > > > From: Simon Glass > > > Date: Wed, 2 Jan 2019 18:15:31 -0700 > > > > > > Hi Kever, > > > > > > I have a firefly-rk3399 and would like to boot it into U-Boot (as a start) >

Re: [U-Boot] [PATCH v3 0/6] mips: mscc: gpio: Add MSCC serial GPIO driver

2019-01-03 Thread Daniel Schwierzeck
Am 02.01.19 um 09:52 schrieb Lars Povlsen: > This patch series add the GPIO device (SIO) in the MSCC VCoreIII-based > SOCs, and enables it on the supported platforms. > > By using a serial interface, the SIO controller significantly extends > the number of available GPIOs with a minimum number o

Re: [U-Boot] Booting on RK3399

2019-01-03 Thread Jagan Teki
On Thu, Jan 3, 2019 at 7:20 AM Mark Kettenis wrote: > > > From: Simon Glass > > Date: Wed, 2 Jan 2019 18:15:31 -0700 > > > > Hi Kever, > > > > I have a firefly-rk3399 and would like to boot it into U-Boot (as a start) > > from an uSD card. > > > > Are there instructions somewhere on how to do thi

Re: [U-Boot] [PATCH 1/2] tools/imx8m_image.sh: remove bashism

2019-01-03 Thread Christopher Spencer
On Wed, 2 Jan 2019 at 07:00, Baruch Siach wrote: > Use a single '=' to test string equality for compatibility with non-bash > shells. Otherwise, if /bin/sh is dash, build fails: > > ./tools/imx8m_image.sh: 15: [: signed_hdmi_imx8m.bin: unexpected operator > ./tools/imx8m_image.sh: 15: [: signed_h

Re: [U-Boot] [PATCH 2/2] travis: Wire Xilinx Versal Virt platform

2019-01-03 Thread Tom Rini
On Thu, Jan 03, 2019 at 09:00:41AM +0100, Michal Simek wrote: > On 26. 12. 18 15:29, Tom Rini wrote: > > On Thu, Dec 20, 2018 at 04:30:19PM +0800, Bin Meng wrote: > >> Hi Michal, > >> > >> On Thu, Dec 20, 2018 at 4:17 PM Michal Simek > >> wrote: > >>> > >>> On 20. 12. 18 9:09, Bin Meng wrote: > >

[U-Boot] [RFC PATCH 4/8] arm: board: Remove board files for bubblegum_96

2019-01-03 Thread Amit Singh Tomar
Bubblegum board now gets driven from common owl framework, so let's remove the respected board files. Signed-off-by: Amit Singh Tomar --- board/ucRobotics/bubblegum_96/Kconfig| 15 board/ucRobotics/bubblegum_96/MAINTAINERS| 6 --- board/ucRobotics/bubblegum_96/Makefile

[U-Boot] [RFC PATCH 6/8] arm: add Cubieboard7 board support

2019-01-03 Thread Amit Singh Tomar
The Cubieboard is a single board computer containing a Actions S700 SoC(with 4 ARMv8 Cortex-A53 cores). This patch adds respective defconfig alongwith device tree(sync with Linux 4.20). Signed-off-by: Amit Singh Tomar --- arch/arm/dts/s700-cubieboard7.dts | 39 ++

[U-Boot] [RFC PATCH 8/8] actions: add Cubieboard7 README

2019-01-03 Thread Amit Singh Tomar
Signed-off-by: Amit Singh Tomar --- arch/arm/mach-owl/README.cubieboard7 | 88 1 file changed, 88 insertions(+) create mode 100644 arch/arm/mach-owl/README.cubieboard7 diff --git a/arch/arm/mach-owl/README.cubieboard7 b/arch/arm/mach-owl/README.cubieboard7

[U-Boot] [RFC PATCH 7/8] serial: actions: add uart support for s700

2019-01-03 Thread Amit Singh Tomar
UART controller present on S700 is compatible with existing S900 UART, this patch simply adds a proper compatible string so that S900 uart driver can be reused for S700. Signed-off-by: Amit Singh Tomar --- drivers/serial/serial_owl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/se

[U-Boot] [RFC PATCH 5/8] arm: actions: add S700 SoC device tree

2019-01-03 Thread Amit Singh Tomar
This patch adds .dtsi file(sync with Linux 4.20) and required binding for S700 SoC that is a 64-bit Quad-core ARM Cortex-A53 cores. Signed-off-by: Amit Singh Tomar --- arch/arm/dts/s700.dtsi | 193 +++ include/dt-bindings/clock/actions,s700-cmu.h | 1

[U-Boot] [RFC PATCH 2/8] arm: actions: Add owl memory map regions

2019-01-03 Thread Amit Singh Tomar
This adds memory regions needed to setup MMU for actions S900 and S700 SoCs. Signed-off-by: Amit Singh Tomar --- arch/arm/mach-owl/Makefile | 1 + arch/arm/mach-owl/sysmap-owl.c | 32 arch/arm/mach-owl/sysmap-s900.c | 32 3

[U-Boot] [RFC PATCH 3/8] clk: actions: Add common clock driver

2019-01-03 Thread Amit Singh Tomar
CMU block on most of the actions SoC seems to be identical(S900, S700 and S500)? This patch converts S900 clock driver to something common that can be used for other SoCs, for instance S700(most of clk registres are same). Signed-off-by: Amit Singh Tomar --- arch/arm/include/asm/arch-owl/clk_ow

[U-Boot] [RFC PATCH 1/8] arm: actions: Add common framework for Actions Semi SoCs

2019-01-03 Thread Amit Singh Tomar
This adds common arch owl support that drives both s700 and s900, 64-bits SoCs from Actions Semiconductor. Signed-off-by: Amit Singh Tomar --- arch/arm/Kconfig | 2 -- arch/arm/mach-owl/Kconfig | 31 +++ arch/arm/mach-owl/Makefile | 2 +- arch/arm/mac

[U-Boot] [RFC PATCH 0/8] Actions S700 SoC support

2019-01-03 Thread Amit Singh Tomar
Hello, This patch-set adds Cubieboard7[1] support based on Action Semi's S700 SoC[2], It's Quad-core ARMv8 SoC with Cortex-A53 cores.Most of peripherals seems to be compatible with S900 SoC(basic support for it is alreay present in u-boot). First few patches consolidates Actions Semico

[U-Boot] [PATCH] i2c: i2c-cdns: Use proper input frequency

2019-01-03 Thread Michal Simek
From: Tomasz Gorochowik This is needed to properly calculate i2c bus speed divisors. Signed-off-by: Tomasz Gorochowik Signed-off-by: Wojciech Tatarski Signed-off-by: Michal Simek --- drivers/i2c/i2c-cdns.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/i

[U-Boot] [PATCH] arm64: zynqmp: Fix mmc node names to be in sync with kernel

2019-01-03 Thread Michal Simek
From: Siva Durga Prasad Paladugu This patches renames sd nodes in dts to be in line with kernel. This patch also modifies the references for the same in code. It checks mmc first to have no time penalty for new DT node names based on left-to-right expression evaluation. Signed-off-by: Siva Durga

Re: [U-Boot] Issue faced due to "serial: Remove DM_FLAG_PRE_RELOC flag in various drivers" patch

2019-01-03 Thread Lukasz Majewski
Hi Priyanka, > Hello, > > I am working to add support for NXP LX2160ARDB board support" > "https://patchwork.ozlabs.org/patch/1004541/"; > > For serial driver, we are using PL01X_SERIAL driver with DM_SERIAL > enabled Since we need to support various clock frequencies, we have > defined pl01x_se

[U-Boot] [PULL] Please pull u-boot-rockchip fixes for 2019.1

2019-01-03 Thread Philipp Tomsich
changes since commit f97c49d6a2f504d0f0a8aab37c67aa314e006250: Merge branch 'master' of git://git.denx.de/u-boot-sunxi (2019-01-01 19:55:05 -0500) are available in the git repository at: git://git.denx.de/u-boot-rockchip.git tags/for-master-20190103 for you to fetch cha

Re: [U-Boot] Booting on RK3399

2019-01-03 Thread Mark Kettenis
> From: Simon Glass > Date: Wed, 2 Jan 2019 20:37:45 -0700 > > > Haven't tested flashing eMMC with rkdeveloptool myself, but that > > should work on the firefly as well. > > > > Another complication as that the serial console speed defaults to > > 150 which isn't supported by all serial-to-US

[U-Boot] Issue faced due to "serial: Remove DM_FLAG_PRE_RELOC flag in various drivers" patch

2019-01-03 Thread Priyanka Jain
Hello, I am working to add support for NXP LX2160ARDB board support" "https://patchwork.ozlabs.org/patch/1004541/"; For serial driver, we are using PL01X_SERIAL driver with DM_SERIAL enabled Since we need to support various clock frequencies, we have defined pl01x_serial_platdata in board file

Re: [U-Boot] [PATCH] board: mvebu: drop unused ETH_PHY macro definitions

2019-01-03 Thread Stefan Roese
On 02.01.19 17:26, Baruch Siach wrote: These macros are not used anywhere in the boards code. Cc: Chris Packham Cc: Dirk Eibach Cc: Mario Six Cc: Dennis Gilmore Signed-off-by: Baruch Siach --- board/Marvell/db-88f6820-amc/db-88f6820-amc.c | 4 board/Marvell/db-88f6820-gp/db-88f6820-

Re: [U-Boot] [PATCH u-boot 0/2] net: designware: add meson meson compatibles

2019-01-03 Thread Neil Armstrong
Hi Joe, On 02/01/2019 22:01, Joe Hershberger wrote: > On Fri, Nov 9, 2018 at 8:21 AM Neil Armstrong wrote: >> >> Add the compatible strings in the Synopsys DWMAC driver for : >> - The Amlogic GXBB (and other GX) SoC >> - The Amlogic AXG (and other GX) SoC >> >> Neil Armstrong (2): >> net: desig

Re: [U-Boot] [PATCH 1/1] zynq: Kconfig: extend the bootstrap malloc() pool

2019-01-03 Thread Michal Simek
On 21. 12. 18 11:39, Anton Gerasimov wrote: >> I have not a problem with this change but it has to be done based on >> more information. It means you should look what requires that memory >> and if make sense that these components need it at that time. > > Thank you for  the advice, that was quite

[U-Boot] [PATCH] cmd: Kconfig: LED command depends on LED subsystems

2019-01-03 Thread Jan Kiszka
From: Jan Kiszka Without CONFIG_LED, we get cmd/built-in.o: In function `show_led_state': cmd/led.c:40: undefined reference to `led_get_state' cmd/built-in.o: In function `do_led': cmd/led.c:99: undefined reference to `led_get_by_label' cmd/led.c:108: undefined reference to `led_set_state' Sign

Re: [U-Boot] [PATCH 2/2] travis: Wire Xilinx Versal Virt platform

2019-01-03 Thread Michal Simek
On 26. 12. 18 15:29, Tom Rini wrote: > On Thu, Dec 20, 2018 at 04:30:19PM +0800, Bin Meng wrote: >> Hi Michal, >> >> On Thu, Dec 20, 2018 at 4:17 PM Michal Simek wrote: >>> >>> On 20. 12. 18 9:09, Bin Meng wrote: On Thu, Dec 20, 2018 at 3:55 PM Michal Simek wrote: > > Test Xili

  1   2   >