Re: [U-Boot] [PATCH] video: sunxi: Enable cache for the framebuffer

2015-01-31 Thread Ian Campbell
On Sat, 2015-01-31 at 03:21 +0200, Siarhei Siamashka wrote: > Because the framebuffer resides in a hidden chopped off part of DRAM, > caching is not enabled for this area automatically when the MMU is > configured. So it needs to be set explicitly. > > Additionally, the cfb console has a function

[U-Boot] [PATCH] edminiv2: switch to generic board support

2015-01-31 Thread Albert ARIBAUD
Signed-off-by: Albert ARIBAUD --- board/LaCie/edminiv2/config.mk | 12 include/configs/edminiv2.h | 4 2 files changed, 4 insertions(+), 12 deletions(-) delete mode 100644 board/LaCie/edminiv2/config.mk diff --git a/board/LaCie/edminiv2/config.mk b/board/LaCie/edminiv2/co

Re: [U-Boot] [PATCH] video: sunxi: Enable cache for the framebuffer

2015-01-31 Thread Siarhei Siamashka
On Sat, 31 Jan 2015 10:34:36 + Ian Campbell wrote: > On Sat, 2015-01-31 at 03:21 +0200, Siarhei Siamashka wrote: > > Because the framebuffer resides in a hidden chopped off part of DRAM, > > caching is not enabled for this area automatically when the MMU is > > configured. So it needs to be s

Re: [U-Boot] [PATCH 2/4] usb: add 'bcm_udc_otg' support

2015-01-31 Thread Lukasz Majewski
On Fri, 30 Jan 2015 23:16:57 +0100 Marek Vasut wrote: > On Monday, January 26, 2015 at 01:31:39 PM, Lukasz Majewski wrote: > > Hi Marek, > > > > > On Monday, January 26, 2015 at 09:38:28 AM, Lukasz Majewski wrote: > > > > Hi Marek, > > > > > > Hi! > > > > > > [...] > > > > > > > > No, unless

Re: [U-Boot] [PATCH 2/4] usb: add 'bcm_udc_otg' support

2015-01-31 Thread Marek Vasut
On Saturday, January 31, 2015 at 02:26:16 PM, Lukasz Majewski wrote: > On Fri, 30 Jan 2015 23:16:57 +0100 > > Marek Vasut wrote: > > On Monday, January 26, 2015 at 01:31:39 PM, Lukasz Majewski wrote: > > > Hi Marek, > > > > > > > On Monday, January 26, 2015 at 09:38:28 AM, Lukasz Majewski wrote:

Re: [U-Boot] Nokia RX-51: Use generic board

2015-01-31 Thread Pali Rohár
On Friday 30 January 2015 17:09:48 Tom Rini wrote: > On Fri, Jan 30, 2015 at 03:49:08PM +0100, Pali Rohár wrote: > > On Friday 30 January 2015 15:19:53 Tom Rini wrote: > > > On Thu, Jan 15, 2015 at 10:26:36AM +0100, Pali Rohár wrote: > > > > Generic board with #define CONFIG_SYS_GENERIC_BOARD is >

[U-Boot] [PATCH] gpio: omap: Pass correct argument to _get_gpio_direction()

2015-01-31 Thread Axel Lin
Pass bank rather than bank->base to _get_gpio_direction(). Signed-off-by: Axel Lin --- drivers/gpio/omap_gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/omap_gpio.c b/drivers/gpio/omap_gpio.c index f3a7ccb..19fc451 100644 --- a/drivers/gpio/omap_gpio.c +++

Re: [U-Boot] [PATCH] pci: tegra: Fix port information parsing

2015-01-31 Thread Bin Meng
Hi Thierry, On Fri, Jan 30, 2015 at 8:24 PM, Thierry Reding wrote: > On Sat, Jan 24, 2015 at 12:19:56PM +0800, Bin Meng wrote: >> Hi Thierry, >> >> On Fri, Jan 23, 2015 at 6:19 PM, Thierry Reding wrote: >> > On Thu, Jan 22, 2015 at 12:04:06AM +0800, Bin Meng wrote: >> >> Hi Thierry, >> >> >> >>

Re: [U-Boot] Disable tftp and access

2015-01-31 Thread Jakub Jančo
Hello, can someone help me disable serial access to uboot? -- S pozdravom Jakub Janco 2015-01-23 18:41 GMT+01:00 Jakub Jančo : > Thanks for answer, > > according to http://www.denx.de/wiki/view/DULG/UBootEnvVariables > if I set bootdelay=0, then will not be possible to tftp image by dhcp or >

Re: [U-Boot] [PATCH 1/3] ARmv7: Add a soc_init hook to start.S

2015-01-31 Thread Albert ARIBAUD
Hello Tom, On Tue, 27 Jan 2015 09:23:47 -0500, Tom Rini wrote: > On Mon, Jan 26, 2015 at 08:32:41PM +0100, Hans de Goede wrote: > > Hi, > > > > On 26-01-15 16:18, Tom Rini wrote: > > >On Fri, Jan 23, 2015 at 09:54:12AM +0100, Hans de Goede wrote: > > >>Hi, > > >> > > >>On 22-01-15 22:03, Tom Rin

[U-Boot] [PATCH] edminiv2: fix PCIE IO base address typo

2015-01-31 Thread Albert ARIBAUD
Signed-off-by: Albert ARIBAUD --- arch/arm/include/asm/arch-orion5x/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-orion5x/cpu.h b/arch/arm/include/asm/arch-orion5x/cpu.h index 08a450f..092dbd6 100644 --- a/arch/arm/include/asm/arch-orion5x/cp

Re: [U-Boot] [PATCH 1/3] ARmv7: Add a soc_init hook to start.S

2015-01-31 Thread Tom Rini
On Sat, Jan 31, 2015 at 10:25:50PM +0100, Albert ARIBAUD wrote: > Hello Tom, > > On Tue, 27 Jan 2015 09:23:47 -0500, Tom Rini wrote: > > On Mon, Jan 26, 2015 at 08:32:41PM +0100, Hans de Goede wrote: > > > Hi, > > > > > > On 26-01-15 16:18, Tom Rini wrote: > > > >On Fri, Jan 23, 2015 at 09:54:12

[U-Boot] [PATCH] edminiv2: switch to SPL

2015-01-31 Thread Albert ARIBAUD
ED Mini V2 is based on Orion 5x which boots at fixed address 0x in NOR Flash. Place SPL there, and switch U-Boot from .bin to .img format, stored in NOR Flash at 0xFFF9. Note: this patch was tested on HW and works, i.e. it boots U-Boot properly, but SPL console output currently does no

Re: [U-Boot] Disable tftp and access

2015-01-31 Thread Nable
Hi! I haven't tested this approach, but you can define the following variables in your board config (see include/configs/mimc200.h for example): #define CONFIG_SILENT_CONSOLE /* enable silent startup */ #define CONFIG_DISABLE_CONSOLE /* disable console */ #define CONFIG_SYS_DEVICE_NULLD

Re: [U-Boot] [PATCH 1/3] ARmv7: Add a soc_init hook to start.S

2015-01-31 Thread Simon Glass
Hi Tom, On 31 January 2015 at 14:49, Tom Rini wrote: > > On Sat, Jan 31, 2015 at 10:25:50PM +0100, Albert ARIBAUD wrote: > > Hello Tom, > > > > On Tue, 27 Jan 2015 09:23:47 -0500, Tom Rini wrote: > > > On Mon, Jan 26, 2015 at 08:32:41PM +0100, Hans de Goede wrote: > > > > Hi, > > > > > > > > On

[U-Boot] [PATCH 3/3] sunxi: dram: Allow to configure vdd-dll voltage on sun[457]i

2015-01-31 Thread Siarhei Siamashka
Higher vdd-dll voltage allows to use higher dram and mbus clock speeds. The vdd-int/vdd-dll voltage is currently set to 1.25V by default, which is much lower than 1.4V, allowed by datasheets (the exact maximum differs for different SoCs). There are different use cases. For a tablet, it may be pref

[U-Boot] [PATCH 0/3] sunxi: dram: More flexible dram for sun[457]i

2015-01-31 Thread Siarhei Siamashka
In a nutshell, this patchset allows to use Kconfig capabilities of the current u-boot code to reproduce the old Cubietruck demo, which showcased reclocking DRAM from 432MHz to 600MHz (the old 'highspeedtruck' branch): http://lists.denx.de/pipermail/u-boot/2014-July/183981.html But now only a s

[U-Boot] [PATCH 1/3] sunxi: dram: Optionally use standard JEDEC timings for sun[457]i

2015-01-31 Thread Siarhei Siamashka
In addition to the current Android magic settings, allow to optionally use DDR3 timing parameters, which are tailored for different clock frequencies and JEDEC speed bins. This should improve reliability and performance. Adding '+S:CONFIG_DRAM_TIMINGS_DDR3_1066F_1333H=y' to the board defconfig all

