Re: [U-Boot] [PATCH 4/4] defconfig: k2g_evm_defconfig: Enable mmc driver model

2016-08-10 Thread Tom Rini
On Wed, Aug 10, 2016 at 07:24:06PM +0530, Sekhar Nori wrote: > K2G can benefit from driver model support in the > MMC/SD driver it uses: omap_hsmmc > > Enable driver model MMC support for K2G. > > Signed-off-by: Sekhar Nori Reviewed-by: Tom Rini -- Tom

[U-Boot] BeagleboneBlack vboot from SPI flash difficulties

2016-08-10 Thread Joe Desbonnet
I've been trying to implement vboot from SPI flash on the BeagleBone Black with only limited success. I'm working with u-boot 2016.07 and using the instructions in beaglebone_vboot.txt (in doc directory). So far: I've had no problem booting regular u-boot from SPI flash. I build with

Re: [U-Boot] [PATCH 1/4] drivers: mmc: omap_hsmmc: fix build breakage

2016-08-10 Thread Mugunthan V N
On Wednesday 10 August 2016 07:24 PM, Sekhar Nori wrote: > structure member 'cd_inverted' of omap_hsmmc_data > is available only when OMAP_HSMMC_USE_GPIO is > defined. > > When CONFIG_DM_MMC is defined, but not > CONFIG_OMAP_GPIO, this will cause build breakage > in omap_hsmmc driver of the sort:

Re: [U-Boot] [PATCH 1/4] drivers: mmc: omap_hsmmc: fix build breakage

2016-08-10 Thread Tom Rini
On Wed, Aug 10, 2016 at 07:24:03PM +0530, Sekhar Nori wrote: > structure member 'cd_inverted' of omap_hsmmc_data > is available only when OMAP_HSMMC_USE_GPIO is > defined. > > When CONFIG_DM_MMC is defined, but not > CONFIG_OMAP_GPIO, this will cause build breakage > in omap_hsmmc driver of the

[U-Boot] [PATCH v4 0/6] U-Boot port to Xtensa architecture

2016-08-10 Thread Max Filippov
Hello, this series adds U-Boot port to Xtensa, configurable processor architecture from Tensilica, Inc., now Cadence Design Systems Inc. It depends on the following patch series: - net/ethoc improvements http://lists.denx.de/pipermail/u-boot/2016-August/263040.html - drivers/sysreset: group

[U-Boot] [PATCH v4 2/6] xtensa: add support for the xtensa processor architecture [2/2]

2016-08-10 Thread Max Filippov
From: Chris Zankel The Xtensa processor architecture is a configurable, extensible, and synthesizable 32-bit RISC processor core provided by Tensilica, inc. This is the second part of the basic architecture port, adding the 'arch/xtensa' directory and a readme file.

Re: [U-Boot] [PATCH] configs: dra7xx_evm: enable eth driver model

2016-08-10 Thread Tom Rini
On Wed, Aug 10, 2016 at 10:05:03PM +0530, Mugunthan V N wrote: > Enable eth driver model for dra7xx_evm as cpsw supports > driver model. > > This was already added with the commit 641b936fa5ba but with > commit bd7245849f7c to add fit support CONFIG_DM_ETH was missed. > > Signed-off-by:

[U-Boot] [PATCH v4 5/6] xtensa: add core information for the de212 processor

2016-08-10 Thread Max Filippov
DE212 is a general purpose xtensa processor without full MMU. Core information files are autogenerated from the processor description and are not meant to be edited. Signed-off-by: Max Filippov Reviewed-by: Simon Glass Reviewed-by: Tom Rini

[U-Boot] [PATCH v4 4/6] xtensa: add core information for the dc233c processor

2016-08-10 Thread Max Filippov
DC233C is an xtensa processor with full MMUv3 capable of running Linux. Core information files are autogenerated from the processor description and are not meant to be edited. Signed-off-by: Max Filippov Reviewed-by: Simon Glass Reviewed-by: Tom Rini

Re: [U-Boot] [PATCH 3/4] ARM: dts: k2g-evm: enable mmc/sd suppport

2016-08-10 Thread Tom Rini
On Wed, Aug 10, 2016 at 07:24:05PM +0530, Sekhar Nori wrote: > The K2G EVM from TI has an SD card slot as > well as onboard eMMC for data storage. > > Enable support for these. > > Signed-off-by: Sekhar Nori Reviewed-by: Tom Rini -- Tom signature.asc

