Re: [U-Boot] [linux-sunxi] Re: [PATCH 00/11] sunxi: Add full SPL support for sun9i (A80)

2016-10-29 Thread Chen-Yu Tsai
On Sat, Oct 29, 2016 at 8:06 PM, Hans de Goede wrote: > Hi, > > > On 28-10-16 19:30, Hans de Goede wrote: >> >> Hi Chen-Yu, >> >> On 28-10-16 12:21, Chen-Yu Tsai wrote: >>> >>> Hi everyone, >>> >>> This series adds full SPL with DRAM initialization for sun9i (A80). >>> The

Re: [U-Boot] [PATCH v2 2/2] arm: Set TTB XN bit in case DCACHE_OFF for LPAE mode

2016-10-29 Thread Keerthy
On Saturday 29 October 2016 11:19 PM, Marek Vasut wrote: On 10/29/2016 07:47 PM, Tom Rini wrote: On Sat, Oct 29, 2016 at 07:44:34PM +0200, Marek Vasut wrote: On 10/29/2016 07:41 PM, Tom Rini wrote: On Sat, Oct 29, 2016 at 03:19:10PM +0530, Keerthy wrote: While we setup the mmu initially

[U-Boot] [PATCH] travis.yml: Add in uniphier as a job, modify aarch64 builds a bit

2016-10-29 Thread Tom Rini
- Add in system aarch64-linux-gnu toolchain - Now that all VMs will have aarch64 available, don't exclude them from other jobs but instead exclude them from the catch-all aarch64 build - Add JOB= to the Freescale/ARM build to be clear about what it does. - Add uniphier as a stand-alone job

Re: [U-Boot] [RFC] 0/4] Add Pl330 DMA support

2016-10-29 Thread Marek Vasut
On 10/18/2016 05:50 PM, Dinh Nguyen wrote: > On Sun, Oct 16, 2016 at 10:59 AM, Marek Vasut wrote: >> On 10/15/2016 12:10 AM, Dinh Nguyen wrote: >>> >>> >>> On 10/10/2016 10:52 AM, Dinh Nguyen wrote: Hi, This patchset adds the PL330 DMA driver to U-Boot. The SoCFPGA

[U-Boot] [PATCH] engicam: icorem6: Fix config files

2016-10-29 Thread Jagan Teki
From: Jagan Teki Config file names on MAINTAINERS and README in board/engicam/icorem6 seems to be wrong, hence fixed the same. Cc: Stefano Babic Cc: Michael Trimarchi Signed-off-by: Jagan Teki

[U-Boot] [PATCH] MAINTAINERS: SUNXI: Add Jagan as Co-Maintainer

2016-10-29 Thread Jagan Teki
Due to the discussion from thread[1] about the Hans stepping down as sunix custodian, I would like to volunteer as a co-maintainer for sunxi and discussed the same with Hans as well. [1] http://lists.denx.de/pipermail/u-boot/2016-July/259688.html Cc: Maxime Ripard

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

2016-10-29 Thread Marek Vasut
The following changes since commit 5ac5861c4ba851b473e6a24940b412b397627d8d: travis-ci: Add test.py for various qemu platforms (2016-10-24 08:06:29 -0400) are available in the git repository at: git://git.denx.de/u-boot-socfpga.git master for you to fetch changes up to

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

2016-10-29 Thread Marek Vasut
The following changes since commit 5ac5861c4ba851b473e6a24940b412b397627d8d: travis-ci: Add test.py for various qemu platforms (2016-10-24 08:06:29 -0400) are available in the git repository at: git://git.denx.de/u-boot-usb.git master for you to fetch changes up to

Re: [U-Boot] [U-Boot, 1/2] drivers: USB: OHCI: allow compilation for 64-bit targets

2016-10-29 Thread Marek Vasut
On 10/29/2016 02:50 PM, Hans de Goede wrote: > Hi, > > On 21-10-16 03:24, Andre Przywara wrote: >> OHCI has a known limitation of allowing only 32-bit DMA buffer >> addresses, so we have a lot of u32 variables around, which are assigned >> to pointers and vice versa. This obviously creates issues

[U-Boot] OMAP3630 Falcon Mode Questions

2016-10-29 Thread Adam Ford
I am trying to utilize Falcon mode on an OMAP3630 (DM3730), but it just hangs, and I was hoping someone might find something obvious that I missed. I am able to boot from NAND through U-boot, so I know my kernel and device tree are OK as are the boot parameters, MLO and U-boot. I have read

