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

2018-04-17 Thread Bryan O'Donoghue
On 16/04/18 17:49, Simon Glass wrote: On 15 April 2018 at 04:48, Bryan O'Donoghue wrote: commit b4d956f6bc0f ("bootm: Align cache flush end address correctly") aligns the end address of the cache flush operation to a cache-line size to ensure lower-layers in the code accept the range provided

Re: [U-Boot] [PATCH] reset: fix bulk API when DM_RESET is disabled

2018-04-17 Thread Neil Armstrong
On 12/04/2018 18:41, Simon Glass wrote: > On 12 April 2018 at 02:03, Neil Armstrong wrote: >> In the commit "reset: Add get/assert/deassert/release for bulk of reset >> signals" >> the disabled reset_release_bulk() and reset_get_bulk() used the wrong >> struct clk_bulk instead of struct reset_ctl

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

2018-04-17 Thread See, Chin Liang
Hi Marek, On Sun, 2018-04-15 at 15:37 +0200, Marek Vasut wrote: > The Arria10 uses slightly different boot image header than the Gen5 > SoCs, > in particular the header itself contains an offset from the start of > the > header to which the Arria10 jumps. This offset must not be negative, > yet >

Re: [U-Boot] [PATCH 2/5] image: socfpga: Add SFP image version 1 definition

2018-04-17 Thread See, Chin Liang
On Sun, 2018-04-15 at 15:37 +0200, Marek Vasut wrote: > Add support for the SoCFPGA header v1, which is used on Arria 10. > The layout of the v0 and v1 header is similar, yet there are a few > differences which make it incompatible with previous v0 header, so > add a new entry. > > Signed-off-by:

Re: [U-Boot] [PATCH 3/5] tools: socfpga: Stop using global struct socfpga_image

2018-04-17 Thread See, Chin Liang
On Sun, 2018-04-15 at 15:37 +0200, Marek Vasut wrote: > The structure is passed around correctly, create local instances > where necessary and zap the global struct socfpga_image instance. > > Signed-off-by: Marek Vasut > Cc: Dinh Nguyen > Cc: Chin Liang See > --- >  tools/socfpgaimage.c | 8 ++

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

2018-04-17 Thread Marek Vasut
On 04/17/2018 10:40 AM, See, Chin Liang wrote: > Hi Marek, > > On Sun, 2018-04-15 at 15:37 +0200, Marek Vasut wrote: >> The Arria10 uses slightly different boot image header than the Gen5 >> SoCs, >> in particular the header itself contains an offset from the start of >> the >> header to which the

Re: [U-Boot] [PATCH v2] mmc: mv_sdhci: zero out sdhci_host structure

2018-04-17 Thread Stefan Roese
On 16.04.2018 17:13, Stefan Roese wrote: On 16.04.2018 16:08, Matt Pelland wrote: The mv_sdhci driver was not zeroing the sdhci_host structure it allocates causing random access violations in parts of the mmc core where the "ops" member pointers are checked and called if not NULL. Signed-off-by

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

2018-04-17 Thread See, Chin Liang
On Tue, 2018-04-17 at 10:46 +0200, Marek Vasut wrote: > On 04/17/2018 10:40 AM, See, Chin Liang wrote: > > > > Hi Marek, > > > > On Sun, 2018-04-15 at 15:37 +0200, Marek Vasut wrote: > > > > > > The Arria10 uses slightly different boot image header than the > > > Gen5 > > > SoCs, > > > in partic

[U-Boot] Please pull u-boot-marvell/master

2018-04-17 Thread Stefan Roese
Hi Tom, please pull the small mv_sdhci fix from Matt from the Marvell repo. Thanks, Stefan 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://www.denx.de/git/u-boot-ma

Re: [U-Boot] [PATCH 5/5] spl: socfpga: Generate Arria10 SFP header V1