[U-Boot] [PATCH 2/3] sunxi: dram: Support more sun[457]i dram parameters in Kconfig

2015-01-31 Thread Siarhei Siamashka
This patch allows to configure all the important DRAM parameters in Kconfig. Signed-off-by: Siarhei Siamashka --- board/sunxi/Kconfig | 43 +++ board/sunxi/dram_sun4i_auto.c | 6 -- board/sunxi/dram_sun5i_auto.c | 5 - 3 files changed,

[U-Boot] [PATCH] sunxi: mmc: Add 'sunxi_' prefix to the static functions

2015-01-31 Thread Siarhei Siamashka
This results in a much more readable callgraph, because now they can't be confused with the function having exactly the same name in the generic mmc code. Signed-off-by: Siarhei Siamashka --- drivers/mmc/sunxi_mmc.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git

[U-Boot] [PATCH] buildman: allow multiple toolchains in a single path

2015-01-31 Thread Albert ARIBAUD
When buildman scans a toolchain path, it stops at the first toolchain found. However, a single path can contains several toolchains, each with its own prefix. This patch lets buildman scan all toolchains in the path. Signed-off-by: Albert ARIBAUD --- tools/buildman/toolchain.py | 9 + 1

Re: [U-Boot] [PATCH v4 2/2] configs/ls2085a: Add support for Cortex-A57 erratas

2015-01-31 Thread Albert ARIBAUD
Hello Bhupesh, On Fri, 23 Jan 2015 15:50:05 +0530, Bhupesh Sharma wrote: > This patch adds support for handling 828024 and 826974 erratas > for Cortex-A57 cores present on LS2085A SoC. > > Signed-off-by: Bhupesh Sharma > --- > include/configs/ls2085a_common.h |4 > 1 file changed, 4

Re: [U-Boot] [PATCH v4 1/2] Errata/ARM57: Add basic constructs to handle and apply A57 specific erratas

2015-01-31 Thread Albert ARIBAUD
Hello Bhupesh, On Fri, 23 Jan 2015 15:50:04 +0530, Bhupesh Sharma wrote: > This patch adds basic constructs in the ARMv8 u-boot code > to handle and apply Cortex-A57 specific erratas. > > As and example, the framework showcases how erratas 833069, 826974 > and 828024 can be handled and applied.

[U-Boot] [RFC/PATCH] tools: New 'spl-stackusage' script

2015-01-31 Thread Siarhei Siamashka
This is a script, which tries to provide a pessimistic estimate of the stack usage in the SPL binary. A more detailed description about how it works and some example pictures are available in an earlier e-mail: http://lists.denx.de/pipermail/u-boot/2015-January/201713.html In fact, I have don

Re: [U-Boot] Nokia RX-51: Use generic board

2015-01-31 Thread Albert ARIBAUD
Hello Tom, On Fri, 30 Jan 2015 11:09:48 -0500, Tom Rini wrote: > But I expect MAINTAINERS to do > some sort of sanity test at least once every few releases, especially > since we have a regular release cycle. How about Bcc:ing all maintainers upon each release announcement to the list? > -- >

Re: [U-Boot] [PATCH v2] arm/ls1021a: Add workaround for DDR erratum A008378

2015-01-31 Thread Albert ARIBAUD
Hello York Sun, On Wed, 14 Jan 2015 12:46:07 -0800, York Sun wrote: > Internal memory controller counters can reach a bad state after > training in DDR4 mode if accumulated ECC or DBI mode is eanbled. typo: eanbled -> enabled. Amicalement, -- Albert. ___

Re: [U-Boot] [PATCH 2/3] arm: relocation: clear .bss section with arch memset if defined

2015-01-31 Thread Albert ARIBAUD
Hello Przemyslaw, On Wed, 28 Jan 2015 13:55:42 +0100, Przemyslaw Marczak wrote: > For ARM architecture, enable the CONFIG_USE_ARCH_MEMSET/MEMCPY, > will highly increase the memset/memcpy performance. This is able > thanks to the ARM multiple register instructions. > > Unfortunatelly the relocati

[U-Boot] [PATCH] arm: support Thumb-1 with CONFIG_SYS_THUMB_BUILD

2015-01-31 Thread Albert ARIBAUD
When building a THumb-1-only target with CONFIG_SYS_THUMB_BUILD, some files fail to build, most of the time because they include mcr instructions, which only exist for Thumb-2. Thos patch introduces a Kconfig option CONFIG_THUMB2 and uses it to select between Thumb-2 and ARM mode for the aforement