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

2016-08-13 Thread Fabio Estevam
Hi Lukasz, On Wed, Aug 10, 2016 at 5:15 AM, Lukasz Majewski wrote: > I see that I wasn't the only one. > > Both patches are identical, Stefan was first :-) > > My concern is that, as I've written with comment to my patch, that when > I was running build tests some other

Re: [U-Boot] [PATCH] spi: tegra20: fix mode selection logic

2016-08-13 Thread Mirza Krak
2016-08-13 10:51 GMT+02:00 Mirza Krak : > 2016-08-12 23:06 GMT+02:00 Stephen Warren : >> From: Stephen Warren >> >> When the set_mode() function runs, the SPI bus is not active, and hence >> the clocks to the SPI controller

Re: [U-Boot] [PATCH] spi: tegra20: fix mode selection logic

2016-08-13 Thread Mirza Krak
2016-08-12 23:06 GMT+02:00 Stephen Warren : > From: Stephen Warren > > When the set_mode() function runs, the SPI bus is not active, and hence > the clocks to the SPI controller are not running. Any register read/write > at this time will hang the CPU.

Re: [U-Boot] Bug in u-boot/tools/mkenvimage.c

2016-08-13 Thread Mattias Ekholm
Hi all, Unfortunately I'm not able to access the u-boot wiki at the moment, it seems like a server side problem. anyway, I would like to file a patch on the mkenvimage utility, see attached patch file. br On 2016-08-11 18:50, Stefano Babic wrote: Hi Mattias, On 11/08/2016 17:23, Mattias

Re: [U-Boot] Older u-boot mangles UBI from ubinize 1.5.2

2016-08-13 Thread J Mo
It's all moot now! I accidentally wrecked my u-boot today. I typoed "nand write ${fileaddr} ${BOOTCONFIG_nand_addr} ${0x800}" When I meant "0x800" instead of the undefined "${0x800}", which u-boot translated to 0xacc. I guess I'm going to find out if that JTAG header works.

Re: [U-Boot] [PATCH] Please pull u-boot-mmc

2016-08-13 Thread andreas
On 2016-08-12 14:04, Tom Rini wrote: On Fri, Aug 12, 2016 at 04:34:01PM +0900, Jaehoon Chung wrote: Dear Tom, Here is the mmc updates. - Supports the Driver model for atmel_sdhci. - Fixed the build error for omap_hsmmc. Could you pull these patch to u-boot/master? Best Regards, Jaehoon

Re: [U-Boot] CACHE: Misaligned operation

2016-08-13 Thread Lukasz Majewski
Hi Simon, > Hi, > > On 12 August 2016 at 08:13, Clemens Gruber > wrote: > > Hi, > > > > I just tested the current U-Boot master on my i.MX6Q board and the > > following two warnings showed up on the console: > > > > U-Boot 2016.09-rc1-00377-gb8698a2 > > > > CPU:

Re: [U-Boot] ARM: non-sec: flush code cacheline aligned

2016-08-13 Thread Tom Rini
On Wed, Aug 03, 2016 at 01:08:55PM -0700, Stefan Agner wrote: > From: Stefan Agner > > Flush operations need to be cacheline aligned to take effect, make > sure to flush always complete cachelines. This avoids messages such > as: > CACHE: Misaligned operation at range

Re: [U-Boot] [U-Boot,v2] drivers/sysreset: group sysreset drivers

2016-08-13 Thread Tom Rini
On Sun, Aug 07, 2016 at 08:53:00AM +0300, Max Filippov wrote: > Create drivers/sysreset and move sysreset-uclass and all sysreset > drivers there. > > Signed-off-by: Max Filippov > Acked-by: Simon Glass Applied to u-boot/master, thanks! -- Tom

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

2016-08-13 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:

Re: [U-Boot] [U-Boot, v2] kconfig: use bool instead of boolean for type definition attributes

2016-08-13 Thread Tom Rini
On Fri, Aug 12, 2016 at 10:26:50AM +0900, Masahiro Yamada wrote: > Linux stopped the use of keyword 'boolean' in Kconfig. > > Refer to commit 6341e62b212a2541efb0160c470e90bd226d5496 ("kconfig: > use bool instead of boolean for type definition attributes") > in Linux Kernel. > > Signed-off-by:

Re: [U-Boot] [PATCH 2/5] mmc: initialize mmc_cmd with 0