2018-04-17 Thread See, Chin Liang
On Sun, 2018-04-15 at 15:37 +0200, Marek Vasut wrote: > Generate SoCFPGA boot header version 1 instead of version 0 for > Arria10. > > Signed-off-by: Marek Vasut > Cc: Dinh Nguyen > Cc: Chin Liang See > --- >  scripts/Makefile.spl | 4 >  1 file changed, 4 insertions(+) > Acked-by: Chin L

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

2018-04-17 Thread Marek Vasut
On 04/17/2018 10:52 AM, See, Chin Liang wrote: > On Tue, 2018-04-17 at 10:46 +0200, Marek Vasut wrote: >> On 04/17/2018 10:40 AM, See, Chin Liang wrote: >>> >>> Hi Marek, >>> >>> On Sun, 2018-04-15 at 15:37 +0200, Marek Vasut wrote: The Arria10 uses slightly different boot image header th

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

2018-04-17 Thread See, Chin Liang
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 wrote: > > > > > > On 04/17/2018 10:40 AM, See, Chin Liang wrote: > > > > > > > > > > > > Hi Marek, > > > > > > > > On Sun, 2018-04-15 a

Re: [U-Boot] [PATCH 1/1] sunxi: R40: add support for gigabit ethernet

2018-04-17 Thread Maxime Ripard
Hi Lothar, On Thu, Apr 12, 2018 at 08:19:03PM +0200, Lothar Felten wrote: > This patch adds support for the gigabit interface found on the > Allwinner R40/V40 CPU. > It does not support the 100Mbit interface (EMAC). > > Fixes: > - add GMAC gating clock and reset control > - GPIO mux settings > -

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

2018-04-17 Thread Marek Vasut
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 wrote: On 04/17/2018 10:40 AM, See, Chin Liang wrote: > > > Hi Marek,

[U-Boot] [PATCH] reset: fix reset_get_bulk when phandle error