[U-Boot] [PATCH v4 1/6] xtensa: add support for the xtensa processor architecture [1/2]

2016-08-10 Thread Max Filippov
From: Chris Zankel The Xtensa processor architecture is a configurable, extensible, and synthesizable 32-bit RISC processor core provided by Cadence. This is the first part of the basic architecture port with changes to common files. The 'arch/xtensa' directory, and boards and

[U-Boot] [PATCH v4 3/6] xtensa: add core information for the dc232b processor

2016-08-10 Thread Max Filippov
From: Chris Zankel DC232B is an xtensa processor with full MMUv2 capable of running Linux. Core information files are autogenerated from the processor description and are not meant to be edited. Signed-off-by: Chris Zankel Signed-off-by: Max Filippov

[U-Boot] [PATCH v4 6/6] xtensa: add support for the 'xtfpga' evaluation board

2016-08-10 Thread Max Filippov
From: Chris Zankel The 'xtfpga' board is actually a set of FPGA evaluation boards that can be configured to run an Xtensa processor. - Avnet Xilinx LX60 - Avnet Xilinx LX110 - Avnet Xilinx LX200 - Xilinx ML605 - Xilinx KC705 These boards share the same components

Re: [U-Boot] [PATCH 2/4] ARM: dts: K2G: Add support for MMC controller

2016-08-10 Thread Mugunthan V N
On Wednesday 10 August 2016 07:24 PM, Sekhar Nori wrote: > K2G SoC from TI has two MMC/SD controllers. > Add device tree data for these. > > Signed-off-by: Sekhar Nori > --- Acked-by: Mugunthan V N Regards Mugunthan V N

Re: [U-Boot] [PATCH 4/4] defconfig: k2g_evm_defconfig: Enable mmc driver model

2016-08-10 Thread Mugunthan V N
On Wednesday 10 August 2016 07:24 PM, Sekhar Nori wrote: > K2G can benefit from driver model support in the > MMC/SD driver it uses: omap_hsmmc > > Enable driver model MMC support for K2G. > > Signed-off-by: Sekhar Nori > --- Acked-by: Mugunthan V N

Re: [U-Boot] [PATCH v4 2/6] xtensa: add support for the xtensa processor architecture [2/2]

2016-08-10 Thread Tom Rini
On Wed, Aug 10, 2016 at 06:36:44PM +0300, Max Filippov wrote: > From: Chris Zankel > > The Xtensa processor architecture is a configurable, extensible, > and synthesizable 32-bit RISC processor core provided by Tensilica, inc. > > This is the second part of the basic

Re: [U-Boot] [PATCH 3/4] ARM: dts: k2g-evm: enable mmc/sd suppport

2016-08-10 Thread Mugunthan V N
On Wednesday 10 August 2016 07:24 PM, Sekhar Nori wrote: > The K2G EVM from TI has an SD card slot as > well as onboard eMMC for data storage. > > Enable support for these. > > Signed-off-by: Sekhar Nori Acked-by: Mugunthan V N Regards Mugunthan V N

Re: [U-Boot] [PATCH] efi_loader: disk: Fix CONFIG_BLK breakage

2016-08-10 Thread Tom Rini
On Wed, Aug 10, 2016 at 03:25:16PM +0200, Alexander Graf wrote: > > > > Am 10.08.2016 um 15:16 schrieb Simon Glass : > > > > Hi Alex, > > > >> On 10 August 2016 at 07:02, Alexander Graf wrote: > >>> On 08/10/2016 02:56 PM, Simon Glass wrote: > >>> > >>> +Tom

Re: [U-Boot] [PATCH 2/4] ARM: dts: K2G: Add support for MMC controller

2016-08-10 Thread Tom Rini
On Wed, Aug 10, 2016 at 07:24:04PM +0530, Sekhar Nori wrote: > K2G SoC from TI has two MMC/SD controllers. > Add device tree data for these. > > Signed-off-by: Sekhar Nori Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

[U-Boot] [PATCH] configs: dra7xx_evm: enable eth driver model

2016-08-10 Thread Mugunthan V N
Enable eth driver model for dra7xx_evm as cpsw supports driver model. This was already added with the commit 641b936fa5ba but with commit bd7245849f7c to add fit support CONFIG_DM_ETH was missed. Signed-off-by: Mugunthan V N Cc: Lokesh Vutla ---

Re: [U-Boot] [PATCH] efi_loader: disk: Fix CONFIG_BLK breakage