2016-08-13 Thread Peng Fan
Hi Simon, On Fri, Aug 12, 2016 at 11:20:25AM -0600, Simon Glass wrote: >Hi Peng, > >On 11 August 2016 at 05:00, Peng Fan wrote: >> Using {0} to initialize mmc_cmd, before filling the structure. >> >> Signed-off-by: Peng Fan >> Cc: Jaehoon Chung

Re: [U-Boot] [PATCH 0/2] efi_loader: Implement reset on RPi

2016-08-13 Thread Alexander Graf
> On 12 Aug 2016, at 22:07, Simon Glass wrote: > > Hi Alex, > > On 12 August 2016 at 12:50, Alexander Graf wrote: >> >> >> On 12.08.16 19:21, Simon Glass wrote: >>> Hi Alex, >>> >>> On 11 August 2016 at 05:49, Alexander Graf wrote:

Re: [U-Boot] [PATCH] Revert "warp: Use imx_ddr_size() for calculating the DDR size"

2016-08-13 Thread Otavio Salvador
On Fri, Aug 12, 2016 at 6:07 PM, Stefano Babic wrote: > Hi Fabio, > > On 12/08/2016 21:38, Fabio Estevam wrote: >> Hi Otavio, >> >> On Fri, Aug 12, 2016 at 3:27 PM, Otavio Salvador >> wrote: >> >>> Why is this happening? I am fine in reverting

Re: [U-Boot] [PATCH] Revert "warp: Use imx_ddr_size() for calculating the DDR size"

2016-08-13 Thread Stefano Babic
Hi Fabio, On 12/08/2016 21:38, Fabio Estevam wrote: > Hi Otavio, > > On Fri, Aug 12, 2016 at 3:27 PM, Otavio Salvador > wrote: > >> Why is this happening? I am fine in reverting this but we need to fix >> the detection. Is it due memory callibration problems?

Re: [U-Boot] [PATCH v2] serial: bcm283x_mu: Detect disabled serial device

2016-08-13 Thread Simon Glass
Hi Alex, On 12 August 2016 at 12:38, Alexander Graf wrote: > > > On 12.08.16 19:21, Simon Glass wrote: >> Hi Alex, >> >> On 11 August 2016 at 23:27, Alexander Graf wrote: >>> >>> Am 12.08.2016 um 00:38 schrieb Simon Glass : Hi

Re: [U-Boot] [PATCH 1/2] bcm2835_gpio: Implement GPIOF_FUNC

2016-08-13 Thread Stephen Warren
On 08/11/2016 05:38 AM, Alexander Graf wrote: So far we could only tell the gpio framework that a GPIO was mapped as input or output, not as alternative function. This patch adds support for determining whether a function is mapped as alternative. The series, Acked-by: Stephen Warren

[U-Boot] [PATCH] rockchip: Disable SPL_MMC_SUPPORT if ROCKCHIP_SPL_BACK_TO_BROM is enabled.

2016-08-13 Thread Sandy Patterson
CONFIG_SPL_MMC_SUPPORT is used pretty much for every board except jerry, so we can refactor the define into rk3288_common.h. Then only define it if we are using using the Bootrom to load the non SPL U-Boot. With this change the SPL binary shrinks from 32k to 23k when ROCKCHIP_SPL_BACK_TO_BROM is

Re: [U-Boot] [U-Boot, v3] drivers: net: cpsw: always flush cache of size aligned to PKTALIGN

2016-08-13 Thread Tom Rini
On Thu, Aug 11, 2016 at 01:00:59PM +0530, Lokesh Vutla wrote: > cpsw tries to flush dcache which is not in the range of PKTALIGN. > Because of this the following warning comes while flushing: > > CACHE: Misaligned operation at range [dffecec0, dffed016] > > Fix it by flushing cache of size

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

2016-08-13 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 Applied to

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

2016-08-13 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

Re: [U-Boot] [PATCH] Revert "warp: Use imx_ddr_size() for calculating the DDR size"

2016-08-13 Thread Fabio Estevam
Hi Stefano, On Fri, Aug 12, 2016 at 6:07 PM, Stefano Babic wrote: > Let's say: if there won't be any fix before the release, it is ok to > revert this. Fair enough. I have prepared a patch that adds a imximage file for warp and fix the MDCTL register. Breno will test it on

