[U-Boot] [PATCH] mach-stm32: Enable SPL_RESET_SUPPORT flag

2018-05-31 Thread Patrice Chotard
Since commit 0e373c0ade8c ("spl: add SPL_RESET_SUPPORT"), reset is supported in SPL, enable this flag for STM32F SoCs family. This allows to remove a specific case in RCC mfd driver. Signed-off-by: Patrice Chotard --- arch/arm/mach-stm32/Kconfig | 1 + drivers/misc/stm32_rcc.c| 4 2 f

[U-Boot] [PATCH] power: regulator: denied disable on always-on regulator

2018-05-31 Thread Patrice Chotard
From: Patrick Delaunay Don't disable regulator which are tagged as "regulator-always-on" in DT. Signed-off-by: Patrick Delaunay Signed-off-by: Patrice Chotard --- drivers/power/regulator/regulator-uclass.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/power/regulator/regul

[U-Boot] [PATCH 0/5] Add DMA driver for DMA330 controller

2018-05-31 Thread tien . fong . chee
From: Tien Fong Chee This patchset contains dm driver for DMA330 controller. This series is working on top of u-boot-socfpga.git - http://git.denx.de/u-boot.git . Tien Fong Chee (5): drivers: dma: Enable DMA-330 driver support drivers: dma: Add function to zeroes a range of destination suc

[U-Boot] [PATCH 1/5] drivers: dma: Enable DMA-330 driver support

2018-05-31 Thread tien . fong . chee
From: Tien Fong Chee Enable DMAC driver support for DMA-330 controller. The driver is also compatible to PL330 product. Signed-off-by: Tien Fong Chee --- drivers/dma/Kconfig |9 +- drivers/dma/Makefile |1 + drivers/dma/dma330.c | 1514 +

[U-Boot] [PATCH 2/5] drivers: dma: Add function to zeroes a range of destination such as memory

2018-05-31 Thread tien . fong . chee
From: Tien Fong Chee This new DMA class function enables DMA being used for initializing a range of destination such as memory to zeros. This is quite useful to help accelerating the performance in scrubbing memory when ECC is enabled. Signed-off-by: Tien Fong Chee --- drivers/dma/dma-uclass.c

[U-Boot] [PATCH 3/5] drivers: dma: Factor out dma_get_device from DMA class function

2018-05-31 Thread tien . fong . chee
From: Tien Fong Chee Factor out the dma_get_device from DMA class function so caller can set some configuration and changes on the DMA device structure which is return by calling dma_get_device before device instance is processed by DMA class functions. Signed-off-by: Tien Fong Chee --- driver

[U-Boot] [PATCH 5/5] arm: dts: socfpga: stratix10: update pdma

2018-05-31 Thread tien . fong . chee
From: Tien Fong Chee Update pdma properties for Stratix 10 Signed-off-by: Tien Fong Chee --- arch/arm/dts/socfpga_stratix10.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/dts/socfpga_stratix10.dtsi b/arch/arm/dts/socfpga_stratix10.dtsi index ccd3f32..3

[U-Boot] [PATCH 4/5] include: dma: Update the function description for dma_memcpy

2018-05-31 Thread tien . fong . chee
From: Tien Fong Chee Update the dma_memcpy description on return argument for DMA330 driver. Signed-off-by: Tien Fong Chee --- include/dma.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/dma.h b/include/dma.h index 0a0c9dd..b825c1e 100644 --- a/include/dma.h +

Re: [U-Boot] [PATCH v2] x86: use EFI calling convention for efi_main on x86_64

2018-05-31 Thread Andy Shevchenko
On Thu, May 31, 2018 at 1:31 AM, Ivan Gorinov wrote: > Save efi_main() arguments in the startup code on x86_64; > use EFI calling convention for _relocate() on x86_64; > remove unused _relocate() arguments; > consistently use EFI calling convention for efi_main() everywhere. I think it rather req

[U-Boot] [PATCH] xilinx: zynq: Add support to secure images

2018-05-31 Thread Siva Durga Prasad Paladugu
This patch basically adds two new commands for loadig secure images/bitstreams. 1. zynq rsa adds support to load secure image which can be both authenticated or encrypted or both authenticated and encrypted image in xilinx bootimage(BOOT.bin) format. 2. zynq aes command adds support to decryp

Re: [U-Boot] [PATCH v3] board: sun50i: Add Amarula A64-Relic initial support

2018-05-31 Thread Maxime Ripard
On Tue, May 29, 2018 at 09:50:39PM +0530, Jagan Teki wrote: > On Tue, May 29, 2018 at 9:44 PM, Maxime Ripard > wrote: > > On Mon, May 28, 2018 at 04:34:43PM +0530, Jagan Teki wrote: > >> +CONFIG_CMD_USB_MASS_STORAGE=y > > > > You still haven't explained why this is useful to add it by default on >

[U-Boot] [PATCH v2 2/3] cmd: fpga: Add support to load secure bitstreams

2018-05-31 Thread Siva Durga Prasad Paladugu
This patch adds support to load secure bitstreams(authenticated or encrypted or both). As of now, this feature is added and tested only for xilinx bitstreams and the secure bitstream was generated using xilinx bootgen tool, but the command is defined in more generic way. Command example to load au

[U-Boot] [PATCH v2 1/3] cmd: fpga: Reorder the arguments parsing code

2018-05-31 Thread Siva Durga Prasad Paladugu
This patch modifies the arguments parsing code by parsing based on requested operation for fpga loadfs and then parses the most common/basic args for other fpga load commands. This makes it easy for new command extensions or additions especially the commands with more args. Signed-off-by: Siva Dur

[U-Boot] [PATCH v2 3/3] fpga: zynqmp: Add secure bitstream loading for ZynqMP

2018-05-31 Thread Siva Durga Prasad Paladugu
This patch adds support for loading secure bitstreams on ZynqMP platforms. The secure bitstream images has to be generated using Xilinx bootgen tool. Signed-off-by: Siva Durga Prasad Paladugu --- Changes for v2: - None --- arch/arm/include/asm/arch-zynqmp/sys_proto.h | 6 configs/xilinx_z

Re: [U-Boot] [PATCH] arm: mvebu: move i2c slave disable to generic SPL code

2018-05-31 Thread Maxime Ripard
On Wed, May 30, 2018 at 07:25:14AM +0300, Baruch Siach wrote: > Hi Maxime, > > On Tue, May 29, 2018 at 06:32:01PM +0200, Maxime Ripard wrote: > > On Tue, May 29, 2018 at 05:43:30PM +0200, Stefan Roese wrote: > > > > On Mon, May 28, 2018 at 11:04:38AM +0200, Stefan Roese wrote: > > > > I went back

Re: [U-Boot] [PATCH 0/5] Add DMA driver for DMA330 controller

2018-05-31 Thread Marek Vasut
On 05/31/2018 10:08 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > This patchset contains dm driver for DMA330 controller. > > This series is working on top of u-boot-socfpga.git - > http://git.denx.de/u-boot.git . > > Tien Fong Chee (5): > drivers: dma: Enable DMA-330 driver

Re: [U-Boot] [PATCH v3] board: sun50i: Add Amarula A64-Relic initial support

2018-05-31 Thread Jagan Teki
On Thu, May 31, 2018 at 3:07 PM, Maxime Ripard wrote: > On Tue, May 29, 2018 at 09:50:39PM +0530, Jagan Teki wrote: >> On Tue, May 29, 2018 at 9:44 PM, Maxime Ripard >> wrote: >> > On Mon, May 28, 2018 at 04:34:43PM +0530, Jagan Teki wrote: >> >> +CONFIG_CMD_USB_MASS_STORAGE=y >> > >> > You still

Re: [U-Boot] [PATCH 0/5] Add DMA driver for DMA330 controller

2018-05-31 Thread See, Chin Liang
On Thu, 2018-05-31 at 11:24 +0200, Marek Vasut wrote: > On 05/31/2018 10:08 AM, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > This patchset contains dm driver for DMA330 controller. > > > > This series is working on top of u-boot-socfpga.git - > >  http://git.denx.de/u-bo

Re: [U-Boot] [PATCH] ARM: socfpga: Assure correct ACTLR configuration

2018-05-31 Thread See, Chin Liang
On Tue, 2018-05-29 at 18:39 +0200, Marek Vasut wrote: > Make sure the ARM ACTLR register has correct configuration, otherwise > the Linux kernel refuses to boot. In particular, the "Write Full Line > of Zeroes" bit must be cleared. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh N

Re: [U-Boot] [PATCH] ARM: socfpga: Make DRAM node available in SPL

2018-05-31 Thread See, Chin Liang
On Tue, 2018-05-29 at 18:38 +0200, Marek Vasut wrote: > The SPL can also parse the DRAM configuration node to figure out the > memory layout, make sure it is available. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguyen > --- >  arch/arm/dts/socfpga_arria10_socdk.dtsi | 1 + >

Re: [U-Boot] [PATCH] ARM: socfpga: Pull DRAM size from DT

2018-05-31 Thread See, Chin Liang
On Tue, 2018-05-29 at 18:37 +0200, Marek Vasut wrote: > Pull the DRAM size from DT instead of hardcoding it into U-Boot. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguyen > --- >  arch/arm/mach-socfpga/misc.c | 4 +++- >  1 file changed, 3 insertions(+), 1 deletion(-) > > di

Re: [U-Boot] [PATCH] arm: sunxi: Add support for Pengpod 1000 tablet

2018-05-31 Thread Maxime Ripard
On Wed, May 30, 2018 at 06:01:35PM +0100, Bob Ham wrote: > This is initial support for the Pengpod 1000 tablet. The display is > not currently working but the UART works fine and allows access to the > u-boot console. Memory timing is fine and Linux boots from SD card > and runs OK. > > Signed-o

Re: [U-Boot] [PATCH] ddr: altera: Drop custom dram_bank_mmu_setup() on Arria10

2018-05-31 Thread See, Chin Liang
On Tue, 2018-05-29 at 18:36 +0200, Marek Vasut wrote: > This function was never used in SPL and the default implementation of > dram_bank_mmu_setup() does the same thing. The only difference is the > part which configures OCRAM as cachable, which doesn't really work as > it covers more than the OCR

Re: [U-Boot] [PATCH 0/5] Add DMA driver for DMA330 controller

2018-05-31 Thread Marek Vasut
On 05/31/2018 11:50 AM, See, Chin Liang wrote: > On Thu, 2018-05-31 at 11:24 +0200, Marek Vasut wrote: >> On 05/31/2018 10:08 AM, tien.fong.c...@intel.com wrote: >>> >>> From: Tien Fong Chee >>> >>> This patchset contains dm driver for DMA330 controller. >>> >>> This series is working on top of u-

Re: [U-Boot] [PATCH] ARM: socfpga: Assure correct ACTLR configuration

2018-05-31 Thread Marek Vasut
On 05/31/2018 11:52 AM, See, Chin Liang wrote: > On Tue, 2018-05-29 at 18:39 +0200, Marek Vasut wrote: >> Make sure the ARM ACTLR register has correct configuration, otherwise >> the Linux kernel refuses to boot. In particular, the "Write Full Line >> of Zeroes" bit must be cleared. >> >> Signed-of

Re: [U-Boot] [PATCH] xilinx: zynq: Add support to secure images

2018-05-31 Thread Stefan Herbrechtsmeier
Hi Siva, Am 31.05.2018 um 11:25 schrieb Siva Durga Prasad Paladugu: This patch basically adds two new commands for loadig secure images/bitstreams. 1. zynq rsa adds support to load secure image which can be both authenticated or encrypted or both authenticated and encrypted image in xili

Re: [U-Boot] [PATCH 1/2] watchdog: driver support for layerscape

2018-05-31 Thread Xiaoliang Yang
Thanks York, This watchdog driver is really not support LSCH3. I'll change the patch like following to build the imx_watchdog.c only in LSCH2 of layerscape, do you think it's appropriate? diff --git a/drivers/watchdog/Makefile b/drivers/watchdog/Makefile index 86cf94b..ea47ccf 100644 --- a/driv

Re: [U-Boot] inappropriate PCI configuration on arm64 qemu?

2018-05-31 Thread Tuomas Tynkkynen
Hi Akashi, On 05/31/2018 08:05 AM, AKASHI Takahiro wrote: Simon, On Wed, May 30, 2018 at 01:18:30PM -0600, Simon Glass wrote: +Tuomas Hi Akashi, On 28 May 2018 at 01:59, AKASHI Takahiro wrote: When I tried to add a SD card to qemu's virt machine (2.10.0) as, -- -devic

Re: [U-Boot] [PATCH] xilinx: zynq: Add support to secure images

2018-05-31 Thread Siva Durga Prasad Paladugu
Hi Stefan, > -Original Message- > From: Stefan Herbrechtsmeier [mailto:ste...@herbrechtsmeier.net] > Sent: Thursday, May 31, 2018 3:43 PM > To: Siva Durga Prasad Paladugu ; u- > b...@lists.denx.de > Cc: michal.si...@xilinx.com > Subject: Re: [U-Boot] [PATCH] xilinx: zynq: Add support to se

Re: [U-Boot] [U-Boot, v3, 1/3] mmc: dwmmc: socfpga: Add reset ctrl to driver

2018-05-31 Thread Tom Rini
On Thu, May 31, 2018 at 11:02:39AM +0800, Ley Foon Tan wrote: > On Fri, May 25, 2018 at 7:16 PM, Tom Rini wrote: > > On Fri, May 25, 2018 at 10:45:53AM +0800, Ley Foon Tan wrote: > >> On Thu, May 24, 2018 at 8:39 PM, Tom Rini wrote: > >> > On Tue, May 08, 2018 at 11:19:24AM +0800, Ley Foon Tan wr

Re: [U-Boot] [PATCH v3 1/2] sunxi-mmc: use new mode on A64

2018-05-31 Thread Maxime Ripard
On Wed, May 30, 2018 at 09:02:18PM -0700, Vasily Khoruzhick wrote: > That is necessary for using automatic calibration on A64 eMMC. > > Signed-off-by: Vasily khoruzhick > --- > arch/arm/mach-sunxi/Kconfig | 1 + > drivers/mmc/sunxi_mmc.c | 4 ++-- > 2 files changed, 3 insertions(+), 2 deleti

Re: [U-Boot] [PATCH] sf: Set current flash bank to 0 in clean_bar()

2018-05-31 Thread Marek Vasut
On 05/24/2018 09:58 PM, Marek Vasut wrote: > The clean_bar() function resets the SPI NOR BAR register to 0, but > does not set the flash->curr_bar to 0 , therefore those two can get > out of sync, which could ultimatelly result in corrupted flash content. > > The simplest test case is this: > >

[U-Boot] [PATCH] arm64: zynqmp: accept an absolute path for PMUFW_INIT_FILE

2018-05-31 Thread Luca Ceresoli
The value of PMUFW_INIT_FILE is prefixed with "$(srctree)/", thus forcing it to be a relative path inside the U-Boot source tree. Since the PMUFW is a binary file generated outside of U-Boot, the PMUFW binary must be copied inside the U-Boot source tree before the build. This generates a few probl

Re: [U-Boot] [PATCH v4 6/6] iotrace: fix behaviour when buffer is full

2018-05-31 Thread Simon Glass
On 30 May 2018 at 14:10, Ramon Fried wrote: > Don't continue updating the offset when buffer is full. > When the buffer size exhausts and there's no space left to write > warn the user and update only the needed size and not both the > offset and needed size. > > Add needed buffer size information

Re: [U-Boot] [PATCH v2 1/2] drivers; add DM_NO_OF Kconfig option

2018-05-31 Thread Simon Glass
Hi Angelo, On 30 May 2018 at 13:58, Angelo Dureghello wrote: > Hi Tom and Simon, > > thanks for the support. > > On Mon, May 28, 2018 at 08:59:21PM -0400, Tom Rini wrote: >> On Sun, May 27, 2018 at 07:45:12PM -0600, Simon Glass wrote: >> > +Tom >> > >> > Hi Angelo, >> > >> > On 27 May 2018 at 01:

Re: [U-Boot] [PATCH] xilinx: zynq: Add support to secure images

2018-05-31 Thread Michal Simek
On 31.5.2018 11:25, Siva Durga Prasad Paladugu wrote: > This patch basically adds two new commands for loadig secure > images/bitstreams. > 1. zynq rsa adds support to load secure image which can be both >authenticated or encrypted or both authenticated and encrypted >image in xilinx bootim

Re: [U-Boot] [PATCH] arm64: zynqmp: accept an absolute path for PMUFW_INIT_FILE

2018-05-31 Thread Michal Simek
On 31.5.2018 14:58, Luca Ceresoli wrote: > The value of PMUFW_INIT_FILE is prefixed with "$(srctree)/", thus > forcing it to be a relative path inside the U-Boot source tree. Since > the PMUFW is a binary file generated outside of U-Boot, the PMUFW > binary must be copied inside the U-Boot source t

Re: [U-Boot] [PATCH v4 6/6] iotrace: fix behaviour when buffer is full

2018-05-31 Thread Ramon Fried
Hi Tom. The below patch is depened on this one: https://patchwork.ozlabs.org/patch/922071/ Please wait with meging until the patch above is reviewed and mereged. Thanks, Ramon. On Thu, May 31, 2018 at 4:01 PM, Simon Glass wrote: > On 30 May 2018 at 14:10, Ramon Fried wrote: >> Don't continue up

Re: [U-Boot] [PATCH] arm64: zynqmp: accept an absolute path for PMUFW_INIT_FILE

2018-05-31 Thread Luca Ceresoli
Hi Michal, Emmanuel, On 31/05/2018 17:14, Emmanuel Vadot wrote: > On Thu, 31 May 2018 16:28:46 +0200 > Michal Simek wrote: > >> On 31.5.2018 14:58, Luca Ceresoli wrote: >>> The value of PMUFW_INIT_FILE is prefixed with "$(srctree)/", thus >>> forcing it to be a relative path inside the U-Boot so

[U-Boot] [PATCH] fit: Verify all configuration signatures

2018-05-31 Thread Marek Vasut
Rather than verifying configuration signature of the configuration node containing the kernel image types, verify all configuration nodes, even those that do not contain kernel images. This is useful when the nodes contain ie. standalone OSes or U-Boot. Signed-off-by: Marek Vasut Cc: Tom Rini Cc

[U-Boot] [PATCH] spl: spi: Support full fitImage handling

2018-05-31 Thread Marek Vasut
Handle the case where the full fitImage support is enabled. In this case, the whole fitImage must be loaded up front as some parts of the fitImage code require memory-mapped access to the entire fitImage. Signed-off-by: Marek Vasut Cc: Pantelis Antoniou Cc: Simon Glass --- common/spl/spl_spi.c

[U-Boot] [PATCH] spl: fat: Support full fitImage handling

2018-05-31 Thread Marek Vasut
Handle the case where the full fitImage support is enabled. In this case, the whole fitImage must be loaded up front as some parts of the fitImage code require memory-mapped access to the entire fitImage. Signed-off-by: Marek Vasut Cc: Pantelis Antoniou Cc: Simon Glass --- common/spl/spl_fat.c

[U-Boot] [PATCH] spl: Weed out CONFIG_SYS_TEXT_BASE usage

2018-05-31 Thread Marek Vasut
The SPL loaders assume that the CONFIG_SYS_TEXT_BASE memory location is available and can be corrupted by loading ie. uImage or fitImage headers there. Sometimes it could be beneficial to load the headers elsewhere, ie. if CONFIG_SYS_TEXT_BASE is not yet writable while we still want to parse the im

Re: [U-Boot] [PATCH 1/2] watchdog: driver support for layerscape

2018-05-31 Thread York Sun
On 05/31/2018 01:01 AM, Xiaoliang Yang wrote: > Thanks York, > > This watchdog driver is really not support LSCH3. I'll change the patch like > following to build the imx_watchdog.c only in LSCH2 of layerscape, do you > think it's appropriate? > > diff --git a/drivers/watchdog/Makefile b/driver

[U-Boot] [PATCH] spl: fit: Fix support for loading FPGA bitstream

2018-05-31 Thread Marek Vasut
Move the FPGA loading from IS_ENABLED(CONFIG_SPL_OS_BOOT) && IS_ENABLED(CONFIG_SPL_GZIP) conditional. The FPGA loading can be used without OS loading and GZIP support in SPL. This issue was most likely induced by some merge conflict, so fix it. Signed-off-by: Marek Vasut Cc: Tom Rini --- common

[U-Boot] [PATCH] db410c: Added pre-relocation attribute to pinctrl

2018-05-31 Thread Ramon Fried
u-boot,dm-pre-reloc was missing from pinctrl and it's children node. causing failure to configure pin mux before relocation. Signed-off-by: Ramon Fried --- arch/arm/dts/dragonboard410c-uboot.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/dragonboard410c-uboot.dtsi

[U-Boot] [PATCH] ARC: Reset: Use __builtin_arc_brk() instead of open-coded ASM

2018-05-31 Thread Alexey Brodkin
For quite some time we have a GCC's built-in which inserts BRK instruction so let's use it instead of simple insertion of in-line assembly. Signed-off-by: Alexey Brodkin --- arch/arc/lib/reset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arc/lib/reset.c b/arch/arc/l

[U-Boot] [PATCH] ARC: Reset: Implement weak reset_cpu()

2018-05-31 Thread Alexey Brodkin
This will allow for board-specific implementation of reset. Default version will just stop execution with help of BRK instruction. Signed-off-by: Alexey Brodkin --- arch/arc/lib/reset.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/arch/arc/lib/reset.c b/arch

[U-Boot] [PATCH] ARC: Use elf32-bigarc in case of -EB

2018-05-31 Thread Alexey Brodkin
As it is stated in LD manual [1] the second entry in OUTPUT_FORMAT corresponds to "-EB" command-line option which for us is "elf32-bigarc". [1] https://sourceware.org/binutils/docs/ld/Format-Commands.html#Format-Commands Signed-off-by: Alexey Brodkin --- arch/arc/cpu/u-boot.lds | 2 +- 1 file c

[U-Boot] [PATCH] ARC: Add support for EM Development Kit board

2018-05-31 Thread Alexey Brodkin
Synopsys DesignWare ARC EM Development Kit (ARC EMDK) is an FPGA-based development platform from Synopsys aimed to speed-up development of software for ARC EM cores and entire subsystems based on ARC EM like Data Fusion, Secure and Sensor & Control subsystems. U-Boot is supposed to be used as a pr

Re: [U-Boot] [PATCH v3 1/2] sunxi-mmc: use new mode on A64

2018-05-31 Thread Vasily Khoruzhick
On Thu, May 31, 2018 at 5:00 AM, Maxime Ripard wrote: > On Wed, May 30, 2018 at 09:02:18PM -0700, Vasily Khoruzhick wrote: >> That is necessary for using automatic calibration on A64 eMMC. >> >> Signed-off-by: Vasily khoruzhick >> --- >> arch/arm/mach-sunxi/Kconfig | 1 + >> drivers/mmc/sunxi_mm

