[U-Boot] [PATCH 2/3] kbuild: sync mixed targets handling with Linux 3.16

2014-08-04 Thread Masahiro Yamada
"make %_config all" was supported for the first time in U-Boot: commit 53bca5ab kbuild: support simultaneous board configuration and "make all" Surprisingly it had not been working in Linux Kernel for a long time. So I sent back the patch to the Linux Kbuild community and it was accepted with

[U-Boot] [PATCH 1/3] kbuild: move extra gcc checks to scripts/Makefile.extrawarn

2014-08-04 Thread Masahiro Yamada
This commit was imported from Linux Kernel: commit a86fe353 written by me. W=... provides extra gcc checks. Having such code in scripts/Makefile.build results in the same flags being added to KBUILD_CFLAGS multiple times becuase scripts/Makefile.build is invoked every time Kbuild descends into th

[U-Boot] [PATCH 0/3] Kbuild: sync with Linux 3.16

2014-08-04 Thread Masahiro Yamada
Linux 3.16 is out now. This series imports various Kbuild-related updates from Linux 3.16. I am resending the same series which was put off before. See the reply from Tom Rini http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/188802/focus=189010 Masahiro Yamada (3): kbuild: move extra

[U-Boot] [PATCH 3/3] scripts: objdiff: sync with Linux 3.16

2014-08-04 Thread Masahiro Yamada
Import scripts/objdiff improvements from Linux v3.16, which consists of 7 commits written by me. commit 7fa0e6db3cedc9b70d68a4170f1352e2b1aa0f90 scripts: objdiff: support directories for the augument of record command commit 8ac28bee76eec006aac5ba5c418878a607d53a9b scripts: objdiff: fix a

Re: [U-Boot] [PATCH v2 14/16] sunxi: dram: Drop DDR2 support and assume only single rank DDR3 memory

2014-08-04 Thread Ian Campbell
On Sun, 2014-08-03 at 05:32 +0300, Siarhei Siamashka wrote: > All the known Allwinner A10/A13/A20 devices are using just single rank > DDR3 memory. So don't pretend that we support DDR2 or more than one > rank, because nobody could ever test these configurations for real and > they are likely broke

Re: [U-Boot] [PATCH v2 13/16] sunxi: dram: Configurable DQS gating window mode and delay

2014-08-04 Thread Ian Campbell
On Sun, 2014-08-03 at 05:32 +0300, Siarhei Siamashka wrote: > The hardware DQS gate training is a bit unreliable and does not > always find the best delay settings. > > So we introduce a 32-bit 'dqs_gating_delay' variable, where each > byte encodes the DQS gating delay for each byte lane. The dela

Re: [U-Boot] [PATCH v2 12/16] sunxi: dram: Add a helper function 'mctl_get_number_of_lanes'

2014-08-04 Thread Ian Campbell
On Sun, 2014-08-03 at 05:32 +0300, Siarhei Siamashka wrote: > It is going to be useful in more than one place. > > Signed-off-by: Siarhei Siamashka Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/list

Re: [U-Boot] [PATCH v2 09/16] sunxi: dram: Configurable MBUS clock speed (use PLL5 or PLL6)

2014-08-04 Thread Ian Campbell
On Sun, 2014-08-03 at 05:32 +0300, Siarhei Siamashka wrote: > The sun5i hardware (Allwinner A13) introduced configurable MBUS clock > speed. Allwinner A13 uses only 16-bit data bus width to connect the > external DRAM, which is halved compared to the 32-bit data bus of sun4i > (Allwinner A10), so i

Re: [U-Boot] [PATCH v2 08/16] sunxi: dram: Re-introduce the impedance calibration ond ODT

2014-08-04 Thread Ian Campbell
On Sun, 2014-08-03 at 05:32 +0300, Siarhei Siamashka wrote: > The DRAM controller allows to configure impedance either by using the > calibration against an external high precision 240 ohm resistor, or > by skipping the calibration and loading pre-defined data. The DRAM > controller register guide

Re: [U-Boot] [PATCH v2 07/16] sunxi: dram: Add 'await_bits_clear'/'await_bits_set' helper functions

2014-08-04 Thread Ian Campbell
On Sun, 2014-08-03 at 05:32 +0300, Siarhei Siamashka wrote: > The old 'await_completion' function is not sufficient, because > in some cases we want to wait for bits to be cleared, and in the > other cases we want to wait for bits to be set. So split the > 'await_completion' into two new 'await_bit

Re: [U-Boot] [PATCH v2 06/16] sunxi: dram: Do DDR3 reset in the same way on sun4i/sun5i/sun7i

2014-08-04 Thread Ian Campbell
On Sun, 2014-08-03 at 05:32 +0300, Siarhei Siamashka wrote: > The older differences were likely justified by the need to mitigate > the CKE delay timing violations on sun4i/sun5i. The CKE problem is > already resolved, so now we can use the sun7i variant of this code > everywhere. > > Signed-off-b

Re: [U-Boot] [PATCH v2 05/16] sunxi: dram: Remove broken impedance and ODT configuration code

2014-08-04 Thread Ian Campbell
On Sun, 2014-08-03 at 05:32 +0300, Siarhei Siamashka wrote: > We can safely remove it, because none of the currently supported > boards uses these features. > > The existing implementation had multiple problems: >- unnecessary code duplication between sun4i/sun5i/sun7i >- ZQ calibration wa

Re: [U-Boot] [PATCH v2 04/16] sunxi: dram: Fix CKE delay handling for sun4i/sun5i

2014-08-04 Thread Ian Campbell
On Sun, 2014-08-03 at 05:32 +0300, Siarhei Siamashka wrote: > Before driving the CKE pin (Clock Enable) high, the DDR3 spec requires > to wait for additional 500 us after the RESET pin is de-asserted. > > The DRAM controller takes care of this delay by itself, using a > configurable counter in the

Re: [U-Boot] [PATCH v2 03/16] sunxi: dram: Respect the DDR3 reset timing requirements

