Re: [U-Boot] [PATCH 3/9] cmd: bootefi: merge efi_install_fdt() and efi_process_fdt()

2019-04-18 Thread AKASHI Takahiro
On Fri, Apr 19, 2019 at 06:06:08AM +0200, Heinrich Schuchardt wrote: > On 4/19/19 5:22 AM, AKASHI Takahiro wrote: > >This is a preparatory patch for reworking do_bootefi() in later patch. > >For simplicity, merge two functions. > > > >Signed-off-by: AKASHI Takahiro > >--- > > cmd/bootefi.c | 67

Re: [U-Boot] [PATCH 3/9] cmd: bootefi: merge efi_install_fdt() and efi_process_fdt()

2019-04-18 Thread Heinrich Schuchardt
On 4/19/19 5:22 AM, AKASHI Takahiro wrote: This is a preparatory patch for reworking do_bootefi() in later patch. For simplicity, merge two functions. Signed-off-by: AKASHI Takahiro --- cmd/bootefi.c | 67 +-- 1 file changed, 28 insertions(+),

Re: [U-Boot] [PATCH 2/9] cmd: bootefi: carve out fdt handling from do_bootefi()

2019-04-18 Thread Heinrich Schuchardt
On 4/19/19 5:22 AM, AKASHI Takahiro wrote: This is a preparatory patch for reworking do_bootefi() in later patch. Carve out a function to handle the installation of the device tree as a configuration table in system table. Signed-off-by: AKASHI Takahiro Reviewed-by: Heinrich Schuchardt

Re: [U-Boot] [PATCH 1/9] cmd: bootefi: rework set_load_options()

2019-04-18 Thread Heinrich Schuchardt
On 4/19/19 5:22 AM, AKASHI Takahiro wrote: set_load_options() can fail, so it should return error code to stop invoking an image. In addition, set_load_options() now takes a handle, instead of loaded_image_info, to utilize efi_load_image() in a later patch. Signed-off-by: AKASHI Takahiro

[U-Boot] [PATCH 7/9] cmd: bootefi: carve out do_bootefi_image() from do_bootefi()

2019-04-18 Thread AKASHI Takahiro
This is a preparatory patch for reworking do_bootefi() in later patch. All the non-boot-manager-based (that is, bootefi ) code is put into one function, do_bootefi_image(). Signed-off-by: AKASHI Takahiro Reviewed-by: Heinrich Schuchardt --- cmd/bootefi.c | 122

[U-Boot] [PATCH 8/9] efi_loader: rework bootmgr/bootefi using load_image API

2019-04-18 Thread AKASHI Takahiro
In the current implementation, bootefi command and EFI boot manager don't use load_image API, instead, use more primitive and internal functions. This will introduce duplicated code and potentially unknown bugs as well as inconsistent behaviours. With this patch, do_efibootmgr() and do_boot_efi()

[U-Boot] [PATCH 9/9] cmd: add efibootmgr command

2019-04-18 Thread AKASHI Takahiro
Add CONFIG_CMD_STANDALONE_EFIBOOTMGR. With this patch, EFI boot manager can be kicked in by a standalone command, efibootmgr. Signed-off-by: AKASHI Takahiro --- cmd/Kconfig | 8 cmd/bootefi.c | 35 +++ 2 files changed, 43 insertions(+) diff --git

[U-Boot] [PATCH 2/9] cmd: bootefi: carve out fdt handling from do_bootefi()

2019-04-18 Thread AKASHI Takahiro
This is a preparatory patch for reworking do_bootefi() in later patch. Carve out a function to handle the installation of the device tree as a configuration table in system table. Signed-off-by: AKASHI Takahiro --- cmd/bootefi.c | 54 --- 1 file

[U-Boot] [PATCH 3/9] cmd: bootefi: merge efi_install_fdt() and efi_process_fdt()

2019-04-18 Thread AKASHI Takahiro
This is a preparatory patch for reworking do_bootefi() in later patch. For simplicity, merge two functions. Signed-off-by: AKASHI Takahiro --- cmd/bootefi.c | 67 +-- 1 file changed, 28 insertions(+), 39 deletions(-) diff --git a/cmd/bootefi.c

[U-Boot] [PATCH 4/9] cmd: bootefi: carve out efi_selftest code from do_bootefi()

2019-04-18 Thread AKASHI Takahiro
This is a preparatory patch for reworking do_bootefi() in later patch. Efi_selftest code is unusual in terms of execution path in do_bootefi(), which make that function complicated and hard to understand. With this patch, all efi_selftest related code will be put in a separate function. The

[U-Boot] [PATCH 5/9] cmd: bootefi: move do_bootefi_bootmgr_exec() forward

2019-04-18 Thread AKASHI Takahiro
This is a preparatory patch for reworking do_bootefi() in later patch. Signed-off-by: AKASHI Takahiro Reviewed-by: Heinrich Schuchardt --- cmd/bootefi.c | 42 +- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/cmd/bootefi.c

[U-Boot] [PATCH 6/9] cmd: bootefi: carve out bootmgr code from do_bootefi()

2019-04-18 Thread AKASHI Takahiro
This is a preparatory patch for reworking do_bootefi() in later patch. do_bootmgr_exec() is renamed to do_efibootmgr() as we put all the necessary code into this function. Signed-off-by: AKASHI Takahiro --- cmd/bootefi.c | 44 1 file changed, 36

[U-Boot] [PATCH 1/9] cmd: bootefi: rework set_load_options()

2019-04-18 Thread AKASHI Takahiro
set_load_options() can fail, so it should return error code to stop invoking an image. In addition, set_load_options() now takes a handle, instead of loaded_image_info, to utilize efi_load_image() in a later patch. Signed-off-by: AKASHI Takahiro --- cmd/bootefi.c | 36

[U-Boot] [PATCH 0/9] efi_loader: rework bootefi/bootmgr

2019-04-18 Thread AKASHI Takahiro
There are several reasons that I want to rework/refactor bootefi command as well as bootmgr: * Some previous commits on bootefi.c have made the code complicated and a bit hard to understand. * do_bootefi_exec() would better be implemented using load_image() along with start_image() to be

Re: [U-Boot] [PATCH v7 00/15] SiFive FU540 Support

2019-04-18 Thread Atish Patra
On 4/18/19 4:16 PM, Kevin Hilman wrote: Atish Patra writes: On 4/18/19 12:15 PM, Kevin Hilman wrote: Palmer, Anup, On Tue, Mar 12, 2019 at 1:55 AM Palmer Dabbelt wrote: On Mon, 11 Mar 2019 07:33:25 PDT (-0700), bmeng...@gmail.com wrote: On Thu, Feb 14, 2019 at 7:58 AM Kevin Hilman

Re: [U-Boot] [PATCH v7 00/15] SiFive FU540 Support

2019-04-18 Thread Kevin Hilman
Atish Patra writes: > On 4/18/19 12:15 PM, Kevin Hilman wrote: >> Palmer, Anup, >> >> On Tue, Mar 12, 2019 at 1:55 AM Palmer Dabbelt wrote: >>> >>> On Mon, 11 Mar 2019 07:33:25 PDT (-0700), bmeng...@gmail.com wrote: On Thu, Feb 14, 2019 at 7:58 AM Kevin Hilman wrote: > > Kevin

Re: [U-Boot] [PATCH v1 4/5] CONFIG_SYS_[DI]CACHE_OFF: convert to Kconfig

2019-04-18 Thread Trevor Woerner
On Thu 2019-04-18 @ 04:49:30 PM, Alexey Brodkin wrote: > Hi Trevor, > > > -Original Message- > > > CONFIG_SYS_[DI]CACHE_OFF had been partially converted to Kconfig > > parameters; only for the ARC architecture. This patch turns these two > > parameters into Kconfig items everywhere else

[U-Boot] [PATCH 1/2 v2] fit: Support compression for non-kernel components (e.g. FDT)

2019-04-18 Thread Julius Werner
This patch adds support for compressing non-kernel image nodes in a FIT image (kernel nodes could already be compressed previously). This can reduce the size of FIT images and therefore improve boot times (especially when an image bundles many different kernel FDTs). The images will automatically

Re: [U-Boot] [PATCH 1/2] fit: Support FDT compression

2019-04-18 Thread Julius Werner
> Hmm, I think we might want to use the lmb functions here to allocate a > buffer instead of relyling on malloc? The malloc pool might be large > enough for an uncompressed devicetree, but not for an 8 MByte FPGA image... > > But starting with malloc might be ok. Okay, that sounds like a good

[U-Boot] [PATCH 2/2 v2] fit: Support compat string property in configuration node

2019-04-18 Thread Julius Werner
This patch adds support for an optional optimization to compatible string matching where the compatible string property from the root node of the kernel FDT can be copied into the configuration node of the FIT image. This is most useful when using compressed FDTs or when using FDT overlays, where

[U-Boot] [PATCH 0/2] fit: Image node compression

2019-04-18 Thread Julius Werner
This patch series adds compression support for non-kernel FIT image nodes (e.g. FDTs). The first patch adds the compression support itself, the second adds a new feature to compatible string matching that allows it to be useful with compressed FDTs. Sandbox-tested with FIT images with and without

Re: [U-Boot] [PATCH 1/2] fit: Support FDT compression

2019-04-18 Thread Simon Goldschmidt
On 18.04.19 22:36, Julius Werner wrote: My approach was to uncompress all compressed images on-the-fly in fit_image_load(). Right, that's essentially what this patch is doing too. Cool. I'm sorry I haven't found the time to dig into your patch for details (too much day-to-day work right

Re: [U-Boot] [PATCH 1/2] fit: Support FDT compression

2019-04-18 Thread Julius Werner
> My approach was to uncompress all compressed images on-the-fly in > fit_image_load(). Right, that's essentially what this patch is doing too. > Or I could dig up my patches from October and we'll see how far you get > with those? I think I found your patch:

[U-Boot] [PATCH] Refactor IMAGE_ENABLE_VERIFY to handle builds without SPL verification

2019-04-18 Thread Alex Kiernan
If building with SPL_LOAD_FIT_FULL and FIT_SIGNATURE, but without SPL_FIT_SIGNATURE then the build fails with: common/built-in.o: In function `fit_image_verify_with_data': common/image-fit.c:1220: undefined reference to `fit_image_verify_required_sigs' common/image-fit.c:1244: undefined

[U-Boot] "optee" Kbuild seems to have weird dependencies

2019-04-18 Thread Robert P. J. Day
going over the u-boot.cfg generated from zynq_zed_defconfig, and noticed the following: #define CONFIG_OPTEE_TZDRAM_BASE 0x #define CONFIG_OPTEE_TZDRAM_SIZE 0x000 i thought that was strange as CONFIG_OPTEE was not selected, so i checked, and here's the relevant snippet from

Re: [U-Boot] [PATCH v4 0/4] configs: rk3288: Tinker Board SPL file must fit into 32 KiB

2019-04-18 Thread Simon Goldschmidt
Heinrich, On 02.04.19 19:19, Heinrich Schuchardt wrote: The SPL image for the Tinker Board has to fit into 32 KiB. This includes up to 2 KiB for the file header. A new configuration variable CONFIG_SPL_SIZE_LIMIT is introduced to define the board specific limit. A common Makefile function is

Re: [U-Boot] [PATCH 1/2] fit: Support FDT compression

2019-04-18 Thread Simon Goldschmidt
On 18.04.19 21:59, Julius Werner wrote: Hi Simon, Is your approach similar to what I did here (decompressing transparently as part of fit_image_load())? I think I could easily expand this to other image types, I just don't always know how to test those. Really, the only thing that can't be

Re: [U-Boot] [PATCH v7 00/15] SiFive FU540 Support

2019-04-18 Thread Atish Patra
On 4/18/19 12:15 PM, Kevin Hilman wrote: Palmer, Anup, On Tue, Mar 12, 2019 at 1:55 AM Palmer Dabbelt wrote: On Mon, 11 Mar 2019 07:33:25 PDT (-0700), bmeng...@gmail.com wrote: On Thu, Feb 14, 2019 at 7:58 AM Kevin Hilman wrote: Kevin Hilman writes: Hi Anup, Anup Patel writes:

Re: [U-Boot] [PATCH 1/2] fit: Support FDT compression

2019-04-18 Thread Julius Werner
Hi Simon, Is your approach similar to what I did here (decompressing transparently as part of fit_image_load())? I think I could easily expand this to other image types, I just don't always know how to test those. Really, the only thing that can't be decompressed there is the kernel image

[U-Boot] [RESEND PATCH v3] sun50i: a64: Add Olimex A64-Teres-I board initial support

2019-04-18 Thread Jonas Smedegaard
[resent only to list, to avoid blocking due to too many recipients] Olimex A64-Teres-I board is a mainboard (the only one so far) for Olimex Teres-I DIY laptop kit. Key features: - Allwinner A64 Cortex-A53 - Mali-400MP2 GPU - AXP803 PMIC - 2GB DDR3 RAM - MicroSD Slot - 16GB eMMC Flash - eDP LCD

Re: [U-Boot] [PATCH v7 00/15] SiFive FU540 Support

2019-04-18 Thread Kevin Hilman
Palmer, Anup, On Tue, Mar 12, 2019 at 1:55 AM Palmer Dabbelt wrote: > > On Mon, 11 Mar 2019 07:33:25 PDT (-0700), bmeng...@gmail.com wrote: > > On Thu, Feb 14, 2019 at 7:58 AM Kevin Hilman wrote: > >> > >> Kevin Hilman writes: > >> > >> > Hi Anup, > >> > > >> > Anup Patel writes: > >> > > >>

Re: [U-Boot] [PATCH v3] sun50i: a64: Add Olimex A64-Teres-I board initial support

2019-04-18 Thread Jonas Smedegaard
Quoting Jonas Smedegaard (2019-04-18 20:22:28) > Quoting Jagan Teki (2019-04-18 18:57:59) > > On Thu, Apr 18, 2019 at 9:02 PM Jonas Smedegaard wrote: > > > Known broken: > > > - USB > > > > what is broken? any information? > > Below is the console output - neither builtin USB1 keyboard nor an

Re: [U-Boot] [PATCH v3] sun50i: a64: Add Olimex A64-Teres-I board initial support

2019-04-18 Thread Jonas Smedegaard
Quoting Jagan Teki (2019-04-18 18:57:59) > On Thu, Apr 18, 2019 at 9:02 PM Jonas Smedegaard wrote: > > Known broken: > > - USB > > what is broken? any information? Below is the console output - neither builtin USB1 keyboard nor an external USB USB2 hub with a USB1 keyboard attached are

Re: [U-Boot] [RESEND-2 PATCH 0/4] sunxi: Enable EMAC on A83T boards using Realtek RTL8211E PHY

2019-04-18 Thread Jagan Teki
On Thu, Apr 18, 2019 at 10:43 PM Chen-Yu Tsai wrote: > > On Thu, Apr 18, 2019 at 10:07 AM Jagan Teki > wrote: > > > > On Thu, Apr 18, 2019 at 10:33 PM Chen-Yu Tsai wrote: > > > > > > On Thu, Apr 18, 2019 at 9:51 AM Jagan Teki > > > wrote: > > > > > > > > On Thu, Apr 18, 2019 at 10:19 PM

Re: [U-Boot] [RESEND-2 PATCH 0/4] sunxi: Enable EMAC on A83T boards using Realtek RTL8211E PHY

2019-04-18 Thread Chen-Yu Tsai
On Thu, Apr 18, 2019 at 10:07 AM Jagan Teki wrote: > > On Thu, Apr 18, 2019 at 10:33 PM Chen-Yu Tsai wrote: > > > > On Thu, Apr 18, 2019 at 9:51 AM Jagan Teki > > wrote: > > > > > > On Thu, Apr 18, 2019 at 10:19 PM Chen-Yu Tsai wrote: > > > > > > > > On Thu, Apr 18, 2019 at 9:42 AM Jagan Teki

Re: [U-Boot] [RESEND-2 PATCH 0/4] sunxi: Enable EMAC on A83T boards using Realtek RTL8211E PHY

2019-04-18 Thread Jagan Teki
On Thu, Apr 18, 2019 at 10:33 PM Chen-Yu Tsai wrote: > > On Thu, Apr 18, 2019 at 9:51 AM Jagan Teki wrote: > > > > On Thu, Apr 18, 2019 at 10:19 PM Chen-Yu Tsai wrote: > > > > > > On Thu, Apr 18, 2019 at 9:42 AM Jagan Teki > > > wrote: > > > > > > > > On Thu, Apr 18, 2019 at 10:00 PM Chen-Yu

Re: [U-Boot] [RESEND-2 PATCH 0/4] sunxi: Enable EMAC on A83T boards using Realtek RTL8211E PHY

2019-04-18 Thread Chen-Yu Tsai
On Thu, Apr 18, 2019 at 9:51 AM Jagan Teki wrote: > > On Thu, Apr 18, 2019 at 10:19 PM Chen-Yu Tsai wrote: > > > > On Thu, Apr 18, 2019 at 9:42 AM Jagan Teki > > wrote: > > > > > > On Thu, Apr 18, 2019 at 10:00 PM Chen-Yu Tsai wrote: > > > > > > > > On Thu, Apr 18, 2019 at 9:15 AM Chen-Yu

Re: [U-Boot] [RESEND PATCH 0/3] arm: Introduce writel/readl_relaxed accessors

2019-04-18 Thread Jagan Teki
On Sun, Feb 10, 2019 at 9:49 PM Andre Przywara wrote: > > Hi, this is a resend of what I posted some weeks ago, just adding the > missing Signed-off-by: in patch 2/3, as pointed out by Philipp. I used > the opportunity to add his Reviewed-by: tags on the first two patches. > (Many thanks for

Re: [U-Boot] [RESEND PATCH 0/3] arm: Introduce writel/readl_relaxed accessors

2019-04-18 Thread Jagan Teki
On Thu, Apr 18, 2019 at 6:07 AM André Przywara wrote: > > On 17/04/2019 13:00, Jagan Teki wrote: > > On Mon, Apr 15, 2019 at 1:21 PM André Przywara > > wrote: > >> > >> On 15/04/2019 07:22, Jagan Teki wrote: > >> > >> Hi, > >> > >>> On Mon, Apr 15, 2019 at 11:40 AM Chen-Yu Tsai wrote: > >

Re: [U-Boot] [PATCH v3] sun50i: a64: Add Olimex A64-Teres-I board initial support

2019-04-18 Thread Jagan Teki
On Thu, Apr 18, 2019 at 9:02 PM Jonas Smedegaard wrote: > > Olimex A64-Teres-I board is a mainboard (the only one so far) > for Olimex Teres-I DIY laptop kit. > > Key features: > - Allwinner A64 Cortex-A53 > - Mali-400MP2 GPU > - AXP803 PMIC > - 2GB DDR3 RAM > - MicroSD Slot > - 16GB eMMC Flash >

Re: [U-Boot] [PATCH v1 4/5] CONFIG_SYS_[DI]CACHE_OFF: convert to Kconfig

2019-04-18 Thread Alexey Brodkin
Hi Trevor, > -Original Message- > CONFIG_SYS_[DI]CACHE_OFF had been partially converted to Kconfig > parameters; only for the ARC architecture. This patch turns these two > parameters into Kconfig items everywhere else they are found. > > All of the include/configs/* and defconfig

Re: [U-Boot] [RESEND-2 PATCH 0/4] sunxi: Enable EMAC on A83T boards using Realtek RTL8211E PHY

2019-04-18 Thread Jagan Teki
On Thu, Apr 18, 2019 at 10:19 PM Chen-Yu Tsai wrote: > > On Thu, Apr 18, 2019 at 9:42 AM Jagan Teki wrote: > > > > On Thu, Apr 18, 2019 at 10:00 PM Chen-Yu Tsai wrote: > > > > > > On Thu, Apr 18, 2019 at 9:15 AM Chen-Yu Tsai wrote: > > > > > > > > On Thu, Apr 18, 2019 at 8:09 AM Chen-Yu Tsai

Re: [U-Boot] [RESEND-2 PATCH 0/4] sunxi: Enable EMAC on A83T boards using Realtek RTL8211E PHY

2019-04-18 Thread Chen-Yu Tsai
On Thu, Apr 18, 2019 at 9:42 AM Jagan Teki wrote: > > On Thu, Apr 18, 2019 at 10:00 PM Chen-Yu Tsai wrote: > > > > On Thu, Apr 18, 2019 at 9:15 AM Chen-Yu Tsai wrote: > > > > > > On Thu, Apr 18, 2019 at 8:09 AM Chen-Yu Tsai wrote: > > > > > > > > On Wed, Apr 17, 2019 at 4:38 AM Jagan Teki >

Re: [U-Boot] [PATCH v2] sunxi: Fix build when CONFIG_CMD_PXE or CONFIG_CMD_DHCP are disabled

2019-04-18 Thread Jagan Teki
On Wed, Feb 13, 2019 at 11:20 PM wrote: > > From: Ondrej Jirman > > Fixes a compilation failure with disabled PXE or DHCP command when using > sunxi platform. > > Signed-off-by: Ondřej Jirman > --- Applied to u-boot-sunxi/master ___ U-Boot mailing

Re: [U-Boot] [PATCH 1/3] rockchip: rk3399: add tpl support

2019-04-18 Thread Heiko Stübner
Am Donnerstag, 18. April 2019, 08:35:49 CEST schrieb Philipp Tomsich: > Simon, > > > On 18.04.2019, at 06:32, Simon Glass wrote: > > > > Hi Kever, > > > > On Mon, 1 Apr 2019 at 02:21, Kever Yang wrote: > >> > >> Rockchip platform suppose to use TPL(run in SRAM) as dram init and > >> SPL(run

Re: [U-Boot] [PATCH v3 2/3] arm: dts: h6: Add Beelink GS1 initial support

2019-04-18 Thread Jagan Teki
On Wed, Apr 17, 2019 at 11:11 PM Clément Péron wrote: > > Beelink GS1 is an Allwinner H6 based TV box, > which support: > - Allwinner H6 Quad-core 64-bit ARM Cortex-A53 > - GPU Mali-T720 > - 2GB LPDDR3 RAM > - 16GB eMMC > - AXP805 PMIC > - 1Gbps GMAC via RTL8211E > - USB 2.0 and 3.0 Host > - HDMI

Re: [U-Boot] [PATCH v1 5/5] CONFIG_SPL_SYS_[DI]CACHE_OFF: add

2019-04-18 Thread Alexey Brodkin
Hi Trevor, > -Original Message- > From: Trevor Woerner > Sent: Thursday, April 18, 2019 4:12 PM > To: U-Boot Mailing List [snip] > While converting CONFIG_SYS_[DI]CACHE_OFF to Kconfig, there are instances > where these configuration items are conditional on SPL. This commit adds SPL

Re: [U-Boot] [RESEND-2 PATCH 0/4] sunxi: Enable EMAC on A83T boards using Realtek RTL8211E PHY

2019-04-18 Thread Jagan Teki
On Thu, Apr 18, 2019 at 10:00 PM Chen-Yu Tsai wrote: > > On Thu, Apr 18, 2019 at 9:15 AM Chen-Yu Tsai wrote: > > > > On Thu, Apr 18, 2019 at 8:09 AM Chen-Yu Tsai wrote: > > > > > > On Wed, Apr 17, 2019 at 4:38 AM Jagan Teki > > > wrote: > > > > > > > > Hi, > > > > > > > > On Fri, Apr 12, 2019

Re: [U-Boot] [PATCH] turris_omnia: fix eeprom/mcu device names

2019-04-18 Thread Marek Behún
Pierre, please add Reviewed-by: Marek Behún and send also to Stefan Roese Marek On Thu, 11 Apr 2019 01:00:23 +0200 Pierre Bourdon wrote: > Commit c4bd12a7dad4 ("i2c: mux: Generate longer i2c mux name") changed > the naming scheme of i2c devices within a mux. This broke references > to

Re: [U-Boot] [RESEND-2 PATCH 0/4] sunxi: Enable EMAC on A83T boards using Realtek RTL8211E PHY

2019-04-18 Thread Chen-Yu Tsai
On Thu, Apr 18, 2019 at 9:15 AM Chen-Yu Tsai wrote: > > On Thu, Apr 18, 2019 at 8:09 AM Chen-Yu Tsai wrote: > > > > On Wed, Apr 17, 2019 at 4:38 AM Jagan Teki > > wrote: > > > > > > Hi, > > > > > > On Fri, Apr 12, 2019 at 4:05 PM Chen-Yu Tsai wrote: > > > > > > > > From: Chen-Yu Tsai > > > >

Re: [U-Boot] [PATCH v2 2/2] net: eth-uclass: Support device tree MAC addresses

2019-04-18 Thread Grygorii Strashko
On 17.04.19 18:03, Thierry Reding wrote: > On Wed, Apr 17, 2019 at 02:49:22PM +0300, Grygorii Strashko wrote: >> >> >> On 16.04.19 19:24, Thierry Reding wrote: >>> From: Thierry Reding >>> >>> Add the standard Ethernet device tree bindings (imported from v5.0 of >>> the Linux kernel) and

Re: [U-Boot] [uboot-snps-arc] ARC changes for 2019.07

2019-04-18 Thread Alexey Brodkin
Hi Tom, > -Original Message- > From: Tom Rini > Sent: Thursday, April 18, 2019 7:21 PM > To: Alexey Brodkin > Cc: uboot-snps-...@synopsys.com; u-boot@lists.denx.de > Subject: Re: [uboot-snps-arc] [U-Boot] ARC changes for 2019.07 > > On Thu, Apr 18, 2019 at 04:04:27PM +, Alexey

Re: [U-Boot] [PATCH] arm: am57xx: cl-som-am57x: remove board support

2019-04-18 Thread Tom Rini
On Sun, Apr 14, 2019 at 12:17:53PM +0300, Uri Mashiach wrote: > U-Boot support for the CL-SOM-AM57x module is no longer required. > > Signed-off-by: Uri Mashiach Thanks for your previous efforts here. Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] ARC changes for 2019.07

2019-04-18 Thread Tom Rini
On Thu, Apr 18, 2019 at 04:04:27PM +, Alexey Brodkin wrote: > Hi Tom, > > The following changes since commit 75ce8c938d39bd22460be66e6bf318bd2410c17b: > > Merge tag 'u-boot-imx-20190415' of git://git.denx.de/u-boot-imx (2019-04-15 > 07:31:14 -0400) > > are available in the Git

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

2019-04-18 Thread Tom Rini
On Wed, Apr 17, 2019 at 05:51:37PM +0530, Jagan Teki wrote: > Hi Tom, > > Please pull this PR. > > Summary: > - drop non-DM code from ti_qspi > - support spi-mem for ti_qspi > > thanks, > Jagan. > > The following changes since commit 216800acf1fbf9f498455bf3c92d4513d9a4c681: > > Merge

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

2019-04-18 Thread Tom Rini
On Wed, Apr 17, 2019 at 05:57:31PM +0530, Jagan Teki wrote: > Hi Tom, > > Please pull this PR. > > Summary: > - Convert DM_MMC and DM_SCSI > - A20, R40, H6 Linux dts(i) sync > - CLK, RESET support for sunxi, sun8_emac net drivers > > thanks, > Jagan. > > The following changes since commit

Re: [U-Boot] [GIT PULL] Xilinx patches for v2019.04

2019-04-18 Thread Tom Rini
On Wed, Apr 17, 2019 at 11:05:13AM +0200, Michal Simek wrote: > Hi Tom, > > I am sending you some patches related to Xilinx devices and fpga > framework. There are minimal changes in xilinx drivers and one patch > which fixes EXT_DTB usage reviewed by Simon. > > Builds look good. >

Re: [U-Boot] [GIT PULL] UniPhier updates for v2019.07

2019-04-18 Thread Tom Rini
On Wed, Apr 17, 2019 at 07:51:17AM +0900, Masahiro Yamada wrote: > Hi Tom, > > Please pull some updates for v2019.07 > Thanks! > > > > The following changes since commit 216800acf1fbf9f498455bf3c92d4513d9a4c681: > > Merge branch 'master' of git://git.denx.de/u-boot-spi (2019-04-14 >

Re: [U-Boot] [RESEND-2 PATCH 0/4] sunxi: Enable EMAC on A83T boards using Realtek RTL8211E PHY

2019-04-18 Thread Chen-Yu Tsai
On Thu, Apr 18, 2019 at 8:09 AM Chen-Yu Tsai wrote: > > On Wed, Apr 17, 2019 at 4:38 AM Jagan Teki wrote: > > > > Hi, > > > > On Fri, Apr 12, 2019 at 4:05 PM Chen-Yu Tsai wrote: > > > > > > From: Chen-Yu Tsai > > > > > > (Resending yet again with correct email address now subscribed > > > and

[U-Boot] ARC changes for 2019.07

2019-04-18 Thread Alexey Brodkin
Hi Tom, The following changes since commit 75ce8c938d39bd22460be66e6bf318bd2410c17b: Merge tag 'u-boot-imx-20190415' of git://git.denx.de/u-boot-imx (2019-04-15 07:31:14 -0400) are available in the Git repository at: git://git.denx.de/u-boot-arc.git tags/arc-for-2019.07 for you to fetch

[U-Boot] [PATCH 00/16] patches for stm32 support

2019-04-18 Thread Patrick Delaunay
Some patches to cleanup and to improve the support of stm32mp1 in U-Boot. Nicolas Le Bayon (2): i2c: stm32f7: Fix SDADEL minimum formula i2c: stm32f7: improve loopback in timing algorithm Patrick Delaunay (14): stm32mp1: Move config SYS_MALLOC_LEN to Kconfig stm32mp1: Move ENV_SIZE

[U-Boot] [PATCH v3] sun50i: a64: Add Olimex A64-Teres-I board initial support

2019-04-18 Thread Jonas Smedegaard
Olimex A64-Teres-I board is a mainboard (the only one so far) for Olimex Teres-I DIY laptop kit. Key features: - Allwinner A64 Cortex-A53 - Mali-400MP2 GPU - AXP803 PMIC - 2GB DDR3 RAM - MicroSD Slot - 16GB eMMC Flash - eDP LCD display - HDMI - USB Host - Battery management - 5V DC power supply -

[U-Boot] [PATCH] phycore-pcl060: U-boot support for Phytec phyCORE PCL060

2019-04-18 Thread Niel Fourie
Support for Phytech phyCORE AM335x R2 SOM (PCL060) on the Phytec phyBOARD-Wega AM335x. CPU : AM335X-GP rev 2.1 Model: Phytec AM335x phyBOARD-WEGA DRAM: 256 MiB NAND: 256 MiB MMC: OMAP SD/MMC: 0 eth0: ethernet@4a10 Working: - Eth0 - i2C - MMC/SD - NAND - UART - USB (host)

[U-Boot] [PATCH 13/16] clk: stm32mp1: add set_rate for DDRPHYC clock

2019-04-18 Thread Patrick Delaunay
Add the DDRPHYC support for clk_set_rate, used in DDR interactive mode Signed-off-by: Patrick Delaunay --- drivers/clk/clk_stm32mp1.c | 83 ++ 1 file changed, 83 insertions(+) diff --git a/drivers/clk/clk_stm32mp1.c b/drivers/clk/clk_stm32mp1.c

[U-Boot] [PATCH 08/16] i2c: stm32f7: improve loopback in timing algorithm

2019-04-18 Thread Patrick Delaunay
From: Nicolas Le Bayon This avoids useless loops inside the I2C timing algorithm. Actually, we support only one possible solution per prescaler value. So after finding a solution with a prescaler, the algorithm can switch directly to the next prescaler value. Signed-off-by: Nicolas Le Bayon

[U-Boot] [PATCH 16/16] serial: stm32: remove watchog reset in debug putc

2019-04-18 Thread Patrick Delaunay
For STM32MP, the watchdog is based on DM and the function watchod_reset call the function uclass_get_device(UCLASS_WDT) to found the driver associated IWDG2. As this reset is not mandatory in debug putc (the uart fifo will be empty after some us), we can simplify the code by removing this call.

[U-Boot] [PATCH 14/16] env: solve compilation error in SPL

2019-04-18 Thread Patrick Delaunay
Solve compilation issue when cli_simple.o is used in SPL and CONFIG_SPL_ENV_SUPPORT is not defined. env/built-in.o:(.data.env_htab+0xc): undefined reference to `env_flags_validate' u-boot/scripts/Makefile.spl:384: recipe for target 'spl/u-boot-spl' failed make[2]: *** [spl/u-boot-spl] Error 1

[U-Boot] [PATCH 10/16] stm32mp1: add bootcount support

2019-04-18 Thread Patrick Delaunay
Activate bootcount and use TAMP register to store the count value. Signed-off-by: Patrick Delaunay --- arch/arm/mach-stm32mp/Kconfig | 11 +++ arch/arm/mach-stm32mp/include/mach/stm32.h | 1 + 2 files changed, 12 insertions(+) diff --git a/arch/arm/mach-stm32mp/Kconfig

[U-Boot] [PATCH 12/16] stm32mp1: add bootstage support

2019-04-18 Thread Patrick Delaunay
Add the needed configurations for bootstage and activate bootstage command. BOOTSTAGE_REPORT is not activated by default. Signed-off-by: Patrick Delaunay --- arch/arm/mach-stm32mp/Kconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/mach-stm32mp/Kconfig

[U-Boot] [PATCH 11/16] armv7: timer: init timer with bootstage

2019-04-18 Thread Patrick Delaunay
In initf_bootstage() we call bootstage_mark_name() which ends up calling timer_get_us() before timer_init(); that cause crash for stm32mp1. This patch solve the issue without changing the initialization sequence. See also commit 97d20f69f53e ("Enable CONFIG_TIMER_EARLY with bootstage") for other

[U-Boot] [PATCH 02/16] stm32mp1: Move ENV_SIZE and ENV_OFFSET to Kconfig

2019-04-18 Thread Patrick Delaunay
Add arch stm32mp for ENV migration step and drop more items from include/configs/xxx.h. Signed-off-by: Patrick Delaunay --- arch/arm/mach-stm32mp/Kconfig | 3 +++ env/Kconfig | 2 +- include/configs/stm32mp1.h| 5 - 3 files changed, 4 insertions(+), 6 deletions(-)

[U-Boot] [PATCH 15/16] serial: stm32: remove unnecessary trace

2019-04-18 Thread Patrick Delaunay
Remove the trace indicating the end of the DEBUG initialization Signed-off-by: Patrick Delaunay --- drivers/serial/serial_stm32.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/serial/serial_stm32.c b/drivers/serial/serial_stm32.c index e31c87b..315b5a2 100644 ---

[U-Boot] [PATCH 09/16] mkimage: change stm32image header to manage binary information

2019-04-18 Thread Patrick Delaunay
To get more information from STM32 Header about the generated binary, we will add a new byte with the following field: replace padding byte 255 with 0x00 for "U-Boot" Signed-off-by: Patrick Delaunay --- tools/stm32image.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 07/16] i2c: stm32f7: Fix SDADEL minimum formula

2019-04-18 Thread Patrick Delaunay
From: Nicolas Le Bayon It conforms with Reference Manual I2C timing section. Signed-off-by: Nicolas Le Bayon Reviewed-by: Patrick DELAUNAY Signed-off-by: Patrick Delaunay --- drivers/i2c/stm32f7_i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 01/16] stm32mp1: Move config SYS_MALLOC_LEN to Kconfig

2019-04-18 Thread Patrick Delaunay
This patch moves the the config SYS_MALLOC_LEN to Kconfig as it is already done for zynq arch in commit 01aa5b8f0503 ("Kconfig: Move config SYS_MALLOC_LEN to Kconfig for zynq") Signed-off-by: Patrick Delaunay --- Kconfig | 2 +- arch/arm/mach-stm32mp/Kconfig | 3 +++

[U-Boot] [PATCH 05/16] stm32mp1: psci: add synchronization with ROM code

2019-04-18 Thread Patrick Delaunay
Use SGI0 interruption and TAMP_BACKUP_MAGIC_NUMBER to synchronize the core1 boot sequence requested by core0 in psci_cpu_on(): - a initial interruption is needed in ROM code after RCC_MP_GRSTCSETR_MPUP1RST (psci_cpu_off) - the ROM code set to 0 the 2 registers + TAMP_BACKUP_BRANCH_ADDRESS +

[U-Boot] [PATCH 06/16] stm32mp1: update RCC binding after kernel realignment

2019-04-18 Thread Patrick Delaunay
RCC is no more a mfd and add a complete example and alignment with latest TF-A binding Signed-off-by: Patrick Delaunay --- doc/device-tree-bindings/clock/st,stm32mp1.txt | 427 + 1 file changed, 287 insertions(+), 140 deletions(-) diff --git

[U-Boot] [PATCH 04/16] stm32mp1: cosmetic: bsec: reorder include files

2019-04-18 Thread Patrick Delaunay
Reorder the include files in alphabetic order. Signed-off-by: Patrick Delaunay --- arch/arm/mach-stm32mp/bsec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-stm32mp/bsec.c b/arch/arm/mach-stm32mp/bsec.c index 9ed8d8c..0166649 100644 ---

[U-Boot] [PATCH 03/16] stm32mp1: migrate PREBOOT to Kconfig

2019-04-18 Thread Patrick Delaunay
Use Kconfig to activate CONFIG_PREBOOT (empty by default). Signed-off-by: Patrick Delaunay --- arch/arm/Kconfig | 1 + common/Kconfig | 1 + include/configs/stm32mp1.h | 2 -- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/Kconfig

[U-Boot] [PATCH] usb: reload watchdog during ums command

2019-04-18 Thread Patrick Delaunay
Reload the watchdog in the mass storage command ums to avoid reboot during the usb waiting loop when the host doesn't send any request. Signed-off-by: Patrick Delaunay --- cmd/usb_mass_storage.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/usb_mass_storage.c

[U-Boot] [PATCH] sysreset: syscon: remove POWER reset cause

2019-04-18 Thread Patrick Delaunay
The sysreset of 'POWER' type is a PMIC reset defined as 'remove and restore power'. So normally only COLD/WARN is supported by sysreset_syscon. This modification allows to use the function sysreset_walk(SYSRESET_POWER) when it is supported by PMIC driver (see example in stpmic1). Signed-off-by:

Re: [U-Boot] [RESEND-2 PATCH 0/4] sunxi: Enable EMAC on A83T boards using Realtek RTL8211E PHY

2019-04-18 Thread Chen-Yu Tsai
On Wed, Apr 17, 2019 at 4:38 AM Jagan Teki wrote: > > Hi, > > On Fri, Apr 12, 2019 at 4:05 PM Chen-Yu Tsai wrote: > > > > From: Chen-Yu Tsai > > > > (Resending yet again with correct email address now subscribed > > and with proper cover letter subject. Sorry for the noise.) > > > > Hi

[U-Boot] [PATCH] Zynq: delete long-dead CONFIG_USB_CABLE_CHECK

2019-04-18 Thread Robert P. J. Day
This Kbuild option disappeared way back in 2014: commit 75504e9592745021006cb8905b5ff5a51d9d1cb3 Author: Mateusz Zalega Date: Wed Apr 30 13:07:48 2014 +0200 ... snip ... CONFIG_USB_CABLE_CHECK was removed. Signed-off-by: Robert P. J. Day --- diff --git

[U-Boot] [V2 Patch] include: configs: Increase CONFIG_SYS_BOOTM_LEN to 16MB

2019-04-18 Thread Shyam Saini
The default value of CONFIG_SYS_BOOTM_LEN is 0x80 i.e, 8MB which causes board reset because of larger uImage size. This was tested on rk3288 Amarula Vyasa and rk3288 Asus Tinker boards. Error log snippet: Booting using the fdt blob at 0x1f0 Loading Kernel Image ... Image too large:

[U-Boot] [PATCH v1 5/5] CONFIG_SPL_SYS_[DI]CACHE_OFF: add

2019-04-18 Thread Trevor Woerner
While converting CONFIG_SYS_[DI]CACHE_OFF to Kconfig, there are instances where these configuration items are conditional on SPL. This commit adds SPL variants of these configuration items, uses CONFIG_IS_ENABLED(), and updates the configurations as required. Signed-off-by: Trevor Woerner ---

[U-Boot] [PATCH v1 4/5] CONFIG_SYS_[DI]CACHE_OFF: convert to Kconfig

2019-04-18 Thread Trevor Woerner
CONFIG_SYS_[DI]CACHE_OFF had been partially converted to Kconfig parameters; only for the ARC architecture. This patch turns these two parameters into Kconfig items everywhere else they are found. All of the include/configs/* and defconfig changes in this patch are for arm machines only. The

[U-Boot] crt0.S compilation error for armV7m with thumb

2019-04-18 Thread BenixSamuelVincent Theogaraj
___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] [PATCH v1 2/5] CONFIG_SYS_[DI]CACHE_OFF: remove superfluous "1"

2019-04-18 Thread Trevor Woerner
This config is the only config that uses: #define CONFIG_SYS_DCACHE_OFF 1 in its #define. Remove the superfluous "1" so this cache #define is like all the others. Signed-off-by: Trevor Woerner --- include/configs/origen.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[U-Boot] [PATCH v1 3/5] CONFIG_SYS_[DI]CACHE_OFF: remove commented lines

2019-04-18 Thread Trevor Woerner
Eventually these configuration items will be converted to Kconfig, therefore there's little point in leaving commented-out versions of them in include/configs. Signed-off-by: Trevor Woerner --- include/configs/uniphier.h | 4 include/configs/xilinx_versal_mini.h | 1 - 2 files

[U-Boot] [PATCH v1 1/5] CONFIG_SYS_[ID]CACHE_OFF: unify the 'any' case

2019-04-18 Thread Trevor Woerner
According to De Morgan's Law[1]: !(A && B) = !A || !B !(A || B) = !A && !B There are 5 places in the code where we find: #if !(defined(CONFIG_SYS_ICACHE_OFF) && defined(CONFIG_SYS_DCACHE_OFF)) and 4 places in the code where we find: #if

[U-Boot] [PATCH v1 0/5] Kconfig conversion: CONFIG_SYS_[DI]CACHE_OFF

2019-04-18 Thread Trevor Woerner
This series of patches starts with a couple clean-up patches for various items related to CONFIG_SYS_[DI]CACHE_OFF, then converts these two configuration items to the Kconfig system. CONFIG_SYS_[DI]CACHE_OFF had been minimally converted to Kconfig, but only for the arc architecture; all other

Re: [U-Boot] [PATCH v2 1/5] fdt: boot_get_fdt: remove redundant zeroing out

2019-04-18 Thread Eugeniu Rosca
Hi Simon, On Wed, Apr 17, 2019 at 09:33:06PM -0700, Simon Glass wrote: > Hi Eugeniu, > > On Mon, 1 Apr 2019 at 03:46, Eugeniu Rosca wrote: > > > > Paranoid programming [1] lies at the foundation of proper software > > development, but the repetitive zeroing-out of output arguments in the > >

Re: [U-Boot] [PATCH] .gitignore: Ignore .log files

2019-04-18 Thread Fabio Estevam
On Thu, Apr 18, 2019 at 4:47 AM Baruch Siach wrote: > > The generated flash.log file that mach-imx uses for MKIMAGEOUTPUT is not > covered by any other ignore pattern. Ignore all *.log files. > > Signed-off-by: Baruch Siach Reviewed-by: Fabio Estevam

Re: [U-Boot] [PATCH] drivers: serial: lpuart: Enable Little Endian Support

2019-04-18 Thread Vabhav Sharma
Hello Maintainers, A gentle reminder to merge the changes. Regards, Vabhav > -Original Message- > From: Vabhav Sharma > Sent: Thursday, January 31, 2019 5:38 PM > To: u-boot@lists.denx.de; u-boot...@lists.denx.de > Cc: Vabhav Sharma > Subject: [PATCH] drivers: serial: lpuart: Enable

[U-Boot] [PATCH] doc: delete long-obsolete README.ARM-memory-map

2019-04-18 Thread Robert P. J. Day
As far back as 2011, "_armboot_start" was being described as "no longer defined": commit 297f18ac0fbeef30ba1c17fe131ca75f09a6e7cf Author: Greg Ungerer Date: Fri Sep 9 22:23:34 2011 +1000 CM4000: fix broken flash base for OpenGear boards Use _bss_start_ofs as the size of the boot

Re: [U-Boot] [EXT] Re: [PATCH v2] mtd: spi: Improve spi_nor_write_data() implementation

2019-04-18 Thread Rajat Srivastava
> -Original Message- > From: Vignesh Raghavendra > Sent: Wednesday, April 17, 2019 6:18 PM > To: Rajat Srivastava ; u-boot@lists.denx.de; > tr...@konsulko.com; marek.va...@gmail.com; > marek.vasut+rene...@gmail.com; ja...@openedev.com > Cc: Ashish Kumar > Subject: [EXT] Re: [PATCH v2]

[U-Boot] [RESEND PATCH] usb: Select USB_MUSB_DSPS with USB_MUSB_TI

2019-04-18 Thread Alex Kiernan
USB_MUSB_TI requires USB_MUSB_DSPS, failing at link time if it's not selected: drivers/usb/musb-new/built-in.o: In function `ti_musb_host_ofdata_to_platdata': drivers/usb/musb-new/ti-musb.c:193: undefined reference to `musb_dsps_ops' or if OF_CONTROL is not selected:

[U-Boot] [RESEND PATCH v2] mtd: spi: Improve spi_nor_write_data() implementation

2019-04-18 Thread Rajat Srivastava
Maximum write size in a single write operation in spi_nor_write_data() function can be equal to slave tx buffer, which is adjusted in spi_mem_adjust_op_size() and write operation gets fragmented. Previously data write for the above fragmentation didn't incorporate write enable and status checks.

[U-Boot] [RESEND PATCH v2] mtd: spi: Improve spi_nor_write_data() implementation

2019-04-18 Thread Rajat Srivastava
Maximum write size in a single write operation in spi_nor_write_data() function can be equal to slave tx buffer, which is adjusted in spi_mem_adjust_op_size() and write operation gets fragmented. Previously data write for the above fragmentation didn't incorporate write enable and status checks.

Re: [U-Boot] [PATCH] imx: Add variscite DART-6UL Evaluation Kit

2019-04-18 Thread Parthiban Nallathambi
Hello Peng, On 4/18/19 2:50 AM, Peng Fan wrote: Port for the DART-6UL Evaluation Kit SBC. Based on the variscite DART-6UL iMX6ULL SoM. CPU: Freescale i.MX6ULL rev1.1 900 MHz (running at 396 MHz) CPU: Commercial temperature grade (0C to 95C) at 43C Reset cause: POR Model: Variscite

  1   2   >