2016-08-10 Thread Alexander Graf
On 08/10/2016 02:56 PM, Simon Glass wrote: +Tom Hi Alex, On 10 August 2016 at 01:47, Alexander Graf wrote: On 08 Aug 2016, at 23:44, Simon Glass wrote: Hi Alexander, On 5 August 2016 at 06:49, Alexander Graf wrote: When using CONFIG_BLK,

Re: [U-Boot] [PATCH 4/4] test/fs: replace deprecated "sb" command with "host"

2016-08-10 Thread Simon Glass
Hi, On 9 August 2016 at 16:44, Stefan Brüns wrote: > Signed-off-by: Stefan Brüns > --- > test/fs/fs-test.sh | 40 > 1 file changed, 20 insertions(+), 20 deletions(-) I'd like to convert this

Re: [U-Boot] [PATCH] efi_loader: disk: Fix CONFIG_BLK breakage

2016-08-10 Thread Simon Glass
Hi Alex, On 10 August 2016 at 07:02, Alexander Graf wrote: > On 08/10/2016 02:56 PM, Simon Glass wrote: >> >> +Tom >> >> Hi Alex, >> >> On 10 August 2016 at 01:47, Alexander Graf wrote: On 08 Aug 2016, at 23:44, Simon Glass wrote:

[U-Boot] [PATCH 3/4] ARM: dts: k2g-evm: enable mmc/sd suppport

2016-08-10 Thread Sekhar Nori
The K2G EVM from TI has an SD card slot as well as onboard eMMC for data storage. Enable support for these. Signed-off-by: Sekhar Nori --- arch/arm/dts/k2g-evm.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/k2g-evm.dts b/arch/arm/dts/k2g-evm.dts

Re: [U-Boot] [PATCH 4/6] x86: efi: Add EFI loader support for x86

2016-08-10 Thread Alexander Graf
On 08/10/2016 02:56 PM, Simon Glass wrote: Hi Alex, On 10 August 2016 at 05:49, Alexander Graf wrote: On 08/07/2016 01:23 AM, Simon Glass wrote: Add the required pieces to support the EFI loader on x86. Since U-Boot only builds for 32-bit on x86, only a 32-bit EFI application

Re: [U-Boot] [PATCH] efi_loader: disk: Fix CONFIG_BLK breakage

2016-08-10 Thread Alexander Graf
> On 10 Aug 2016, at 15:33, Simon Glass wrote: > > Hi Alex, > > On 10 August 2016 at 07:25, Alexander Graf wrote: >> >> >>> Am 10.08.2016 um 15:16 schrieb Simon Glass : >>> >>> Hi Alex, >>> On 10 August 2016 at 07:02, Alexander

[U-Boot] [PATCH 4/4] defconfig: k2g_evm_defconfig: Enable mmc driver model

2016-08-10 Thread Sekhar Nori
K2G can benefit from driver model support in the MMC/SD driver it uses: omap_hsmmc Enable driver model MMC support for K2G. Signed-off-by: Sekhar Nori --- configs/k2g_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/k2g_evm_defconfig

Re: [U-Boot] [PATCH] efi_loader: disk: Fix CONFIG_BLK breakage

2016-08-10 Thread Simon Glass
Hi Alex, On 10 August 2016 at 07:41, Alexander Graf wrote: > >> On 10 Aug 2016, at 15:33, Simon Glass wrote: >> >> Hi Alex, >> >> On 10 August 2016 at 07:25, Alexander Graf wrote: >>> >>> Am 10.08.2016 um 15:16 schrieb Simon Glass

Re: [U-Boot] [PATCH 1/2] ARM: dts: dra7xx-evm: add evm_3v3_sd regulator

2016-08-10 Thread Tom Rini
On Wed, Aug 10, 2016 at 03:17:20PM +0530, Vignesh R wrote: > Add a node for evm_3v3_sd using onboard PCF GPIO expander which feeds > on to mmc vdd. > Update mapping for vmmc-supply and vmmc_aux-supply. > evm_3v3_sd supplies to SD card vdd, and ldo1 to sdcard i/o lines. > > Signed-off-by: Vignesh

[U-Boot] [PATCH 2/4] ARM: dts: K2G: Add support for MMC controller

2016-08-10 Thread Sekhar Nori
K2G SoC from TI has two MMC/SD controllers. Add device tree data for these. Signed-off-by: Sekhar Nori --- arch/arm/dts/k2g.dtsi | 23 +++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/dts/k2g.dtsi b/arch/arm/dts/k2g.dtsi index