2014-08-04 Thread Ian Campbell
On Sun, 2014-08-03 at 05:32 +0300, Siarhei Siamashka wrote: > The RESET pin needs to be kept low for at least 200 us according > to the DDR3 spec. So just do it the right way. > > This issue did not cause any visible major problems earlier, because > the DRAM RESET pin is usually already low after

Re: [U-Boot] [PATCH v2 02/16] sunxi: dram: Remove broken super-standby remnants

2014-08-04 Thread Ian Campbell
On Sun, 2014-08-03 at 05:32 +0300, Siarhei Siamashka wrote: > If the dram->ppwrsctl (SDR_DPCR) register has the lowest bit set to 1, > this means that DRAM is currently in self-refresh mode and retaining the > old data. Since we have no idea what to do in this situation yet, just > set this registe

[U-Boot] [PATCH] doc: delete README.ARM-SoC

2014-08-04 Thread Masahiro Yamada
This document is too old and useless. Signed-off-by: Masahiro Yamada --- doc/README.ARM-SoC | 31 --- 1 file changed, 31 deletions(-) delete mode 100644 doc/README.ARM-SoC diff --git a/doc/README.ARM-SoC b/doc/README.ARM-SoC deleted file mode 100644 index d6bd624..

[U-Boot] [PATCH] doc: README.SPL: adjust for Kbuild and Kconfig

2014-08-04 Thread Masahiro Yamada
Reflect the latest build system to doc/README.SPL. Signed-off-by: Masahiro Yamada --- doc/README.SPL | 28 ++-- 1 file changed, 6 insertions(+), 22 deletions(-) diff --git a/doc/README.SPL b/doc/README.SPL index 2b4b0b8..c283dcf 100644 --- a/doc/README.SPL +++ b/doc/REA

Re: [U-Boot] [PATCH 03/15] tegra: kconfig: move board select menu and common settings

2014-08-04 Thread Masahiro Yamada
Hi Stephen, On Mon, 04 Aug 2014 12:12:56 -0600 Stephen Warren wrote: > On 08/04/2014 07:19 AM, Masahiro Yamada wrote: > > Becuase the board select menu in arch/arm/Kconfig is too big, > > move the Tegra board select menu to tegra/Kconfig. > > > > Insert the Tegra SoC select menu between the arc

Re: [U-Boot] [RFC PATCH v2 0/2] Make Python scripts compatible with older versions

2014-08-04 Thread Yan, Miao
> > OK, what host distribution are you using? I'm going to guess RHEL5 (or > compatible)... If so, yes, I think we need to support that as a host platform > so > long as it's still supported by RedHat. It's CentOS 5, which still has several years of life time :-( Thanks, Miao

Re: [U-Boot] [PATCH] Makefile: restore *_config target

2014-08-04 Thread Masahiro Yamada
Hi Jeroen, On Mon, 04 Aug 2014 19:49:24 +0200 Jeroen Hofstee wrote: > > > >> cc: Tom Rini > >> cc: Masahiro Yamada > >> cc: Simon Glass > >> Signed-off-by: Jeroen Hofstee > >> --- > >> Makefile | 7 ++- > >> 1 file changed, 6 insertions(+), 1 deletion(-) > >> > >> diff --git a/Makef

Re: [U-Boot] Removing the need for boards.cfg

2014-08-04 Thread York Sun
It is. But it just takes long to generate boards.cfg. I am wondering if you have a better way. York From: Masahiro Yamada Sent: Mon, 04/08/2014 18:22 To: Sun York-R58495 CC: Tom Rini ; Simon Glass ; U-Boot Mailing List Subject: Re: [U-Boot] Removing the need f

Re: [U-Boot] [PATCH 6/7] sunxi: Kconfig: move common settings into a shared code block

2014-08-04 Thread Chen-Yu Tsai
On Tue, Aug 5, 2014 at 5:26 AM, Ian Campbell wrote: > On Fri, 2014-08-01 at 09:46 +0200, Hans de Goede wrote: >> SYS_CPU, SYS_BOARD and SYS_SOC are identical for all sunxi boards, move >> them to a shared code block. >> >> Signed-off-by: Hans de Goede > > This is an improvement so: > Acked-by: Ia

Re: [U-Boot] Removing the need for boards.cfg

2014-08-04 Thread Masahiro Yamada
Hi York, On Mon, 4 Aug 2014 11:58:56 -0700 York Sun wrote: > On 08/01/2014 06:53 AM, Masahiro Yamada wrote: > > > > If MAKEALL/buildman is invoked without any arguments > > (which means build all the board), > > boards.cfg is not necessary in the first place. > > > > It that case, can we ski

Re: [U-Boot] [PATCH] drivers: rtc: remove dead drivers

2014-08-04 Thread Masahiro Yamada
Hi Tom, On Mon, 4 Aug 2014 13:30:10 -0400 Tom Rini wrote: > On Wed, Jul 30, 2014 at 07:20:03PM +0900, Masahiro Yamada wrote: > > > The following configs are not defined at all: > > > > - CONFIG_RTC_DS1388 > > - CONFIG_RTC_ISL1208 > > - CONFIG_RTC_MX27 > > - CONFIG_RTC_PL031 > > - CONFIG_

Re: [U-Boot] Quick guide to Kconfig

2014-08-04 Thread Masahiro Yamada
Hi Tom, On Mon, 4 Aug 2014 10:27:42 -0400 Tom Rini wrote: > On Fri, Aug 01, 2014 at 01:37:54PM +0900, Masahiro Yamada wrote: > > [snip] > > We had multiple entries in boards.cfg per board > > (with some differences in the options field) > > and I generated the correspoing defconfig files. > >

Re: [U-Boot] [PATCH 3/3] bootm: use genimg_get_kernel_addr()