Re: [U-Boot] Please pull u-boot-dm

2016-08-13 Thread Tom Rini
On Fri, Aug 12, 2016 at 11:04:20AM -0600, Simon Glass wrote: > Hi, > > This include a prerequisite for a forthcoming Tegra pull request. > > > The following changes since commit 28cd88baa3f11cdb52be3b6d0610dcf32c60871a: > > Merge branch 'master' of git://git.denx.de/u-boot-uniphier >

Re: [U-Boot] Help Falcon Mode on Wanboard

2016-08-13 Thread Diego Dorta
> From: Stefano Babic > > > Hi Diego, > > On 08/08/2016 18:12, Diego Dorta wrote: > > Hi Stefano, >> > > I downloaded the patch about Falcon Mode from: >> > > https://www.amazon.com/clouddrive/share/hVlzRXoJv1Jq4DJdgDcVnfmOWjARqR06eCfheWjRcSh/folder/KZakgsCMThWy3I43j2-afQ > >

Re: [U-Boot] [PATCH 0/2] efi_loader: Implement reset on RPi

2016-08-13 Thread Simon Glass
Hi Alex, On 12 August 2016 at 15:20, Alexander Graf wrote: > >> On 12 Aug 2016, at 22:07, Simon Glass wrote: >> >> Hi Alex, >> >> On 12 August 2016 at 12:50, Alexander Graf wrote: >>> >>> >>> On 12.08.16 19:21, Simon Glass wrote: Hi Alex,

Re: [U-Boot] [PATCH v2] serial: bcm283x_mu: Detect disabled serial device

2016-08-13 Thread Simon Glass
Hi Alex, On 12 August 2016 at 15:03, Alexander Graf wrote: > >> On 12 Aug 2016, at 22:07, Simon Glass wrote: >> >> Hi Alex, >> >> On 12 August 2016 at 12:38, Alexander Graf wrote: >>> >>> >>> On 12.08.16 19:21, Simon Glass wrote: Hi Alex,

Re: [U-Boot] tegra124 jetson-tk1 ethernet problems.

2016-08-13 Thread Stephen Warren
On 08/04/2016 03:48 PM, Joe Hershberger wrote: On Thu, Aug 4, 2016 at 4:34 PM, Joe Hershberger wrote: On Thu, Aug 4, 2016 at 4:22 PM, Joe Hershberger wrote: Hi Stephen, On Tue, Aug 2, 2016 at 11:56 AM, Stephen Warren

[U-Boot] [PATCH] spi: tegra20: fix mode selection logic

2016-08-13 Thread Stephen Warren
From: Stephen Warren When the set_mode() function runs, the SPI bus is not active, and hence the clocks to the SPI controller are not running. Any register read/write at this time will hang the CPU. Remove the code from set_mode() that does this, and move it to the correct

Re: [U-Boot] [PATCH v2] serial: bcm283x_mu: Detect disabled serial device

2016-08-13 Thread Alexander Graf
> On 12 Aug 2016, at 22:07, Simon Glass wrote: > > Hi Alex, > > On 12 August 2016 at 12:38, Alexander Graf wrote: >> >> >> On 12.08.16 19:21, Simon Glass wrote: >>> Hi Alex, >>> >>> On 11 August 2016 at 23:27, Alexander Graf wrote:

Re: [U-Boot] [PATCH 0/2] efi_loader: Implement reset on RPi

2016-08-13 Thread Simon Glass
Hi Alex, On 12 August 2016 at 12:50, Alexander Graf wrote: > > > On 12.08.16 19:21, Simon Glass wrote: >> Hi Alex, >> >> On 11 August 2016 at 05:49, Alexander Graf wrote: >>> >>> >>> On 08.08.16 23:44, Simon Glass wrote: Hi, On 7 August 2016 at

Re: [U-Boot] [PATCH 5/7] smbios: Expose in efi_loader as table

2016-08-13 Thread Simon Glass
Hi Alex, On 12 August 2016 at 12:36, Alexander Graf wrote: > > > On 12.08.16 19:20, Simon Glass wrote: >> Hi Alex, >> >> On 8 August 2016 at 08:06, Alexander Graf wrote: >>> We can pass SMBIOS easily as EFI configuration table to an EFI payload. This >>> patch adds

Re: [U-Boot] common: image: Add support for post-processing of images