Re: [U-Boot] [PATCH] efi_loader: disk: Fix CONFIG_BLK breakage

2016-08-10 Thread Simon Glass
+Tom Hi Alex, On 10 August 2016 at 01:47, Alexander Graf wrote: > >> On 08 Aug 2016, at 23:44, Simon Glass wrote: >> >> Hi Alexander, >> >> On 5 August 2016 at 06:49, Alexander Graf wrote: >>> When using CONFIG_BLK, there were 2 issues: >>> >>>

Re: [U-Boot] [PATCH 4/6] x86: efi: Add EFI loader support for x86

2016-08-10 Thread Simon Glass
Hi Alex, On 10 August 2016 at 05:49, Alexander Graf wrote: > On 08/07/2016 01:23 AM, Simon Glass wrote: >> >> Add the required pieces to support the EFI loader on x86. >> >> Since U-Boot only builds for 32-bit on x86, only a 32-bit EFI application >> is supported. If a 64-bit

Re: [U-Boot] [PATCH] efi_loader: disk: Fix CONFIG_BLK breakage

2016-08-10 Thread Simon Glass
Hi Alex, On 10 August 2016 at 07:25, Alexander Graf wrote: > > >> Am 10.08.2016 um 15:16 schrieb Simon Glass : >> >> Hi Alex, >> >>> On 10 August 2016 at 07:02, Alexander Graf wrote: On 08/10/2016 02:56 PM, Simon Glass wrote: +Tom

[U-Boot] Resend: Pull request: u-boot-sh/rmobile

2016-08-10 Thread Nobuhiro Iwamatsu
Hi Tom, Please pull u-boot-sh rmobile branch. The following changes since commit 59d07ee08e858bf2c121d0cdc6c8ddd3b26ee5b1: SPL: tiny-printf: avoid any BSS usage (2016-07-08 12:50:34 -0400) are available in the git repository at: git://git.denx.de/u-boot-sh.git rmobile for you to fetch

Re: [U-Boot] [PATCH 2/2] ARM: dra7xx_evm: Enable regulator DM support

2016-08-10 Thread Tom Rini
On Wed, Aug 10, 2016 at 03:17:21PM +0530, Vignesh R wrote: > Enable DM based regulator framework and also fixed regulator support as > some IPs like mmc use regulators for there functioning. > > Signed-off-by: Vignesh R Reviewed-by: Tom Rini -- Tom

Re: [U-Boot] [PATCH 2/4] sandbox: Add "host size" hostfs command for fs test

2016-08-10 Thread Simon Glass
On 9 August 2016 at 16:44, Stefan Brüns wrote: > Signed-off-by: Stefan Brüns > --- > cmd/host.c | 8 > 1 file changed, 8 insertions(+) Acked-by: Simon Glass Please can you add a short commit message? > >

[U-Boot] [PATCH 1/4] drivers: mmc: omap_hsmmc: fix build breakage

2016-08-10 Thread Sekhar Nori
structure member 'cd_inverted' of omap_hsmmc_data is available only when OMAP_HSMMC_USE_GPIO is defined. When CONFIG_DM_MMC is defined, but not CONFIG_OMAP_GPIO, this will cause build breakage in omap_hsmmc driver of the sort: CC drivers/mmc/omap_hsmmc.o ../drivers/mmc/omap_hsmmc.c: In

Re: [U-Boot] [PATCH] efi_loader: disk: Fix CONFIG_BLK breakage

2016-08-10 Thread Alexander Graf
> Am 10.08.2016 um 15:16 schrieb Simon Glass : > > Hi Alex, > >> On 10 August 2016 at 07:02, Alexander Graf wrote: >>> On 08/10/2016 02:56 PM, Simon Glass wrote: >>> >>> +Tom >>> >>> Hi Alex, >>> >>> On 10 August 2016 at 01:47, Alexander Graf

[U-Boot] [PATCH 0/4] k2g: switch mmc/sd to driver model

2016-08-10 Thread Sekhar Nori
This patch set switches mmc/sd support on k2g to use driver model. Tested both SD card and emmc on k2g-evm by writing data, reading it back and comparing crc. also tested with buildman for am33xx and omap Sekhar Nori (4): drivers: mmc: omap_hsmmc: fix build breakage ARM: dts: K2G: Add

[U-Boot] [PATCH] rockchip: Fix SPL console output when ROCKCHIP_SPL_BACK_TO_BROM is enabled

