Re: [U-Boot] SiFive FU540 U-Boot patches,

2019-02-24 Thread Rick Chen
Hi Anup Anup Patel 於 2019年2月25日 週一 上午11:28寫道: > > On Mon, Feb 25, 2019 at 7:50 AM Rick Chen wrote: > > > > Hi Anup > > > > Rick Chen 於 2019年2月22日 週五 下午12:05寫道: > > > > > > Hi Anup > > > > > > Anup Patel 於 2019年2月21日 週四 下午5:57寫道: > > > > > > > > > > > On Thu, Feb 21, 2019 at 11:31 AM Bin Meng

[U-Boot] [PATCH v9 8/8] cmd: efidebug: add memmap command

2019-02-24 Thread AKASHI Takahiro
"memmap" command prints uefi-specific memory map information. => efi memmap Type StartEnd Attributes == CONVENTIONAL 4000-7de27000 WB RUNTIME DATA

[U-Boot] [PATCH v9 6/8] cmd: efidebug: add dh command

2019-02-24 Thread AKASHI Takahiro
"dh" command prints all the uefi handles used in the system. => efi dh 7ef3bfa0: Device Path, Device Path To Text, Device Path Utilities, Unicode Collation 2 7ef31d30: Driver Binding 7ef31da0: Simple Text Output 7ef31e10: Simple Text Input, Simple

[U-Boot] [PATCH v9 7/8] cmd: efidebug: add images command

2019-02-24 Thread AKASHI Takahiro
"images" command prints loaded images-related information. Signed-off-by: AKASHI Takahiro Reviewed-by: Heinrich Schuchardt --- cmd/efidebug.c | 26 +- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/cmd/efidebug.c b/cmd/efidebug.c index

[U-Boot] [PATCH v9 4/8] cmd: efidebug: add devices command

2019-02-24 Thread AKASHI Takahiro
"devices" command prints all the uefi variables on the system. => efi devices Scanning disk ahci_scsi.id0lun0... Scanning disk ahci_scsi.id1lun0... Found 4 disks Device Device Path 7ef07ea0 /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)

[U-Boot] [PATCH v9 5/8] cmd: efidebug: add drivers command

2019-02-24 Thread AKASHI Takahiro
"drivers" command prints all the uefi drivers on the system. => efi drivers Driver Name Image Path 7ef003d0 Signed-off-by: AKASHI Takahiro --- cmd/efidebug.c | 95

[U-Boot] [PATCH v9 2/8] efi_loader: define load option attributes

2019-02-24 Thread AKASHI Takahiro
See UEFI specification v2.7a, section 3.1.3, "Load Option Processing." Signed-off-by: AKASHI Takahiro Reviewed-by: Heinrich Schuchardt --- include/efi_api.h| 9 + lib/efi_loader/efi_bootmgr.c | 4 2 files changed, 9 insertions(+), 4 deletions(-) diff --git

[U-Boot] [PATCH v9 3/8] cmd: add efidebug command

2019-02-24 Thread AKASHI Takahiro
Currently, there is no easy way to add or modify UEFI variables. In particular, bootmgr supports BootOrder/Boot variables, it is quite hard to define them as u-boot variables because they are represented in a complicated and encoded format. The new command, efidebug, helps address these

[U-Boot] [PATCH v9 0/8] cmd: add efidebug for efi environment

2019-02-24 Thread AKASHI Takahiro
This patch set is a collection of patches to enhance efi user interfaces /commands. It will help improve user experience on efi boot and make it more usable *without* edk2's shell utility. Let's see how it works: => efidebug boot add 1 SHELL scsi 1:1 /Shell.efi "" => efidebug boot add 2 HELLO

[U-Boot] [PATCH v9 1/8] cmd: env: add "-e" option for handling UEFI variables

2019-02-24 Thread AKASHI Takahiro
"env [print|set] -e" allows for handling uefi variables without knowing details about mapping to corresponding u-boot variables. Signed-off-by: AKASHI Takahiro --- MAINTAINERS | 1 + cmd/Kconfig | 10 ++ cmd/Makefile | 1 + cmd/nvedit.c | 28 +++- cmd/nvedit_efi.c |

Re: [U-Boot] [U-Boot, v3, 1/2] fs: fat: dynamically allocate memory for temporary buffer

2019-02-24 Thread Chee, Tien Fong
On Fri, 2019-02-22 at 10:16 +0100, Michal Simek wrote: > On 22. 02. 19 4:49, Chee, Tien Fong wrote: > > > > On Thu, 2019-02-21 at 22:22 -0500, Tom Rini wrote: > > > > > > On Thu, Feb 21, 2019 at 08:45:37AM +0100, Michal Simek wrote: > > > > > > > > > > > > Hi Tom, > > > > > > > > On 20. 02.

Re: [U-Boot] SiFive FU540 U-Boot patches,

2019-02-24 Thread Anup Patel
On Mon, Feb 25, 2019 at 7:50 AM Rick Chen wrote: > > Hi Anup > > Rick Chen 於 2019年2月22日 週五 下午12:05寫道: > > > > Hi Anup > > > > Anup Patel 於 2019年2月21日 週四 下午5:57寫道: > > > > > > > > On Thu, Feb 21, 2019 at 11:31 AM Bin Meng wrote: > > > > > > > > On Thu, Feb 21, 2019 at 12:48 PM Anup Patel

Re: [U-Boot] SiFive FU540 U-Boot patches,

2019-02-24 Thread Rick Chen
Hi Anup Rick Chen 於 2019年2月22日 週五 下午12:05寫道: > > Hi Anup > > Anup Patel 於 2019年2月21日 週四 下午5:57寫道: > > > > > On Thu, Feb 21, 2019 at 11:31 AM Bin Meng wrote: > > > > > > On Thu, Feb 21, 2019 at 12:48 PM Anup Patel wrote: > > > > > > > > Hi Rick, > > > > > > > > On Fri, Feb 15, 2019 at 10:19 AM

[U-Boot] [RFC] efi_loader: memory type in device path allocation

2019-02-24 Thread AKASHI Takahiro
In efi_device_path.c, dp_alloc() uses efi_allocate_pool() with EFI_ALLOCATE_ANY_PAGES. This usage is just wrong as the first argument to efi_allocate_pool() should be of efi_mem_type, not "allocation type." Since this routine is called as part of device path * protocol, I don't know what is the

Re: [U-Boot] [PATCH v8 4/8] cmd: efidebug: add devices command

2019-02-24 Thread AKASHI Takahiro
On Sat, Feb 23, 2019 at 11:36:53AM +0100, Heinrich Schuchardt wrote: > On 2/22/19 9:10 AM, AKASHI Takahiro wrote: > > "devices" command prints all the uefi variables on the system. > > > > => efi devices > > Scanning disk ahci_scsi.id0lun0... > > Scanning disk ahci_scsi.id1lun0... > > Found 4

Re: [U-Boot] [PATCH v7 1/7] cmd: env: add "-e" option for handling UEFI variables

2019-02-24 Thread AKASHI Takahiro
On Fri, Feb 22, 2019 at 11:13:20AM +0100, Philipp Tomsich wrote: > Heinrich, > > > On 22.02.2019, at 01:21, AKASHI Takahiro wrote: > > > > On Thu, Feb 21, 2019 at 08:42:37PM +0100, Heinrich Schuchardt wrote: > >> On 2/21/19 7:26 AM, AKASHI Takahiro wrote: > >>> "env [print|set] -e" allows for

Re: [U-Boot] [PATCH 4/4] arm: exynos: Remove duplicated "boardname" env setting

2019-02-24 Thread Lukasz Majewski
On Fri, 22 Feb 2019 19:36:43 +0100 Krzysztof Kozlowski wrote: > Various places in the code set "boardname" env property. It was used > for booting from ITB images and choosing proper DTB file name. > Instead of duplicating it, use existing U-Boot wide - "board_name". > > Signed-off-by:

Re: [U-Boot] [PATCH 3/4] configs: odroid_xu3: Unify indentation

2019-02-24 Thread Lukasz Majewski
On Fri, 22 Feb 2019 19:36:42 +0100 Krzysztof Kozlowski wrote: > File mixed space and tab indentation. Unify it. > > Signed-off-by: Krzysztof Kozlowski > --- > include/configs/odroid_xu3.h | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git

Re: [U-Boot] [PATCH 2/4] configs: odroid_xu3: Use consistent syntax for #include

2019-02-24 Thread Lukasz Majewski
On Fri, 22 Feb 2019 19:36:41 +0100 Krzysztof Kozlowski wrote: > When including other header from configs, use consistent <> syntax. > > Signed-off-by: Krzysztof Kozlowski > --- > include/configs/odroid_xu3.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [U-Boot] [PATCH] ARM: Odroid XU3: Enable driver I2C support for OdroidXU3

2019-02-24 Thread Lukasz Majewski
On Sun, 24 Feb 2019 18:11:34 +0530 Anand Moon wrote: > This commit enables support for I2C S3C424X0 driver. > > Signed-off-by: Anand Moon > --- > > ODROID-XU3 # i2c bus > Bus 0: i2c@12C6 > Bus 1: i2c@12C7 > Bus 2: i2c@12C8 > Bus 3: i2c@12C9 > Bus 4: i2c@12CA (active

[U-Boot] [PATCH 1/2] imx8mq_evk/README: fix DDR training firmware path

2019-02-24 Thread Baruch Siach
Remove a redundant directory level. Reported-by: Ofer Heifetz Signed-off-by: Baruch Siach --- board/freescale/imx8mq_evk/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/freescale/imx8mq_evk/README b/board/freescale/imx8mq_evk/README index

[U-Boot] [PATCH 2/2] imx8mq_evk/README: add missing firmware extract step

2019-02-24 Thread Baruch Siach
Signed-off-by: Baruch Siach --- board/freescale/imx8mq_evk/README | 1 + 1 file changed, 1 insertion(+) diff --git a/board/freescale/imx8mq_evk/README b/board/freescale/imx8mq_evk/README index e1335293a08f..2529f7da3d98 100644 --- a/board/freescale/imx8mq_evk/README +++

[U-Boot] [PATCH] configs: Migrate USB_MUSB_DISABLE_BULK_COMBINE_SPLIT to Kconfig

2019-02-24 Thread Alex Kiernan
Migrate support for disable MUSB bulk split/combine to Kconfig Green Travis build: https://travis-ci.org/akiernan/u-boot/builds/497722366 Signed-off-by: Alex Kiernan --- drivers/usb/musb-new/Kconfig | 9 + include/configs/am335x_evm.h | 1 -

Re: [U-Boot] [RFC 02/22] arm: add thunderx_81xx

2019-02-24 Thread Alexander Graf
On 22.02.19 19:02, Tim Harvey wrote: > The thunderx-81xx is a device-tree implementation supporting the Cavium > Octeon-TX CN80xx/CN81xx SoC which combines 64bit ARM cores with thunderx > peripherals. > > Signed-off-by: Tim Harvey > --- > arch/arm/dts/Makefile | 1 + >

Re: [U-Boot] [RFC 03/22] thunderx: add FDT support

2019-02-24 Thread Alexander Graf
On 22.02.19 19:03, Tim Harvey wrote: > The thunderx boards use the Cavium Bringup and Diagnostics Kit (BDK) as a > secondary program loader (SPL). This initial boot firmware loads the > device-tree and passes it to the next layer of software in X1. > > Signed-off-by: Tim Harvey In the long

Re: [U-Boot] [RFC 04/22] thunderx: add thunderx register definitions and misc functions

2019-02-24 Thread Alexander Graf
On 22.02.19 19:03, Tim Harvey wrote: > Add Cavium Thunderx common registers, structures, and helper functions > > Signed-off-by: Tim Harvey > --- > arch/arm/include/asm/arch-thunderx/thunderx.h | 300 ++ > arch/arm/mach-thunderx/Makefile | 2 +- >

Re: [U-Boot] [PATCH 1/1] efi_loader: do not add \ in efi_fs_from_name()

2019-02-24 Thread Alexander Graf
On 23.02.19 18:27, Heinrich Schuchardt wrote: > On 2/23/19 2:37 PM, Alexander Graf wrote: >> >> >>> Am 23.02.2019 um 02:20 schrieb Heinrich Schuchardt : >>> >>> In the `efidebug boot add` command we do not want a unsollicitated leading >>> backslash added to the file name. >>> >>> There is no

Re: [U-Boot] [RFC 01/22] arm: introduce ARCH_THUNDERX

2019-02-24 Thread Alexander Graf
On 22.02.19 19:02, Tim Harvey wrote: > Signed-off-by: Tim Harvey > --- > arch/arm/Kconfig | 6 +++--- > arch/arm/Makefile | 1 + > arch/arm/dts/Makefile | 2 +- >

Re: [U-Boot] [RFC 01/22] arm: introduce ARCH_THUNDERX

2019-02-24 Thread Alexander Graf
On 22.02.19 19:02, Tim Harvey wrote: > Signed-off-by: Tim Harvey > --- > arch/arm/Kconfig | 6 +++--- > arch/arm/Makefile | 1 + > arch/arm/dts/Makefile | 2 +- >

Re: [U-Boot] [PATCH v3 0/9] arm: exynos: Fix reboot on Odroid HC1

2019-02-24 Thread Anand Moon
Hi Krzysztof, Please add my. on Odroid HC1 Tested-by: Anand Moon Best Regards -Anand On Sat, 16 Feb 2019 at 15:16, Krzysztof Kozlowski wrote: > > Hi, > > Changes since v2 > > 1. Add Lukasz review tags. > 2. Patch 7: Return on error, as suggested by Simon. > 2. Patch 3: Use

[U-Boot] [PATCH] ARM: Odroid XU3: Enable driver I2C support for OdroidXU3

2019-02-24 Thread Anand Moon
This commit enables support for I2C S3C424X0 driver. Signed-off-by: Anand Moon --- ODROID-XU3 # i2c bus Bus 0: i2c@12C6 Bus 1: i2c@12C7 Bus 2: i2c@12C8 Bus 3: i2c@12C9 Bus 4: i2c@12CA (active 4) 66: s2mps11_pmic@66, offset len 1, flags 0 Bus 5: i2c@12CB Bus 6: