Re: [U-Boot] Memory test post relocation

2014-11-15 Thread Albert ARIBAUD
Hello DaveKucharczyk, On Fri, 14 Nov 2014 15:22:43 -0700 (MST), DaveKucharczyk david.kucharc...@gmail.com wrote: If I set CONFIG_SYS_TEXT_BASE to start of RAM then I get no boot. Is there some kind of vector setup at the beginning of RAM? Possibly. Why not use 0x7780 as mx53loco uses now?

Re: [U-Boot] Memory test post relocation

2014-11-15 Thread Albert ARIBAUD
Hello DaveKucharczyk, On Fri, 14 Nov 2014 13:20:09 -0700 (MST), DaveKucharczyk david.kucharc...@gmail.com wrote: Old u-boot was u-boot-2009.08. I guess the main source of frustration the last 3 weeks could be attributed to my lack of experience with u-boot and the fact that we were working

Re: [U-Boot] Query on CONFIG_SYS_THUMB_BUILD

2014-11-15 Thread Albert ARIBAUD
Hello Simon, On Fri, 14 Nov 2014 18:56:07 -0700, Simon Glass s...@chromium.org wrote: I believe you've built crt0.S for ARM, not Thumb. Yes, but I suspect that is a function of the build system. I checked the rest of U-Boot and most of it (including SPL) is Thumb 2. I suppose we could use

Re: [U-Boot] [PATCH v6 0/5] add i.MX6 thermal sensor driver

2014-11-15 Thread Albert ARIBAUD
Hello nitin.g...@freescale.com, On Fri, 14 Nov 2014 14:13:02 -0600, nitin.g...@freescale.com nitin.g...@freescale.com wrote: From: Nitin Garg nitin.g...@freescale.com This patch set adds i.MX6 thermal sensor driver and enables it for mx6sabre boards. Also adds various anadig bit definitions

Re: [U-Boot] Memory test post relocation

2014-11-15 Thread Albert ARIBAUD
On Sat, 15 Nov 2014 13:26:49 +0100, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Wolfgang and myself at least have already toched on the subject: s/toched/touched/ Amicalement, -- Albert. ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] iMX6 DDR Calibration Value