2016-08-10 Thread Sandy Patterson
Move back_to_bootrom() call later in SPL init so that the console is initialized and printouts happen. Currently when ROCKCHIP_SPL_BACK_TO_BROM is enabled there is no console output from the SPL init stages. I wasn't sure exactly where this should happen, so if we are set to do run

[U-Boot] Pull request: u-boot-sh/rmobile

2016-08-10 Thread Nobuhiro Iwamatsu
The following changes since commit 59d07ee08e858bf2c121d0cdc6c8ddd3b26ee5b1: SPL: tiny-printf: avoid any BSS usage (2016-07-08 12:50:34 -0400) are available in the git repository at: git://git.denx.de/u-boot-sh.git rmobile for you to fetch changes up to

Re: [U-Boot] Resend: Pull request: u-boot-sh/rmobile

2016-08-10 Thread Tom Rini
On Wed, Aug 10, 2016 at 11:35:47PM +0900, Nobuhiro Iwamatsu wrote: > Hi Tom, > > Please pull u-boot-sh rmobile branch. > > The following changes since commit 59d07ee08e858bf2c121d0cdc6c8ddd3b26ee5b1: > > SPL: tiny-printf: avoid any BSS usage (2016-07-08 12:50:34 -0400) > > are available in

Re: [U-Boot] [PATCH] efi_loader: disk: Fix CONFIG_BLK breakage

2016-08-10 Thread Alexander Graf
> On 10 Aug 2016, at 18:25, Tom Rini wrote: > > On Wed, Aug 10, 2016 at 03:25:16PM +0200, Alexander Graf wrote: >> >> >>> Am 10.08.2016 um 15:16 schrieb Simon Glass : >>> >>> Hi Alex, >>> On 10 August 2016 at 07:02, Alexander Graf

[U-Boot] [PATCH 11/14] ARM: uniphier: fix CONFIG_SYS_CACHELINE_SIZE when outer cache is on

2016-08-10 Thread Masahiro Yamada
The UniPhier outer cache (L2 cache on ARMv7 SoCs) has 128 byte line length and its tags are also managed per 128 byte line. Signed-off-by: Masahiro Yamada --- include/configs/uniphier.h | 4 1 file changed, 4 insertions(+) diff --git

[U-Boot] [PATCH 13/14] ARM: uniphier: add uniphier_cache_set_active_ways()

2016-08-10 Thread Masahiro Yamada
This outer cache allows to control active ways independently for each CPU, so this function will be useful to set up active ways for a specific CPU. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/arm32/cache-uniphier.c | 22 +-

Re: [U-Boot] [PATCH v2] drivers: net: cpsw: always flush cache of size PKTSIZE_ALIGN

2016-08-10 Thread Joe Hershberger
Hi Lokesh, On Wed, Aug 10, 2016 at 7:02 AM, Lokesh Vutla wrote: > > > On Wednesday 10 August 2016 08:43 AM, Joe Hershberger wrote: >> Hi Lokesh >> >> On Tue, Aug 9, 2016 at 12:47 AM, Lokesh Vutla wrote: >>> cpsw tries to flush dcache which is not in the

Re: [U-Boot] [PATCH v11] mmc: atmel_sdhci: Convert to the driver model support

2016-08-10 Thread Jaehoon Chung
Hi, On 08/10/2016 11:51 AM, Wenyou Yang wrote: > Convert the driver to the driver model while retaining the existing > legacy code. This allows the driver to support boards that have > converted to driver model as well as those that have not. > > Signed-off-by: Wenyou Yang

Re: [U-Boot] [PATCH] rockchip: Fix SPL console output when ROCKCHIP_SPL_BACK_TO_BROM is enabled

2016-08-10 Thread Ziyuan Xu
On 2016年08月10日 22:21, Sandy Patterson wrote: Move back_to_bootrom() call later in SPL init so that the console is initialized and printouts happen. Currently when ROCKCHIP_SPL_BACK_TO_BROM is enabled there is no console output from the SPL init stages. I wasn't sure exactly where this should

Re: [U-Boot] [PATCH] mmc: mmc_legacy: fix the compiler error with disabled CONFIG_DM_MMC_OPS

2016-08-10 Thread Jaehoon Chung
Sorry.. On 08/11/2016 11:12 AM, Jaehoon Chung wrote: > To prevent the compiler error, split the checking condition whether > cfg->ops is NULL or not. > It's more clearly, because it's not included in mmc_config structure > when CONFIG_DM_MMC_OPS is disabled. I sent the wrong patch..I will resend