Re: [U-Boot] [PATCH v2 2/2] arm: Set TTB XN bit in case DCACHE_OFF for LPAE mode

2016-10-29 Thread Marek Vasut
On 10/29/2016 07:47 PM, Tom Rini wrote: > On Sat, Oct 29, 2016 at 07:44:34PM +0200, Marek Vasut wrote: >> On 10/29/2016 07:41 PM, Tom Rini wrote: >>> On Sat, Oct 29, 2016 at 03:19:10PM +0530, Keerthy wrote: >>> While we setup the mmu initially we mark set_section_dcache with DCACHE_OFF

Re: [U-Boot] [PATCH v2 2/2] arm: Set TTB XN bit in case DCACHE_OFF for LPAE mode

2016-10-29 Thread Tom Rini
On Sat, Oct 29, 2016 at 07:44:34PM +0200, Marek Vasut wrote: > On 10/29/2016 07:41 PM, Tom Rini wrote: > > On Sat, Oct 29, 2016 at 03:19:10PM +0530, Keerthy wrote: > > > >> While we setup the mmu initially we mark set_section_dcache with > >> DCACHE_OFF flag. In case of non-LPAE mode the

Re: [U-Boot] [PATCH v2 2/2] arm: Set TTB XN bit in case DCACHE_OFF for LPAE mode

2016-10-29 Thread Marek Vasut
On 10/29/2016 07:41 PM, Tom Rini wrote: > On Sat, Oct 29, 2016 at 03:19:10PM +0530, Keerthy wrote: > >> While we setup the mmu initially we mark set_section_dcache with >> DCACHE_OFF flag. In case of non-LPAE mode the DCACHE_OFF macro >> is rightly defined with TTB_SECT_XN_MASK set so as to mark

Re: [U-Boot] [PATCH] configs/chromebox_panther_defconfig: Re-enable CONFIG_DM_PCI

2016-10-29 Thread Tom Rini
On Sat, Oct 29, 2016 at 08:42:19AM -0400, Tom Rini wrote: > This was turned off by accident, re-enble. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot, 6/6] travis-ci: compile with buildman when running test/py

2016-10-29 Thread Tom Rini
On Wed, Oct 26, 2016 at 11:05:36AM -0600, Stephen Warren wrote: > From: Stephen Warren > > Use buildman to compile any U-Boot binary tested by test/py. This > re-uses all the work done elsewhere to make buildman work within > Travis-CI, in particular related to toolchain

Re: [U-Boot] [PATCH v2 2/2] arm: Set TTB XN bit in case DCACHE_OFF for LPAE mode

2016-10-29 Thread Tom Rini
On Sat, Oct 29, 2016 at 03:19:10PM +0530, Keerthy wrote: > While we setup the mmu initially we mark set_section_dcache with > DCACHE_OFF flag. In case of non-LPAE mode the DCACHE_OFF macro > is rightly defined with TTB_SECT_XN_MASK set so as to mark all the > 4GB XN. In case of LPAE mode

Re: [U-Boot] MAINTAINERS: Update Jagan's email

2016-10-29 Thread Tom Rini
On Fri, Oct 28, 2016 at 11:27:34PM +0530, Jagan Teki wrote: > Signed-off-by: Jagan Teki Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH v2 1/2] arm: print the cache config option in hex instead of decimal

2016-10-29 Thread Tom Rini
On Sat, Oct 29, 2016 at 03:19:09PM +0530, Keerthy wrote: > Printing the option value in hex makes it more comprehensible. > > Signed-off-by: Keerthy Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] travis-ci: build Tegra boards

2016-10-29 Thread Tom Rini
On Wed, Oct 26, 2016 at 01:05:52PM -0600, Stephen Warren wrote: > From: Stephen Warren > > ARMv7 Tegra boards aren't currently covered by any other travis-ci jobs. > Add a new job to build them. > > Signed-off-by: Stephen Warren > Reviewed-by: Tom Rini

Re: [U-Boot] [U-Boot,4/6] travis-ci: use buildman -P everywhere

2016-10-29 Thread Tom Rini
On Wed, Oct 26, 2016 at 11:05:34AM -0600, Stephen Warren wrote: > From: Stephen Warren > > This places build results into a board-specific directory rather than a > buildman-thread-specific directory. This is required so that we can > access the directory from test.py, and

