Re: [U-Boot] Booting from network

2019-04-06 Thread Chris Packham
On Sun, 7 Apr 2019, 9:03 AM U.Mutlu, wrote: > I'm booting over the network (GbE) from a tftp server. > It works, but is IMHO very slow. > Is there a faster method for booting over the net? > TFTP is about as good as your going to get in u-boot right now. Because TFTP sends a block at a time

Re: [U-Boot] [PULL] u-boot-usb/master

2019-04-06 Thread Tom Rini
On Wed, Apr 03, 2019 at 01:48:46PM +0200, Marek Vasut wrote: > The following changes since commit bcd40c347d2c983625065ec70e9e9e1f98b42baf: > > Merge branch 'master' of git://git.denx.de/u-boot-sunxi (2019-04-01 > 12:31:22 -0400) > > are available in the Git repository at: > >

Re: [U-Boot] Pull request: u-boot-imx u -boot-imx-201900405

2019-04-06 Thread Tom Rini
On Fri, Apr 05, 2019 at 12:27:29PM +0200, Stefano Babic wrote: > Hi Tom, > > some fixes for release. Travis: > > https://travis-ci.org/sbabic/u-boot-imx/builds/514637506 > > The following changes since commit 00102ae52055e294ac37ae1380f37620f4a8bb26: > > pico-imx7d: README: Recommend the

Re: [U-Boot] [PATCH] crypto: fsl: jr: Make job-rings assignment non-Secure dependent

2019-04-06 Thread Breno Matheus Lima
Hi Bryan, Seems that my last email didn't get in U-Boot mailing list, I'm sending again. Em sáb, 6 de abr de 2019 às 12:21, Bryan O'Donoghue escreveu: > > > > On 05/04/2019 17:16, Breno Matheus Lima wrote: > > + if ((IS_ENABLED(CONFIG_OPTEE) || > > +

Re: [U-Boot] [PATCH] crypto: fsl: jr: Make job-rings assignment non-Secure dependent

2019-04-06 Thread Breno Matheus Lima
Hi Bryan, Em sáb, 6 de abr de 2019 às 12:21, Bryan O'Donoghue escreveu: > > > > On 05/04/2019 17:16, Breno Matheus Lima wrote: > > + if ((IS_ENABLED(CONFIG_OPTEE) || > > + !IS_ENABLED(CONFIG_ARMV7_BOOT_SEC_DEFAULT)) && > > + !IS_ENABLED(CONFIG_CMD_DEKBLOB)) { > > So. > >

[U-Boot] Booting from network

2019-04-06 Thread U.Mutlu
I'm booting over the network (GbE) from a tftp server. It works, but is IMHO very slow. Is there a faster method for booting over the net? boot.cmd: dhcp 0x4900 tftpboot 0x4600 192.168.1.201:uImage tftpboot 0x4900 192.168.1.201:u-boot.dtb setenv bootargs console=ttyS0,115200

[U-Boot] [PATCH 1/1] efi_loader: correct CTRL-A - CTRL-Z console input

2019-04-06 Thread Heinrich Schuchardt
In the extended text input protocol CTRL-A - CTRL-Z have to be signaled as Unicode characters a-z or A-Z depending on the shift state and not as 0x01 to 0x1a. This patch is required for using the EFI shell `edit` command. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_console.c | 17

[U-Boot] [PATCH] mmc: add eraseenv command

2019-04-06 Thread Frank Wunderlich
"mmc eraseenv" allows to erase the section on mmc where env is stored Signed-off-by: Frank Wunderlich --- cmd/mmc.c | 33 + 1 file changed, 33 insertions(+) diff --git a/cmd/mmc.c b/cmd/mmc.c index 8bc3648193..b8e2c353b4 100644 --- a/cmd/mmc.c +++ b/cmd/mmc.c @@

[U-Boot] Enabling external watchdog support u-boot NXP imx6

2019-04-06 Thread Konstantyn Prokopenko
Hello, I'm using external watchdog MAX6751 for imx6q board and i need to trigger it in u-boot, otherwise system would reset. The reset time is about 1 sec. I've added initialization of GPIO PAD to the board support code and function hw_watchdog_reset(). When i enable CONFIG_HW_WATCHDOG and

[U-Boot] [PATCH v1 0/5] colibri imx8qxp 2gb wb it v1.0b module support

2019-04-06 Thread Marcel Ziswiler
This series fixes the i.MX 8QXP SCFW API header file, adds support for more lpuart instances, cleans-up and extends the Toradex SKU handling and last but not least introduces support for the Toradex Colibri iMX8QXP 2GB WB IT V1.0B module. This series is available together with my previous series

[U-Boot] [PATCH 1/1] efi_loader: enable file SetInfo()

2019-04-06 Thread Heinrich Schuchardt
EFI shell command edit uses the SetInfo() methods to unset the read only attribute of the file to be edited. So let efi_file_setinfo() return success in this case. Return an error if the function is called for to rename or resize a file as we do not support this yet. Signed-off-by: Heinrich

Re: [U-Boot] [PATCH] crypto: fsl: jr: Make job-rings assignment non-Secure dependent

2019-04-06 Thread Bryan O'Donoghue
On 06/04/2019 16:21, Bryan O'Donoghue wrote: 1. I notice somebody has already added a save_gd()/restore_gd() pair I'm referring to save_gd()/restore_gd() here : https://source.codeaurora.org/external/imx/uboot-imx/tree/arch/arm/mach-imx/hab.c?h=imx_v2018.03_4.14.78_1.0.0_ga but... it's

Re: [U-Boot] [PATCH] crypto: fsl: jr: Make job-rings assignment non-Secure dependent

2019-04-06 Thread Bryan O'Donoghue
On 05/04/2019 17:16, Breno Matheus Lima wrote: + if ((IS_ENABLED(CONFIG_OPTEE) || +!IS_ENABLED(CONFIG_ARMV7_BOOT_SEC_DEFAULT)) && +!IS_ENABLED(CONFIG_CMD_DEKBLOB)) { So. How does this patch work if you want to do HABv4 encrypted authentication of an OP-TEE

[U-Boot] [PATCH 1/1] efi_loader: correct file creation

2019-04-06 Thread Heinrich Schuchardt
The EFI shell expects that after opening a file with EFI_FILE_MODE_CREATE GetInfo() succeeds. Up to now we do not actually create the file when method Open() of the EFI_FILE_PROTOCOL is called. If method Open() of the EFI_FILE_PROTOCOL is called with EFI_FILE_MODE_CREATE and the file does not yet

[U-Boot] [PATCH 1/1] efi_loader: debug output file handle in efi_file_open()

2019-04-06 Thread Heinrich Schuchardt
For debugging it is helpful to know the address of the file handle created by the Open() method of the EFI file protocol. So let's write it with EFI_PRINT(). Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_file.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

Re: [U-Boot] [PATCH 28/40] x86: Add a sysreset driver for the Intel PCH

2019-04-06 Thread Bin Meng
Hi Simon, On Sat, Apr 6, 2019 at 10:02 AM Simon Glass wrote: > > Hi Bin, > > On Wed, 3 Apr 2019 at 02:42, Bin Meng wrote: > > > > Hi Simon, > > > > On Wed, Apr 3, 2019 at 10:22 AM Simon Glass wrote: > > > > > > Hi Bin, > > > > > > On Fri, 22 Feb 2019 at 00:20, Bin Meng wrote: > > > > > > > >

[U-Boot] [PATCH v1 2/5] arm: dts: imx8dx: add lpuart1, lpuart2, lpuart3

2019-04-06 Thread Marcel Ziswiler
From: Marcel Ziswiler Add support for lpuart1, lpuart2 and lpuart3. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/fsl-imx8dx.dtsi | 54 1 file changed, 54 insertions(+) diff --git a/arch/arm/dts/fsl-imx8dx.dtsi b/arch/arm/dts/fsl-imx8dx.dtsi index

[U-Boot] [PATCH v1 5/5] board: toradex: add colibri imx8qxp 2gb wb it v1.0b module support

2019-04-06 Thread Marcel Ziswiler
From: Marcel Ziswiler This commit adds initial support for the Toradex Colibri iMX8QXP 2GB WB IT V1.0B module. Unlike the V1.0A early access samples exclusively booting from SD card, they are now strapped to boot from eFuses which are factory fused to properly boot from their on-module eMMC.

[U-Boot] [PATCH v1 4/5] board: toradex: tdx-cfg-block: add new skus

2019-04-06 Thread Marcel Ziswiler
From: Marcel Ziswiler Add all the latest new SKUs: - Apalis iMX8 QuadXPlus 2GB Wi-Fi / BT IT - Apalis iMX8 QuadMax 4GB IT - Apalis iMX8 QuadPlus 2GB Wi-Fi / BT - Apalis iMX8 QuadPlus 2GB", - Colibri iMX8 QuadXPlus 2GB IT - Colibri iMX8 DualX 1GB Wi-Fi / Bluetooth - Colibri iMX8 DualX 1GB

[U-Boot] [PATCH v1 1/5] misc: imx8: remove duplicates from scfw api

2019-04-06 Thread Marcel Ziswiler
From: Marcel Ziswiler Remove duplicate function declarations from the SCFW API header file. Signed-off-by: Marcel Ziswiler --- arch/arm/include/asm/arch-imx8/sci/sci.h | 4 1 file changed, 4 deletions(-) diff --git a/arch/arm/include/asm/arch-imx8/sci/sci.h

[U-Boot] [PATCH v1 3/5] board: toradex: tdx-cfg-block: clean-up sku handling

2019-04-06 Thread Marcel Ziswiler
From: Marcel Ziswiler Clean-up handling of several SKUs. Signed-off-by: Marcel Ziswiler --- board/toradex/common/tdx-cfg-block.c | 12 board/toradex/common/tdx-cfg-block.h | 22 -- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git