2014-08-04 Thread Bryan Wu
On Fri, Aug 1, 2014 at 12:18 PM, Stephen Warren wrote: > On 07/31/2014 06:40 PM, Bryan Wu wrote: >> >> Use the new API which is originally taken out from boot_get_kernel >> of bootm.c > > >> diff --git a/common/bootm.c b/common/bootm.c > > >> case IMAGE_FORMAT_FIT: >> + if (!

[U-Boot] [PATCH v2 1/3] image: introduce genimg_get_kernel_addr()

2014-08-04 Thread Bryan Wu
Kernel address is normally stored as a string argument of bootm or bootz. This function is taken out from boot_get_kernel() of bootm.c, which can be reused by others. Signed-off-by: Bryan Wu Tested-by: Stephen Warren Reviewed-by: Stephen Warren --- common/image.c | 32

[U-Boot] [PATCH v2 3/3] bootm: use genimg_get_kernel_addr()

2014-08-04 Thread Bryan Wu
Use the new API which is originally taken out from boot_get_kernel of bootm.c Signed-off-by: Bryan Wu Tested-by: Stephen Warren Reviewed-by: Stephen Warren --- common/bootm.c | 25 + 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/common/bootm.c b/common/

[U-Boot] [PATCH v2 2/3] pxe: detect image format before calling bootm/bootz

2014-08-04 Thread Bryan Wu
Trying bootm for zImage will print out several error message which is not necessary for this case. So detect image format firstly, only try bootm for legacy and FIT format image then try bootz for others. This patch needs new function genimg_get_kernel_addr(). Signed-off-by: Bryan Wu Tested-by:

[U-Boot] [PATCH v2 0/3] introduce genimg_get_kernel_addr()

2014-08-04 Thread Bryan Wu
When trying to fix the error message issue in pxe sysboot, we found it's need a real kernel address for further image format detection. So I take out such code from boot_get_kernel() of bootm.c and create the new API functin genimg_get_kernel_addr(). Then convert pxe/sysboot and bootm.c to use it.

Re: [U-Boot] [linux-sunxi] Re: [PATCH] video: add cfb console driver for sunxi

2014-08-04 Thread Henrik Nordström
mån 2014-08-04 klockan 19:28 +0200 skrev Luc Verhaegen: > We can work around most situations gracefully in kernelspace. We should > for instance never set a bad mode, and never show random memory content, > as that is a total no-go. So some code will have to exist to cleanly > disable the displ

[U-Boot] [PATCH v3] ARM: tegra: Add support for norrin board

2014-08-04 Thread Allen Martin
Norrin (PM370) is a Tegra124 clamshell board that is very similar to venice2, but it has a different panel, the sdcard cd and wp sense are flipped, and it has a different revision of the AS3722 PMIC. This board is also refered to as "nyan" in the ChromeOS trees. Signed-off-by: Allen Martin --- C

Re: [U-Boot] [PATCH 7/7] sunxi: Add environment settings to make extlinux.conf booting work

2014-08-04 Thread Ian Campbell
On Fri, 2014-08-01 at 15:05 -0500, Dennis Gilmore wrote: > On Fri, 01 Aug 2014 12:57:31 -0600 > Stephen Warren wrote: > > > On 08/01/2014 01:46 AM, Hans de Goede wrote: > > > Automatic booting using an extlinux.conf file requires various > > > environment variables to be set. > > > > Acked-by: S

Re: [U-Boot] [PATCH 7/7] sunxi: Add environment settings to make extlinux.conf booting work

2014-08-04 Thread Ian Campbell
On Fri, 2014-08-01 at 09:46 +0200, Hans de Goede wrote: > Automatic booting using an extlinux.conf file requires various environment > variables to be set. > > -#define CONFIG_SYS_LOAD_ADDR 0x4800 /* default load address */ > +#define CONFIG_SYS_LOAD_ADDR 0x4200 /* default

Re: [U-Boot] [linux-sunxi] Re: [PATCH] video: add cfb console driver for sunxi

2014-08-04 Thread Henrik Nordström
mån 2014-08-04 klockan 18:53 +0200 skrev Michal Suchanek: > Then you have to define what is compatible. Yes, and the part I responded to was odd unexpected combinations of u-boot only partially providing the right information (missing in DT) or kernel not having enabled support. Likewise there i

Re: [U-Boot] [PATCH 6/7] sunxi: Kconfig: move common settings into a shared code block

2014-08-04 Thread Ian Campbell
On Fri, 2014-08-01 at 09:46 +0200, Hans de Goede wrote: > SYS_CPU, SYS_BOARD and SYS_SOC are identical for all sunxi boards, move > them to a shared code block. > > Signed-off-by: Hans de Goede This is an improvement so: Acked-by: Ian Campbell But eventually we could clean up even more, e.g.

Re: [U-Boot] [PATCH v2 0/3] Add some missing buildman features and deprecate MAKEALL

2014-08-04 Thread Tom Rini
On Mon, Aug 04, 2014 at 02:41:45PM -0600, Simon Glass wrote: > Hi Tom, > > On 4 August 2014 07:23, Tom Rini wrote: > > On Mon, Jul 28, 2014 at 11:53:27PM -0600, Simon Glass wrote: > > > >> Buildman has been around for a little over a year and is used by a fair > >> number of U-Boot developers. Ho

Re: [U-Boot] [PATCH 5/7] sunxi-common.h: Use new generic $bootcmd

2014-08-04 Thread Ian Campbell
On Mon, 2014-08-04 at 20:35 +0200, Hans de Goede wrote: > Hi, > > On 08/01/2014 08:54 PM, Stephen Warren wrote: > > On 08/01/2014 01:46 AM, Hans de Goede wrote: > >> Use the new standard bootcmd from . > > > > Acked-by: Stephen Warren > > Thanks for the review. > > >> diff --git a/include/conf

Re: [U-Boot] [PATCH 4/7] sunxi-common.h: Don't undef CONFIG_CMD_NET only to redefine it again later

2014-08-04 Thread Ian Campbell
On Fri, 2014-08-01 at 09:46 +0200, Hans de Goede wrote: > config_distro_defaults.h which is include later will redefine CONFIG_CMD_NET, > drop the useless / meaningless undef of it. > > While at also move the undef of CONFIG_CMD_FPGA up to directly under the > include of config_cmd_defaults.h, to

Re: [U-Boot] [PATCH 3/7] sunxi-common.h: Don't undefine CONFIG_CMD_NFS

2014-08-04 Thread Ian Campbell
On Fri, 2014-08-01 at 09:46 +0200, Hans de Goede wrote: > I see no reason to override the choice to include this from > config_cmd_defauls.h . > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de http:

Re: [U-Boot] [PATCH 2/7] sunxi-common.h: Remove dead #ifdef CONFIG_CMD_NET code block

2014-08-04 Thread Ian Campbell
On Fri, 2014-08-01 at 09:46 +0200, Hans de Goede wrote: > We undef CONFIG_CMD_NET at line 167, and there is nothing re-defining it > between line 167 and the #ifdef CONFIG_CMD_NET, so remove this effectively > dead block. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell ___

Re: [U-Boot] [PATCH 1/7] sunxi-common.h: Remove CONFIG_SYS_BOOT_GET_CMDLINE

2014-08-04 Thread Ian Campbell
On Fri, 2014-08-01 at 09:46 +0200, Hans de Goede wrote: > sunxi does not need this and it should never have been enabled for it in > the first place. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.d

Re: [U-Boot] [PATCH 0/8] zmx25: Add hardware support

2014-08-04 Thread Benoît Thébaudeau
Hi Thomas, On Mon, Aug 4, 2014 at 7:59 AM, Thomas Diener wrote: > Hi folks, > do you have any comments or statements for this patches? You already have received replies to 1, 3, 4 and 8 / 8 in May: http://lists.denx.de/pipermail/u-boot/2014-May/179759.html http://lists.denx.de/pipermail/u-boot/2

Re: [U-Boot] [PATCH v2 0/3] Add some missing buildman features and deprecate MAKEALL

2014-08-04 Thread Jeroen Hofstee
Hello Simon, On 04-08-14 22:41, Simon Glass wrote: Hi Tom, On 4 August 2014 07:23, Tom Rini wrote: On Mon, Jul 28, 2014 at 11:53:27PM -0600, Simon Glass wrote: Buildman has been around for a little over a year and is used by a fair number of U-Boot developers. However quite a few people sti

Re: [U-Boot] [PATCH v5 05/11] exynos: dts: Adjust device tree files for U-Boot

2014-08-04 Thread Simon Glass
Hi Tom, On 4 August 2014 09:54, Tom Rini wrote: > On Mon, Aug 04, 2014 at 06:01:58AM -0600, Simon Glass wrote: >> Hi Tom, >> >> On 30 July 2014 09:34, Simon Glass wrote: >> > Hi Tom, >> > >> > On 28 July 2014 21:27, Tom Rini wrote: >> >> On Mon, Jul 28, 2014 at 06:11:32AM -0600, Simon Glass wro

Re: [U-Boot] Removing the need for boards.cfg

2014-08-04 Thread Simon Glass
Hi, On 1 August 2014 12:31, Wolfgang Denk wrote: > Dear Masahiro, > > In message <20140801225339.d541.aa925...@jp.panasonic.com> you wrote: >> >> It that case, can we skip generating boards.cfg ? >> (We can get the board list by 'ls configs' ) > > This would neither give all build target names no

Re: [U-Boot] [PATCH v2 0/3] Add some missing buildman features and deprecate MAKEALL

2014-08-04 Thread Simon Glass
Hi Tom, On 4 August 2014 07:23, Tom Rini wrote: > On Mon, Jul 28, 2014 at 11:53:27PM -0600, Simon Glass wrote: > >> Buildman has been around for a little over a year and is used by a fair >> number of U-Boot developers. However quite a few people still use MAKEALL. >> >> Buildman was intended to

Re: [U-Boot] SPL broken on i.mx31 platforms

2014-08-04 Thread Jeroen Hofstee
Hello Magnus, On 04-08-14 22:23, Magnus Lilja wrote: On a different note I noticed that I received a warning that the PDK board does not use "generic board", I will try to fix this but I don't know how much work that is and when I can submit a patch. typically it is trivial, just add: #defi

Re: [U-Boot] SPL broken on i.mx31 platforms

2014-08-04 Thread Magnus Lilja
Hi On 15 July 2014 11:31, Helmut Raiger wrote: > Hi, > >thx Magnus for the test, could you possibly change the few lines of code > and test again: > > diff --git a/arch/arm/cpu/arm1136/start.S b/arch/arm/cpu/arm1136/start.S > index 1cfcca9..53bde12 100644 > --- a/arch/arm/cpu/arm1136/start.S

Re: [U-Boot] Driver Model and DTS Parsing

2014-08-04 Thread Simon Glass
Hi Stephen, On 4 August 2014 11:38, Stephen Warren wrote: > On 08/04/2014 04:22 AM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 31 July 2014 12:04, Stephen Warren wrote: >>> >>> On 07/31/2014 03:56 AM, Simon Glass wrote: Hi Stephen, On 30 July 2014 20:57, Stephen Warre

Re: [U-Boot] [PATCH v3 14/16] tegra: dts: Add serial port details

2014-08-04 Thread Simon Glass
Hi Stephen, On 4 August 2014 11:47, Stephen Warren wrote: > > On 08/04/2014 04:43 AM, Simon Glass wrote: >> >> On 1 August 2014 15:50, Stephen Warren wrote: > > ... > >>> DT schemas/bindings MUST be identical between U-Boot, Linux, FreeBSD, >>> Barebox, ... (all of which use DT). As such, all th

Re: [U-Boot] [PATCH 7/7] sunxi: Add environment settings to make extlinux.conf booting work

2014-08-04 Thread Tom Rini
On Mon, Aug 04, 2014 at 11:31:14AM -0600, Stephen Warren wrote: > On 08/01/2014 07:53 PM, Tom Rini wrote: > >On Fri, Aug 01, 2014 at 03:43:23PM -0600, Stephen Warren wrote: > >>On 08/01/2014 02:43 PM, Tom Rini wrote: > >>>On Fri, Aug 01, 2014 at 02:22:40PM -0600, Stephen Warren wrote: > On 08/0

Re: [U-Boot] [PATCH 1/4] Add option -r to env import to allow import of text files with CRLF as line endings

2014-08-04 Thread Alexander Holler
Am 04.08.2014 12:00, schrieb Måns Rullgård: Alexander Holler writes: Why not just make "env import" treat \r like any other whitespace? It would be a slight change from current behaviour, but the chance that someone actually relies on a trailing \r being part of the value is vanishingly smal

Re: [U-Boot] [PATCH] ARM: tegra: add Colibri T30 board support

2014-08-04 Thread Stephen Warren
On 08/04/2014 12:38 PM, Stefan Agner wrote: Am 2014-08-04 19:02, schrieb Stephen Warren: On 08/02/2014 08:09 AM, Stefan Agner wrote: Am 2014-07-31 20:21, schrieb Stephen Warren: On 07/31/2014 11:36 AM, Stefan Agner wrote: This adds board support for the Toradex Colibri T30 module. Working fu

Re: [U-Boot] Removing the need for boards.cfg

2014-08-04 Thread York Sun
On 08/01/2014 06:53 AM, Masahiro Yamada wrote: > > If MAKEALL/buildman is invoked without any arguments > (which means build all the board), > boards.cfg is not necessary in the first place. > > It that case, can we skip generating boards.cfg ? > (We can get the board list by 'ls configs' ) > >

Re: [U-Boot] [PATCH v2] ARM: tegra: Add support for norrin board

2014-08-04 Thread Stephen Warren
On 08/04/2014 12:38 PM, Allen Martin wrote: On Thu, Jul 31, 2014 at 04:21:43PM -0700, Stephen Warren wrote: On 07/31/2014 05:14 PM, Allen Martin wrote: Norrin (PM370) is a Tegra124 clamshell board that is very similar to venice2, but it has a different panel, the sdcard cd and wp sense are flip

Re: [U-Boot] [PATCH v3 14/16] tegra: dts: Add serial port details

2014-08-04 Thread Jeroen Hofstee
Hello Tom, +Warner, +Julien Grall, On 04-08-14 20:11, Tom Rini wrote: On Mon, Aug 04, 2014 at 11:47:56AM -0600, Stephen Warren wrote: On 08/04/2014 04:43 AM, Simon Glass wrote: On 1 August 2014 15:50, Stephen Warren wrote: ... DT schemas/bindings MUST be identical between U-Boot, Linux, Fre

Re: [U-Boot] [PATCH v2] ARM: tegra: Add support for norrin board

2014-08-04 Thread Allen Martin
On Thu, Jul 31, 2014 at 04:21:43PM -0700, Stephen Warren wrote: > On 07/31/2014 05:14 PM, Allen Martin wrote: > > Norrin (PM370) is a Tegra124 clamshell board that is very similar to > > venice2, but it has a different panel, the sdcard cd and wp sense are > > flipped, and it has a different revisi

Re: [U-Boot] [PATCH] ARM: tegra: add Colibri T30 board support

2014-08-04 Thread Stefan Agner
Am 2014-08-04 19:02, schrieb Stephen Warren: > On 08/02/2014 08:09 AM, Stefan Agner wrote: >> Am 2014-07-31 20:21, schrieb Stephen Warren: >>> On 07/31/2014 11:36 AM, Stefan Agner wrote: This adds board support for the Toradex Colibri T30 module. Working functions: - SD card boo

Re: [U-Boot] [PATCH 5/7] sunxi-common.h: Use new generic $bootcmd

2014-08-04 Thread Hans de Goede
Hi, On 08/01/2014 08:54 PM, Stephen Warren wrote: > On 08/01/2014 01:46 AM, Hans de Goede wrote: >> Use the new standard bootcmd from . > > Acked-by: Stephen Warren Thanks for the review. >> diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h > >> +#ifdef CONFIG_AHCI

Re: [U-Boot] [PATCH] pxe: Allow use of environment variables in append string

2014-08-04 Thread Hans de Goede
Hi, On 08/01/2014 09:07 PM, Stephen Warren wrote: > On 08/01/2014 03:21 AM, Hans de Goede wrote: >> Use run_command("setenv bootargs append>") so that environment >> variables (e.g. $console) can be used in append strings. > > I'm slightly worried that this changes the semantics of the append lin

Re: [U-Boot] CPU Wachtog for P2041

2014-08-04 Thread York Sun
On 06/03/2014 12:05 AM, Rainer Boschung wrote: > I am using the core watchdog of the P2041 on the kmp204x board. > > For the watchdog initialization I use the mpc85xx framework and > the powerpc register definitions. However, I had to modify both > for the following reasons (Patches 1 to 4): > -

Re: [U-Boot] [PATCH] ARM: tegra: add Colibri T30 board support

2014-08-04 Thread Stefan Agner
Am 2014-08-04 19:16, schrieb Tom Rini: > On Mon, Aug 04, 2014 at 11:02:28AM -0600, Stephen Warren wrote: >> On 08/02/2014 08:09 AM, Stefan Agner wrote: >> >Am 2014-07-31 20:21, schrieb Stephen Warren: >> >>On 07/31/2014 11:36 AM, Stefan Agner wrote: >> >>>This adds board support for the Toradex Col

Re: [U-Boot] [PATCH 03/15] tegra: kconfig: move board select menu and common settings

2014-08-04 Thread Stephen Warren
On 08/04/2014 07:19 AM, Masahiro Yamada wrote: Becuase the board select menu in arch/arm/Kconfig is too big, move the Tegra board select menu to tegra/Kconfig. Insert the Tegra SoC select menu between the arch select and the board select. Architecture select |-- Tegra Platform (Tegra)

Re: [U-Boot] [PATCH v3 14/16] tegra: dts: Add serial port details

2014-08-04 Thread Tom Rini
On Mon, Aug 04, 2014 at 11:47:56AM -0600, Stephen Warren wrote: > On 08/04/2014 04:43 AM, Simon Glass wrote: > >On 1 August 2014 15:50, Stephen Warren wrote: > ... > >>DT schemas/bindings MUST be identical between U-Boot, Linux, FreeBSD, > >>Barebox, ... (all of which use DT). As such, all the DT

Re: [U-Boot] [PATCH 1/3] config: introduce a generic $bootcmd

2014-08-04 Thread Stephen Warren
On 08/04/2014 04:13 AM, Simon Glass wrote: Hi Stephen, On 31 July 2014 17:00, Stephen Warren wrote: On 07/31/2014 04:03 PM, Simon Glass wrote: Hi Stephen, On 30 July 2014 23:37, Stephen Warren wrote: From: Dennis Gilmore This generic $bootcmd, and associated support macros, automatical

Re: [U-Boot] [PATCH] Makefile: restore *_config target

2014-08-04 Thread Jeroen Hofstee
Hello Masahiro, On 04-08-14 03:51, Masahiro Yamada wrote: Hi Jeroen, On Fri, 1 Aug 2014 21:28:54 +0200 Jeroen Hofstee wrote: The switch to KConfig break the [board]_config target. This breaks backwards compatibility and hence all documentation about how to build u-boot is no longer valid.

Re: [U-Boot] [PATCH v3 14/16] tegra: dts: Add serial port details

2014-08-04 Thread Stephen Warren
On 08/04/2014 04:43 AM, Simon Glass wrote: On 1 August 2014 15:50, Stephen Warren wrote: ... DT schemas/bindings MUST be identical between U-Boot, Linux, FreeBSD, Barebox, ... (all of which use DT). As such, all the DT bindings MUST be discussed on the devicetree mailing list. Since you're th

Re: [U-Boot] Driver Model and DTS Parsing

2014-08-04 Thread Stephen Warren
On 08/04/2014 04:22 AM, Simon Glass wrote: Hi Stephen, On 31 July 2014 12:04, Stephen Warren wrote: On 07/31/2014 03:56 AM, Simon Glass wrote: Hi Stephen, On 30 July 2014 20:57, Stephen Warren mailto:swar...@wwwdotorg.org>> wrote: On 07/30/2014 10:09 AM, Simon Glass wrote: H

Re: [U-Boot] [PATCH] Makefile: restore *_config target

2014-08-04 Thread Jeroen Hofstee
Hello Simon, On 04-08-14 12:09, Simon Glass wrote: Hi Jeroen, On 1 August 2014 13:28, Jeroen Hofstee wrote: The switch to KConfig break the [board]_config target. This breaks backwards compatibility and hence all documentation about how to build u-boot is no longer valid. It is also annoying

Re: [U-Boot] [PATCH 7/7] sunxi: Add environment settings to make extlinux.conf booting work

2014-08-04 Thread Stephen Warren
On 08/01/2014 07:53 PM, Tom Rini wrote: On Fri, Aug 01, 2014 at 03:43:23PM -0600, Stephen Warren wrote: On 08/01/2014 02:43 PM, Tom Rini wrote: On Fri, Aug 01, 2014 at 02:22:40PM -0600, Stephen Warren wrote: On 08/01/2014 02:05 PM, Dennis Gilmore wrote: On Fri, 01 Aug 2014 12:57:31 -0600 Step

Re: [U-Boot] [PATCH] drivers: rtc: remove dead drivers

2014-08-04 Thread Tom Rini
On Wed, Jul 30, 2014 at 07:20:03PM +0900, Masahiro Yamada wrote: > The following configs are not defined at all: > > - CONFIG_RTC_DS1388 > - CONFIG_RTC_ISL1208 > - CONFIG_RTC_MX27 > - CONFIG_RTC_PL031 > - CONFIG_RTC_RS5C372A > - CONFIG_SYS_DS1388_TCR_VAL > > Signed-off-by: Masahiro Yamada

Re: [U-Boot] [linux-sunxi] Re: [PATCH] video: add cfb console driver for sunxi

2014-08-04 Thread Luc Verhaegen
On Mon, Aug 04, 2014 at 05:31:36PM +0200, Henrik Nordström wrote: > mån 2014-08-04 klockan 17:05 +0200 skrev Luc Verhaegen: > > But... What do we do when u-boot sets up cfb, without setting up a > > simplefb node in the dt. Or what do we do when a simplefb node is set > > up, but no simplefb code

Re: [U-Boot] [PATCH 09/15] omap3: kconfig: move board select menu and common settings

2014-08-04 Thread Tom Rini
On Mon, Aug 04, 2014 at 10:19:22PM +0900, Masahiro Yamada wrote: > Becuase the board select menu in arch/arm/Kconfig is too big, > move the OMAP3 board select menu to omap3/Kconfig. > > Move also common settings (CONFIG_SYS_CPU="armv7" and > CONFIG_SYS_SOC="omap3 > > Signed-off-by: Masahiro Yama

Re: [U-Boot] [PATCH 08/15] davinci: kconfig: move board select menu and common settings

2014-08-04 Thread Tom Rini
On Mon, Aug 04, 2014 at 10:19:21PM +0900, Masahiro Yamada wrote: > Becuase the board select menu in arch/arm/Kconfig is too big, > move the Davinci board select menu to davinci/Kconfig. > > Move also common settings (CONFIG_SYS_CPU="arm926ejs" and > CONFIG_SYS_SOC="davinci"). > > Signed-off-by:

Re: [U-Boot] [PATCH 10/15] omap4: kconfig: move board select menu and common settings

2014-08-04 Thread Tom Rini
On Mon, Aug 04, 2014 at 10:19:23PM +0900, Masahiro Yamada wrote: > Becuase the board select menu in arch/arm/Kconfig is too big, > move the OMAP4 board select menu to omap4/Kconfig. > > Move also common settings (CONFIG_SYS_CPU="armv7" and > CONFIG_SYS_SOC="omap4"). > > Signed-off-by: Masahiro Y

Re: [U-Boot] [PATCH 01/15] omap: remove omap5912osk board support

2014-08-04 Thread Tom Rini
On Mon, Aug 04, 2014 at 10:19:14PM +0900, Masahiro Yamada wrote: > Emails to the board maintainer > "Rishi Bhattacharya " > have been bouncing. > > Tom suggested to remove this board. > > Remove also omap1510_udc.c because this is the last board > to enable it. > > Signed-off-by: Masahiro Yamad

Re: [U-Boot] [PATCH 11/15] omap5: kconfig: move board select menu and common settings

2014-08-04 Thread Tom Rini
On Mon, Aug 04, 2014 at 10:19:24PM +0900, Masahiro Yamada wrote: > Becuase the board select menu in arch/arm/Kconfig is too big, > move the OMAP5 board select menu to omap5/Kconfig. > > Move also common settings (CONFIG_SYS_CPU="armv7" and > CONFIG_SYS_SOC="omap5"). > > Signed-off-by: Masahiro Y

Re: [U-Boot] [PATCH 12/15] keystone: kconfig: move board select menu and common settings

2014-08-04 Thread Tom Rini
On Mon, Aug 04, 2014 at 10:19:25PM +0900, Masahiro Yamada wrote: > Becuase the board select menu in arch/arm/Kconfig is too big, > move the Keystone board select menu to keystone/Kconfig. > > Move also common settings (CONFIG_SYS_CPU="armv7" and > CONFIG_SYS_SOC="keystone"). > > Signed-off-by: M

Re: [U-Boot] [PATCH] ARM: tegra: add Colibri T30 board support

2014-08-04 Thread Tom Rini
On Mon, Aug 04, 2014 at 11:02:28AM -0600, Stephen Warren wrote: > On 08/02/2014 08:09 AM, Stefan Agner wrote: > >Am 2014-07-31 20:21, schrieb Stephen Warren: > >>On 07/31/2014 11:36 AM, Stefan Agner wrote: > >>>This adds board support for the Toradex Colibri T30 module. > >>> > >>>Working functions

Re: [U-Boot] [PATCH] ARM: tegra: add Colibri T30 board support

2014-08-04 Thread Stephen Warren
On 08/02/2014 08:09 AM, Stefan Agner wrote: Am 2014-07-31 20:21, schrieb Stephen Warren: On 07/31/2014 11:36 AM, Stefan Agner wrote: This adds board support for the Toradex Colibri T30 module. Working functions: - SD card boot - eMMC environment and boot - USB host/USB client (on the dual role

Re: [U-Boot] [linux-sunxi] Re: [PATCH] video: add cfb console driver for sunxi

2014-08-04 Thread Michal Suchanek
On 4 August 2014 17:31, Henrik Nordström wrote: > mån 2014-08-04 klockan 17:05 +0200 skrev Luc Verhaegen: >> But... What do we do when u-boot sets up cfb, without setting up a >> simplefb node in the dt. Or what do we do when a simplefb node is set >> up, but no simplefb code is included in the ke

Re: [U-Boot] [PATCH] ARM: tegra: remove custom define for Jetson TK1

2014-08-04 Thread Stephen Warren
On 08/04/2014 04:36 AM, Masahiro Yamada wrote: Hi Stephen, On Fri, 01 Aug 2014 12:36:22 -0600 Stephen Warren wrote: Or you may rename CONFIG_TARGET_JETSON_TK1 to CONFIG_BOARD_JETSON_TK1 or another name. I don't want to force CONFIG_TARGET_ name convention. You can change config names i

Re: [U-Boot] [PATCH v5 05/11] exynos: dts: Adjust device tree files for U-Boot

2014-08-04 Thread Tom Rini
On Mon, Aug 04, 2014 at 06:01:58AM -0600, Simon Glass wrote: > Hi Tom, > > On 30 July 2014 09:34, Simon Glass wrote: > > Hi Tom, > > > > On 28 July 2014 21:27, Tom Rini wrote: > >> On Mon, Jul 28, 2014 at 06:11:32AM -0600, Simon Glass wrote: > >> > >>> The pinctrl bindings used by Linux are an i

Re: [U-Boot] Quick guide to Kconfig

2014-08-04 Thread Ian Campbell
On Mon, 2014-08-04 at 11:49 -0400, Tom Rini wrote: > On Fri, Aug 01, 2014 at 01:42:15PM +0900, Masahiro Yamada wrote: > > Hi Ian, > > > > > > > > > > On Thu, 31 Jul 2014 16:07:54 +0100 > > Ian Campbell wrote: > > > > > On Thu, 2014-07-31 at 16:38 +0200, Hans de Goede wrote: > > > > make Foo_d

Re: [U-Boot] Quick guide to Kconfig

2014-08-04 Thread Tom Rini
On Mon, Aug 04, 2014 at 05:15:21AM -0600, Simon Glass wrote: > Hi Masahiro, > > On 30 July 2014 22:51, Masahiro Yamada wrote: > > Hi all, > > > > > > > > The mainline has switched to Kconfig. > > > > Please make sure to use "make _defconfig" > > instead of "make _config". > > Once this thread is

Re: [U-Boot] Quick guide to Kconfig

2014-08-04 Thread Tom Rini
On Fri, Aug 01, 2014 at 01:42:15PM +0900, Masahiro Yamada wrote: > Hi Ian, > > > > > On Thu, 31 Jul 2014 16:07:54 +0100 > Ian Campbell wrote: > > > On Thu, 2014-07-31 at 16:38 +0200, Hans de Goede wrote: > > > make Foo_defconfig > > > make menuconfig > > > > > > make > > > > I was hoping th

Re: [U-Boot] [linux-sunxi] Re: [PATCH] video: add cfb console driver for sunxi

2014-08-04 Thread Henrik Nordström
mån 2014-08-04 klockan 17:05 +0200 skrev Luc Verhaegen: > But... What do we do when u-boot sets up cfb, without setting up a > simplefb node in the dt. Or what do we do when a simplefb node is set > up, but no simplefb code is included in the kernel? Well, we then either > need to claim the clock

Re: [U-Boot] Quick guide to Kconfig

2014-08-04 Thread Hans de Goede
Hi, On 08/04/2014 04:27 PM, Tom Rini wrote: > On Fri, Aug 01, 2014 at 01:37:54PM +0900, Masahiro Yamada wrote: > > [snip] >> We had multiple entries in boards.cfg per board >> (with some differences in the options field) >> and I generated the correspoing defconfig files. >> >> But I guess it wou

Re: [U-Boot] [PATCH] ARM: HYP/non-sec: Add MIDR check to detect unsupported CPUs

2014-08-04 Thread Marc Zyngier
Hi Siarhei, On 03/08/14 03:36, Siarhei Siamashka wrote: > Unlike 9d195a546179bc732aba9eacccf0a9a3db591288, which had removed > the MIDR check against the "white list" of supported CPUs earlier, > now we introduce the "black list" of unsupported CPUs. > > The current PSCI code is not compatible wi

Re: [U-Boot] [PATCH 12/18] arm: mx6: add support for Compulab cm-fx6 CoM

2014-08-04 Thread Marek Vasut
On Monday, August 04, 2014 at 04:41:03 PM, Nikita Kiryanov wrote: > On 03/08/14 17:09, Marek Vasut wrote: > > On Sunday, August 03, 2014 at 09:34:42 AM, Nikita Kiryanov wrote: > >> Add initial support for Compulab CM-FX6 CoM. > >> Support includes MMC, SPI flash, and SPL with dynamic DRAM detection

Re: [U-Boot] [PATCH] video: add cfb console driver for sunxi

2014-08-04 Thread Luc Verhaegen
On Mon, Aug 04, 2014 at 10:39:13AM +0200, Hans de Goede wrote: > Hi Luc, > > First of all many thanks for your work on this. > > ATM I don't have time to do a full review, but I don't expect there > to be too many suprises when I do find the time. > > Really my only concern is the handover of th

Re: [U-Boot] [PATCH 03/18] sf: fix sf probe

2014-08-04 Thread Tom Rini
On Mon, Aug 04, 2014 at 05:19:28PM +0300, Nikita Kiryanov wrote: > > > On 04/08/14 17:02, Tom Rini wrote: > >On Mon, Aug 04, 2014 at 04:45:57PM +0300, Nikita Kiryanov wrote: > >> > >> > >>On 04/08/14 16:10, Marek Vasut wrote: > >>>On Monday, August 04, 2014 at 02:48:54 PM, Nikita Kiryanov wrote:

Re: [U-Boot] [PATCH 12/18] arm: mx6: add support for Compulab cm-fx6 CoM

2014-08-04 Thread Nikita Kiryanov
On 03/08/14 17:09, Marek Vasut wrote: On Sunday, August 03, 2014 at 09:34:42 AM, Nikita Kiryanov wrote: Add initial support for Compulab CM-FX6 CoM. Support includes MMC, SPI flash, and SPL with dynamic DRAM detection. Cc: Igor Grinberg Cc: Stefano Babic Cc: Tom Rini Signed-off-by: Nikita

Re: [U-Boot] Quick guide to Kconfig

2014-08-04 Thread Tom Rini
On Fri, Aug 01, 2014 at 01:37:54PM +0900, Masahiro Yamada wrote: [snip] > We had multiple entries in boards.cfg per board > (with some differences in the options field) > and I generated the correspoing defconfig files. > > But I guess it would be painful to maintain lots of defconfigs. > > I ex

Re: [U-Boot] [PATCH 12/18] arm: mx6: add support for Compulab cm-fx6 CoM

2014-08-04 Thread Nikita Kiryanov
On 04/08/14 09:02, Tim Harvey wrote: On Sun, Aug 3, 2014 at 12:34 AM, Nikita Kiryanov wrote: Add initial support for Compulab CM-FX6 CoM. Support includes MMC, SPI flash, and SPL with dynamic DRAM detection. diff --git a/include/configs/cm_fx6.h b/include/configs/cm_fx6.h new file mode 10

Re: [U-Boot] [PATCH 03/18] sf: fix sf probe

2014-08-04 Thread Marek Vasut
On Monday, August 04, 2014 at 04:11:57 PM, Nikita Kiryanov wrote: > On 04/08/14 16:51, Marek Vasut wrote: > > On Monday, August 04, 2014 at 03:45:57 PM, Nikita Kiryanov wrote: > >> On 04/08/14 16:10, Marek Vasut wrote: > >>> On Monday, August 04, 2014 at 02:48:54 PM, Nikita Kiryanov wrote: > H

[U-Boot] [PATCH v2] ARM: DRA: Enable VTT regulator

2014-08-04 Thread Lokesh Vutla
DRA7 evm REV G and later boards uses a vtt regulator for DDR3 termination and this is controlled by gpio7_11. Configuring gpio7_11. The pad A22(offset 0x3b4) is used by gpio7_11 on REV G and later boards, and left unused on previous boards, so it is safe enough to enable gpio on all DRA7 boards. S

Re: [U-Boot] [PATCH 03/18] sf: fix sf probe

2014-08-04 Thread Nikita Kiryanov
On 04/08/14 17:02, Tom Rini wrote: On Mon, Aug 04, 2014 at 04:45:57PM +0300, Nikita Kiryanov wrote: On 04/08/14 16:10, Marek Vasut wrote: On Monday, August 04, 2014 at 02:48:54 PM, Nikita Kiryanov wrote: Hi Marek, On 03/08/14 16:46, Marek Vasut wrote: On Sunday, August 03, 2014 at 09:34:

Re: [U-Boot] [PATCH 03/18] sf: fix sf probe

2014-08-04 Thread Nikita Kiryanov
On 04/08/14 16:51, Marek Vasut wrote: On Monday, August 04, 2014 at 03:45:57 PM, Nikita Kiryanov wrote: On 04/08/14 16:10, Marek Vasut wrote: On Monday, August 04, 2014 at 02:48:54 PM, Nikita Kiryanov wrote: Hi Marek, On 03/08/14 16:46, Marek Vasut wrote: On Sunday, August 03, 2014 at 09:3

  1   2   >