Re: [U-Boot] [U-Boot, 3/6] travis-ci: centralize ~/.buildman editing

2016-10-29 Thread Tom Rini
On Wed, Oct 26, 2016 at 11:05:33AM -0600, Stephen Warren wrote: > From: Stephen Warren > > Any time an x86 toolchain is used, we need to edit ~/.buildman to > reference it. Move the editing logic into a central place so that it > doesn't have to be duplicated everywhere that

Re: [U-Boot] [U-Boot,5/6] travis-ci: don't invoke exit on success

2016-10-29 Thread Tom Rini
On Wed, Oct 26, 2016 at 11:05:35AM -0600, Stephen Warren wrote: > From: Stephen Warren > > Invoking exit prevents any subsequent build commands from running, and > future patches will add extra commands. > > Signed-off-by: Stephen Warren > Reviewed-by:

Re: [U-Boot] [U-Boot, 1/6] travis-ci: Use = not : when writing ~/.buildman

2016-10-29 Thread Tom Rini
On Wed, Oct 26, 2016 at 11:05:31AM -0600, Stephen Warren wrote: > From: Stephen Warren > > Travis CI seems to be confused when there's a colon in an echo command, > and this is currently worked around using a variable that contains the > text we want to echo. Use = syntax

Re: [U-Boot] [U-Boot, 2/6] travis-ci: use correct exit code on errors

2016-10-29 Thread Tom Rini
On Wed, Oct 26, 2016 at 11:05:32AM -0600, Stephen Warren wrote: > From: Stephen Warren > > The phrase "if [ $? -ne 0 ]; then exit $?; fi" doesn't work correctly; > by the time the "exit" statement runs, $? has already been over-written > by the result of the [ command. Fix

Re: [U-Boot] [U-Boot,2/2] travis-ci: remove duplicate build

2016-10-29 Thread Tom Rini
On Mon, Oct 24, 2016 at 04:41:49PM -0600, Stephen Warren wrote: > From: Stephen Warren > > There were two sub-jobs to build arm1136. Remove the duplicate. > > Signed-off-by: Stephen Warren > Reviewed-by: Tom Rini Applied to

Re: [U-Boot] [U-Boot,1/2] travis-ci: set env vars to name jobs

2016-10-29 Thread Tom Rini
On Mon, Oct 24, 2016 at 04:41:48PM -0600, Stephen Warren wrote: > From: Stephen Warren > > Travis CI names sub-jobs after the first environment variable that is set > for a script. This doesn't produce meaningful results for any of the non- > buildman jobs. Add a dummy

Re: [U-Boot] [PATCH] MAINTAINERS: Update Jagan's email

2016-10-29 Thread Jagan Teki
On Fri, Oct 28, 2016 at 11:27 PM, Jagan Teki wrote: > Signed-off-by: Jagan Teki > --- > MAINTAINERS| 2 +- > doc/git-mailrc | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 8e67202..0bd8995

Re: [U-Boot] [U-Boot,2/2] sunxi: A64: enable USB support

2016-10-29 Thread Hans de Goede
Hi, On 21-10-16 03:24, Andre Przywara wrote: From: Amit Singh Tomar Mostly by adding MACH_SUN50I to some existing #ifdefs enable support for the the HCI0 USB host controller on the A64. Fix up some minor 64-bit hiccups on the way. Add the bare minimum DT bits to the A64

Re: [U-Boot] [U-Boot, 1/2] drivers: USB: OHCI: allow compilation for 64-bit targets

2016-10-29 Thread Hans de Goede
Hi, On 21-10-16 03:24, Andre Przywara wrote: OHCI has a known limitation of allowing only 32-bit DMA buffer addresses, so we have a lot of u32 variables around, which are assigned to pointers and vice versa. This obviously creates issues with 64-bit systems, so the compiler complains here and

[U-Boot] [PATCH] configs/chromebox_panther_defconfig: Re-enable CONFIG_DM_PCI

2016-10-29 Thread Tom Rini
This was turned off by accident, re-enble. Signed-off-by: Tom Rini --- configs/chromebox_panther_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/chromebox_panther_defconfig b/configs/chromebox_panther_defconfig index b8248218cb3d..8bf94cbd83f9 100644

Re: [U-Boot] [PATCH v1 1/1] ARM:SUNXI: Update DRAM clock for Olimex A20 boards