[U-Boot] Please pull ARC changes for v2018.07-rc1

2018-05-31 Thread Alexey Brodkin
Hi Tom, The following changes since commit c3c863880479edeb5b08226e622d13c91326e4a7: add FIT data-position & data-offset property support (2018-05-26 18:19:19 -0400) are available in the Git repository at: git://git.denx.de/u-boot-arc.git tags/arc-updates-for-2018.07-rc1 for you to fetch

Re: [U-Boot] [PATCH] xilinx: zynq: Add support to secure images

2018-05-31 Thread Stefan Herbrechtsmeier
Hi Siva, Am 31.05.2018 um 12:37 schrieb Siva Durga Prasad Paladugu: -Original Message- From: Stefan Herbrechtsmeier [mailto:ste...@herbrechtsmeier.net] Sent: Thursday, May 31, 2018 3:43 PM To: Siva Durga Prasad Paladugu ; u- b...@lists.denx.de Cc: michal.si...@xilinx.com Subject: Re: [U-

[U-Boot] Shared logging with u-boot and kernel.

2018-05-31 Thread Gautam Bhat
Hello, I am interested in the shared logging with u-boot and kernel feature and would like to know what is the state of the project? Is it in mainline? I am in need of this feature and would like to know if there is any contribution needed which I can help with. Thanks, Gautam. __

Re: [U-Boot] [PATCH] sunxi: reduce Orange Pi Zero DRAM clock speed

2018-05-31 Thread Jan Kiszka
On 2017-08-11 12:21, Jagan Teki wrote: > On Mon, Jul 24, 2017 at 1:44 AM, Clément Bœsch wrote: >> Using `fel-boot-lima-memtester-on-orange-pi-pc 672` on an Orange Pi >> without heatsink results in the following error after a few minutes: >> WRITE FAILURE: 0x0020 != 0xffdf at offset 0x013

Re: [U-Boot] [PATCH] sunxi: allow CONFIG_DEFAULT_FDT_FILE override

2018-05-31 Thread Martin Kelly
On 05/23/2018 11:34 AM, Martin Kelly wrote: On 05/17/2018 05:01 AM, Maxime Ripard wrote: On Tue, May 01, 2018 at 05:46:41PM -0700, Martin Kelly wrote: Currently, sunxi-common.h ignores CONFIG_DEFAULT_FDT_FILE and assumes the kernel fdtfile and the u-boot devicetree names are the same. Although

Re: [U-Boot] [PATCH] sunxi: reduce Orange Pi Zero DRAM clock speed

2018-05-31 Thread Jan Kiszka
On 2018-05-31 19:36, Jan Kiszka wrote: > On 2017-08-11 12:21, Jagan Teki wrote: >> On Mon, Jul 24, 2017 at 1:44 AM, Clément Bœsch wrote: >>> Using `fel-boot-lima-memtester-on-orange-pi-pc 672` on an Orange Pi >>> without heatsink results in the following error after a few minutes: >>> WRITE FAIL

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

2018-05-31 Thread Marek Vasut
The following changes since commit c3c863880479edeb5b08226e622d13c91326e4a7: add FIT data-position & data-offset property support (2018-05-26 18:19:19 -0400) are available in the Git repository at: git://git.denx.de/u-boot-usb.git master for you to fetch changes up to 277b1333b780acd8ddb761

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

2018-05-31 Thread Marek Vasut
The following changes since commit c3c863880479edeb5b08226e622d13c91326e4a7: add FIT data-position & data-offset property support (2018-05-26 18:19:19 -0400) are available in the Git repository at: git://git.denx.de/u-boot-socfpga.git master for you to fetch changes up to a0029aea787286c72c

Re: [U-Boot] [PATCH] sunxi: allow CONFIG_DEFAULT_FDT_FILE override

2018-05-31 Thread Jagan Teki
On Thu, May 17, 2018 at 5:31 PM, Maxime Ripard wrote: > On Tue, May 01, 2018 at 05:46:41PM -0700, Martin Kelly wrote: >> Currently, sunxi-common.h ignores CONFIG_DEFAULT_FDT_FILE and assumes >> the kernel fdtfile and the u-boot devicetree names are the same. >> Although this is typically the case,

Re: [U-Boot] [PATCH] sunxi: allow CONFIG_DEFAULT_FDT_FILE override

2018-05-31 Thread Martin Kelly
On 05/31/2018 11:13 AM, Jagan Teki wrote: On Thu, May 17, 2018 at 5:31 PM, Maxime Ripard wrote: On Tue, May 01, 2018 at 05:46:41PM -0700, Martin Kelly wrote: Currently, sunxi-common.h ignores CONFIG_DEFAULT_FDT_FILE and assumes the kernel fdtfile and the u-boot devicetree names are the same. A

Re: [U-Boot] [PATCH] power: pmic: Let PFUZE3000 see all 256 registers

2018-05-31 Thread Trent Piepho
Ping. Been a while. 2018.05 is out. On Thu, 2018-04-26 at 03:22 -0300, Fabio Estevam wrote: > On Wed, Apr 25, 2018 at 2:06 PM, Trent Piepho > wrote: > > The PFUZE3000 uses registers addresses up to 0xff. > > > > The DM pfuze100 driver supports both pfuze100 and pfuze3000. Allow > > it > > to

Re: [U-Boot] [PATCH] arm64: zynqmp: accept an absolute path for PMUFW_INIT_FILE

2018-05-31 Thread Emmanuel Vadot
On Thu, 31 May 2018 16:28:46 +0200 Michal Simek wrote: > On 31.5.2018 14:58, Luca Ceresoli wrote: > > The value of PMUFW_INIT_FILE is prefixed with "$(srctree)/", thus > > forcing it to be a relative path inside the U-Boot source tree. Since > > the PMUFW is a binary file generated outside of U-B

[U-Boot] [PATCH] rtc: Add read8 and write8 support to isl1208 driver

2018-05-31 Thread Trent Piepho
This can be used for device register access from board code. This allows access to capabilities in the RTC chip not abstracted in U-Boot's RTC class. E.g., device NVRAM or a tamper detection circuit. Cc: Klaus Goger Cc: Philipp Tomsich Cc: Simon Glass Signed-off-by: Trent Piepho --- drivers

[U-Boot] [PATCH] imx: mx7: psci: Add support for version command

2018-05-31 Thread Trent Piepho
This command should be supported for PSCI 1.0. Current code results in this message from the kernel: "PSCIv65535.65535 detected in firmware." This will mess up a kernel check of the PSCI version. Currently the kernel only cares if the version is at least 1.0 so it doesn't break anything, as the

Re: [U-Boot] [U-Boot,1/1] logos: provide U-Boot logo

2018-05-31 Thread Tom Rini
On Mon, May 21, 2018 at 12:23:48PM +0200, Heinrich Schuchardt wrote: > Provide a logo showing a submarine. > > U-Boot currently lacks an icon identifying the project. > The German word U-Boot translates to submarine. > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot, v3, 3/6] scripts/dtc: Update to upstream version v1.4.5-6-gc1e55a5513e9

