Re: [U-Boot] [PATCH 3/8] efi_loader: selftest: Do not build relocation tests for risc-v

2018-04-18 Thread Heinrich Schuchardt
On 04/18/2018 03:40 PM, Alexander Graf wrote: > The relocation selftest doesn't compile for me on RISC-V. Disable for now. This is the command that fails: riscv64-linux-gnu-ld.bfd -nostdlib -znocombreloc -T ./arch/riscv/lib/ \ -shared -Bsymbolic lib/efi_selftest/efi_selftest_miniapp_return.o \

Re: [U-Boot] [PATCH 1/5] ARM: socfpga: Add boot trampoline for Arria10

2018-04-18 Thread See, Chin Liang
On Tue, 2018-04-17 at 11:28 +0200, Marek Vasut wrote: > On 04/17/2018 11:11 AM, See, Chin Liang wrote: > > > > On Tue, 2018-04-17 at 11:01 +0200, Marek Vasut wrote: > > > > > > On 04/17/2018 10:52 AM, See, Chin Liang wrote: > > > > > > > > > > > > On Tue, 2018-04-17 at 10:46 +0200, Marek Vasut

Re: [U-Boot] [PATCH v1 13/16] arm: socfpga: stratix10: Add timer support for Stratix10 SoC

2018-04-18 Thread See, Chin Liang
On Thu, 2018-04-19 at 04:59 +0200, Marek Vasut wrote: > On 04/19/2018 11:50 AM, Ley Foon Tan wrote: > > > > Add timer support for Stratix SoC > Is this really custom timer or is that some armv8 thing you're adding > here ? Don't we already have a generic implementation for that ? If > not, >

Re: [U-Boot] [PATCH 8/8] efi_loader: Enable RISC-V support

2018-04-18 Thread Heinrich Schuchardt
On 04/18/2018 03:40 PM, Alexander Graf wrote: > We have almost all pieces needed to support RISC-V UEFI binaries in place > already. The only missing piece are ELF relocations for runtime code and > data. > > This patch adds respective support in the linker script and the runtime > relocation

Re: [U-Boot] [PATCH v1 05/16] arm: socfpga: misc: Add CONFIG_SYS_L2_PL310 switch

2018-04-18 Thread See, Chin Liang
On Thu, 2018-04-19 at 04:47 +0200, Marek Vasut wrote: > On 04/19/2018 11:50 AM, Ley Foon Tan wrote: > > > > Add CONFIG_SYS_L2_PL310 conditional build. > Why ? > In ARM64, L2 cache controller is accessed through processor registers. Hence we shall make this conditional in order this file can be

[U-Boot] [RFC PATCH v1] Migrate IMAGE_FORMAT_LEGACY to Kconfig

2018-04-18 Thread Alex Kiernan
This converts IMAGE_FORMAT_LEGACY to Kconfig Signed-off-by: Alex Kiernan --- Kconfig| 10 ++ README | 13 - configs/ids8313_defconfig | 1 +

[U-Boot] [RFC PATCH v1 0/1] Migrate IMAGE_FORMAT_LEGACY to Kconfig

2018-04-18 Thread Alex Kiernan
On the face of it, this is a straightforward moveconfig, but because of how CONFIG_FIT_SIGNATURE, CONFIG_IMAGE_FORMAT_LEGACY and CONFIG_DISABLE_IMAGE_LEGACY interacted when you enabled CONFIG_FIT_SIGNATURE, you got CONFIG_IMAGE_FORMAT_LEGACY disabled immediately unless you had some way of

[U-Boot] [PATCH v2 8/8] spl: disk: usb: Add dependencies to sprintf/strto*

2018-04-18 Thread Alex Kiernan
If SPL serial support is disabled nothing brings in sprintf, snprintf or simple_strtoul: env/built-in.o: In function `regex_callback': env/attr.c:128: undefined reference to `sprintf' disk/built-in.o: In function `blk_get_device_by_str': disk/part.c:386: undefined reference to

[U-Boot] [PATCH v2 6/8] spl: Disable printf if not required

2018-04-18 Thread Alex Kiernan
Now we have a guard for printf, disable it in the build if it's not selected. Signed-off-by: Alex Kiernan --- Changes in v2: - Remove ifdef dance with SPL/TPL now PRINTF exists as its own symbol lib/panic.c | 2 ++ lib/tiny-printf.c | 12 +++-

[U-Boot] [PATCH v2 7/8] Consolidate __assert_failed into one implementation

2018-04-18 Thread Alex Kiernan
We had two implementations of __assert_failed which were almost identical, combine them into one. Signed-off-by: Alex Kiernan --- Changes in v2: None lib/panic.c | 8 lib/tiny-printf.c | 9 - lib/vsprintf.c| 8 3 files changed, 8

[U-Boot] [PATCH v2 5/8] spl: Split sprintf, strto* from SPL serial in Kconfig

2018-04-18 Thread Alex Kiernan
When SPL serial is disabled, callers who need sprintf or strtoul fail because their inclusion is guarded by CONFIG_SPL_SERIAL_SUPPORT/ CONFIG_TPL_SERIAL_SUPPORT. Split printf, sprintf and strto into their own entries and then select all of them if SERIAL_SUPPORT is enabled to match the current

[U-Boot] [PATCH v2 3/8] spl: Add dependency on serial to Ymodem

2018-04-18 Thread Alex Kiernan
Building with Ymodem support requires serial in SPL/TPL, add that dependency here. Signed-off-by: Alex Kiernan --- Changes in v2: None common/spl/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index

[U-Boot] [PATCH v2 2/8] spl: ti: Avoid preloader_console_init if !CONFIG_SPL_SERIAL_SUPPORT

2018-04-18 Thread Alex Kiernan
If CONFIG_SPL_SERIAL_SUPPORT is disabled then the build fails because serial_init is undefined. Guard preloader_console_init() appropriately to fix this. Signed-off-by: Alex Kiernan --- Changes in v2: None arch/arm/mach-omap2/boot-common.c | 3 ++- common/spl/spl.c

[U-Boot] [PATCH v2 4/8] spl: ti: Avoid serial calls when serial support is disabled

2018-04-18 Thread Alex Kiernan
If CONFIG_SPL_SERIAL_SUPPORT is not set, then the build will fail: board/ti/am335x/built-in.o: In function `spl_start_uboot': board/ti/am335x/board.c:247: undefined reference to `serial_tstc' board/ti/am335x/board.c:247: undefined reference to `serial_getc' Avoid the calls to the serial

[U-Boot] [PATCH v2 1/8] Cleanup CONFIG_SPL_SERIAL_SUPPORT migration

2018-04-18 Thread Alex Kiernan
CONFIG_SPL_SERIAL_SUPPORT had already been migrated to Kconfig, but existed in some include files; fix those up here. Signed-off-by: Alex Kiernan --- Changes in v2: - Rebase against master - Update Travis build URL configs/controlcenterdc_defconfig | 1 +

[U-Boot] [PATCH] distro: use imply to default to DISTRO_DEFAULTS

2018-04-18 Thread Masahiro Yamada
The default of DISTRO_DEFAULTS is messy. Using the 'imply' keyword is equivalent and cleaner. Signed-off-by: Masahiro Yamada --- Kconfig | 5 - arch/arm/Kconfig | 4

[U-Boot] [PATCH v2 2/2] rockchip: defconfig: remove CONFIG_SYS_NS16550

2018-04-18 Thread Kever Yang
We have enable NS16550 in Kconfig, do not need enable at defconfig Signed-off-by: Kever Yang --- Changes in v2: - check and add some missing board configs/chromebit_mickey_defconfig | 1 - configs/chromebook_jerry_defconfig | 1 -

[U-Boot] [PATCH v2 1/2] rockchip: enable SYS_NS16550 for all SoCs by default

2018-04-18 Thread Kever Yang
All rockchip SoCs can use ns16550 driver, enable it for all and set SYS_NS16550_MEM32 for all SoCs. Version-changes: 2 - use imply instead of select Signed-off-by: Kever Yang --- Changes in v2: None arch/arm/Kconfig | 1 +

[U-Boot] [PATCH v2 4/4] syscon: add Linux-compatible syscon API

2018-04-18 Thread Masahiro Yamada
The syscon implementation in U-Boot is different from that in Linux. Thus, DT files imported from Linux do not work for U-Boot. In U-Boot driver model, each node is bound to a dedicated driver that is the most compatible to it. This design gets along with the concept of DT, and the syscon in

[U-Boot] [PATCH v2 1/4] regmap: clean up regmap allocation

2018-04-18 Thread Masahiro Yamada
Putting zero length array at the end of struct is a common technique to embed arbitrary length of members. There is no good reason to let regmap_alloc_count() branch by "if (count <= 1)". As far as I understood the code, regmap->base is an alias of regmap->ranges[0].start, but it is not helpful

[U-Boot] [PATCH v2 3/4] regmap: change regmap_init_mem() to take ofnode instead udevice

2018-04-18 Thread Masahiro Yamada
Currently, regmap_init_mem() takes a udevice. This requires the node has already been associated with a device. It prevents syscon/regmap from behaving like those in Linux. Change the first argumenet to take a device node. Signed-off-by: Masahiro Yamada Acked-by:

[U-Boot] [PATCH v2 0/4] Add Linux-compatible syscon_to_regmap API

2018-04-18 Thread Masahiro Yamada
The current syscon in U-Boot works differently from Linux. Therefore, DT files imported from Linux do not work for U-Boot. The current usage of syscon in U-Boot should be discouraged because using different DT-binding across projects is a significant problem. Masahiro Yamada (4): regmap:

[U-Boot] [PATCH v2 2/4] dm: ofnode: add ofnode_device_is_compatible() helper

2018-04-18 Thread Masahiro Yamada
device_is_compatible() takes udevice, but there is no such a helper that takes ofnode. Signed-off-by: Masahiro Yamada --- Changes in v2: None drivers/core/device.c | 8 +--- drivers/core/ofnode.c | 11 +++ include/dm/ofnode.h | 11 +++ 3

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

2018-04-18 Thread Tom Rini
On Thu, Apr 19, 2018 at 12:00:22AM +0900, Masahiro Yamada wrote: > Hi Tom, > > Please pull a little more for v2018.05. Thanks! > > > > The following changes since commit 34b3722e381c0146b4aa7fea3a5243c588b8ed2f: > > configs: Resync with savedefconfig (2018-04-17 10:10:47 -0400) > > are

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

2018-04-18 Thread Tom Rini
On Wed, Apr 18, 2018 at 09:57:19PM +0200, Marek Vasut wrote: > The following changes since commit 8c0a17be0a632b9a823e14628c42f85c3e64f08e: > > Prepare v2018.05-rc2 (2018-04-16 20:00:14 -0400) > > are available in the Git repository at: > > git://git.denx.de/u-boot-sh.git master > > for

Re: [U-Boot] [PATCH v1 06/16] arm: socfpga: misc: Move eth reset to common misc driver

2018-04-18 Thread Ley Foon Tan
On Thu, Apr 19, 2018 at 10:47 AM, Marek Vasut wrote: > On 04/19/2018 11:50 AM, Ley Foon Tan wrote: >> Move eth reset to common misc driver so can used by other device families. >> >> Signed-off-by: Chin Liang See >> Signed-off-by: Ley Foon Tan

Re: [U-Boot] [PATCH v1 13/16] arm: socfpga: stratix10: Add timer support for Stratix10 SoC

2018-04-18 Thread Marek Vasut
On 04/19/2018 11:50 AM, Ley Foon Tan wrote: > Add timer support for Stratix SoC Is this really custom timer or is that some armv8 thing you're adding here ? Don't we already have a generic implementation for that ? If not, that's what we should do here. > Signed-off-by: Chin Liang See

Re: [U-Boot] [PATCH v1 09/16] arm: socfpga: stratix10: Add MMU support for Stratix10 SoC

2018-04-18 Thread Marek Vasut
On 04/19/2018 11:50 AM, Ley Foon Tan wrote: > Add MMU support for Stratix SoC You could get more creative with the commit messages ;-) > Signed-off-by: Chin Liang See > Signed-off-by: Ley Foon Tan Acked-by: Marek Vasut > --- >

Re: [U-Boot] [PATCH v1 14/16] ddr: altera: stratix10: Add DDR support for Stratix10 SoC

2018-04-18 Thread Marek Vasut
On 04/19/2018 11:50 AM, Ley Foon Tan wrote: > Add DDR support for Stratix SoC OT: How very different is the DDR controller on Stratix 10 and Arria 10? > Signed-off-by: Chin Liang See > Signed-off-by: Ley Foon Tan > --- >

Re: [U-Boot] [PATCH v1 10/16] arm: dts: Add dts for Stratix10 SoC

2018-04-18 Thread Marek Vasut
On 04/19/2018 11:50 AM, Ley Foon Tan wrote: > Device tree for Stratix10 SoC > > Signed-off-by: Chin Liang See > Signed-off-by: Ley Foon Tan Is this pulled from mainline Linux or not ? -- Best regards, Marek Vasut

Re: [U-Boot] [PATCH v1 01/16] arm: socfpga: stratix10: Add base address map for Statix10 SoC

2018-04-18 Thread Marek Vasut
On 04/19/2018 11:50 AM, Ley Foon Tan wrote: > Add the base address map for Statix10 SoC > > Signed-off-by: Chin Liang See > Signed-off-by: Ley Foon Tan > --- > arch/arm/mach-socfpga/include/mach/base_addr_s10.h | 38 > >

Re: [U-Boot] [PATCH v1 05/16] arm: socfpga: misc: Add CONFIG_SYS_L2_PL310 switch

2018-04-18 Thread Marek Vasut
On 04/19/2018 11:50 AM, Ley Foon Tan wrote: > Add CONFIG_SYS_L2_PL310 conditional build. Why ? > Signed-off-by: Chin Liang See > Signed-off-by: Ley Foon Tan > --- > arch/arm/mach-socfpga/misc.c |4 > 1 files changed, 4 insertions(+),

Re: [U-Boot] [PATCH v1 08/16] arm: socfpga: stratix10: Add mailbox support for Stratix10 SoC

2018-04-18 Thread Marek Vasut
On 04/19/2018 11:50 AM, Ley Foon Tan wrote: > Add mailbox support for Stratix SoC > > Signed-off-by: Ley Foon Tan > Signed-off-by: Chin Liang See > --- > arch/arm/mach-socfpga/Makefile |1 + >

Re: [U-Boot] [PATCH v1 12/16] arm: socfpga: stratix10: Add SPL driver for Stratix10 SoC

2018-04-18 Thread Marek Vasut
On 04/19/2018 11:50 AM, Ley Foon Tan wrote: > Add SPL driver support for Stratix SoC > > Signed-off-by: Chin Liang See > Signed-off-by: Ley Foon Tan > --- > arch/arm/mach-socfpga/Makefile|4 + >

Re: [U-Boot] [PATCH v1 07/16] arm: socfpga: stratix10: Add misc support for Stratix10 SoC

2018-04-18 Thread Marek Vasut
On 04/19/2018 11:50 AM, Ley Foon Tan wrote: > Add misc support such as EMAC and cpu info printout for Stratix SoC > > Signed-off-by: Chin Liang See > Signed-off-by: Ley Foon Tan > --- > arch/arm/mach-socfpga/Makefile |1 + >

Re: [U-Boot] [PATCH v1 06/16] arm: socfpga: misc: Move eth reset to common misc driver

2018-04-18 Thread Marek Vasut
On 04/19/2018 11:50 AM, Ley Foon Tan wrote: > Move eth reset to common misc driver so can used by other device families. > > Signed-off-by: Chin Liang See > Signed-off-by: Ley Foon Tan Shouldn't this use the reset framework instead ? -- Best

[U-Boot] [PATCH v1 12/16] arm: socfpga: stratix10: Add SPL driver for Stratix10 SoC

2018-04-18 Thread Ley Foon Tan
Add SPL driver support for Stratix SoC Signed-off-by: Chin Liang See Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile|4 + arch/arm/mach-socfpga/include/mach/firewall_s10.h | 84 +

[U-Boot] [PATCH v1 13/16] arm: socfpga: stratix10: Add timer support for Stratix10 SoC

2018-04-18 Thread Ley Foon Tan
Add timer support for Stratix SoC Signed-off-by: Chin Liang See Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/timer.c | 17 - 1 files changed, 16 insertions(+), 1 deletions(-) diff --git

[U-Boot] [PATCH v1 14/16] ddr: altera: stratix10: Add DDR support for Stratix10 SoC

2018-04-18 Thread Ley Foon Tan
Add DDR support for Stratix SoC Signed-off-by: Chin Liang See Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/include/mach/sdram_s10.h | 340 drivers/ddr/altera/Makefile|1 +

[U-Boot] [PATCH v1 16/16] arm: socfpga: stratix10: Enable Stratix10 SoC build

2018-04-18 Thread Ley Foon Tan
Add build support for Stratix SoC Signed-off-by: Chin Liang See Signed-off-by: Ley Foon Tan --- arch/arm/Kconfig |9 +- arch/arm/mach-socfpga/Kconfig | 13 ++ configs/socfpga_stratix10_defconfig

[U-Boot] [PATCH v1 11/16] arm: socfpga: Restructure the SPL file

2018-04-18 Thread Ley Foon Tan
Restructure the SPL so each devices such as CV, A10 and S10 will have their own dedicated SPL file. SPL file determine the HW initialization flow which is device specific Signed-off-by: Chin Liang See Signed-off-by: Ley Foon Tan ---

[U-Boot] [PATCH v1 15/16] board: altera: stratix10: Add socdk board support for Stratix10 SoC

2018-04-18 Thread Ley Foon Tan
Add socdk board support for Stratix SoC Signed-off-by: Chin Liang See Signed-off-by: Ley Foon Tan --- board/altera/stratix10-socdk/MAINTAINERS |7 +++ board/altera/stratix10-socdk/Makefile|7 +++

[U-Boot] [PATCH v1 08/16] arm: socfpga: stratix10: Add mailbox support for Stratix10 SoC

2018-04-18 Thread Ley Foon Tan
Add mailbox support for Stratix SoC Signed-off-by: Ley Foon Tan Signed-off-by: Chin Liang See --- arch/arm/mach-socfpga/Makefile |1 + arch/arm/mach-socfpga/include/mach/mailbox_s10.h | 155 +

[U-Boot] [PATCH v1 07/16] arm: socfpga: stratix10: Add misc support for Stratix10 SoC

2018-04-18 Thread Ley Foon Tan
Add misc support such as EMAC and cpu info printout for Stratix SoC Signed-off-by: Chin Liang See Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile |1 + arch/arm/mach-socfpga/misc_s10.c | 103

[U-Boot] [PATCH v1 10/16] arm: dts: Add dts for Stratix10 SoC

2018-04-18 Thread Ley Foon Tan
Device tree for Stratix10 SoC Signed-off-by: Chin Liang See Signed-off-by: Ley Foon Tan --- arch/arm/dts/Makefile|3 +- arch/arm/dts/socfpga_stratix10_socdk.dts | 282 ++ 2 files changed, 284

[U-Boot] [PATCH v1 06/16] arm: socfpga: misc: Move eth reset to common misc driver

2018-04-18 Thread Ley Foon Tan
Move eth reset to common misc driver so can used by other device families. Signed-off-by: Chin Liang See Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/include/mach/misc.h |1 + arch/arm/mach-socfpga/misc.c | 69

[U-Boot] [PATCH v1 09/16] arm: socfpga: stratix10: Add MMU support for Stratix10 SoC

2018-04-18 Thread Ley Foon Tan
Add MMU support for Stratix SoC Signed-off-by: Chin Liang See Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile|1 + arch/arm/mach-socfpga/mmu-arm64_s10.c | 71 + 2 files changed, 72

[U-Boot] [PATCH v1 05/16] arm: socfpga: misc: Add CONFIG_SYS_L2_PL310 switch

2018-04-18 Thread Ley Foon Tan
Add CONFIG_SYS_L2_PL310 conditional build. Signed-off-by: Chin Liang See Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/misc.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-socfpga/misc.c

[U-Boot] [PATCH v1 04/16] arm: socfpga: stratix10: Add pinmux support for Stratix10 SoC

2018-04-18 Thread Ley Foon Tan
Add pinmux driver support for Stratix SoC Signed-off-by: Chin Liang See Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile |2 + .../arm/mach-socfpga/include/mach/system_manager.h |5 +-

[U-Boot] [PATCH v1 02/16] arm: socfpga: stratix10: Add clock manager driver for Stratix10 SoC

2018-04-18 Thread Ley Foon Tan
Add Clock Manager driver support for Stratix SoC Signed-off-by: Chin Liang See Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile |4 + arch/arm/mach-socfpga/clock_manager.c |4 +-

[U-Boot] [PATCH v1 03/16] arm: socfpga: stratix10: Add reset manager driver for Stratix10 SoC

2018-04-18 Thread Ley Foon Tan
Add Reset Manager driver support for Stratix SoC Signed-off-by: Chin Liang See Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile |1 + arch/arm/mach-socfpga/include/mach/reset_manager.h |2 +

[U-Boot] [PATCH v1 00/16] Add Intel Stratix 10 SoC support

2018-04-18 Thread Ley Foon Tan
This patchset adds Intel Stratix 10 SoC support. Regards Ley Foon Ley Foon Tan (16): arm: socfpga: stratix10: Add base address map for Statix10 SoC arm: socfpga: stratix10: Add clock manager driver for Stratix10 SoC arm: socfpga: stratix10: Add reset manager driver for Stratix10 SoC arm:

[U-Boot] [PATCH v1 01/16] arm: socfpga: stratix10: Add base address map for Statix10 SoC

2018-04-18 Thread Ley Foon Tan
Add the base address map for Statix10 SoC Signed-off-by: Chin Liang See Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/include/mach/base_addr_s10.h | 38 1 files changed, 38 insertions(+), 0 deletions(-) create

Re: [U-Boot] coreboot with denverton platforms

2018-04-18 Thread Bin Meng
Hi Francesco, On Thu, Apr 19, 2018 at 12:11 AM, Francesco Lucconi wrote: > Hi Simon, Hi Bin Meng, > > I'm involved to build coreboot for a custom denverton platform, using u-boot > as payload. I've seen your comment on u-boot forum: > >

Re: [U-Boot] [PATCH] x86: Use microcode update from device tree for all processors

2018-04-18 Thread Bin Meng
Hi Ivan, On Thu, Apr 19, 2018 at 8:11 AM, Ivan Gorinov wrote: > Hi Bin, > > On Wed, Apr 18, 2018 at 06:48:59AM -0600, Bin Meng wrote: >> >> I don't understand what the bug is here. The AP microcode update is >> >> done in sipi_vector.S. >> > >> > I have found how it

Re: [U-Boot] [PATCH] x86: Use microcode update from device tree for all processors

2018-04-18 Thread Ivan Gorinov
Hi Bin, On Wed, Apr 18, 2018 at 06:48:59AM -0600, Bin Meng wrote: > >> I don't understand what the bug is here. The AP microcode update is > >> done in sipi_vector.S. > > > > I have found how it works. When a ROM image is built, the binman tool > > looks for symbol '_dt_ucode_base_size' and

[U-Boot] [PATCH] rsa-sign: Fix build against libressl

2018-04-18 Thread Hauke Mehrtens
Libressl implements the OpenSSL 1.1 API partially and improved the support with version 2.7. For some code we have to take use the OpenSSL 1.0 API and for some parts the OpenSSL 1.1 API can be used. This was compile tested against libressl 2.6.4 and 2.7.2. Signed-off-by: Hauke Mehrtens

Re: [U-Boot] Please pull ARC fixes for RC3

2018-04-18 Thread Tom Rini
On Tue, Apr 17, 2018 at 06:00:22PM +, Alexey Brodkin wrote: > Hi Tom, > > The following changes since commit 8c0a17be0a632b9a823e14628c42f85c3e64f08e: > > Prepare v2018.05-rc2 (2018-04-16 20:00:14 -0400) > > are available in the Git repository at: > > git://git.denx.de/u-boot-arc.git

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

2018-04-18 Thread Tom Rini
On Tue, Apr 17, 2018 at 08:26:50PM +0200, Marek Vasut wrote: > The following changes since commit 8c0a17be0a632b9a823e14628c42f85c3e64f08e: > > Prepare v2018.05-rc2 (2018-04-16 20:00:14 -0400) > > are available in the Git repository at: > > git://git.denx.de/u-boot-socfpga.git master > >

Re: [U-Boot] [PATCH v1] arm: mxs: make startup code thumb compatible

2018-04-18 Thread Marek Vasut
On 04/18/2018 06:25 PM, Klaus Goger wrote: > When building the mxs platform in thumb mode gcc generates code using > the intra procedure call scratch register (ip/r12) for the calling the > lowlevel_init function. This modifies the lr in flush_dcache which > causes u-boot proper to end in an

[U-Boot] [PULL] u-boot-sh/master

2018-04-18 Thread Marek Vasut
The following changes since commit 8c0a17be0a632b9a823e14628c42f85c3e64f08e: Prepare v2018.05-rc2 (2018-04-16 20:00:14 -0400) are available in the Git repository at: git://git.denx.de/u-boot-sh.git master for you to fetch changes up to 7d0299cd8f11f33910f15531913ff2e3d1621bda: ARM:

[U-Boot] coreboot with denverton platforms

2018-04-18 Thread Francesco Lucconi
Hi Simon, Hi Bin Meng, I'm involved to build coreboot for a custom denverton platform, using u-boot as payload. I've seen your comment on u-boot forum: https://lists.denx.de/pipermail/u-boot/2016-September/268191.html and I contact you to have some tips. I've noticed that coreboot 4.7 extends

Re: [U-Boot] [PATCH v2] bootm: Align cache flush begin address

2018-04-18 Thread Bryan O'Donoghue
On 17/04/18 23:21, Simon Glass wrote: Hi Bryan, On 17 April 2018 at 03:27, Bryan O'Donoghue wrote: On 16/04/18 17:49, Simon Glass wrote: On 15 April 2018 at 04:48, Bryan O'Donoghue wrote: commit b4d956f6bc0f ("bootm: Align

Re: [U-Boot] [PATCH 3/8] efi_loader: selftest: Do not build relocation tests for risc-v

2018-04-18 Thread Alexander Graf
> Am 18.04.2018 um 17:48 schrieb Heinrich Schuchardt : > >> On 04/18/2018 03:40 PM, Alexander Graf wrote: >> The relocation selftest doesn't compile for me on RISC-V. Disable for now. > > Can this problem be reproduced with one of the qemu targets? It already fails to

Re: [U-Boot] [PATCH] sunxi: A64/H5 devices: enable usb keyboard support

2018-04-18 Thread Andre Przywara
Hi, On 18/04/18 17:17, Peter Robinson wrote: > On Wed, Apr 18, 2018 at 4:29 PM, Andre Przywara > wrote: >> Hi, >> >> On 18/04/18 16:19, Peter Robinson wrote: >>> Now the A64/H5 SoCs support video output it's useful to enable usb keyboard >>> support so console can be

[U-Boot] [PATCH v1] arm: mxs: make startup code thumb compatible

2018-04-18 Thread Klaus Goger
When building the mxs platform in thumb mode gcc generates code using the intra procedure call scratch register (ip/r12) for the calling the lowlevel_init function. This modifies the lr in flush_dcache which causes u-boot proper to end in an endless loop. 40002334: e1a0c00emov

Re: [U-Boot] [PATCH] sunxi: A64/H5 devices: enable usb keyboard support

2018-04-18 Thread Peter Robinson
On Wed, Apr 18, 2018 at 4:29 PM, Andre Przywara wrote: > Hi, > > On 18/04/18 16:19, Peter Robinson wrote: >> Now the A64/H5 SoCs support video output it's useful to enable usb keyboard >> support so console can be used via standard keyboard/video interface. >> >> Tested on

Re: [U-Boot] [PATCH 3/6] tegra: psci: save context id in cpu_on command

2018-04-18 Thread Tom Rini
On Wed, Apr 18, 2018 at 09:23:36AM -0600, Stephen Warren wrote: > On 04/18/2018 07:58 AM, Patrick DELAUNAY wrote: > >Hi Stephen, > > > >>From: Stephen Warren [mailto:swar...@wwwdotorg.org] > >>Subject: Re: [U-Boot] [PATCH 3/6] tegra: psci: save context id in cpu_on > >>command > >>Importance: High

Re: [U-Boot] [PATCH v10 3/3] Adding wget

2018-04-18 Thread Duncan Hare
Hi Duncan, On 14 April 2018 at 17:43,  wrote: >> From: Duncan Hare >> > Why http and wget: >> END Why END? Don't know.  will delete. > > Signed-off-by: Duncan Hare > --- > > Changes in v10: None There is no change log here.

Re: [U-Boot] [PATCH 3/8] efi_loader: selftest: Do not build relocation tests for risc-v

2018-04-18 Thread Heinrich Schuchardt
On 04/18/2018 03:40 PM, Alexander Graf wrote: > The relocation selftest doesn't compile for me on RISC-V. Disable for now. Can this problem be reproduced with one of the qemu targets? Does loading a binary work? > > Signed-off-by: Alexander Graf > --- >

Re: [U-Boot] [PATCH 6/8] cpu: Add cpu_print_info function

2018-04-18 Thread Simon Glass
Hi Mario, On 18 April 2018 at 02:35, Mario Six wrote: > Hi Simon, > > On Thu, Apr 12, 2018 at 6:37 PM, Simon Glass wrote: >> Hi Mario, >> >> On 11 April 2018 at 00:39, Mario Six wrote: >>> Hi Simon, >>> >>> On Fri, Mar 30, 2018 at

Re: [U-Boot] [PATCH 6/8] distro: Extend with RISC-V defines

2018-04-18 Thread Heinrich Schuchardt
On 04/18/2018 03:40 PM, Alexander Graf wrote: > While we don't have VCI or UEFI naming conventions for RISC-V file paths yet, > we need to search for something. So let's make up a few defines that at least > allow us to get started until the specs officially include RISC-V. > > Signed-off-by:

Re: [U-Boot] [PATCH 3/4] regmap: change regmap_init_mem() to take ofnode instead udevice

2018-04-18 Thread Neil Armstrong
On 18/04/2018 04:38, Masahiro Yamada wrote: > Currently, regmap_init_mem() takes udevice. This requires the node > has already been associated with a device. It prevents syscon/regmap > from behaving like those in Linux. > > Change the first argumenet to take the device node. > > Signed-off-by:

Re: [U-Boot] [PATCH] fit: skip signature verification if board request

2018-04-18 Thread Jun Nie
2018-04-17 3:06 GMT+08:00 Simon Glass : > Hi Jun, > > On 13 April 2018 at 04:05, Jun Nie wrote: >> 2018-04-13 1:24 GMT+08:00 Simon Glass : >>> Hi, >>> >>> On 11 April 2018 at 09:13, Jun Nie wrote: It may be

Re: [U-Boot] [PATCH] sunxi: A64/H5 devices: enable usb keyboard support

2018-04-18 Thread Andre Przywara
Hi, On 18/04/18 16:19, Peter Robinson wrote: > Now the A64/H5 SoCs support video output it's useful to enable usb keyboard > support so console can be used via standard keyboard/video interface. > > Tested on Pine64. Mmmh, as Maxime mentioned before: That should be already enabled? $ git

Re: [U-Boot] [PATCH 3/6] tegra: psci: save context id in cpu_on command

2018-04-18 Thread Stephen Warren
On 04/18/2018 07:58 AM, Patrick DELAUNAY wrote: Hi Stephen, From: Stephen Warren [mailto:swar...@wwwdotorg.org] Subject: Re: [U-Boot] [PATCH 3/6] tegra: psci: save context id in cpu_on command Importance: High On 04/16/2018 02:15 AM, Patrick Delaunay wrote: Replace the psci_save_target_pc

Re: [U-Boot] [PATCH] fit: skip signature verification if board request

2018-04-18 Thread Jun Nie
2018-04-17 20:06 GMT+08:00 Quentin Schulz : > Hi, > > On Wed, Apr 11, 2018 at 11:13:05PM +0800, Jun Nie wrote: >> It may be unnecessary to check signature on unlocked board. >> Get the hint from platform specific code to support secure boot >> and non-secure boot with

[U-Boot] [PATCH] sunxi: A64/H5 devices: enable usb keyboard support

2018-04-18 Thread Peter Robinson
Now the A64/H5 SoCs support video output it's useful to enable usb keyboard support so console can be used via standard keyboard/video interface. Tested on Pine64. Signed-off-by: Peter Robinson --- configs/a64-olinuxino_defconfig | 2 ++

Re: [U-Boot] [PATCH V5 2/2] imx6: sabrelite: update defconfig to use distro defaults

2018-04-18 Thread Guillaume Gardet
Hi, Le 18/04/2018 à 16:44, Gary Bisson a écrit : Hi Guillaume, On Mon, Apr 16, 2018 at 02:47:38PM +0200, Guillaume GARDET wrote: Boot tested with boot.scr script and EFI/Grub2 on mmc0 and mmc1 slots on sabrelite board. Signed-off-by: Guillaume GARDET Cc: Troy

[U-Boot] [PATCH V6 1/2] imx6: Convert sabrelite and nitrogen6x boards to distro boot support

2018-04-18 Thread Guillaume GARDET
Boot tested on sabrelite board. Signed-off-by: Guillaume GARDET Cc: Troy Kisky Cc: Stefano Babic Cc: Fabio Estevam Cc: Gary Bisson ---

[U-Boot] [PATCH V6 2/2] imx6: sabrelite: update defconfig to use distro defaults

2018-04-18 Thread Guillaume GARDET
Boot tested with boot.scr script and EFI/Grub2 on mmc0 and mmc1 slots on sabrelite board. Signed-off-by: Guillaume GARDET Cc: Troy Kisky Cc: Stefano Babic Cc: Fabio Estevam Cc: Gary Bisson

[U-Boot] [PATCH V6 0/2] Update sabrelite and nitrogen6x boards to use distro boot support

2018-04-18 Thread Guillaume GARDET
This patch serie updates sabrelite and nitrogen6x boards to use distro boot support. Sabrelite has been boot tested with boot.scr script and EFI/Grub2 on mmc0 and mmc1 slots. Nitrogen6* boards have been build tested only. Currently, only the Sabrelite has fdtfile defined. Signed-off-by:

[U-Boot] [GIT PULL] u-boot-uniphier/master

2018-04-18 Thread Masahiro Yamada
Hi Tom, Please pull a little more for v2018.05. Thanks! The following changes since commit 34b3722e381c0146b4aa7fea3a5243c588b8ed2f: configs: Resync with savedefconfig (2018-04-17 10:10:47 -0400) are available in the git repository at: git://git.denx.de/u-boot-uniphier.git master for

Re: [U-Boot] [PATCH] ARM: dts: uniphier: sync DT with Linux 4.17-rc1

2018-04-18 Thread Masahiro Yamada
2018-04-16 12:35 GMT+09:00 Masahiro Yamada : > Signed-off-by: Masahiro Yamada > --- Applied to u-boot-uniphier. -- Best Regards Masahiro Yamada ___ U-Boot mailing list

Re: [U-Boot] [PATCH] reset: uniphier: add ethernet reset control support

2018-04-18 Thread Masahiro Yamada
2018-04-18 10:06 GMT+09:00 Kunihiko Hayashi : > Add reset lines for ethernet controller on each SoC. > > Signed-off-by: Kunihiko Hayashi > --- Applied to u-boot-uniphier. Thanks! -- Best Regards Masahiro Yamada

Re: [U-Boot] [PATCH] clk: uniphier: add ethernet clock control support

2018-04-18 Thread Masahiro Yamada
2018-04-18 10:05 GMT+09:00 Kunihiko Hayashi : > Add clock control for ethernet controller on each SoC. > > Signed-off-by: Kunihiko Hayashi > --- > drivers/clk/uniphier/clk-uniphier-sys.c | 6 ++ > 1 file changed, 6 insertions(+)

Re: [U-Boot] [PATCH v2 2/2] imx6ul: opos6ul: in Serial Downloader boot mode use ymodem

2018-04-18 Thread Sébastien Szymanski
Hi Fabio, On 04/17/2018 11:52 PM, Fabio Estevam wrote: > Hi Sébastien, > > On Tue, Apr 17, 2018 at 12:29 PM, Sébastien Szymanski > wrote: >> When booting in Serial Downloader mode load the U-Boot image using >> ymodem. > > Not sure if you are aware, but it is

Re: [U-Boot] [PATCH V5 2/2] imx6: sabrelite: update defconfig to use distro defaults

2018-04-18 Thread Gary Bisson
Hi Guillaume, On Mon, Apr 16, 2018 at 02:47:38PM +0200, Guillaume GARDET wrote: > Boot tested with boot.scr script and EFI/Grub2 on mmc0 and mmc1 slots on > sabrelite board. > > Signed-off-by: Guillaume GARDET > Cc: Troy Kisky > Cc:

Re: [U-Boot] [PATCH V5 1/2] imx6: Convert sabrelite and nitrogen6x boards to distro boot support

2018-04-18 Thread Gary Bisson
Hi Guillaume, On Mon, Apr 16, 2018 at 02:47:37PM +0200, Guillaume GARDET wrote: > Boot tested on sabrelite board. > > Signed-off-by: Guillaume GARDET > Cc: Troy Kisky > Cc: Stefano Babic > Cc: Fabio Estevam

Re: [U-Boot] [PATCH 0/2] Add fix for Pine64 gigabit throughput issues

2018-04-18 Thread Peter Robinson
On Wed, Apr 18, 2018 at 2:58 PM, Kyle Evans wrote: > On Wed, Apr 18, 2018 at 8:55 AM, Peter Robinson wrote: >> On Wed, Apr 18, 2018 at 2:16 PM, Kyle Evans wrote: >>> On Wed, Feb 14, 2018 at 5:02 PM, wrote:

Re: [U-Boot] [PATCH 0/2] Add fix for Pine64 gigabit throughput issues

2018-04-18 Thread Kyle Evans
On Wed, Apr 18, 2018 at 8:55 AM, Peter Robinson wrote: > On Wed, Apr 18, 2018 at 2:16 PM, Kyle Evans wrote: >> On Wed, Feb 14, 2018 at 5:02 PM, wrote: >>> The Pine64 has a known issue on gigabit links (see [1]); some boards suffer

Re: [U-Boot] [PATCH 3/6] tegra: psci: save context id in cpu_on command

2018-04-18 Thread Patrick DELAUNAY
Hi Stephen, > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Subject: Re: [U-Boot] [PATCH 3/6] tegra: psci: save context id in cpu_on > command > Importance: High > > On 04/16/2018 02:15 AM, Patrick Delaunay wrote: > > Replace the psci_save_target_pc call by the new function > >

Re: [U-Boot] [PATCH 0/2] Add fix for Pine64 gigabit throughput issues

2018-04-18 Thread Peter Robinson
On Wed, Apr 18, 2018 at 2:16 PM, Kyle Evans wrote: > On Wed, Feb 14, 2018 at 5:02 PM, wrote: >> The Pine64 has a known issue on gigabit links (see [1]); some boards suffer >> significant packet loss on Gigabit links. This patch sets the magical bits >> in

[U-Boot] [PATCH 3/8] efi_loader: selftest: Do not build relocation tests for risc-v

2018-04-18 Thread Alexander Graf
The relocation selftest doesn't compile for me on RISC-V. Disable for now. Signed-off-by: Alexander Graf --- lib/efi_selftest/Makefile | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/lib/efi_selftest/Makefile b/lib/efi_selftest/Makefile index

[U-Boot] [PATCH 4/8] riscv: Add board_quiesce_devices stub

2018-04-18 Thread Alexander Graf
This patch adds an empty stub for board_quiesce_devices() which allows boards to quiesce their devices before we boot into an OS in a platform agnostic way. Signed-off-by: Alexander Graf --- arch/riscv/include/asm/u-boot-riscv.h | 1 + arch/riscv/lib/bootm.c| 4

[U-Boot] [PATCH 6/8] distro: Extend with RISC-V defines

2018-04-18 Thread Alexander Graf
While we don't have VCI or UEFI naming conventions for RISC-V file paths yet, we need to search for something. So let's make up a few defines that at least allow us to get started until the specs officially include RISC-V. Signed-off-by: Alexander Graf ---

[U-Boot] [PATCH 5/8] efi_loader: Use EFI_CACHELINE_SIZE in the image loader too

2018-04-18 Thread Alexander Graf
We were using our EFI_CACHELINE_SIZE define only in the runtime service code, but left the image loader to use plain CONFIG_SYS_CACHELINE_SIZE. This patch moves EFI_CACHELINE_SIZE into efi_loader.h and converts the image loader to use it. Signed-off-by: Alexander Graf ---

[U-Boot] [PATCH 1/8] riscv: Add setjmp/longjmp code

2018-04-18 Thread Alexander Graf
To support efi_loader we need to have platform support for setjmp/longjmp. Add it here. Signed-off-by: Alexander Graf --- arch/riscv/include/asm/setjmp.h | 24 ++ arch/riscv/lib/Makefile | 1 + arch/riscv/lib/setjmp.S | 54

[U-Boot] [PATCH 7/8] riscv: nx25: Enable distro boot

2018-04-18 Thread Alexander Graf
Distro boot allows for a common boot path on systems that allow distributions to easily boot from a default configuration. This patch enables distro boot for the nx25-ae250. Hopefully this can serve as a good example for new boards, so they enable it as well. Signed-off-by: Alexander Graf

[U-Boot] [PATCH 0/8] riscv: Enable efi_loader support

2018-04-18 Thread Alexander Graf
We now have RISC-V support in U-Boot - which is great! However, not that we're finally making progress to converge on efi_loader and distro boot for booting on ARM platforms, we really want to make sure there is no technical reason not to do the same on RISC-V as well. So this patch set

  1   2   >