2016-10-29 Thread Hans de Goede
Hi, On 27-10-16 12:33, Stefan Mavrodiev wrote: Hi, I've notice that you've reduced DRAM clock for Lime2 and Lime, but not for A20-SOM. Is there any specific reason for this? Sorry, as I mentioned I had received a patch similar to yours and I had already merged that patch. I did not notice

Re: [U-Boot] [PATCH] tools: add mksunxiboot to tools-all target

2016-10-29 Thread Hans de Goede
Hi, On 29-10-16 12:23, Stefan Brüns wrote: mksunxiboot is useful outside of u-boot, it is e.g. used by sunxi-tools. Signed-off-by: Stefan Brüns Thank you I've applied this to my tree and will include it in my next pull-req. Regards, Hans ---

Re: [U-Boot] [linux-sunxi] [PATCH] arm: dts: Pine64: add Ethernet alias

2016-10-29 Thread Hans de Goede
Hi, On 21-10-16 02:11, Andre Przywara wrote: The sun8i-emac driver works fine with the A64 Ethernet IP, but we are missing an alias entry to trigger the driver instantiation by U-Boot. Add the line to point U-Boot to the Ethernet DT node. This enables TFTP boot on the Pine64. Signed-off-by:

Re: [U-Boot] [PATCH 3/3] ARM: sunxi: remove unneeded CONFIG_USB_MAX_CONTROLLER_COUNT defines

2016-10-29 Thread Hans de Goede
Hi, On 13-10-16 17:40, Masahiro Yamada wrote: ARCH_SUNXI selects DM_USB, where CONFIG_USB_MAX_CONTROLLER_COUNT is not used. Signed-off-by: Masahiro Yamada Thank you I've applied this to my tree and will include it in my next pull-req. Regards, Hans ---

Re: [U-Boot] [PATCH] sunxi: Rename CONFIG_SUNXI to CONFIG_ARCH_SUNXI

2016-10-29 Thread Hans de Goede
Hi, On 13-10-16 10:49, Jagan Teki wrote: CONFIG_SUNXI -> CONFIG_ARCH_SUNXI and removed CONFIG_SUNIX from config_whitelist.txt Cc: Simon Glass Cc: Ian Campbell Cc: Hans de Goede Signed-off-by: Jagan Teki

Re: [U-Boot] [PATCH 00/11] sunxi: Add full SPL support for sun9i (A80)

2016-10-29 Thread Hans de Goede
Hi, On 29-10-16 03:16, Chen-Yu Tsai wrote: On Sat, Oct 29, 2016 at 1:30 AM, Hans de Goede wrote: Hi Chen-Yu, On 28-10-16 12:21, Chen-Yu Tsai wrote: Hi everyone, This series adds full SPL with DRAM initialization for sun9i (A80). The bulk of the work was done by the

Re: [U-Boot] [PATCH 00/11] sunxi: Add full SPL support for sun9i (A80)

2016-10-29 Thread Hans de Goede
Hi, On 28-10-16 19:30, Hans de Goede wrote: Hi Chen-Yu, On 28-10-16 12:21, Chen-Yu Tsai wrote: Hi everyone, This series adds full SPL with DRAM initialization for sun9i (A80). The bulk of the work was done by the people at Theobroma Systems. Their work can be found here:

Re: [U-Boot] [PATCH 02/11] sunxi: add gtbus-initialisation for sun9i

2016-10-29 Thread Hans de Goede
Hi, On 29-10-16 13:08, Chen-Yu Tsai wrote: On Sat, Oct 29, 2016 at 2:45 AM, Jagan Teki wrote: On Fri, Oct 28, 2016 at 3:51 PM, Chen-Yu Tsai wrote: From: Philipp Tomsich On sun9i, the GTBUS manages transaction

Re: [U-Boot] [PATCH 02/11] sunxi: add gtbus-initialisation for sun9i

2016-10-29 Thread Chen-Yu Tsai
On Sat, Oct 29, 2016 at 2:45 AM, Jagan Teki wrote: > On Fri, Oct 28, 2016 at 3:51 PM, Chen-Yu Tsai wrote: >> From: Philipp Tomsich >> >> On sun9i, the GTBUS manages transaction priority and bandwidth >> for multiple read

Re: [U-Boot] [PATCH 01/11] sunxi: DRAM initialisation for sun9i