2018-05-31 Thread Tom Rini
On Sat, May 19, 2018 at 02:13:52PM +0200, Eugeniu Rosca wrote: > From: Rob Herring > > Pickup the fix for handling unresolved phandles in overlays. > > This adds the following commits from upstream: > > c1e55a5513e9 checks: fix handling of unresolved phandles for dts plugins > f8872e29ce06 tes

Re: [U-Boot] [PATCH] arm: sunxi: Add support for Pengpod 1000 tablet

2018-05-31 Thread Jagan Teki
On Wed, May 30, 2018 at 10:31 PM, Bob Ham wrote: > This is initial support for the Pengpod 1000 tablet. The display is > not currently working but the UART works fine and allows access to the > u-boot console. Memory timing is fine and Linux boots from SD card > and runs OK. > > Signed-off-by: B

Re: [U-Boot] [PATCH] sunxi: allow CONFIG_DEFAULT_FDT_FILE override

2018-05-31 Thread klaus . goger
Hi Martin, > On 31.05.2018, at 19:49, Martin Kelly wrote: > > On 05/23/2018 11:34 AM, Martin Kelly wrote: >> On 05/17/2018 05:01 AM, Maxime Ripard wrote: >>> On Tue, May 01, 2018 at 05:46:41PM -0700, Martin Kelly wrote: Currently, sunxi-common.h ignores CONFIG_DEFAULT_FDT_FILE and assumes >

Re: [U-Boot] gitignore: remove stale /LOG pattern

2018-05-31 Thread Tom Rini
On Wed, May 23, 2018 at 12:46:36AM +0900, Masahiro Yamada wrote: > The /LOG directory was created by the old MAKEALL tool, which was > deleted by commit c8a3777c51b9 ("Drop the MAKEALL tool"). > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Descript

Re: [U-Boot] [U-Boot, v3, 6/6] test: dm: Fix wrong aliases property names

2018-05-31 Thread Tom Rini
On Sat, May 19, 2018 at 02:13:55PM +0200, Eugeniu Rosca wrote: > After importing v4.17-rc1 Linux commit 9130ba884640 ("scripts/dtc: > Update to upstream version v1.4.6-9-gaadd0b65c987"), sandbox build > reports below warnings: > > arch/sandbox/dts/test.dtb: Warning (alias_paths): /aliases: aliase

Re: [U-Boot] tests: Make test_log.py tests depend on cmd_log not log

2018-05-31 Thread Tom Rini
On Fri, May 25, 2018 at 08:28:45AM -0400, Tom Rini wrote: > While the tests in this testcase are for the log subsystem they are only > able to be run if CONFIG_CMD_LOG is enabled as well as CONFIG_LOG, so > update the buildconfigspec requirement. > > Signed-off-by: Tom Rini Applied to u-boot/ma

Re: [U-Boot] [PATCH] rtc: Add read8 and write8 support to isl1208 driver

2018-05-31 Thread Dr. Philipp Tomsich
> On 31 May 2018, at 20:14, Trent Piepho wrote: > > This can be used for device register access from board code. > > This allows access to capabilities in the RTC chip not abstracted in > U-Boot's RTC class. E.g., device NVRAM or a tamper detection circuit. > > Cc: Klaus Goger > Cc: Philipp

Re: [U-Boot] [U-Boot,1/1] Remove snapshot.commit

2018-05-31 Thread Tom Rini
On Sun, May 27, 2018 at 07:54:16PM +0200, Heinrich Schuchardt wrote: > The file is not referenced anywhere. > To display a change log we have the 'git log' command. > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [U-Boot, v3, 2/6] board: eets: pdu001: Fix wrong default value in Kconfig

2018-05-31 Thread Tom Rini
On Sat, May 19, 2018 at 02:13:51PM +0200, Eugeniu Rosca wrote: > After importing linux v4.16-rc1 commit 2c37e08464a8 ("kconfig: Warn if > choice default is not in choice"), Kconfig complains: > > scripts/kconfig/conf --syncconfig Kconfig > board/eets/pdu001/Kconfig:22:warning:\ > choic

Re: [U-Boot] [U-Boot, v3, 4/6] scripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987

2018-05-31 Thread Tom Rini
On Sat, May 19, 2018 at 02:13:53PM +0200, Eugeniu Rosca wrote: > From: Rob Herring > > This adds the following commits from upstream: > > aadd0b65c987 checks: centralize printing of property names in failure messages > 88960e398907 checks: centralize printing of node path in check_msg > f1879e1

Re: [U-Boot] [U-Boot,v3,1/6] kconfig: re-sync with Linux 4.17-rc4