[U-Boot] [PATCH] mmc: mmc_legacy: fix the compiler error with disabled CONFIG_DM_MMC_OPS

2016-08-10 Thread Jaehoon Chung
To prevent the compiler error, split the checking condition whether cfg->ops is NULL or not. It's more clearly, because it's not included in mmc_config structure when CONFIG_DM_MMC_OPS is disabled. drivers/mmc/mmc_legacy.c: In function ‘mmc_create’: drivers/mmc/mmc_legacy.c:118:31: error: ‘const

[U-Boot] [PATCH 04/14] ARM: uniphier: refactor L2 zero-touching code in lowlevel_init

2016-08-10 Thread Masahiro Yamada
Here, the ldr pseudo-instruction falls into the ldr + data set. The register access by [r1, #offset] produces shorter code. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/arm32/lowlevel_init.S | 48 +--- 1 file changed, 22

Re: [U-Boot] ext4 write support and big-endian machines

2016-08-10 Thread Michael Walle
Am 2016-08-05 14:06, schrieb Michael Walle: there doesn't seem to be a dedicated filesystem maintainer, but I've included the original committer for the ext4 write support. I guess the ext4 write support does not work on big-endian machines. As far as I see, almost no fields of the ext4

Re: [U-Boot] [PATCH v10] mmc: atmel_sdhci: Convert to the driver model support

2016-08-10 Thread Wenyou.Yang
Hi Jaehoon, > -Original Message- > From: Jaehoon Chung [mailto:jh80.ch...@samsung.com] > Sent: 2016年8月10日 10:13 > To: Wenyou Yang - A41535 ; u- > b...@lists.denx.de; pa...@antoniou-consulting.com > Cc: h...@denx.de; s...@chromium.org; andr...@biessmann.org >

Re: [U-Boot] [PATCH v2] i2c: intel_i2c: SMBus driver PCI addition (e.g. BayTrail)

2016-08-10 Thread Yaroslav K.
Hello, Stefan. I've tried your patch on Atom C2000 board (which is not supported by U-boot, but I use U-boot as the Coreboot payload). I've added /* Intel Atom processor C2000 PCU SMBus */ { PCI_VDEVICE(INTEL, 0x1f3c) }, to intel_smbus_pci_supported for it to work. It works and works

[U-Boot] [PATCH 12/14] ARM: uniphier: add uniphier_cache_inv_way() to support way invalidation

2016-08-10 Thread Masahiro Yamada
This invalidates entries in specified ways of the outer cache. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/arm32/cache-uniphier.c | 10 +- arch/arm/mach-uniphier/arm32/cache-uniphier.h | 1 + 2 files changed, 10 insertions(+), 1 deletion(-)

[U-Boot] [PATCH 14/14] ARM: uniphier: add PSCI support for UniPhier ARMv7 SoCs

2016-08-10 Thread Masahiro Yamada
Currently, only the CPU_ON function is supported. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/Kconfig| 2 + arch/arm/mach-uniphier/arm32/Makefile | 1 + arch/arm/mach-uniphier/arm32/arm-mpcore.h | 3 +

[U-Boot] [PATCH 07/14] ARM: uniphier: export uniphier_cache_enable/disable functions

2016-08-10 Thread Masahiro Yamada
The System Cache (outer cache) is used not only as L2 cache, but also as locked SRAM. The functions for turning on/off it is necessary whether the L2 cache is enabled or not. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/arm32/cache-uniphier.c | 34

[U-Boot] [PATCH v2] tools: kwboot: patch destaddr only for SoCs with header version 1

2016-08-10 Thread Simon Baatz
Commit f4db6c976cf ("arm: mvebu: Add runtime detection of UART (xmodem) boot-mode") added a change to hdr->destaddr when dynamically patching an image for UART boot mode. With this change, kwboot ceases to work on Kirkwood. Thus, let's change hdr->destaddr only when we are patching an image with

[U-Boot] [PATCH 00/14] ARM: uniphier: updates for v2016.09-rc2

2016-08-10 Thread Masahiro Yamada
Cleanups, Fixes, and PSCI support. Masahiro Yamada (14): ARM: uniphier: refactor outer cache code ARM: uniphier: support prefetch and touch operations for outer cache ARM: uniphier: do not compile v7_outer_cache_disable if L2 is disabled ARM: uniphier: refactor L2 zero-touching code in

[U-Boot] [PATCH 09/14] ARM: uniphier: move outer cache register macros to .c file

2016-08-10 Thread Masahiro Yamada
Now, all of these macros are only used in cache-uniphier.c, so there is no need to export them in a header file. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/arm32/cache-uniphier.c | 56 +- arch/arm/mach-uniphier/arm32/ssc-regs.h

[U-Boot] [PATCH 06/14] ARM: uniphier: move lowlevel debug init code after page table switch

2016-08-10 Thread Masahiro Yamada
As the sLD3 Boot ROM has a complex page table, it is difficult to set up the debug UART with enabling it. It will be much easier to initialize the UART port after switching over to the straight-mapped page table. Signed-off-by: Masahiro Yamada ---

Re: [U-Boot] [PATCH 0/7] efi_loader: Expose SMBIOS table

2016-08-10 Thread Alexander Graf
> On 09 Aug 2016, at 16:35, Simon Glass wrote: > > Hi Alexander, > > On 9 August 2016 at 08:11, Alexander Graf wrote: >> >> On 08/09/2016 03:57 PM, Simon Glass wrote: >>> >>> Hi Alexander, >>> >>> On 9 August 2016 at 00:48, Alexander Graf

Re: [U-Boot] [PATCH] efi_loader: disk: Fix CONFIG_BLK breakage

2016-08-10 Thread Alexander Graf
> On 08 Aug 2016, at 23:44, Simon Glass wrote: > > Hi Alexander, > > On 5 August 2016 at 06:49, Alexander Graf wrote: >> When using CONFIG_BLK, there were 2 issues: >> >> 1) The name we generate the device with has to match the >> name we set in

[U-Boot] Raspberry PI u-boot

2016-08-10 Thread dh
I have u-boot built and can completely boot the pi with u-boot on the SD card. But, the video resolution start off correctly, and when the kernel starts switches to a low resolution. Any suggestions?  Duncan Hare 714 931 7952 ___ U-Boot mailing list

Re: [U-Boot] BeagleboneBlack vboot from SPI flash difficulties

2016-08-10 Thread Simon Glass
Hi Joe, On 10 August 2016 at 10:43, Joe Desbonnet wrote: > > I've been trying to implement vboot from SPI flash on the BeagleBone Black > with only limited success. I'm working with u-boot 2016.07 and using the > instructions in beaglebone_vboot.txt (in doc directory). > >

[U-Boot] [PATCH 08/14] ARM: uniphier: reuse uniphier_cache_disable() for lowlevel_init

2016-08-10 Thread Masahiro Yamada
The DRAM is available at this point, so setup the temporary stack and call the C function to reduce the code duplication a bit. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/arm32/late_lowlevel_init.S | 10 +++--- 1 file changed, 3 insertions(+),

[U-Boot] [PATCH 05/14] ARM: uniphier: fix ROM boot mode for PH1-sLD3

2016-08-10 Thread Masahiro Yamada
Commit 4b50369fb535 ("ARM: uniphier: create early page table at run-time") broke the ROM boot mode for PH1-sLD3 SoC, because the run-time page table creation requires the outer cache register access but the page table in the sLD3 Boot ROM does not straight-map virtual/physical addresses. The idea

[U-Boot] [PATCH 01/14] ARM: uniphier: refactor outer cache code

2016-08-10 Thread Masahiro Yamada
Unify the range/all operation routines into the common function, uniphier_cache_maint_common(), and sync code with Linux a bit more. This reduces the code duplication. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/arm32/cache-uniphier.c | 99

[U-Boot] [PATCH 03/14] ARM: uniphier: do not compile v7_outer_cache_disable if L2 is disabled

2016-08-10 Thread Masahiro Yamada
If CONFIG_UNIPHIER_L2CACHE_ON is undefined, the L2 cache is never enabled, so there is no need for v7_outer_cache_disable(). The weak stub avoids the compile error anyway. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/arm32/cache-uniphier.c | 2 +- 1

[U-Boot] [PATCH 10/14] ARM: uniphier: move (and rename) CONFIG_UNIPHIER_L2CACHE_ON to Kconfig

2016-08-10 Thread Masahiro Yamada
Move this option to Kconfig, renaming it into CONFIG_CACHE_UNIPHIER. The new option name makes sense enough, and the same as Linux has. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/Kconfig| 7 +++