2014-11-15 Thread Nikolay Dimitrov
Hi John, On 11/14/2014 03:19 AM, John Tobias wrote: Hi Fabio / Stefano, May be you could help me to get some answer regarding with calibrations value for DDR. I have a 4 custom boards based on iMX6SL (2) Micron DDR and (2) Samsung DDR. The boards has exact DDR footprints (like density, bus

Re: [U-Boot] [PATCH 3/6] spi: Add designware master SPI DM driver used on SoCFPGA

2014-11-15 Thread Stefan Roese
On 14.11.2014 21:16, Marek Vasut wrote: On Wednesday, November 12, 2014 at 06:51:42 PM, Pavel Machek wrote: Hi! You tripped my spell-checker, sorry. This patch adds the driver for the Designware master SPI controller. This IP core is integrated on the Altera SoCFPGA. This implementation is a

Re: [U-Boot] [PATCH 6/6] arm: socfpga: Add Designware (DW) SPI support to config header

2014-11-15 Thread Stefan Roese
On 14.11.2014 21:18, Marek Vasut wrote: On Wednesday, November 12, 2014 at 06:53:54 PM, Pavel Machek wrote: On Fri 2014-11-07 13:50:34, Stefan Roese wrote: Enable support for the DW master SPI controller in the config header for the SoCFPGA. This controller can only be enabled, if DT support

Re: [U-Boot] [PATCH 3/6] spi: Add designware master SPI DM driver used on SoCFPGA

2014-11-15 Thread Marek Vasut
On Saturday, November 15, 2014 at 02:33:27 PM, Stefan Roese wrote: On 14.11.2014 21:16, Marek Vasut wrote: On Wednesday, November 12, 2014 at 06:51:42 PM, Pavel Machek wrote: Hi! You tripped my spell-checker, sorry. This patch adds the driver for the Designware master SPI

Re: [U-Boot] [PATCH 6/6] arm: socfpga: Add Designware (DW) SPI support to config header

2014-11-15 Thread Marek Vasut
On Saturday, November 15, 2014 at 02:35:03 PM, Stefan Roese wrote: On 14.11.2014 21:18, Marek Vasut wrote: On Wednesday, November 12, 2014 at 06:53:54 PM, Pavel Machek wrote: On Fri 2014-11-07 13:50:34, Stefan Roese wrote: Enable support for the DW master SPI controller in the config header

Re: [U-Boot] [PATCH 3/6] sunxi: video: Add cfb console driver for sunxi

2014-11-15 Thread Hans de Goede
Hi, On 11/14/2014 09:24 PM, Anatolij Gustschin wrote: On Fri, 14 Nov 2014 21:17:39 +0100 Anatolij Gustschin ag...@denx.de wrote: ... this patch looks good, only a few minor comments below. I forgot to mention that with these comments addressed, you can add Thanks for the review! I'll go

Re: [U-Boot] [PATCH 5/6] sunxi: video: Add simplefb support

2014-11-15 Thread Hans de Goede
Hi, On 11/14/2014 11:22 PM, Anatolij Gustschin wrote: On Fri, 14 Nov 2014 17:54:47 +0100 Hans de Goede hdego...@redhat.com wrote: ... diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index 532fdb7..d7d8571 100644 --- a/include/configs/sunxi-common.h +++

[U-Boot] [PATCH 1/2] wandboard: Fix error handling in board_mmc_init()

2014-11-15 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com When an invalid USDHC port is passed we should return -EINVAL instead of 0. Also, return the error immediately on fsl_esdhc_initialize() failure. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- board/wandboard/wandboard.c | 10

[U-Boot] [PATCH 2/2] mx53loco: Fix error handling in board_mmc_init()

2014-11-15 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com When an invalid USDHC port is passed we should return -EINVAL instead of 0. Also, return the error immediately on fsl_esdhc_initialize() failure. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- board/freescale/mx53loco/mx53loco.c |

[U-Boot] [PATCH] mx6sabresd: State that only mx6q is supported in SPL

2014-11-15 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Make clear that current SPL code only supports the mx6q variant. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- board/freescale/mx6sabresd/mx6sabresd.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

Re: [U-Boot] [PATCH v2] arm: socfpga: set skew settings for ethernet phy

2014-11-15 Thread Pavel Machek
On Fri 2014-11-14 21:02:48, Marek Vasut wrote: On Friday, November 14, 2014 at 11:23:27 AM, Pavel Machek wrote: On Thu 2014-11-13 11:23:41, dingu...@opensource.altera.com wrote: From: Dinh Nguyen dingu...@opensource.altera.com Set the PHY skew settings for the ethernet phy on the

Re: [U-Boot] [PATCH 0/2] spl: MMC U-Boot image load from raw partition

2014-11-15 Thread Albert ARIBAUD
Hello Paul, On Thu, 13 Nov 2014 23:16:09 +0100, Paul Kocialkowski cont...@paulk.fr wrote: Le jeudi 13 novembre 2014 à 12:16 +0100, Albert ARIBAUD a écrit : Hello Tom, On Mon, 10 Nov 2014 13:46:09 -0500, Tom Rini tr...@ti.com wrote: On Sat, Nov 08, 2014 at 11:19:23PM +0100, Albert

Re: [U-Boot] [PATCH v2] arm: socfpga: set skew settings for ethernet phy

2014-11-15 Thread Marek Vasut
On Saturday, November 15, 2014 at 08:54:06 PM, Pavel Machek wrote: On Fri 2014-11-14 21:02:48, Marek Vasut wrote: On Friday, November 14, 2014 at 11:23:27 AM, Pavel Machek wrote: On Thu 2014-11-13 11:23:41, dingu...@opensource.altera.com wrote: From: Dinh Nguyen

Re: [U-Boot] Query on CONFIG_SYS_THUMB_BUILD

2014-11-15 Thread Simon Glass
Hi Albert, On 15 November 2014 05:30, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hello Simon, On Fri, 14 Nov 2014 18:56:07 -0700, Simon Glass s...@chromium.org wrote: I believe you've built crt0.S for ARM, not Thumb. Yes, but I suspect that is a function of the build system. I

Re: [U-Boot] [PATCH v2] arm: socfpga: set skew settings for ethernet phy

2014-11-15 Thread Pavel Machek
On Sat 2014-11-15 22:29:00, Marek Vasut wrote: On Saturday, November 15, 2014 at 08:54:06 PM, Pavel Machek wrote: On Fri 2014-11-14 21:02:48, Marek Vasut wrote: On Friday, November 14, 2014 at 11:23:27 AM, Pavel Machek wrote: On Thu 2014-11-13 11:23:41, dingu...@opensource.altera.com

Re: [U-Boot] [PATCH v6 0/5] add i.MX6 thermal sensor driver

2014-11-15 Thread Nitin Garg
On 11/15/2014 06:34 AM, Albert ARIBAUD wrote: Hello nitin.g...@freescale.com, On Fri, 14 Nov 2014 14:13:02 -0600, nitin.g...@freescale.com nitin.g...@freescale.com wrote: From: Nitin Garg nitin.g...@freescale.com This patch set adds i.MX6 thermal sensor driver and enables it for mx6sabre

[U-Boot] [PATCH 2/7] common/board_f: fix gcc warning on MIPS64

2014-11-15 Thread Daniel Schwierzeck
This fixes following warning when compiled with MIPS64 common/board_f.c: In function 'display_text_info': common/board_f.c:150:2: warning: format '%X' expects argument i of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] debug(U-Boot code: %08X - %08lX BSS: -

[U-Boot] [PATCH 3/7] MIPS: dbau1x00: switch to generic board

2014-11-15 Thread Daniel Schwierzeck
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com --- include/configs/dbau1x00.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/dbau1x00.h b/include/configs/dbau1x00.h index e0bf3dc..8a7447d 100644 --- a/include/configs/dbau1x00.h +++

[U-Boot] [PATCH 1/7] common/board_f: add setup of initial stack frame for MIPS

2014-11-15 Thread Daniel Schwierzeck
The MIPS specific setup of the initial stack frame was not ported to generic board_f. Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com --- common/board_f.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/common/board_f.c b/common/board_f.c index

[U-Boot] [PATCH 0/7] MIPS: convert all boards to generic-board

2014-11-15 Thread Daniel Schwierzeck
Daniel Schwierzeck (7): common/board_f: add setup of initial stack frame for MIPS common/board_f: fix gcc warning on MIPS64 MIPS: dbau1x00: switch to generic board MIPS: pb1x00: switch to generic board MIPS: qemu_mips: switch to generic board MIPS: vct: switch to generic board

[U-Boot] [PATCH 7/7] MIPS: remove board.c

2014-11-15 Thread Daniel Schwierzeck
After all MIPS boards are switched to generic-board, the MIPS specific board.c can be removed. Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com --- arch/mips/lib/Makefile | 3 - arch/mips/lib/board.c | 320 - 2 files changed, 323

[U-Boot] [PATCH 5/7] MIPS: qemu_mips: switch to generic board

2014-11-15 Thread Daniel Schwierzeck
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com --- include/configs/qemu-mips.h | 3 +++ include/configs/qemu-mips64.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/include/configs/qemu-mips.h b/include/configs/qemu-mips.h index 98ed8bc..1548d3e 100644 ---

[U-Boot] [PATCH 6/7] MIPS: vct: switch to generic board

2014-11-15 Thread Daniel Schwierzeck
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com --- include/configs/vct.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/vct.h b/include/configs/vct.h index 217ba2f..83e4163 100644 --- a/include/configs/vct.h +++ b/include/configs/vct.h @@ -25,6 +25,9 @@

[U-Boot] [PATCH 4/7] MIPS: pb1x00: switch to generic board

2014-11-15 Thread Daniel Schwierzeck
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com --- include/configs/pb1x00.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/pb1x00.h b/include/configs/pb1x00.h index 1c04a58..61e6af3 100644 --- a/include/configs/pb1x00.h +++ b/include/configs/pb1x00.h @@

Re: [U-Boot] [patch] net: micrel: configure skew values for

2014-11-15 Thread Marek Vasut
On Saturday, October 25, 2014 at 01:27:52 PM, Pavel Machek wrote: This adds skew timing configuration for micrel ksz9021 configuration. With this patch, I can add #define CONFIG_KSZ9021_CLK_SKEW_ENVmicrel-ksz9021-clk-skew #define CONFIG_KSZ9021_CLK_SKEW_VAL0xf0f0 #define

Re: [U-Boot] [PATCH v2] arm: socfpga: set skew settings for ethernet phy

2014-11-15 Thread Marek Vasut
On Saturday, November 15, 2014 at 11:20:54 PM, Pavel Machek wrote: On Sat 2014-11-15 22:29:00, Marek Vasut wrote: On Saturday, November 15, 2014 at 08:54:06 PM, Pavel Machek wrote: On Fri 2014-11-14 21:02:48, Marek Vasut wrote: On Friday, November 14, 2014 at 11:23:27 AM, Pavel Machek

[U-Boot] [PATCH 0/7] MIPS: bootm fixes and initial device tree support

2014-11-15 Thread Daniel Schwierzeck
This patch series fixes and prepares bootm to initially support the hand over of flattened device trees to the kernel. The first patch fixes the missing initramfs relocation if bootm is used without subcommands. Patches 3 and 4 make the legacy boot interface configurable. Patch 5 adds mem,

[U-Boot] [PATCH 1/7] MIPS: bootm: add missing initramfs relocation

2014-11-15 Thread Daniel Schwierzeck
The initramfs is currently only relocated if the user calls the bootm ramdisk subcommand. If bootm should be used without subcommands, the arch-specific bootm code needs to implement the relocation. Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com --- arch/mips/lib/bootm.c | 20

[U-Boot] [PATCH 2/7] MIPS: bootm: remove unused or redundant header files

2014-11-15 Thread Daniel Schwierzeck
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com --- arch/mips/lib/bootm.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/mips/lib/bootm.c b/arch/mips/lib/bootm.c index f947fd6..e0722d2 100644 --- a/arch/mips/lib/bootm.c +++ b/arch/mips/lib/bootm.c @@ -6,10 +6,7 @@ */

[U-Boot] [PATCH 3/7] MIPS: bootm: refactor preparation of Linux kernel command line

2014-11-15 Thread Daniel Schwierzeck
Move preparation of Linux kernel command line in a separate function and mark it as legacy. Add a Kconfig option to make that legacy mode configurable. Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com --- arch/mips/Kconfig | 13 + arch/mips/lib/bootm.c | 16

[U-Boot] [PATCH 7/7] MIPS: bootm: add bootstage reporting

2014-11-15 Thread Daniel Schwierzeck
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com --- arch/mips/lib/bootm.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/mips/lib/bootm.c b/arch/mips/lib/bootm.c index 426f68a..d9d8396 100644 --- a/arch/mips/lib/bootm.c +++

[U-Boot] [PATCH 4/7] MIPS: bootm: refactor preparation of Linux kernel environment

2014-11-15 Thread Daniel Schwierzeck
Move preparation of Linux kernel environment in a separate function and mark it as legacy. Add a Kconfig option to make that legacy mode configurable. Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com --- arch/mips/Kconfig | 9 + arch/mips/lib/bootm.c | 14

[U-Boot] [PATCH 6/7] MIPS: bootm: prepare a flattened device tree for the kernel

2014-11-15 Thread Daniel Schwierzeck
Add the initial code to prepare a flattened device tree for the kernel like relocating the FDT blob and fixing up the /chosen and /memory nodes. The final hand over to the kernel is not yet implemented. After the community agreed on the MIPS boot interface for device trees, the corresponding code

[U-Boot] [PATCH 5/7] MIPS: bootm: add mem, rd_start and rd_size to kernel command line

2014-11-15 Thread Daniel Schwierzeck
If the user wants to boot a kernel without legacy environment, information like memory size, initrd address and size should be handed over to the kernel in the command line. Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com --- arch/mips/lib/bootm.c | 26 ++

Re: [U-Boot] Query on CONFIG_SYS_THUMB_BUILD

2014-11-15 Thread Albert ARIBAUD
Hello Simon, On Sat, 15 Nov 2014 15:10:47 -0700, Simon Glass s...@chromium.org wrote: Hi Albert, On 15 November 2014 05:30, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hello Simon, On Fri, 14 Nov 2014 18:56:07 -0700, Simon Glass s...@chromium.org wrote: I believe you've built