2016-08-13 Thread Tom Rini
On Wed, Jul 27, 2016 at 12:12:39PM -0500, Andreas Dannenberg wrote: > This commit allows injecting a board/platform/device-specific post- > processing function into the FIT image data loading process, which can > include modifying the size and altering the starting source address of > an image

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

2016-08-13 Thread Ziyuan Xu
Acked-by: Ziyuan Xu On 2016年08月11日 19:08, Sandy Patterson wrote: On Wed, Aug 10, 2016 at 11:01 PM, Ziyuan Xu > wrote: On 2016年08月10日 22:21, Sandy Patterson wrote: Move back_to_bootrom() call later

Re: [U-Boot] defconfig: am43xx_evm: enable eth driver model

2016-08-13 Thread Tom Rini
On Thu, Aug 11, 2016 at 02:27:04PM +0530, Mugunthan V N wrote: > Enable eth driver model for am43xx_evm as cpsw supports > driver model. > > This was already added with the commit bc705ea1cf12 but with > commit 4c4e3b37750f to add fit support CONFIG_DM_ETH was missed. > > Signed-off-by:

Re: [U-Boot] Please pull u-boot-dm

2016-08-13 Thread Simon Glass
+Toms (sorry I missed this) On 12 August 2016 at 11:04, Simon Glass wrote: > Hi, > > This include a prerequisite for a forthcoming Tegra pull request. > > > The following changes since commit 28cd88baa3f11cdb52be3b6d0610dcf32c60871a: > > Merge branch 'master' of

[U-Boot] [PATCH v2] cmd: efi_loader: Return CMD_RET_USAGE in case of not enough arguments

2016-08-13 Thread Bin Meng
When typing 'bootefi' from U-Boot shell, nothing outputs. Like other commands, return CMD_RET_USAGE so that it can print help message. Signed-off-by: Bin Meng Reviewed-by: Alexander Graf --- Changes in v2: - Rebase against origin/master instead of

Re: [U-Boot] tegra124 jetson-tk1 ethernet problems.

2016-08-13 Thread Joe Hershberger
On Fri, Aug 12, 2016 at 4:55 PM, Stephen Warren wrote: > On 08/04/2016 03:48 PM, Joe Hershberger wrote: >> >> On Thu, Aug 4, 2016 at 4:34 PM, Joe Hershberger >> wrote: >>> >>> On Thu, Aug 4, 2016 at 4:22 PM, Joe Hershberger >>>

Re: [U-Boot] [PATCH] ARM: make ARMV7_LPAE select PHYS_64BIT

2016-08-13 Thread Masahiro Yamada
Hi Alex, 2016-08-11 22:50 GMT+09:00 Alexander Graf : > > > On 11.08.16 15:36, Masahiro Yamada wrote: >> As you see in arch/arm/include/asm/types.h, CONFIG_PHYS_64BIT >> determines the size of phys_addr_t. The ARM Large Physical Address >> Extension allows CPUs to access a

Re: [U-Boot] [PATCH] ARM: make ARMV7_LPAE select PHYS_64BIT

2016-08-13 Thread Stephen Warren
On 08/11/2016 07:36 AM, Masahiro Yamada wrote: As you see in arch/arm/include/asm/types.h, CONFIG_PHYS_64BIT determines the size of phys_addr_t. The ARM Large Physical Address Extension allows CPUs to access a physical address space larger than 4GB, so the physical address may not fit in 32bit

Re: [U-Boot] [PATCH 0/2] efi_loader: Implement reset on RPi

2016-08-13 Thread Alexander Graf
> On 13 Aug 2016, at 00:02, Simon Glass wrote: > > Hi Alex, > > On 12 August 2016 at 15:20, Alexander Graf wrote: >> >>> On 12 Aug 2016, at 22:07, Simon Glass wrote: >>> >>> Hi Alex, >>> >>> On 12 August 2016 at 12:50, Alexander Graf

Re: [U-Boot] [PATCH] Revert "warp: Use imx_ddr_size() for calculating the DDR size"

2016-08-13 Thread Fabio Estevam
On Fri, Aug 12, 2016 at 4:38 PM, Fabio Estevam wrote: > Hi Otavio, > > On Fri, Aug 12, 2016 at 3:27 PM, Otavio Salvador > wrote: > >> Why is this happening? I am fine in reverting this but we need to fix >> the detection. Is it due memory