[U-Boot] [PATCH 02/14] ARM: uniphier: support prefetch and touch operations for outer cache

2016-08-10 Thread Masahiro Yamada
The UniPhier outer cache (L2 cache on ARMv7 SoCs) can be used as SRAM by locking ways. These functions will be used to transfer the trampoline code for SMP into the locked SRAM. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/arm32/cache-uniphier.c |

Re: [U-Boot] Disable command at runtime

2016-08-10 Thread Petr Kubizňák
Hi Simon, Also see cli_process_fdt() which allows you to lock out commands using a device-tree setting. This avoids changing the U-Boot binary - it is easy enough to update the device tree using fdtput. This is how Chrome OS did it. Hmm, interesting approach. Thanks for your suggestion. Petr

[U-Boot] [PATCH 2/2] ARM: dra7xx_evm: Enable regulator DM support

2016-08-10 Thread Vignesh R
Enable DM based regulator framework and also fixed regulator support as some IPs like mmc use regulators for there functioning. Signed-off-by: Vignesh R --- configs/dra7xx_evm_defconfig| 3 +++ configs/dra7xx_hs_evm_defconfig | 3 +++ 2 files changed, 6 insertions(+) diff

[U-Boot] [PATCH 1/2] ARM: dts: dra7xx-evm: add evm_3v3_sd regulator

2016-08-10 Thread Vignesh R
Add a node for evm_3v3_sd using onboard PCF GPIO expander which feeds on to mmc vdd. Update mapping for vmmc-supply and vmmc_aux-supply. evm_3v3_sd supplies to SD card vdd, and ldo1 to sdcard i/o lines. Signed-off-by: Vignesh R --- arch/arm/dts/dra7-evm.dts | 12 +++-

[U-Boot] [PATCH 0/2] Enable usage of PCF GPIO line as regulator

2016-08-10 Thread Vignesh R
Some IPs like MMC use PCF GPIO lines as fixed regulator, hence add support for the same. Vignesh R (2): ARM: dts: dra7xx-evm: add evm_3v3_sd regulator ARM: dra7xx_evm: Enable regulator DM support arch/arm/dts/dra7-evm.dts | 12 +++- arch/arm/dts/dra72-evm.dts | 12

Re: [U-Boot] [RFC PATCH] ARM: cache: cp15: Align addresses when initial page_table setup is flushed

2016-08-10 Thread Lukasz Majewski
Hi Fabio, > On Tue, Aug 9, 2016 at 5:41 AM, Lukasz Majewski > wrote: > > Change made in the commit: > > "arm: Show cache warnings in U-Boot proper only" > > SHA1: bcc53bf095893fbdae531a9a7b5d4ef4a125a7fc > > > > has revealed that during initial setting of MMU regions in the

Re: [U-Boot] ext4 write support and big-endian machines

2016-08-10 Thread Tom Rini
On Wed, Aug 10, 2016 at 09:53:03AM +0200, Michael Walle wrote: > Am 2016-08-05 14:06, schrieb Michael Walle: > >there doesn't seem to be a dedicated filesystem maintainer, but I've > >included the original committer for the ext4 write support. > > > >I guess the ext4 write support does not work on

Re: [U-Boot] [PATCH 2/6] efi: Fix missing EFIAPI specifiers

2016-08-10 Thread Alexander Graf
On 08/07/2016 01:23 AM, Simon Glass wrote: These are missing in some functions. Add them to keep things consistent. Signed-off-by: Simon Glass Is there any way to change the EFIAPI definition so that we get build warnings for non matching function types on aarch64 as

Re: [U-Boot] [PATCH 4/6] x86: efi: Add EFI loader support for x86

2016-08-10 Thread Alexander Graf
On 08/07/2016 01:23 AM, Simon Glass wrote: Add the required pieces to support the EFI loader on x86. Since U-Boot only builds for 32-bit on x86, only a 32-bit EFI application is supported. If a 64-bit kernel must be booted, U-Boot supports this directly using FIT (see

Re: [U-Boot] [PATCH v2] drivers: net: cpsw: always flush cache of size PKTSIZE_ALIGN

2016-08-10 Thread Lokesh Vutla
On Wednesday 10 August 2016 08:43 AM, Joe Hershberger wrote: > Hi Lokesh > > On Tue, Aug 9, 2016 at 12:47 AM, Lokesh Vutla wrote: >> cpsw tries to flush dcache which is not in the range of PKTSIZE. >> Because of this the following warning comes while flushing: >> >> CACHE: