[U-Boot] [PATCH 1/1] fs: update fs_close() description

2019-10-13 Thread Heinrich Schuchardt
Provide a more detailed description of fs_close(). Signed-off-by: Heinrich Schuchardt --- include/fs.h | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/fs.h b/include/fs.h index 5a1244d57f..247e954053 100644 --- a/include/fs.h +++ b/include/fs.h @@ -40,7 +40,12 @

Re: [U-Boot] [PATCH 1/5] ARM: MediaTek: Add support for MediaTek MT8518 SoC

2019-10-13 Thread Matthias Brugger
On 11/09/2019 13:14, mingming lee wrote: > Add support for MediaTek MT8518 SoC. This include the file > that will initialize the SoC after boot and its device tree. > > Signed-off-by: mingming lee > --- > arch/arm/dts/mt8518.dtsi | 201 ++ > arch/arm/mach-m

Re: [U-Boot] [PATCH v3 0/5] usb: kbd: implement special keys

2019-10-13 Thread Marek Vasut
On 10/10/19 11:36 PM, Heinrich Schuchardt wrote: > GRUB uses function keys. So we should support these with an USB keyboard. > Provide support for F1-F12, Insert, Delete, Home, End, Page Up, Page Down. > Simplify the code beforehand. > > Enhance the keyboard unit test. > > v3: > rebase on c

Re: [U-Boot] Question [U-Boot,v2] nand: fix up badblock skipping

2019-10-13 Thread Stefano Babic
Hi Jiri, On 08/10/19 15:50, Ing. Jiří Valek wrote: > Hello, > can I ask what's wrong with my patch v2 ? > It's quite long time no answer.. > https://patchwork.ozlabs.org/patch/1037203/ > > Regards Jiri Valek Patch cannot be applied: please send a V3 with your Signed-off-by and with a commit mess

[U-Boot] [PATCH] pico-imx7d: Remove specific code for fitImage

2019-10-13 Thread Joris Offouga
This implementation is a specific utilisation with CONFIG_FIT. This feature use script for boot. With distrobootcmd is possible to load script. Signed-off-by: Joris Offouga --- include/configs/pico-imx7d.h | 30 -- 1 file changed, 30 deletions(-) diff --git a/include

Re: [U-Boot] [PATCH 3/3] pico-imx7d: polish uart clock id definition

2019-10-13 Thread Stefano Babic
Hi Jun, I am just trying to check if some patch was silently lost, I found yours: On 16/07/19 09:42, Jun Nie wrote: > Polish uart clock id definition. Default IMX7 UART ID is UART1 > as original parameter in imx_get_uartclk(). > > Signed-off-by: Jun Nie > --- > arch/arm/include/asm/arch-mx7/cl

Re: [U-Boot] [PATCH v1 0/3] rsa: extend rsa_verify() for UEFI secure boot

2019-10-13 Thread Heinrich Schuchardt
On 10/9/19 7:30 AM, AKASHI Takahiro wrote: > The current rsa_verify() requires five parameters for a RSA public key > for efficiency while RSA, in theory, requires only two. In addition, > those parameters are expected to come from FIT image. > > So this function won't fit very well when we want to

[U-Boot] [PATCH 1/1] efi_loader: enable CONFIG_CMD_NVEDIT_EFI on QEMU

2019-10-13 Thread Heinrich Schuchardt
To reduce the default image size CONFIG_CMD_NVEDIT_EFI was disabled by default. Re-enable it on the QEMU platforms supporting the UEFI sub-system. Signed-off-by: Heinrich Schuchardt --- configs/qemu-riscv32_defconfig | 1 + configs/qemu-riscv32_smode_defconfig | 1 + configs/qemu-riscv64_d

Re: [U-Boot] [PATCH 1/2] lib: errno: check for unsupported error number

2019-10-13 Thread Simon Glass
On Sun, 6 Oct 2019 at 06:33, Heinrich Schuchardt wrote: > > If errno_str() is called with an unsupported error number, do not return a > random pointer but a reasonable text. > > Signed-off-by: Heinrich Schuchardt > --- > lib/errno_str.c | 8 +++- > 1 file changed, 7 insertions(+), 1 deletio

Re: [U-Boot] [PATCH 2/2] test: provide test for errno_str()

2019-10-13 Thread Simon Glass
Hi Heinrich, On Sun, 6 Oct 2019 at 06:33, Heinrich Schuchardt wrote: > > Provide a unit test for errno_str(). Test that known and unknown error > numbers are handled correctly. > > Signed-off-by: Heinrich Schuchardt > --- > test/lib/Makefile | 1 + > test/lib/test_errno_str.c | 50

Re: [U-Boot] [PATCH 014/126] fdt: Show the preprocessed .dts file on error

2019-10-13 Thread Simon Glass
Hi Bin, On Fri, 4 Oct 2019 at 03:45, Bin Meng wrote: > > Hi Simon, > > On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote: > > > > When device-tree compilation fails it is sometimes tricky to see which > > line is broken, since the input file to dtc is a pre-processed version > > of the device t

Re: [U-Boot] [PATCH 010/126] dm: doc: Correct of-platdata CONFIG_IS_ENABLED() condition

2019-10-13 Thread Simon Glass
Hi Bin, On Fri, 4 Oct 2019 at 03:44, Bin Meng wrote: > > Hi Simon, > > On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote: > > > > This condition is not correct since it should not include an SPL_ prefix. > > Fix it and also add a note about the driver name in the same file. > > > > Signed-off-b

Re: [U-Boot] [PATCH 063/126] x86: pci: Add a function to decode a PCI BDF

2019-10-13 Thread Simon Glass
Hi Bin, On Mon, 7 Oct 2019 at 07:53, Bin Meng wrote: > > On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote: > > > > Early in boot it is necessary to decode the PCI device/function values for > > particular peripherals in the device tree or of-platdata. Add functions to > > handle this. > > > >

Re: [U-Boot] [PATCH 2/2] test: provide test for errno_str()

2019-10-13 Thread Heinrich Schuchardt
On 10/13/19 5:03 PM, Simon Glass wrote: Hi Heinrich, On Sun, 6 Oct 2019 at 06:33, Heinrich Schuchardt wrote: Provide a unit test for errno_str(). Test that known and unknown error numbers are handled correctly. Signed-off-by: Heinrich Schuchardt --- test/lib/Makefile | 1 + test

Re: [U-Boot] [PATCH v3] cmd: env: extend "env [set|print] -e" to manage UEFI variables

2019-10-13 Thread Heinrich Schuchardt
On 10/8/19 2:05 AM, AKASHI Takahiro wrote: On Mon, Oct 07, 2019 at 06:45:08PM +0200, Heinrich Schuchardt wrote: On 10/7/19 5:43 PM, Tom Rini wrote: On Mon, Oct 07, 2019 at 02:02:26PM +0900, AKASHI Takahiro wrote: On Sun, Oct 06, 2019 at 09:42:30PM -0400, Tom Rini wrote: On Mon, Oct 07, 2019 a

[U-Boot] [PATCH] travis: Exclude MIPS from the bcm job

2019-10-13 Thread Tom Rini
We don't need to pull in anything from the MIPS job so exclude that from the new bcm job and make it clear it's building only ARM. Signed-off-by: Tom Rini --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index caad1ee33de1..9ca750e

Re: [U-Boot] [PATCH 005/126] dm: core: Don't include ofnode functions with of-platdata

2019-10-13 Thread Simon Glass
Hi Bin, On Sun, 6 Oct 2019 at 19:40, Bin Meng wrote: > > Hi Simon, > > On Sun, Oct 6, 2019 at 5:15 PM Bin Meng wrote: > > > > On Thu, Oct 3, 2019 at 8:48 PM Bin Meng wrote: > > > > > > On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote: > > > > > > > > These functions cannot work with of-platd

Re: [U-Boot] [PATCH 047/126] spl: Allow SPL/TPL to use of-platdata without libfdt

2019-10-13 Thread Simon Glass
Hi Bin, On Mon, 7 Oct 2019 at 23:46, Bin Meng wrote: > > On Mon, Oct 7, 2019 at 9:55 AM Bin Meng wrote: > > > > On Sat, Oct 5, 2019 at 11:30 PM Bin Meng wrote: > > > > > > On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote: > > > > > > > > At present libfdt is included in SPL/TPL if SPL/TPL_OF

[U-Boot] [PATCH 1/2] [RFC] usb: storage: Only clear READY flag on error

2019-10-13 Thread Marek Vasut
Clear the USB_READY flag in the storage driver only in case there is an error, otherwise usb_stor_BBB_transport() waits 5 mS before doing anything every single time. This is because the USB_READY flag is only ever set in usb_test_unit_ready(), which is called only upon storage device probe, not be

[U-Boot] [PATCH 2/2] [RFC] usb: ehci-hcd: Keep async schedule running

2019-10-13 Thread Marek Vasut
Profiling the EHCI driver shows a significant performance problem in ehci_submit_async(). Specifically, this function keeps enabling and disabling async schedule back and forth for every single transaction. However, enabling/disabling the async schedule does not take effect immediatelly, but instea

Re: [U-Boot] [PATCH] travis: Exclude MIPS from the bcm job

2019-10-13 Thread Tom Rini
On Sun, Oct 13, 2019 at 12:55:42PM -0400, Tom Rini wrote: > We don't need to pull in anything from the MIPS job so exclude that from > the new bcm job and make it clear it's building only ARM. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PG

[U-Boot] [FYI] Debugging Travis-CI builds

2019-10-13 Thread Tom Rini
Hey all, I finally broke down and figured out what you need to do to get a travis-ci environment locally. Using docker, you need to pull https://hub.docker.com/r/travisci/ci-ubuntu-1804/tags and then run it normally with whatever volume re-maps you want. Then follow the steps in our .travis.yml

Re: [U-Boot] [PATCH 1/4] imx: Place imx_ddr_size() into a separate file

2019-10-13 Thread Stefano Babic
Hi Fabio, get a lost patch, I pick it up: On 18/07/19 20:04, Fabio Estevam wrote: > Place imx_ddr_size() into a separate file. > > The motivation for doing this is to be able to easily reuse > imx_ddr_size() on i.MX7ULP. > > Currently imx_ddr_size() is inside arch/arm/mach-imx/cpu.c, which > is

Re: [U-Boot] Question [U-Boot,v2] nand: fix up badblock skipping

2019-10-13 Thread Michael Nazzareno Trimarchi
Hi On Sun, Oct 13, 2019 at 2:16 PM Stefano Babic wrote: > > Hi Jiri, > > On 08/10/19 15:50, Ing. Jiří Valek wrote: > > Hello, > > can I ask what's wrong with my patch v2 ? > > It's quite long time no answer.. > > https://patchwork.ozlabs.org/patch/1037203/ > > > > Regards Jiri Valek > > Patch can

Re: [U-Boot] [PATCH] pico-imx7d: Remove specific code for fitImage

2019-10-13 Thread Otavio Salvador
On Sun, Oct 13, 2019 at 9:30 AM Joris Offouga wrote: > > This implementation is a specific utilisation with CONFIG_FIT. > This feature use script for boot. With distrobootcmd is possible > to load script. > > Signed-off-by: Joris Offouga Reviewed-by: Otavio Salvador -- Otavio Salvador

[U-Boot] [PATCH V2] pico-imx7d: Remove specific code for fitImage

2019-10-13 Thread Joris Offouga
This implementation is a specific utilisation with CONFIG_FIT. This feature use script for boot. With distrobootcmd is possible to load script. Signed-off-by: Joris Offouga Reviewed-by: Otavio Salvador --- Changes v1 -> v2 - Remove missing endif include/configs/pico-imx7d.h | 32 ---

Re: [U-Boot] [PATCH 1/4] imx: Place imx_ddr_size() into a separate file

2019-10-13 Thread Fabio Estevam
Hi Stefano, On Sun, Oct 13, 2019 at 5:44 PM Stefano Babic wrote: > This does not filter MX51, code is not common for it. What do you mind > if I pick it up with : > > ifeq ($(SOC),$(filter $(SOC),mx5 mx6)) > obj-y += cpu.o speed.o > ifneq ($(CONFIG_MX51),y) > obj-y += mmdc_size.o > endif Loo

Re: [U-Boot] [PATCH 063/126] x86: pci: Add a function to decode a PCI BDF

2019-10-13 Thread Bin Meng
Hi Simon, On Sun, Oct 13, 2019 at 11:03 PM Simon Glass wrote: > > Hi Bin, > > On Mon, 7 Oct 2019 at 07:53, Bin Meng wrote: > > > > On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote: > > > > > > Early in boot it is necessary to decode the PCI device/function values for > > > particular peripher

Re: [U-Boot] [PATCH 097/126] x86: Add support for newer CAR schemes

2019-10-13 Thread Bin Meng
Hi Simon, On Sun, Oct 13, 2019 at 1:53 AM Simon Glass wrote: > > Hi Bin, > > On Fri, 11 Oct 2019 at 22:48, Bin Meng wrote: > > > > Hi Simon, > > > > On Sat, Oct 12, 2019 at 11:38 AM Simon Glass wrote: > > > > > > Hi Bin, > > > > > > On Thu, 10 Oct 2019 at 03:50, Bin Meng wrote: > > > > > > > >

Re: [U-Boot] [PATCH 050/126] x86: timer: Reduce timer code size in TPL on Intel CPUs

2019-10-13 Thread Bin Meng
Hi Simon, On Sun, Oct 13, 2019 at 1:55 AM Simon Glass wrote: > > Hi Bin, > > On Fri, 11 Oct 2019 at 23:18, Bin Meng wrote: > > > > Hi Simon, > > > > On Sat, Oct 12, 2019 at 11:38 AM Simon Glass wrote: > > > > > > Hi Bin, > > > > > > On Fri, 11 Oct 2019 at 07:19, Bin Meng wrote: > > > > > > > >

[U-Boot] [PULL] u-boot-mmc mmc-10-10-2019

2019-10-13 Thread Peng Fan
Hi Tom, Please pull u-boot-mmc mmc-10-10-2019 Add sdhci driver for Broadcom iProc platform add a driver callback for power-cycle for mmc implement host_power_cycle callback for stm32_sdmmc2 spl: dm_mmc: Initialize only the required mmc devi

Re: [U-Boot] [PATCH v2 1/4] dm: spi: Return 0 if driver does not implement ops->cs_info

2019-10-13 Thread Bin Meng
On Tue, Oct 8, 2019 at 8:59 PM Bin Meng wrote: > > On Sun, Sep 29, 2019 at 4:04 PM Bin Meng wrote: > > > > Hi Jagan, > > > > On Mon, Sep 9, 2019 at 9:00 PM Bin Meng wrote: > > > > > > If an SPI controller driver does not implement ops->cs_info, that > > > probably means any chip select number co

Re: [U-Boot] [PATCH 0/3] pci: pcie_fsl: add support for none PCIe devices

2019-10-13 Thread Heiko Schocher
Hello Z.q. Hou, Am 11.10.2019 um 05:16 schrieb Z.q. Hou: Hi Heiko, -Original Message- From: Heiko Schocher Sent: 2019年10月9日 12:37 To: U-Boot Mailing List Cc: Heiko Schocher ; Bin Meng ; Z.q. Hou ; Prabhakar X ; Z.q. Hou Subject: [PATCH 0/3] pci: pcie_fsl: add support for none PCIe d