Re: [U-Boot] [PATCH] spl: fit: Fix non-matching DT names console output

2016-06-04 Thread Lokesh Vutla
On 6/4/2016 12:35 AM, Andreas Dannenberg wrote: When no DTB can be matched successfully to the board that's being used a list of available FIT-embedded DTBs will be output to the console for diagnostic purposes. But rather than the contents of the "description" FDT property a non-existent prope

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

2016-06-04 Thread Marek Vasut
The following changes since commit b2f1858455e99a91aeafe59ac73c6c047106d5e8: arm: lib: fix push/pop-section directives (2016-06-03 15:14:11 -0400) are available in the git repository at: git://git.denx.de/u-boot-usb.git master for you to fetch changes up to 10db7500369ea000af4c4c5b039b7946c

Re: [U-Boot] [PATCH v3 0/3] usb: Move some CONFIGs to Kconfig

2016-06-04 Thread Masahiro Yamada
2016-06-04 7:44 GMT+09:00 Marek Vasut : > On 06/04/2016 12:35 AM, Masahiro Yamada wrote: >> The patches in u-boot-usb are stale now, >> so I regenerated new ones based on >> commit 8b528709c5bba6a8d0ec83b20545bbd75f082704. > > Applied all three instead, thanks Then, please send a PR soon. (This se

Re: [U-Boot] [PATCH v5 0/2] Initial support for s32v234

2016-06-04 Thread Eddy Petrișor
Pe 5 iun. 2016 3:52 a.m., "Fabio Estevam" a scris: > > On Sat, Jun 4, 2016 at 8:59 PM, Eddy Petrișor wrote: > > > The board has been having support in our vendor branch a lot before > > the Freescale - NXP unification/aquisition. Since the device trees > > should not be changed, we consider that

Re: [U-Boot] [PATCH v5 0/2] Initial support for s32v234

2016-06-04 Thread Fabio Estevam
On Sat, Jun 4, 2016 at 8:59 PM, Eddy Petrișor wrote: > The board has been having support in our vendor branch a lot before > the Freescale - NXP unification/aquisition. Since the device trees > should not be changed, we consider that moving the board under nxp is > incompatible with the "don't ma

[U-Boot] [PATCH v6 2/2] armv8: s32v234: Introduce basic support for s32v234evb

2016-06-04 Thread Eddy Petrișor
From: Eddy Petrișor Add initial support for NXP's S32V234 SoC and S32V234EVB board. The S32V230 family is designed to support computation-intensive applications for image processing. The S32V234, as part of the S32V230 family, is a high-performance automotive processor designed to support safe c

[U-Boot] [PATCH v6 0/2] Initial support for s32v234

2016-06-04 Thread Eddy Petrișor
Sixth version. It seems I reintroduced the typo ficed in v4 again in v5. I was testing on an unsquashed equivalent branch, so I missed the typo reintroduction. Sorry for this. Eddy Petrișor (1): armv8: s32v234: Introduce basic support for s32v234evb Stoica Cosmin-Stefan (1): serial: Introdu

[U-Boot] [PATCH v6 1/2] serial: Introduce linflex uart support

2016-06-04 Thread Eddy Petrișor
From: Stoica Cosmin-Stefan The Linflex module is integrated on some NXP automotive SoCs part of the former Freescale portfolio, like S32V234, an SoC for Advanced Driver Assistance Systems. Original-signed-off-by: Stoica Cosmin-Stefan Original-signed-off-by: Chircu Bogdan Original-signed-off-by

Re: [U-Boot] [PATCH v5 0/2] Initial support for s32v234

2016-06-04 Thread Eddy Petrișor
2016-06-05 1:23 GMT+03:00 Fabio Estevam : > On Sat, Jun 4, 2016 at 4:18 PM, Eddy Petrișor wrote: > >> board/freescale/s32v234evb/Kconfig | 23 ++ > > What about placing the files under board/nxp instead? The board has been having support in our vendor branch a lot before the Freesca

[U-Boot] [PATCH v1] sunxi: Support booting from SPI flash

2016-06-04 Thread Siarhei Siamashka
Allwinner devices support SPI flash as one of the possible bootable media type. The SPI flash chip needs to be connected to SPI0 pins (port C) to make this work. More information is available at: https://linux-sunxi.org/Bootable_SPI_flash This patch adds the initial support for booting from S

Re: [U-Boot] [PATCH] arm: lib: fix push/pop-section directives

2016-06-04 Thread Marek Vasut
On 06/04/2016 03:04 PM, Tom Rini wrote: > On Sat, Jun 04, 2016 at 02:43:06AM +0200, Marek Vasut wrote: >> On 06/03/2016 09:14 PM, Tom Rini wrote: >>> On Fri, Jun 03, 2016 at 01:05:11PM -0600, Stephen Warren wrote: >>> From: Stephen Warren With the existing code, function symbols are

[U-Boot] [PATCH] arm: lib: Fix fix push/pop-section directives

2016-06-04 Thread Marek Vasut
Repair typos in the previous "arm: lib: fix push/pop-section directives" patch, which prevented VCMA9 board from building. Signed-off-by: Marek Vasut Fixes: b2f1858455e9 ("arm: lib: fix push/pop-section directives") Cc: Tom Warren Cc: Simon Glass Cc: Masahiro Yamada Cc: Stephen Warren --- ar

Re: [U-Boot] [PATCH v5 0/2] Initial support for s32v234

2016-06-04 Thread Fabio Estevam
On Sat, Jun 4, 2016 at 4:18 PM, Eddy Petrișor wrote: > board/freescale/s32v234evb/Kconfig | 23 ++ What about placing the files under board/nxp instead? ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-

[U-Boot] [PATCH v5 0/2] Initial support for s32v234

2016-06-04 Thread Eddy Petrișor
Fifth version of the s32v234evb initial support. This version adds missing DEBUG_UART_FUNCS statement in linflex driver. Eddy Petrișor (1): armv8: s32v234: Introduce basic support for s32v234evb Stoica Cosmin-Stefan (1): serial: Introduce linflex uart support arch/arm/Kconfig

[U-Boot] [RFC] runtime mtdparts_default; was: igep00x0: UBIize

2016-06-04 Thread Ladislav Michl
Hi Enric and all, On Mon, Jan 25, 2016 at 04:56:51PM +0100, Ladislav Michl wrote: > Hi Enric, > > On Mon, Jan 25, 2016 at 08:26:23AM +0100, Enric Balletbo Serra wrote: > > The ROM boot on OMAP reads the first 4 blocks searching for the SPL, > > in production is a practice flash the SPL 4 times. O

Re: [U-Boot] Between 2015.10 and 2016.01, SPI flash changed erase size, and saveenv stopped working

2016-06-04 Thread Fabio Estevam
On Thu, Jun 2, 2016 at 10:41 AM, Pavel Machek wrote: >> Does this quick hack help? I am wondering if yous SPI flash power up >> with the SR field protected: > > This may be stupid but... is it possible that changes made by > write_sr() persist over powerdown? Yes, they do. __

Re: [U-Boot] [PATCH v2] serial: atmel_usart: Add device tree support

2016-06-04 Thread Andreas Bießmann
On 01.06.16 02:36, Wenyou Yang wrote: > Add device tree support. > > Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann > --- > > Changes in v2: > - Add conditional for device tree support. > > drivers/serial/atmel_usart.c | 19 +++ > 1 file changed, 19 insertions(+)

Re: [U-Boot] [PATCH v2 18/18] arm: at91: Add support for gurnard

2016-06-04 Thread Andreas Bießmann
On 05.05.16 15:28, Simon Glass wrote: > From: Andre Renaud > > This board is based on Snapper 9G45 which has an Atmel AT91SAM9G45 chip and > 128MB of SDRAM. It includes a small LCD, 2xUSB host, SD card, Ethernet and > two UARTs. > > Signed-off-by: Andre Renaud > Signed-off-by: Simon Glass Rev

[U-Boot] [PATCH] linux/compat.h: add dev_warn()

2016-06-04 Thread Andreas Bießmann
In order to prevent build errors for copied code from linux introduce dev_warn(). Suggested-by: Scott Wood Signed-off-by: Andreas Bießmann --- This is a replacement patch for '[PATCH v2 14/18] at91: mtd: nand: Add dev_warn() to correct build error in driver' include/linux/compat.h | 2 ++ 1 fi

Re: [U-Boot] [PATCH v2 17/18] fdt: Correct return value in fdtdec_decode_display_timing()

2016-06-04 Thread Andreas Bießmann
On 05.05.16 15:28, Simon Glass wrote: > This should return a non-zero value if there is a missing property. Update > the return value accordingly. The only expected error is -FDT_ERR_NOTFOUND. > > Signed-off-by: Simon Glass Reviewed-by: Andreas Bießmann > --- > > Changes in v2: None > > lib

Re: [U-Boot] [PATCH v2 16/18] at91: video: Support driver-model for the LCD driver

2016-06-04 Thread Andreas Bießmann
On 05.05.16 15:28, Simon Glass wrote: > Add driver-model support to this driver. Most features can be controlled > from the device tree. > > Signed-off-by: Simon Glass Reviewed-by: Andreas Bießmann > --- > > Changes in v2: None > > drivers/video/atmel_lcdfb.c | 91 > +++

Re: [U-Boot] [PATCH v2 15/18] at91: video: Prepare for driver-model conversion

2016-06-04 Thread Andreas Bießmann
On 05.05.16 15:28, Simon Glass wrote: > Adjust the driver to use struct display_timing for its display timing. > This is what is used by driver-model and allows the LCD init code to be > common. > > Signed-off-by: Simon Glass Reviewed-by: Andreas Bießmann > --- > > Changes in v2: None > > d

[U-Boot] [PATCH v5 2/2] armv8: s32v234: Introduce basic support for s32v234evb

2016-06-04 Thread Eddy Petrișor
From: Eddy Petrișor Add initial support for NXP's S32V234 SoC and S32V234EVB board. The S32V230 family is designed to support computation-intensive applications for image processing. The S32V234, as part of the S32V230 family, is a high-performance automotive processor designed to support safe c

[U-Boot] [PATCH v5 1/2] serial: Introduce linflex uart support

2016-06-04 Thread Eddy Petrișor
From: Stoica Cosmin-Stefan The Linflex module is integrated on some NXP automotive SoCs part of the former Freescale portfolio, like S32V234, an SoC for Advanced Driver Assistance Systems. Original-signed-off-by: Stoica Cosmin-Stefan Original-signed-off-by: Chircu Bogdan Original-signed-off-by

[U-Boot] [PATCH] sunxi: Add the ability to pass (script) filesize in the SPL header

2016-06-04 Thread Bernhard Nortmann
Convert one of the "reserved" fields in the sunxi SPL header to a fel_script_length entry. That enables the sunxi-fel utility to pass the script size when booting over USB ("FEL mode"). If board.c encounters a non-zero value in this header field, it will set U-Boot's "filesize" environment variabl

Re: [U-Boot] [PATCH] powerpc/board: SPL: Enable malloc flag in global data.

2016-06-04 Thread York Sun
On 05/25/2016 03:24 AM, Sumit Garg wrote: > For malloc to work in SPL framework enable GD_FLG_FULL_MALLOC_INIT > flag in global data after allocating memory using mem_malloc_init. > > Signed-off-by: Sumit Garg > --- > board/freescale/b4860qds/spl.c | 1 + > board/freescale/c29xpcie/spl.c

[U-Boot] Please pull u-boot-mpc85xx master

2016-06-04 Thread York Sun
Tom, The following changes since commit 8b528709c5bba6a8d0ec83b20545bbd75f082704: spl: fit: Fix load address of fit header (2016-06-01 07:12:38 -0400) are available in the git repository at: git://git.denx.de/u-boot-mpc85xx.git master for you to fetch changes up to 23d4e5ba49b878e01321be2a

Re: [U-Boot] [PATCH] freescale: Tweak various Makefiles to remove redundancy, fix aesthetics

2016-06-04 Thread York Sun
On 04/13/2016 02:50 PM, Robert P. J. Day wrote: > > No intended functional change, just remove redundancies in some > Makefiles, and make whitespace aesthetics uniform. > > Signed-off-by: Robert P. J. Day > > --- > Applied to u-boot-mpc85xx master. Awaiting upstream. Thanks. York _

Re: [U-Boot] [PATCH v5 1/4] dm: gpio: Add driver for MPC85XX GPIO controller

2016-06-04 Thread York Sun
On 05/25/2016 06:16 AM, Mario Six wrote: > From: "mario@gdsys.cc" > > This patch adds a driver for the built-in GPIO controller of the MPC85XX > SoC (probably supporting other PowerQUICC III SoCs as well). > > Each GPIO bank is identified by its own entry in the device tree, i.e. > > gpio-c

Re: [U-Boot] [PATCH] arch/powerpc: Simplify some calculations using ARRAY_SIZE() macro.

2016-06-04 Thread York Sun
On 05/23/2016 03:50 AM, Robert P. J. Day wrote: > > Replace a number of array length calculations with the ARRAY_SIZE() > macro, for clarity. > > Signed-off-by: Robert P. J. Day > > --- Applied to u-boot-mpc85xx master. Awaiting upstream. Thanks. York ___

Re: [U-Boot] [PATCH] board/freescale: Use unified setup_ddr_tlbs for spl boot and non-spl boot

2016-06-04 Thread York Sun
On 05/31/2016 12:49 AM, Shengzhou Liu wrote: > We should use unified setup_ddr_tlbs() for spl boot and non-spl boot > to make sure 'M' bit is set for DDR TLB to maintain cache coherence. > > Signed-off-by: Shengzhou Liu > --- > board/freescale/b4860qds/ddr.c | 8 +++- > board/freescale/t102x

[U-Boot] [PATCH 1/2] ARM: uniphier: support eMMC boot for PH1-LD11 and PH1-LD20

2016-06-04 Thread Masahiro Yamada
The Boot ROM on PH1-LD11/LD20 exports built-in APIs to load images from an eMMC device. They are useful to reduce the memory footprint of SPL, rather than compiling the whole MMC framework. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/boot-mode/Makefile| 4 + arch/arm/mach-u

[U-Boot] [PATCH 2/2] ARM: uniphier: fix boot mode for PH1-LD11

2016-06-04 Thread Masahiro Yamada
This function is shared between PH1-LD11 and PH1-LD20. The difference is the boot-mode latch for the USB boot mode. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/boot-mode/boot-mode-ld20.c | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/arch/

Re: [U-Boot] [PATCH v2] Make FIT support really optional

2016-06-04 Thread Tom Rini
On Fri, Jun 03, 2016 at 04:16:26PM -0300, Carlos Santos wrote: > Due to some mistakes in the source code, it was not possible to really > turn FIT support off. This commit fixes the problem by means of the > following changes: > > - Enclose "bootm_host_load_image" and "bootm_host_load_images" bet

Re: [U-Boot] [PATCH] arm: lib: fix push/pop-section directives

2016-06-04 Thread Tom Rini
On Sat, Jun 04, 2016 at 02:43:06AM +0200, Marek Vasut wrote: > On 06/03/2016 09:14 PM, Tom Rini wrote: > > On Fri, Jun 03, 2016 at 01:05:11PM -0600, Stephen Warren wrote: > > > >> From: Stephen Warren > >> > >> With the existing code, function symbols are defined in .text, and the > >> body is de

Re: [U-Boot] [PATCH v2] Make FIT support really optional

2016-06-04 Thread Otavio Salvador
Hello Carlos, On Fri, Jun 3, 2016 at 4:16 PM, Carlos Santos wrote: > Due to some mistakes in the source code, it was not possible to really > turn FIT support off. This commit fixes the problem by means of the > following changes: > > - Enclose "bootm_host_load_image" and "bootm_host_load_images"

Re: [U-Boot] [PATCH v2 2/7] spl: nand: rename the SYS_NAND_U_BOOT_OFFS Kconfig option

2016-06-04 Thread Boris Brezillon
On Sat, 04 Jun 2016 02:14:09 -0500 Scott Wood wrote: > On Sat, 2016-06-04 at 08:06 +0200, Boris Brezillon wrote: > > On Fri, 03 Jun 2016 20:08:49 -0500 > > Scott Wood wrote: > > > > > This doesn't work. CONFIG_SPL_NAND_U_BOOT_OFFS will always be defined > > > when SPL is defined, and the user

Re: [U-Boot] [PATCH v2 3/7] spl: nand: support redundant u-boot image

2016-06-04 Thread Scott Wood
On Sat, 2016-06-04 at 08:15 +0200, Boris Brezillon wrote: > On Fri, 03 Jun 2016 20:15:16 -0500 > Scott Wood wrote: > > > How does the failure get communicated to later > > parts of the system that would be responsible for such reflashing? > > Linux is taking care of that (a script tries to read

Re: [U-Boot] [PATCH v2 2/7] spl: nand: rename the SYS_NAND_U_BOOT_OFFS Kconfig option

2016-06-04 Thread Scott Wood
On Sat, 2016-06-04 at 08:06 +0200, Boris Brezillon wrote: > On Fri, 03 Jun 2016 20:08:49 -0500 > Scott Wood wrote: > > > This doesn't work. CONFIG_SPL_NAND_U_BOOT_OFFS will always be defined > > when SPL is defined, and the user will be forced to enter a value before > > kconfig will continue (or

[U-Boot] ARMv7 Execution Flow

2016-06-04 Thread James Pollard
Hi, I'm a new U-Boot user. I'm trying to follow the flow of execution for the ARMv7 architecture, and have found myself running into confusion. At the end of arch/arm/cpu/armv7/start.S, lowlevel_init is called. This is defined (for the ARMv7 architecture in arch/arm/cpu/armv7/low_level_init.S (no

[U-Boot] Serial Com1 port not working

2016-06-04 Thread pc.ramachandra
I am using Custom IBM PowerPC 440GX Board.After Dumping the BIN file It is not Display any thing in TeraTerm Mainly i am refereed Ocotea Board. ocotea.c file i am not initialized FPGA because in board we are not using.(Com1 port address also i am changed #define CONFIG_SYS_NS16550_COM1 (CONFIG_S

[U-Boot] [PATCH v2] Make FIT support really optional

2016-06-04 Thread Carlos Santos
Due to some mistakes in the source code, it was not possible to really turn FIT support off. This commit fixes the problem by means of the following changes: - Enclose "bootm_host_load_image" and "bootm_host_load_images" between checks for CONFIG_FIT_SIGNATURE, in common/bootm.c. - Enclose the

Re: [U-Boot] [PATCH] power: pfuze100: Update definitions

2016-06-04 Thread Przemysław Marczak
Hello Eran, On 04/26/2016 01:22 PM, Eran Matityahu wrote: - Add definitions and macros for buck regulators SW2,SW3A/B and SW4 (SWx) with low and high output voltage ranges - Add definitions for LDO mode (ON/OFF/LPM combinations at Normal & Standby modes) Signed-off-by: Eran Matityahu ---

[U-Boot] [verified-boot] Adding DTB file at the end of u-boot image with CONFIG_OF_SEPARATE

2016-06-04 Thread Saad Ahmad (A)
Hi all, I am trying to use verified boot on P2041RDB SoC. According to common/board_f.c function setup_fdt() #elif defined CONFIG_OF_SEPARATE /* FDT is at end of image */ gd->fdt_blob = (ulong *)&_end; But there is no _end in arch/powerpc/cpu/mpc85xx/u-boot.lds. I have changed _end to __bss