2016-10-29 Thread Chen-Yu Tsai
On Sat, Oct 29, 2016 at 6:39 PM, Hans de Goede wrote: > Hi, > > On 28-10-16 20:54, Jagan Teki wrote: >> >> On Fri, Oct 28, 2016 at 3:51 PM, Chen-Yu Tsai wrote: >>> >>> From: Philipp Tomsich >>> >>> This adds DRAM

Re: [U-Boot] [PATCH 01/11] sunxi: DRAM initialisation for sun9i

2016-10-29 Thread Hans de Goede
Hi, On 28-10-16 20:54, Jagan Teki wrote: On Fri, Oct 28, 2016 at 3:51 PM, Chen-Yu Tsai wrote: From: Philipp Tomsich This adds DRAM initialisation code for sun9i, which calculates the appropriate timings based on timing information for

[U-Boot] [PATCH] tools: add mksunxiboot to tools-all target

2016-10-29 Thread Stefan Brüns
mksunxiboot is useful outside of u-boot, it is e.g. used by sunxi-tools. Signed-off-by: Stefan Brüns --- tools/Makefile | 1 + tools/mksunxiboot.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/Makefile b/tools/Makefile index

[U-Boot] [PATCH v2 2/2] arm: Set TTB XN bit in case DCACHE_OFF for LPAE mode

2016-10-29 Thread Keerthy
While we setup the mmu initially we mark set_section_dcache with DCACHE_OFF flag. In case of non-LPAE mode the DCACHE_OFF macro is rightly defined with TTB_SECT_XN_MASK set so as to mark all the 4GB XN. In case of LPAE mode XN(Execute-never) bit is not set with DCACHE_OFF. Hence XN bit is not set

[U-Boot] [PATCH v2 1/2] arm: print the cache config option in hex instead of decimal

2016-10-29 Thread Keerthy
Printing the option value in hex makes it more comprehensible. Signed-off-by: Keerthy --- arch/arm/lib/cache-cp15.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/lib/cache-cp15.c b/arch/arm/lib/cache-cp15.c index 70e94f0..e9f9fc9 100644 ---

Re: [U-Boot] [PATCH 1/2] arm: Set TTB XN bit in case DCACHE_OFF for LPAE mode

2016-10-29 Thread Keerthy
On Friday 28 October 2016 06:42 PM, Tom Rini wrote: On Fri, Oct 28, 2016 at 12:01:43PM +0530, Keerthy wrote: While we setup the mmu initially we mark set_section_dcache with DCACHE_OFF flag. In case of non-LPAE mode the DCACHE_OFF macro is rightly defined with TTB_SECT_XN_MASK set so as to

[U-Boot] Patchwork breaks commit log format ?

2016-10-29 Thread Masahiro Yamada
Hello Patchwork developers, I noticed Patchwork sometimes modifies commit-log in a wrong way. Please compare the following two: [1] Original patch I sent: http://lists.denx.de/pipermail/u-boot/2016-October/271173.html [2] After Patchwork picked it up:

[U-Boot] pull request: u-boot-uniphier/master

2016-10-29 Thread Masahiro Yamada
Hi Tom, Please pull some more UniPhier SoC updates: - DRAM init code updates - Misc SoC-related fixes The following changes since commit 1df182ddf700de49fb4400ba67c3029278ea88e7: Merge branch 'master' of git://git.denx.de/u-boot-atmel (2016-10-28 14:14:18 -0400) are available in the git

Re: [U-Boot] [PATCH 00/11] ARM: uniphier: UniPhier SoC code updates

2016-10-29 Thread Masahiro Yamada
2016-10-27 23:46 GMT+09:00 Masahiro Yamada : > - DDR PHY init code updates > - Some bug fixes > > > > Masahiro Yamada (11): > ARM: uniphier: enable SSC for more PLLs for LD20 SoC > ARM: uniphier: remove unused board attribute macros > ARM: uniphier: update

Re: [U-Boot] [PATCH 1/2] ARM: uniphier: remove unneeded mdelay(1) in PLL setting function

2016-10-29 Thread Masahiro Yamada
2016-10-19 16:26 GMT+09:00 Masahiro Yamada : > This delay is already cared by the callers of this function. > > Signed-off-by: Masahiro Yamada > --- Applied to u-boot-uniphier/master. -- Best Regards Masahiro Yamada