2018-05-31 Thread Tom Rini
On Sat, May 19, 2018 at 02:13:50PM +0200, Eugeniu Rosca wrote: > Align Kconfig to Linux 4.17-rc4 with minimal impact on non-kconfig files. > > Previous Kconfig sync was done by commit bf7ab1e70fd762 ("kconfig: > re-sync with Linux 4.10") and it achieved almost perfect alignment with > a few (inte

Re: [U-Boot] [U-Boot, v3, 5/6] scripts/dtc: Re-sync with Linux 4.17-rc4

2018-05-31 Thread Tom Rini
On Sat, May 19, 2018 at 02:13:54PM +0200, Eugeniu Rosca wrote: > To achieve a DTC state (more or less) equivalent to Linux 4.17-rc4, > backport the DTC-specific part from below Linux commits: > > b23d1a241f4eb4 ("kbuild: add %.lex.c and %.tab.[ch] to 'targets' > automatically") > 9a8dfb394c0467

[U-Boot] [PATCH] MAINTAINERS: Take over DB410c maintainership

2018-05-31 Thread Ramon Fried
Signed-off-by: Ramon Fried --- board/qualcomm/dragonboard410c/MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/qualcomm/dragonboard410c/MAINTAINERS b/board/qualcomm/dragonboard410c/MAINTAINERS index 70723ac5b7..a43f1c878e 100644 --- a/board/qualcomm/dragonboa

Re: [U-Boot] [PATCH] MAINTAINERS: Take over DB410c maintainership

2018-05-31 Thread Jorge Ramirez-Ortiz
On 05/31/2018 08:24 PM, Ramon Fried wrote: Signed-off-by: Ramon Fried --- board/qualcomm/dragonboard410c/MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/qualcomm/dragonboard410c/MAINTAINERS b/board/qualcomm/dragonboard410c/MAINTAINERS index 70723ac5b7..a

[U-Boot] [PATCH v3] x86: use EFI calling convention for efi_main on x86_64

2018-05-31 Thread Ivan Gorinov
UEFI specifies the calling convention used in Microsoft compilers; first arguments of a function are passed in (%rcx, %rdx, %r8, %r9). All other compilers use System V ABI by default, passing first integer arguments of a function in (%rdi, %rsi, %rdx, %rcx, %r8, %r9). These ABI also specify diffe

[U-Boot] [PATCH v3] x86: use EFI calling convention for efi_main on x86_64

2018-05-31 Thread Ivan Gorinov
UEFI specifies the calling convention used in Microsoft compilers; first arguments of a function are passed in (%rcx, %rdx, %r8, %r9). All other compilers use System V ABI by default, passing first integer arguments of a function in (%rdi, %rsi, %rdx, %rcx, %r8, %r9). These ABI also specify diffe

Re: [U-Boot] [PATCH v2] x86: use EFI calling convention for efi_main on x86_64

2018-05-31 Thread Ivan Gorinov
On Thu, May 31, 2018 at 11:26:50AM +0300, Andy Shevchenko wrote: > > Save efi_main() arguments in the startup code on x86_64; > > use EFI calling convention for _relocate() on x86_64; > > remove unused _relocate() arguments; > > consistently use EFI calling convention for efi_main() everywhere. >

Re: [U-Boot] [PATCH v3] x86: use EFI calling convention for efi_main on x86_64

2018-05-31 Thread Andy Shevchenko
On Thu, May 31, 2018 at 9:46 PM, Ivan Gorinov wrote: > UEFI specifies the calling convention used in Microsoft compilers; > first arguments of a function are passed in (%rcx, %rdx, %r8, %r9). > > All other compilers use System V ABI by default, passing first integer > arguments of a function in (%

Re: [U-Boot] [PATCH] sunxi: allow CONFIG_DEFAULT_FDT_FILE override

2018-05-31 Thread Martin Kelly
On 05/31/2018 11:15 AM, klaus.go...@theobroma-systems.com wrote: Hi Martin, On 31.05.2018, at 19:49, Martin Kelly wrote: On 05/23/2018 11:34 AM, Martin Kelly wrote: On 05/17/2018 05:01 AM, Maxime Ripard wrote: On Tue, May 01, 2018 at 05:46:41PM -0700, Martin Kelly wrote: Currently, sunxi-c

Re: [U-Boot] [PATCH] sunxi: allow CONFIG_DEFAULT_FDT_FILE override

2018-05-31 Thread klaus . goger
> On 31.05.2018, at 21:48, Martin Kelly wrote: > > On 05/31/2018 11:15 AM, klaus.go...@theobroma-systems.com wrote: >> Hi Martin, >>> On 31.05.2018, at 19:49, Martin Kelly wrote: >>> >>> On 05/23/2018 11:34 AM, Martin Kelly wrote: On 05/17/2018 05:01 AM, Maxime Ripard wrote: > On Tue

Re: [U-Boot] [PATCH v8 00/18] Add fastboot UDP support

2018-05-31 Thread Sam Protsenko
On 29 May 2018 at 18:30, Alex Kiernan wrote: > > This series merges the fastboot UDP support from AOSP into mainline > U-Boot. > > Changes in UDP behaviour from the AOSP code, so it follows the existing USB > behaviour: > > - 'boot' now follows the USB code and does 'bootm CONFIG_FASTBOOT_BUF_ADDR

Re: [U-Boot] [PATCH] sunxi: allow CONFIG_DEFAULT_FDT_FILE override

2018-05-31 Thread Martin Kelly
On 05/31/2018 12:58 PM, klaus.go...@theobroma-systems.com wrote: On 31.05.2018, at 21:48, Martin Kelly wrote: On 05/31/2018 11:15 AM, klaus.go...@theobroma-systems.com wrote: Hi Martin, On 31.05.2018, at 19:49, Martin Kelly wrote: On 05/23/2018 11:34 AM, Martin Kelly wrote: On 05/17/201

Re: [U-Boot] [PATCH] arm: sunxi: Add support for Pengpod 1000 tablet

2018-05-31 Thread Bob Ham
On 31/05/18 19:15, Jagan Teki wrote: > On Wed, May 30, 2018 at 10:31 PM, Bob Ham wrote: >> This is initial support for the Pengpod 1000 tablet. > Is Linux supported this dts or in ML? couldn't find either? I haven't sent the .dts for Linux yet. The U-Boot and Linux .dts was identical when I fir

Re: [U-Boot] Exception Level switching seems broken on RK3399

2018-05-31 Thread Dr. Philipp Tomsich
Vincente, > On 1 Jun 2018, at 00:28, Vicente Bergas wrote: > > On Thu, May 24, 2018 at 7:05 PM, Dr. Philipp Tomsich > wrote: >> Vincente, >> >> On 24 May 2018, at 18:48, Vicente Bergas wrote: >> >> Hello Philipp, >> your answer is much appreciated. >> >> On Thu, May 24, 2018 at 1:07 PM, Dr.

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

2018-05-31 Thread Tom Rini
On Thu, May 31, 2018 at 08:06:50PM +0200, Marek Vasut wrote: > The following changes since commit c3c863880479edeb5b08226e622d13c91326e4a7: > > add FIT data-position & data-offset property support (2018-05-26 > 18:19:19 -0400) > > are available in the Git repository at: > > git://git.denx.d

Re: [U-Boot] [PATCH] power: pmic: Let PFUZE3000 see all 256 registers

2018-05-31 Thread Fabio Estevam
[Adding Stefano] On Thu, May 31, 2018 at 3:01 PM, Trent Piepho wrote: > Ping. Been a while. 2018.05 is out. > > On Thu, 2018-04-26 at 03:22 -0300, Fabio Estevam wrote: >> On Wed, Apr 25, 2018 at 2:06 PM, Trent Piepho >> wrote: >> > The PFUZE3000 uses registers addresses up to 0xff. >> > >> > T

[U-Boot] [PATCH] sunxi: use CONFIG_DEFAULT_FDT_FILE everywhere

2018-05-31 Thread Martin Kelly
Currently, sunxi-common.h ignores CONFIG_DEFAULT_FDT_FILE and assumes the kernel fdtfile and the u-boot devicetree names are the same. Although this is typically the case, sometimes you might want to customize one of these differently, so it's useful to allow them to be different. Fix this to use

Re: [U-Boot] [PATCH v2 1/2] drivers; add DM_NO_OF Kconfig option

2018-05-31 Thread Tom Rini
On Wed, May 30, 2018 at 09:58:16PM +0200, Angelo Dureghello wrote: > Hi Tom and Simon, > > thanks for the support. > > On Mon, May 28, 2018 at 08:59:21PM -0400, Tom Rini wrote: > > On Sun, May 27, 2018 at 07:45:12PM -0600, Simon Glass wrote: > > > +Tom > > > > > > Hi Angelo, > > > > > > On 27 M

Re: [U-Boot] [U-Boot, v3, 1/3] mmc: dwmmc: socfpga: Add reset ctrl to driver

2018-05-31 Thread Ley Foon Tan
On Thu, May 31, 2018 at 7:16 PM, Tom Rini wrote: > On Thu, May 31, 2018 at 11:02:39AM +0800, Ley Foon Tan wrote: >> On Fri, May 25, 2018 at 7:16 PM, Tom Rini wrote: >> > On Fri, May 25, 2018 at 10:45:53AM +0800, Ley Foon Tan wrote: >> >> On Thu, May 24, 2018 at 8:39 PM, Tom Rini wrote: >> >> > O

Re: [U-Boot] [PATCH] sunxi: use CONFIG_DEFAULT_FDT_FILE everywhere

2018-05-31 Thread klaus . goger
> On 01.06.2018, at 02:59, Martin Kelly wrote: > > Currently, sunxi-common.h ignores CONFIG_DEFAULT_FDT_FILE and assumes > the kernel fdtfile and the u-boot devicetree names are the same. > Although this is typically the case, sometimes you might want to > customize one of these differently, so

Re: [U-Boot] [PATCH 1/2] watchdog: driver support for layerscape

2018-05-31 Thread York Sun
On 05/31/2018 08:16 PM, Xiaoliang Yang wrote: > Hi York, > > I think it's better not to affect the original i.mx SoCs. If not in i.mx > SoCs, we can enable it by define CONFIG_IMX_WATCHDOG in config file. Or do > you think it's better to use "select IMX_WATCHDOG" to enable it in default > for o

Re: [U-Boot] ls1021atwr: Convert to use driver model TSEC driver

2018-05-31 Thread Bin Meng
Hi, On Wed, May 30, 2018 at 11:06 AM, York Sun wrote: > Alison and Prabhakar, > > Please take a look at the mentioned patch. > Would you please take the patch and update all LS1021A boards? thanks! Regards, Bin ___ U-Boot mailing list U-Boot@lists.den

Re: [U-Boot] ls1021atwr: Convert to use driver model TSEC driver

2018-05-31 Thread York Sun
On May 31, 2018, at 20:58, Bin Meng wrote: > > Hi, > >> On Wed, May 30, 2018 at 11:06 AM, York Sun wrote: >> Alison and Prabhakar, >> >> Please take a look at the mentioned patch. >> > > Would you please take the patch and update all LS1021A boards? thanks! Bin, I expect LS1021A board mai

Re: [U-Boot] [PATCH] xilinx: zynq: Add support to secure images

2018-05-31 Thread Siva Durga Prasad Paladugu
Hi Stefan, > -Original Message- > From: Stefan Herbrechtsmeier [mailto:ste...@herbrechtsmeier.net] > Sent: Thursday, May 31, 2018 10:57 PM > To: Siva Durga Prasad Paladugu ; u- > b...@lists.denx.de > Cc: michal.si...@xilinx.com > Subject: Re: [U-Boot] [PATCH] xilinx: zynq: Add support to s

  1   2   >