2018-04-17 Thread Neil Armstrong
This fixes the Coverity Defect CID 175348 when dev_count_phandle_with_args() returns a negative value. Fixes: 0c28233903b5 ("reset: Add get/assert/deassert/release for bulk of reset signals") Signed-off-by: Neil Armstrong --- drivers/reset/reset-uclass.c | 4 ++-- 1 file changed, 2 insertions(+

[U-Boot] [PATCH] clk: fix clk_get_bulk when phandle error

2018-04-17 Thread Neil Armstrong
This fixes the Coverity Defect CID 175347 when dev_count_phandle_with_args() returns a negative value. Fixes: a855be87da49 ("clk: Add get/enable/disable/release for a bulk of clocks") Signed-off-by: Neil Armstrong --- drivers/clk/clk-uclass.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletion

[U-Boot] Booting Jerry chromebook from eMMC

2018-04-17 Thread Carlo Caione
Hi, I'm trying to boot a Veyron Jerry chromebook using U-Boot placed in the eMMC. Booting from SPI using 'chromebook_jerry_defconfig' works perfectly fine, but I'm hitting a wall when moving from SPI to eMMC (mostly related to the limited space for the SPL). Has anyone managed to boot this platfor

Re: [U-Boot] [PATCHv1 02/14] reset: sti: remove request and free functions

2018-04-17 Thread Patrice CHOTARD
Hi Dinh On 04/14/2018 08:51 PM, Dinh Nguyen wrote: > The request and free reset functions are not really used for any useful > purpose but for debugging. We can safely remove them. > > Signed-off-by: Dinh Nguyen > --- > drivers/reset/sti-reset.c | 12 > drivers/reset/stm32-rese

Re: [U-Boot] [PATCHv1 12/14] usb: ehci/ohci: remove reset_free function

2018-04-17 Thread Patrice CHOTARD
Hi Dinh On 04/14/2018 08:51 PM, Dinh Nguyen wrote: > The call to free the reset control line is a deadend call that doesn't > lead to any reset control functionality. > > Also the reset_free() function will be remove in a subsequent patch, so > remove it here. > > Signed-off-by: Dinh Nguyen > -

[U-Boot] [PATCH] ARC: HSDK: fix cpu frequency value

2018-04-17 Thread Eugeniy Paltsev
CPU on HSDK board runs at 500MHz after preloader so fix wrong cpu orequency value in hsdk_defconfig in hsdk. Signed-off-by: Eugeniy Paltsev --- configs/hsdk_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/hsdk_defconfig b/configs/hsdk_defconfig index 37f6190

[U-Boot] [PATCH 1/2] imx6ul: opos6ul: add SPL_DM support

2018-04-17 Thread Sébastien Szymanski
Since commit commit 152038ea1886 ("i.MX6UL: icore: Add SPL_OF_CONTROL support") the OPOS6UL board doesn't boot anymore. Adding SPL_DM support makes the board boot again. Fixes: commit 152038ea1886 ("i.MX6UL: icore: Add SPL_OF_CONTROL support") Signed-off-by: Sébastien Szymanski --- arch/arm/dts/

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

2018-04-17 Thread Sébastien Szymanski
Signed-off-by: Sébastien Szymanski --- arch/arm/mach-imx/mx6/opos6ul.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/mach-imx/mx6/opos6ul.c b/arch/arm/mach-imx/mx6/opos6ul.c index ef70a7d323..5d39c0bc1b 100644 --- a/arch/arm/mach-imx/mx6/opos6ul.c +++ b/arch/arm/mach-im

[U-Boot] [PATCH v2 1/5] sunxi: R40: add gigabit ethernet clocks

2018-04-17 Thread Lothar Felten
Add clock control entries for the gigabit interface of the Allwinner R40/V40 CPU Signed-off-by: Lothar Felten --- arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-sunxi/clock_sun6i.h b/arch/arm/

[U-Boot] [PATCH v2 3/5] sunxi: R40: add gigabit ethernet gpio pinmux

2018-04-17 Thread Lothar Felten
Add gpio mux settings for the Allwinner R40/V40 CPU. The gigabit ethernet interface can only be routed to a fixed set of pins. Signed-off-by: Lothar Felten --- arch/arm/dts/sun8i-r40.dtsi | 9 + drivers/net/sun8i_emac.c| 2 ++ 2 files changed, 11 insertions(+) diff --git a/arch/arm/

[U-Boot] [PATCH v2 2/5] sunxi: R40: add gigabit ethernet reset

2018-04-17 Thread Lothar Felten
Add reset control for the gigabit interface of the Allwinner R40/V40 CPU Signed-off-by: Lothar Felten --- board/sunxi/gmac.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/board/sunxi/gmac.c b/board/sunxi/gmac.c index 826650c89b..b2ede37dc3 100644 --- a/board/sunxi/gmac.

[U-Boot] [PATCH v2 4/5] sunxi: R40: add gigabit ethernet devicetree node

2018-04-17 Thread Lothar Felten
Add a device tree node for the Allwinner R40/V40 CPU. The syscon node is required by the gmac driver. Signed-off-by: Lothar Felten --- arch/arm/dts/sun8i-r40.dtsi | 28 1 file changed, 28 insertions(+) diff --git a/arch/arm/dts/sun8i-r40.dtsi b/arch/arm/dts/sun8i-r4

[U-Boot] [PATCH v2 5/5] configs: Bananapi_M2_Ultra: enable gigabit on the Bananapi M2U

2018-04-17 Thread Lothar Felten
Enable the gigabit ethernet for the Bananapi M2 Ultra board. Tested on BananaPi M2 Berry (R40), custom board (V40). Signed-off-by: Lothar Felten --- arch/arm/dts/sun8i-r40-bananapi-m2-ultra.dts | 14 ++ configs/Bananapi_M2_Ultra_defconfig | 4 2 files changed, 18 inser

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

2018-04-17 Thread Fabio Estevam
Hi Sébastien On Tue, Apr 17, 2018 at 10:41 AM, Sébastien Szymanski wrote: > Signed-off-by: Sébastien Szymanski Please provide a commit log. ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] [PATCH] ARC: AXS10x: enable hush shell

2018-04-17 Thread Eugeniy Paltsev
Signed-off-by: Eugeniy Paltsev --- configs/axs101_defconfig | 1 + configs/axs103_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/axs101_defconfig b/configs/axs101_defconfig index 174b80aeed..25b10888ce 100644 --- a/configs/axs101_defconfig +++ b/configs/axs101_defconfig @

[U-Boot] [PATCH] timer: Add Cadence TTC timer counter support

2018-04-17 Thread Michal Simek
This driver was tested on Xilinx ZynqMP SoC. Signed-off-by: Michal Simek --- MAINTAINERS | 1 + drivers/timer/Kconfig | 7 +++ drivers/timer/Makefile | 1 + drivers/timer/cadence-ttc.c | 91 + 4 files changed, 100 insertions(+)

[U-Boot] [PATCH] ARC: update ARC architecture maintainers

2018-04-17 Thread Eugeniy Paltsev
Update ARC architecture maintainers and add uboot-snps-...@synopsys.com mailing list. Signed-off-by: Eugeniy Paltsev --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 44eeefa635..9f653a0137 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -55,7 +5

[U-Boot] [PATCH] db410c: set clk node to be probed before relocation

2018-04-17 Thread Ramon Fried
The clock node is used by the serial driver and it's needed before relocation. This patch ensures that the msm-serial driver can actually use the clock node. Signed-off-by: Ramon Fried --- arch/arm/dts/dragonboard410c.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/dragonb

[U-Boot] [PATCH] mach-snapdragon: Fix UART clock flow

2018-04-17 Thread Ramon Fried
UART clock enabling flow was wrong. Changed the flow according to downstream implementation in LK. Signed-off-by: Ramon Fried --- arch/arm/mach-snapdragon/clock-apq8016.c | 19 --- arch/arm/mach-snapdragon/clock-apq8096.c | 4 ++-- arch/arm/mach-snapdra

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

2018-04-17 Thread 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 the same binary, so that boot is not > blocked if board is not locked and has no k

Re: [U-Boot] [PATCH] kbuild: use -fmacro-prefix-map to make __FILE__ a relative path

2018-04-17 Thread Simon Glass
On 15 April 2018 at 22:18, Masahiro Yamada wrote: > > The __FILE__ macro is used everywhere in U-Boot to locate the file > printing the log message, such as WARN_ON(), etc. If U-Boot is > built out of tree, this can be a long absolute path. > > This is because Kbuild runs in the objtree instead o

Re: [U-Boot] [PATCH v4] arm64: Add SMC and HVC commands

2018-04-17 Thread Simon Glass
On 13 April 2018 at 01:40, Michalis Pappas wrote: > This patch adds smc and hvc commands, that allow issuing Secure Monitor > Calls and Hypervisor Calls conforming to the ARM SMC Calling Convention. > > Add Kconfig items to allow each command can be individually enabled. > > Signed-off-by: Michali

Re: [U-Boot] [PATCH 1/1] env: mmc/fat/ext4: undefined reference to `mmc_initialize'

2018-04-17 Thread Simon Glass
On 14 April 2018 at 07:41, Heinrich Schuchardt wrote: > For CONFIG_ENV_FAT_INTERFACE != 'mmc' a link error > env/fat.c:93: undefined reference to `mmc_initialize' > occurs if CONFIG_MMC_SUPPORT is not enabled. > > Fixes: 26862b4a40c3 ("env: mmc/fat/ext4: make sure that the MMC sub-system > is init

Re: [U-Boot] [PATCH v5 2/2] timer: Add High Precision Event Timers (HPET) support

2018-04-17 Thread Simon Glass
Hi Bin, On 15 April 2018 at 23:06, Bin Meng wrote: > Hi Simon, > > On Fri, Apr 13, 2018 at 12:42 AM, Simon Glass wrote: >> Hi, >> >> On 8 April 2018 at 19:22, Bin Meng wrote: >>> Hi Ivan, >>> >>> On Sat, Apr 7, 2018 at 3:18 AM, Ivan Gorinov wrote: Add HPET driver as an alternative timer f

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

2018-04-17 Thread Simon Glass
Hi Duncan, On 14 April 2018 at 17:43, wrote: > From: Duncan Hare > > Why http and wget: > > HTTP is the most efficient file retrieval protocol in common > use. The client send a single request, after TCP connection, > to receive a file of any length. > > WGET is the application which implements

Re: [U-Boot] [RFC][PATCH] cmd: fdt: Fix fdt address information after the movement

2018-04-17 Thread Simon Glass
Hi Marek, On 13 April 2018 at 16:07, Marek Vasut wrote: > On 04/01/2018 04:14 PM, Simon Glass wrote: >> Hi Marek, > > Hi, > >> On 24 February 2018 at 19:09, Marek Vasut wrote: >>> From: Hiroyuki Yokoyama >>> >>> This patch fixes the address information of fdt. >>> >>> wrong case: >>> => fdt ad

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

2018-04-17 Thread Sébastien Szymanski
When booting in Serial Downloader mode load the U-Boot image using ymodem. Signed-off-by: Sébastien Szymanski --- Changes for v2: - Add commit log. arch/arm/mach-imx/mx6/opos6ul.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/mach-imx/mx6/opos6ul.c b/arch/arm/mach-i

[U-Boot] [PATCH v2 1/2] imx6ul: opos6ul: add SPL_DM support

2018-04-17 Thread Sébastien Szymanski
Since commit commit 152038ea1886 ("i.MX6UL: icore: Add SPL_OF_CONTROL support") the OPOS6UL board doesn't boot anymore. Adding SPL_DM support makes the board boot again. Fixes: commit 152038ea1886 ("i.MX6UL: icore: Add SPL_OF_CONTROL support") Signed-off-by: Sébastien Szymanski --- Changes for v

[U-Boot] [PATCH] ARC: remove unused DECLARE_GLOBAL_DATA_PTR from init_helpers.c

2018-04-17 Thread Eugeniy Paltsev
Signed-off-by: Eugeniy Paltsev --- arch/arc/lib/init_helpers.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arc/lib/init_helpers.c b/arch/arc/lib/init_helpers.c index 435fe96ef4..822318ff43 100644 --- a/arch/arc/lib/init_helpers.c +++ b/arch/arc/lib/init_helpers.c @@ -7,8 +7,6 @@ #i

Re: [U-Boot] [U-Boot, v2] Kconfig: Enlarge default SYS_MALLOC_F_LEN for AM33XX

2018-04-17 Thread Tom Rini
On Mon, Apr 16, 2018 at 09:22:51PM -0400, Tom Rini wrote: > On Thu, Apr 12, 2018 at 06:09:58PM +0200, Sjoerd Simons wrote: > > > Since commit 8e14ba7bd524 ("gpio: omap_gpio: Add DM_FLAG_PRE_RELOC > > flag") omap GPIO gets bound before relocation. Unfortunately due to > > this, on at least the bea

Re: [U-Boot] [PATCH] ARC: remove unused DECLARE_GLOBAL_DATA_PTR from init_helpers.c

2018-04-17 Thread Tom Rini
On Tue, Apr 17, 2018 at 07:01:15PM +0300, Eugeniy Paltsev wrote: > Signed-off-by: Eugeniy Paltsev > --- > arch/arc/lib/init_helpers.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/arch/arc/lib/init_helpers.c b/arch/arc/lib/init_helpers.c > index 435fe96ef4..822318ff43 100644 > --- a

[U-Boot] Please pull ARC fixes for RC3

2018-04-17 Thread Alexey Brodkin
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 tags/arc-for-2018.05-rc3 for you to fetch changes up to 474e9312a803ee36dc984217b6e

[U-Boot] [PATCH] ARM: rmobile: Update M2 Koelsch

2018-04-17 Thread Marek Vasut
The M2 Koelsch port was broken since some time. This patch updates the M2 Koelsch port to use modern frameworks, DM, DT probing, SPL for the preloading and puts it on par with the M2 Porter board. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a7791-koelsch-u-boot.dts | 4

[U-Boot] u-boot-usb/master build failure on dra7xx_evm

2018-04-17 Thread Marek Vasut
Hi, can you look at this build problem in u-boot-usb/master on dra7xx_evm and send me a patch? https://travis-ci.org/marex/u-boot-usb/jobs/367566783 u-boot-usb$ bu dra7xx_evm In file included from drivers/usb/host/dwc3-of-simple.c:17:0: include/reset.h:246:62: warning: ‘struct clk_bulk’ declared

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

2018-04-17 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-socfpga.git master for you to fetch changes up to f369e1564cf4f81654b8a806fdc325b62b6627dc: confi

Re: [U-Boot] u-boot-usb/master build failure on dra7xx_evm

2018-04-17 Thread Jean-Jacques Hiblot
Hi Marek, that should be fixed by applying https://patchwork.ozlabs.org/patch/897532/ JJ On 17/04/2018 20:25, Marek Vasut wrote: Hi, can you look at this build problem in u-boot-usb/master on dra7xx_evm and send me a patch? https://travis-ci.org/marex/u-boot-usb/jobs/367566783 u-boot-usb$ b

Re: [U-Boot] u-boot-usb/master build failure on dra7xx_evm

2018-04-17 Thread Jean-Jacques Hiblot
On 17/04/2018 20:35, Jean-Jacques Hiblot wrote: Hi Marek, that should be fixed by applying https://patchwork.ozlabs.org/patch/897532/ You should also apply https://patchwork.ozlabs.org/patch/897537/ Without it the probe fails on dra7xx-evm JJ On 17/04/2018 20:25, Marek Vasut wrote: Hi,

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

2018-04-17 Thread Ivan Gorinov
On Thu, Apr 05, 2018 at 09:31:34AM -0600, Bin Meng wrote: > > The microcode update data block encoded in Device Tree is used by > > the bootstrap processor (BSP) but not passed to the other CPUs (AP). > > I don't understand what the bug is here. The AP microcode update is > done in sipi_vector.S.

Re: [U-Boot] u-boot-usb/master build failure on dra7xx_evm

2018-04-17 Thread Marek Vasut
On 04/17/2018 08:38 PM, Jean-Jacques Hiblot wrote: > > > On 17/04/2018 20:35, Jean-Jacques Hiblot wrote: >> Hi Marek, >> >> that should be fixed by applying >> https://patchwork.ozlabs.org/patch/897532/ > You should also apply https://patchwork.ozlabs.org/patch/897537/ > Without it the probe fail

[U-Boot] Network Packet Buffers: raspberrypi: variable uchar *net_rx_packets[PKTBUFSRX] in net/net.c

2018-04-17 Thread Duncan Hare
Simon Is it possible to modify the network driver for the raspberry pi to use the buffer pool defined in net.c? It appears to have a single buffer, defined in the driver. In addition the buffer pool should be defined in memory outside the u-boot image. With the current definition is the buffer p

[U-Boot] [PATCH] fsl-ifc-nand : Corrected the programming of chip select

2018-04-17 Thread Ronak Desai
Corrected the chip selection in IFC_NAND_CSEL register. Due to this issue in multi-chip nand use-case, IFC was always pointing to the last probed chip even though user select another device through "nand device " command. Also, updated the driver to remove usage of ifc_ctrl->cs_nand as it's the pr

[U-Boot] [PATCH] Added set feature command in FSL IFC nand controller driver for ONFI nand

2018-04-17 Thread Ronak Desai
This patch adds set feature command (EFh) support in Freescale IFC nand controller driver. The SET FEATURES (EFh) command is used to modify the target's default power-on behavior. This command uses one-byte feature address to determine which sub-feature parameters will be modified. Signed-off-by:

Re: [U-Boot] [PATCH] xilinx: Sync defconfigs based on latest NET Kconfig changes

2018-04-17 Thread Tom Rini
On Tue, Apr 17, 2018 at 08:32:31AM +0200, Michal Simek wrote: > Sync CMD_MII, CMD_NFS, CMD_TFTPPUT and BOOTP options. > > Signed-off-by: Michal Simek I forgot to sync everyone before tagging, oops. I'll do that now. -- Tom signature.asc Description: PGP signature __

Re: [U-Boot] Please pull u-boot-marvell/master

2018-04-17 Thread Tom Rini
On Tue, Apr 17, 2018 at 10:53:21AM +0200, Stefan Roese wrote: > Hi Tom, > > please pull the small mv_sdhci fix from Matt from the Marvell > repo. > > Thanks, > Stefan > > > The following changes since commit 8c0a17be0a632b9a823e14628c42f85c3e64f08e: > > Prepare v2018.05-rc2 (2018-04-16 20:0

Re: [U-Boot] [PATCH 0/5] Use Android DT image format for TI boards

2018-04-17 Thread Andrew F. Davis
On 04/16/2018 03:32 PM, Sam Protsenko wrote: > Android documentation recommends using new image format for storing dtb > and dtbo files: [1]. Using that format, we can pack several dtb files to > dtb.img, and also pack several dtbo files to dtbo.img. Then those images > should be flashed to eMMC pa

Re: [U-Boot] [PATCH 3/5] arm: ti: boot: Extract PARTS_DEFAULT to boot.h

2018-04-17 Thread Andrew F. Davis
On 04/16/2018 03:32 PM, Sam Protsenko wrote: > Eliminate code duplication: the same PARTS_DEFAULT was defined in > am57xx_evm.h and in dra7xx_evm.h. Extract it to environment/boot.h and > use in all OMAP5-based boards. > > Signed-off-by: Sam Protsenko > --- This patch can be taken independent o

Re: [U-Boot] [PATCH 4/5] arm: ti: boot: Add dtbo partition for Android boot

2018-04-17 Thread Andrew F. Davis
On 04/16/2018 03:32 PM, Sam Protsenko wrote: > New Android boot scheme looks like this [1], and it involves adding new > partition for storing Device Tree Overlays. This patch adds dtbo > partition. While at it, let's revise Android partition table a bit. > > List of changes: > - rename "misc" to

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

2018-04-17 Thread Fabio Estevam
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 possible to use imx_usb_loader to also load SPL + u-boot.img as described at: doc/README.sdp Your patch

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

2018-04-17 Thread Simon Glass
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 cache flush end address correctly") >>> aligns the end address of the cache flush ope

Re: [U-Boot] [PATCHv1 14/14] reset: remove request and free functions

2018-04-17 Thread Simon Glass
H Dinh, On 16 April 2018 at 16:41, Dinh Nguyen wrote: > > > On 04/16/2018 01:51 PM, Stephen Warren wrote: >> On 04/16/2018 12:43 PM, Simon Glass wrote: >>> +Stephen for comment >>> >>> Hi Dinh, >>> >>> On 14 April 2018 at 12:51, Dinh Nguyen wrote: The request and free reset functions are no

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

2018-04-17 Thread 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(+) diff --git a/drivers/clk/uniphier/clk-uniphier-sys.c b/drivers/clk/uniphier/clk-uniphier-sys.c index c852c78..0230a18 1

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

2018-04-17 Thread Kunihiko Hayashi
Add reset lines for ethernet controller on each SoC. Signed-off-by: Kunihiko Hayashi --- drivers/reset/reset-uniphier.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/reset/reset-uniphier.c b/drivers/reset/reset-uniphier.c index a40cea5..e7a7da7 100644 --- a/drivers/reset/reset

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

2018-04-17 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 b

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

2018-04-17 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 Linu

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

2018-04-17 Thread Masahiro Yamada
device_is_compatible() takes udevice, but there is no such a helper that takes ofnode. Signed-off-by: Masahiro Yamada --- drivers/core/device.c | 8 +--- drivers/core/ofnode.c | 11 +++ include/dm/ofnode.h | 11 +++ 3 files changed, 23 insertions(+), 7 deletions(-) diff

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

2018-04-17 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: clea

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

2018-04-17 Thread Masahiro Yamada
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: Masahiro Yamada --- arch/arm/mach-aspeed/ast2500/sdram_a

[U-Boot] [PATCH 1/3] rockchip: rk3188: add -u-boot.dtsi for rock-rk3188

2018-04-17 Thread Kever Yang
We should a -u-boot.dtsi for those config need by U-Boot only, and other part sync with kernel. Signed-off-by: Kever Yang --- arch/arm/dts/rk3188-radxarock-u-boot.dtsi | 18 ++ arch/arm/dts/rk3188-radxarock.dts | 6 +- arch/arm/dts/rk3188.dtsi | 2

[U-Boot] [PATCH 2/3] rockchip: rk3188: add timer3 node

2018-04-17 Thread Kever Yang
Add dts node for timer3. Because of the rockchip timer can only KNOWN "dtd_rockchip_rk3368_timer" with OF_PLATDATA enable, so we override its compatible to "rockchip,rk3368-timer". Signed-off-by: Kever Yang --- arch/arm/dts/rk3188-radxarock-u-boot.dtsi | 6 ++ arch/arm/dts/rk3188.dtsi

[U-Boot] [PATCH 3/3] rockchip: rk3188: use DM timer instead of rk_timer

2018-04-17 Thread Kever Yang
Disable rk_timer as SYS timer and use DM timer instead, so that we can get a better timer framework, the rk_timer is going to be clean after we conver to use DM timer or ARM arch/generic timer. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/Makefile | 2 ++ arch/arm/mach-rockchi

[U-Boot] [PATCH] rockchip: rk322x: update TPL_TEXT_BASE

2018-04-17 Thread Kever Yang
The boot0 hook including the 4-byte TAG which is at the beginning of the TEXT_BASE, now we can use a aligned TEXT BASE. Signed-off-by: Kever Yang --- include/configs/rk322x_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/rk322x_common.h b/include/con

[U-Boot] [PATCH] rockchip: rk322x: update MACRO for back-to-brom

2018-04-17 Thread Kever Yang
The MACRO has been update after: ee14d29 rockchip: back-to-bootrom: split BACK_TO_BOOTROM for TPL/SPL We need to update the C code for it. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/rk322x-board-spl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-ro

[U-Boot] [PATCH] armv8: ls1088: Update 1900MT/s DDR timing to bring consistency

2018-04-17 Thread Ashish Kumar
Signed-off-by: Ashish Kumar --- board/freescale/ls1088a/ddr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/freescale/ls1088a/ddr.h b/board/freescale/ls1088a/ddr.h index a1ad709..18d420e 100644 --- a/board/freescale/ls1088a/ddr.h +++ b/board/freescale/ls1088a/ddr.h

Re: [U-Boot] [PATCH] xilinx: Sync defconfigs based on latest NET Kconfig changes

2018-04-17 Thread Michal Simek
On 17.4.2018 21:39, Tom Rini wrote: > On Tue, Apr 17, 2018 at 08:32:31AM +0200, Michal Simek wrote: > >> Sync CMD_MII, CMD_NFS, CMD_TFTPPUT and BOOTP options. >> >> Signed-off-by: Michal Simek > > I forgot to sync everyone before tagging, oops. I'll do that now. > Wonderful. This patch can be

Re: [U-Boot] u-boot 2018 SPI SPL

2018-04-17 Thread Mehmet Ali İPİN
Dear Fabio, I manually set spl_boot_list[] array with SPI, eMMCx, USB RAM etc. For SPI NOR flash loader = spl_ll_find_loader(spl_boot_list[i]) function (in spl.c) is returning a negative loader->boot_device number -442503140 May be there is a definition in u-boot/SPL config files to make fil