Re: [U-Boot] [PATCH v3 3/5] ls102xa: HYP/non-sec: support for ls102xa boards

2014-11-13 Thread Albert ARIBAUD
Hello Xiubo, On Mon, 20 Oct 2014 17:00:48 +0800, Xiubo Li wrote: > Enable hypervisors utilizing the ARMv7 virtualization extension > on the LS1021A-QDS/TWR boards with the A7 core tile, we add the > required configuration variable. > Also we define the board specific smp_set_cpu_boot_addr() funct

[U-Boot] [PATCH] arm: socfpga: Add myself as maintainer for the SoCrates board

2014-11-13 Thread Stefan Roese
Signed-off-by: Stefan Roese Cc: Marek Vasut Cc: Pavel Machek Cc: Chin Liang See Cc: Dinh Nguyen Cc: Vince Bridgers Cc: Masahiro Yamada --- board/altera/socfpga/MAINTAINERS | 5 + 1 file changed, 5 insertions(+) diff --git a/board/altera/socfpga/MAINTAINERS b/board/altera/socfpga/MAINTA

Re: [U-Boot] [PATCH v2 3/3] ARM: bootm: Allow booting in secure mode on hyp capable systems

2014-11-13 Thread Albert ARIBAUD
Hello Hans, On Thu, 13 Nov 2014 20:37:42 +0100, Hans de Goede wrote: > Older Linux kernels will not properly boot in hyp mode, add support for a > bootm_boot_mode environment variable, which can be set to "sec" or "nonsec" > to force booting in secure or non-secure mode when build with non-sec su

Re: [U-Boot] [PATCH v3] arm: socfpga: Add DT support for SoCFPGA and add socfpga_socrates target

2014-11-13 Thread Masahiro Yamada
Hi Stefan, On Fri, 14 Nov 2014 08:20:06 +0100 Stefan Roese wrote: > Hi Masahiro-san, > > On 14.11.2014 07:03, Masahiro Yamada wrote: > >> This patch includes the latest DT sources for socfpga from the current > >> Linux kernel. And enables CONFIG_OF_CONTROL for the new build target > >> "socfp

Re: [U-Boot] [PATCH v2 2/3] ARM: Add arch/arm/cpu/armv7/Kconfig with non-secure and virt options

2014-11-13 Thread Albert ARIBAUD
Hello Hans, On Thu, 13 Nov 2014 20:37:41 +0100, Hans de Goede wrote: > Add arch/arm/cpu/armv7/Kconfig with non-secure and virt options, this is a > preparation patch for adding an env variable to choose between secure / > non-secure boot on non-secure boot capable systems, specifically this > pre

Re: [U-Boot] [PATCH v3] arm: socfpga: Add DT support for SoCFPGA and add socfpga_socrates target

2014-11-13 Thread Stefan Roese
Hi Masahiro-san, On 14.11.2014 07:03, Masahiro Yamada wrote: This patch includes the latest DT sources for socfpga from the current Linux kernel. And enables CONFIG_OF_CONTROL for the new build target "socfpga_socrates" (the EBV SoCrates board) to make use of this new DT support. Until this pat

Re: [U-Boot] [PATCH v2 0/3] ARM: Add armv7/Kconfig and allow booting in secure mode on non-secure boot capable systems

2014-11-13 Thread Albert ARIBAUD
Hello Hans, On Thu, 13 Nov 2014 20:37:39 +0100, Hans de Goede wrote: > Hi Albert, > > Here is v2 of my patchset to allow booting in secure mode on non-secure boot > capable systems. See inside the patch commit messages for a detailed > changelog, > the 3th patch in the set goes to a higher vers

Re: [U-Boot] [PATCH v2 1/3] Kconfig: Add EXPERT option

2014-11-13 Thread Masahiro Yamada
Hi Albert, On Fri, 14 Nov 2014 08:08:05 +0100 Albert ARIBAUD wrote: > Hello Masahiro, > > > I prefer describing the patch dependency in the cover letter > > to resending the same patch. > > Ditto -- but since patch numbers won't matter once applied and since > Tom is properly attributed, it w

[U-Boot] [PATCH] arm: socfpga: dts: Move to SPDX license identifiers

2014-11-13 Thread Stefan Roese
The socfpga dts files are copied from the Rocketboards.org repository. In U-Boot we usually replace the full-blown license header text with the SPDX license identifiers. Lets do this for these new dts files as well. I just forgot to do this while adding the DT support for socfpga. Signed-off-by:

Re: [U-Boot] [PATCH v2 1/3] Kconfig: Add EXPERT option

2014-11-13 Thread Albert ARIBAUD
Hello Masahiro, > I prefer describing the patch dependency in the cover letter > to resending the same patch. Ditto -- but since patch numbers won't matter once applied and since Tom is properly attributed, it won't matter much whether Tom applies his own patch or I apply it as part of this serie

[U-Boot] [PATCH] mcf: Fix cppcheck errors about uninitialized variables

2014-11-13 Thread Alison Wang
This patch will initialize the variables to fix the cppcheck errors as follows. [arch/m68k/cpu/mcf5227x/speed.c:89]: (error) Uninitialized variable: bootmode [arch/m68k/cpu/mcf532x/speed.c:248]: (error) Uninitialized variable: fout [arch/m68k/cpu/mcf5445x/speed.c:194]: (error) Uninitialized variab

Re: [U-Boot] [PATCH v2 4/4] ARM: ls102xa: allow all the peripheral access permissions as R/W.

2014-11-13 Thread Albert ARIBAUD
Hello York, On Thu, 13 Nov 2014 08:50:53 -0800, York Sun wrote: > Albert, > > This set should be marked as superseded. Ok, thanks. > York Amicalement, -- Albert. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-

[U-Boot] [PATCH v8 3/3] Odroid-XU3: Add documentation for Odroid-XU3

2014-11-13 Thread Hyungwon Hwang
This patch adds documentation for Odroid-XU3. This documentation is based on that of Odroid (doc/README-odroid) made by Przemyslaw Marczak. The documentation includes basic information about boot media layout, environment, partition layout, and the instruction to burn the u-boot image to boot media

[U-Boot] [PATCH v8 1/3] exynos5: fix GPIO information of exynos5420

2014-11-13 Thread Hyungwon Hwang
This patch fixes wrong GPIO information such as GPIO bank, table which is used to convert GPIO name to index, bank base address, and etc. Signed-off-by: Hyungwon Hwang Tested-by: Lukasz Majewski Acked-by: Lukasz Majewski Cc: Minkyu Kang Cc: Lukasz Majewski --- Changes for v4: - None Changes

[U-Boot] [PATCH v8 2/3] Odroid-XU3: Add support for Odroid-XU3

2014-11-13 Thread Hyungwon Hwang
This patch adds support for Odroid-XU3. Signed-off-by: Hyungwon Hwang Tested-by: Lukasz Majewski Acked-by: Lukasz Majewski Cc: Minkyu Kang Cc: Lukasz Majewski --- Changes for v3: - Remove unnecessary node from DT file - Remove unnecessary features from config file - Remove unnecessary macros

[U-Boot] [PATCH v8 0/3] Adds support for Exynos5422 odroid xu3 board

2014-11-13 Thread Hyungwon Hwang
This is v8 of the patchset adding support Odroud XU3 board. link to the previous version: v2: https://www.mail-archive.com/u-boot@lists.denx.de/msg152275.html v3: https://www.mail-archive.com/u-boot%40lists.denx.de/msg152677.html v4: https://patchwork.ozlabs.org/patch/407411/ v5: https://patchwork

Re: [U-Boot] [PATCH] ubi: reset relevant globals in ubi_exit()

2014-11-13 Thread Heiko Schocher
Hello Andrew, Am 13.11.2014 18:05, schrieb Andrew Ruder: Before calling ubi_init() the U-Boot wrapper calls ubi_mtd_param_parse() to have the UBI driver add it to its mtd_dev_param[] array and increment mtd_devs. The first time ubi_init() is called, mtd_devs would be 1. Before ubi_init() is ca

[U-Boot] [PATCH] arm: ls1021a: Add CONFIG_DOS_PARTITION and CONFIG_CMD_FAT support

2014-11-13 Thread Alison Wang
This patch will fix the bug that the partitions on the SD card could not be accessed and add the support for the FAT fs. Signed-off-by: Alison Wang --- include/configs/ls1021aqds.h | 3 +++ include/configs/ls1021atwr.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/include/configs/ls102

Re: [U-Boot] Query on CONFIG_SYS_THUMB_BUILD

2014-11-13 Thread Victor Ascroft
On 11/14/2014 11:13 AM, Wolfgang Denk wrote: > Dear Victor, > > In message <54658577.3090...@gmail.com> you wrote: >> I am working with a Cortex A5 Freescale Vybrid Processor. Since a thumb build leads to a saving of almost 1 MB for my u-boot image and consequently to faster ser

Re: [U-Boot] [PATCH v3] arm: socfpga: Add DT support for SoCFPGA and add socfpga_socrates target

2014-11-13 Thread Masahiro Yamada
Hi Stefan, On Fri, 7 Nov 2014 14:10:41 +0100 Stefan Roese wrote: > This patch includes the latest DT sources for socfpga from the current > Linux kernel. And enables CONFIG_OF_CONTROL for the new build target > "socfpga_socrates" (the EBV SoCrates board) to make use of this new DT > support. >

Re: [U-Boot] Query on CONFIG_SYS_THUMB_BUILD

2014-11-13 Thread Wolfgang Denk
Dear Victor, In message <54658577.3090...@gmail.com> you wrote: > > >> I am working with a Cortex A5 Freescale Vybrid Processor. Since a thumb > >> build leads to a saving of almost 1 MB for my u-boot image and > >> consequently to faster serial downloads I have been looking at this. > >> Curr

Re: [U-Boot] [PATCH 23/33] x86: ivybridge: Add SATA init

2014-11-13 Thread Simon Glass
Hi Bin, On 12 November 2014 01:03, Bin Meng wrote: > Hi Simon, > > On Wed, Nov 12, 2014 at 8:18 AM, Simon Glass wrote: >> Add code to set up the SATA interfaces on boot. >> >> Signed-off-by: Simon Glass >> --- >> >> arch/x86/cpu/ivybridge/Makefile | 1 + >> arch/x86/cpu/ivybrid

Re: [U-Boot] Query on CONFIG_SYS_THUMB_BUILD

2014-11-13 Thread Victor Ascroft
Hello, On 11/14/2014 02:23 AM, Wolfgang Denk wrote: > Dear Victor Ascroft, > > In message <5464dc59.2040...@gmail.com> you wrote: >> >> I am working with a Cortex A5 Freescale Vybrid Processor. Since a thumb >> build leads to a saving of almost 1 MB for my u-boot image and consequently >> to fa

[U-Boot] [PATCH] Fix console functions for U-Boot API

2014-11-13 Thread Simon Glass
Commit 709ea54 made a subtle change to the way the U-Boot API jump table is set up. So at present putc(), getc(), tstc() and puts() do not work correctly from functions that use the U-Boot API. Previously these were set to the stdio functions, but these now take a parameter specifying which stdio

[U-Boot] [PATCH v2] powerpc/t2080: updating rcw for silicon v1.1

2014-11-13 Thread Shengzhou Liu
T2080 v1.1 requires different MEM_PLL_RAT from previous v1.0, and also update core frequency to 1.8GHz for v1.1. We reserve the support for T2080 v1.0 and enable v1.1 by default. Signed-off-by: Shengzhou Liu --- v2: reserve v1.0 support. board/freescale/t208xqds/t2080_rcw.cfg | 16 -

Re: [U-Boot] buildman with distcc

2014-11-13 Thread York Sun
On 11/13/2014 05:10 PM, York Sun wrote: > On 11/13/2014 04:35 PM, Simon Glass wrote: >> >> If you add that feature you can. But maybe you just need to force >> CROSS_COMPILE? > > I can change the env['CROSS_COMPILE'] in toolchain.py and make distcc work. > But > I am seeing odd distribution. Com

Re: [U-Boot] [PATCH v2 1/3] Kconfig: Add EXPERT option

2014-11-13 Thread Masahiro Yamada
This is identical to http://patchwork.ozlabs.org/patch/399458/ posted by Tom Rini a month ago. Why is it taking so long for this patch? I prefer describing the patch dependency in the cover letter to resending the same patch. On Thu, 13 Nov 2014 20:37:40 +0100 Hans de Goede wrote: > From: To

[U-Boot] iMX6 DDR Calibration Value

2014-11-13 Thread John Tobias
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 width and so on). In fact the uboot that I am using works

Re: [U-Boot] buildman with distcc

2014-11-13 Thread York Sun
On 11/13/2014 04:35 PM, Simon Glass wrote: > Hi York, > > > On 13 November 2014 17:32, York Sun wrote: >> On 11/13/2014 04:30 PM, Simon Glass wrote: >>> Hi York, >>> >>> On 13 November 2014 17:17, York Sun wrote: On 11/13/2014 04:14 PM, Simon Glass wrote: > Hi York, > > On 13 N

Re: [U-Boot] buildman with distcc

2014-11-13 Thread Simon Glass
Hi York, On 13 November 2014 17:32, York Sun wrote: > On 11/13/2014 04:30 PM, Simon Glass wrote: >> Hi York, >> >> On 13 November 2014 17:17, York Sun wrote: >>> On 11/13/2014 04:14 PM, Simon Glass wrote: Hi York, On 13 November 2014 17:02, York Sun wrote: > On 11/13/2014 04

Re: [U-Boot] buildman with distcc

2014-11-13 Thread York Sun
On 11/13/2014 04:30 PM, Simon Glass wrote: > Hi York, > > On 13 November 2014 17:17, York Sun wrote: >> On 11/13/2014 04:14 PM, Simon Glass wrote: >>> Hi York, >>> >>> On 13 November 2014 17:02, York Sun wrote: On 11/13/2014 04:01 PM, Simon Glass wrote: > Hi York, > > On 13 Nove

Re: [U-Boot] putc

2014-11-13 Thread Simon Glass
Hi Wolfgang, On 13 November 2014 13:51, Wolfgang Denk wrote: > Dear Simon, > > In message > you > wrote: >> >> > Adding a parameter to these exported functions will break backward >> > compatibility >> > of existing standalone apps >> >> Yes that's right, but when they move to a newer U-Boot t

Re: [U-Boot] buildman with distcc

2014-11-13 Thread Simon Glass
Hi York, On 13 November 2014 17:17, York Sun wrote: > On 11/13/2014 04:14 PM, Simon Glass wrote: >> Hi York, >> >> On 13 November 2014 17:02, York Sun wrote: >>> On 11/13/2014 04:01 PM, Simon Glass wrote: Hi York, On 13 November 2014 16:03, York Sun wrote: > > On 11/13/20

Re: [U-Boot] buildman with distcc

2014-11-13 Thread York Sun
On 11/13/2014 04:14 PM, Simon Glass wrote: > Hi York, > > On 13 November 2014 17:02, York Sun wrote: >> On 11/13/2014 04:01 PM, Simon Glass wrote: >>> Hi York, >>> >>> On 13 November 2014 16:03, York Sun wrote: On 11/13/2014 03:01 PM, York Sun wrote: > Simon, > > Is it poss

Re: [U-Boot] buildman with distcc

2014-11-13 Thread Simon Glass
Hi York, On 13 November 2014 17:02, York Sun wrote: > On 11/13/2014 04:01 PM, Simon Glass wrote: >> Hi York, >> >> On 13 November 2014 16:03, York Sun wrote: >>> >>> On 11/13/2014 03:01 PM, York Sun wrote: Simon, Is it possible to use buildman with distcc? I am trying to speed up

Re: [U-Boot] buildman with distcc

2014-11-13 Thread York Sun
On 11/13/2014 04:01 PM, Simon Glass wrote: > Hi York, > > On 13 November 2014 16:03, York Sun wrote: >> >> On 11/13/2014 03:01 PM, York Sun wrote: >>> Simon, >>> >>> Is it possible to use buildman with distcc? I am trying to speed up >>> compiling. >>> Using MAKEALL or make I can specify CROSS_C

Re: [U-Boot] buildman with distcc

2014-11-13 Thread Simon Glass
Hi York, On 13 November 2014 16:03, York Sun wrote: > > On 11/13/2014 03:01 PM, York Sun wrote: > > Simon, > > > > Is it possible to use buildman with distcc? I am trying to speed up > > compiling. > > Using MAKEALL or make I can specify CROSS_COMPILE="distcc > toolchain". I > > don't know how

Re: [U-Boot] [PATCH] mx6sabresd: Move the DCD settings to spl code

2014-11-13 Thread Fabio Estevam
On Thu, Nov 13, 2014 at 9:16 PM, Stefano Babic wrote: > mkimage is called with the .cfg file, and if it is removed, no imx image > file is generated. I think that then the i.MX cannot boot, because the > resulting image will miss the "magic number" in the headers as described > in manuals. So I t

Re: [U-Boot] [PATCH] mx6sabresd: Move the DCD settings to spl code

2014-11-13 Thread Stefano Babic
Hi Fabio, On 13/11/2014 22:58, Fabio Estevam wrote: > From: Fabio Estevam > > mx6sabresd_spl.cfg configures CCM registers, GPR registers and CCM_CCOSR. > > Move the configuration to the spl code. > > CCM_CCOSR setting is no longer required to get audio functionality in the > kernel, so remove

Re: [U-Boot] buildman with distcc

2014-11-13 Thread York Sun
On 11/13/2014 03:01 PM, York Sun wrote: > Simon, > > Is it possible to use buildman with distcc? I am trying to speed up compiling. > Using MAKEALL or make I can specify CROSS_COMPILE="distcc toolchain". I > don't know how to do this with buildman. > I meant to use buildman with multiple archit

[U-Boot] buildman with distcc

2014-11-13 Thread York Sun
Simon, Is it possible to use buildman with distcc? I am trying to speed up compiling. Using MAKEALL or make I can specify CROSS_COMPILE="distcc http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] mx6sabresd: Move the DCD settings to spl code

2014-11-13 Thread John Tobias
Hi Fabio, I think it's part of mkimage/Makefile. I tried to use board/freescale/mx6sabresd/dummy.cfg and the content was BOOT_FROM sd It compiles. I guess you need to modify the Makefile in order to get rid the .cfg file for SPL. Regards, john On Thu, Nov 13, 2014 at 2:30 PM, Fabio Estevam w

Re: [U-Boot] [PATCH v2] tools/kwbimage: Fix compilation warning

2014-11-13 Thread York Sun
On 10/28/2014 03:38 AM, Wolfgang Denk wrote: > Dear Stefan Roese, > > In message <1414492344-19055-1-git-send-email...@denx.de> you wrote: >> This patch fixes a compilation warning of kwbimage.c: >> >> tools/kwbimage.c: In function ‘kwbimage_set_header’: >> tools/kwbimage.c:784:8: warning: ‘header

Re: [U-Boot] [PATCH] mx6sabresd: Move the DCD settings to spl code

2014-11-13 Thread Fabio Estevam
On Thu, Nov 13, 2014 at 8:25 PM, Nikolay Dimitrov wrote: > Do you know which kernel versions are compatible with this CCM_CCOSR > change? Since commit a94f8ecb2f778f92 ("ARM: imx6q: remove board specific CLKO setup"), which appeared in 3.12, there is no need to set the CCM_CCOSR register in U-bo

Re: [U-Boot] [PATCH] mx6sabresd: Move the DCD settings to spl code

2014-11-13 Thread Nikolay Dimitrov
Hi Fabio, On 11/13/2014 11:58 PM, Fabio Estevam wrote: From: Fabio Estevam mx6sabresd_spl.cfg configures CCM registers, GPR registers and CCM_CCOSR. Move the configuration to the spl code. CCM_CCOSR setting is no longer required to get audio functionality in the kernel, so remove such settin

[U-Boot] Memory test post relocation

2014-11-13 Thread DaveKucharczyk
We have 2GB’s of RAM starting at 0x7000 on our Freescale MX53 based board. With old U-Boot we defined TEXT_BASE at the bottom of RAM at 0x7060 and CONFIG_SKIP_RELOCATE_UBOOT, presumably so that we can run memory tests all the way to the top of RAM (this was brought over from the mx53loco

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

2014-11-13 Thread Paul Kocialkowski
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 wrote: > > On Sat, Nov 08, 2014 at 11:19:23PM +0100, Albert ARIBAUD wrote: > > > Hello Paul, > > > > > > On Sat, 8 Nov 2014 23:14:54 +0100, Paul Kocialkowski > > > wr

[U-Boot] [PATCH] mx6sabresd: Move the DCD settings to spl code

2014-11-13 Thread Fabio Estevam
From: Fabio Estevam mx6sabresd_spl.cfg configures CCM registers, GPR registers and CCM_CCOSR. Move the configuration to the spl code. CCM_CCOSR setting is no longer required to get audio functionality in the kernel, so remove such setting. Signed-off-by: Fabio Estevam --- Hi Stefano, Actual

Re: [U-Boot] [PATCH] tools/kwbimage.c: fix parser error handling

2014-11-13 Thread Jeroen Hofstee
Hello Andreas, On 27-10-14 13:06, Jeroen Hofstee wrote: Hello Andreas, On 24-10-14 23:25, andreas.de...@googlemail.com wrote: From: Andreas Bießmann The two error checks for image_boot_mode_id and image_nand_ecc_mode_id where wrong and would never fail, fix that! This was detected by Appl

Re: [U-Boot] Query on CONFIG_SYS_THUMB_BUILD

2014-11-13 Thread Wolfgang Denk
Dear Victor Ascroft, In message <5464dc59.2040...@gmail.com> you wrote: > > I am working with a Cortex A5 Freescale Vybrid Processor. Since a thumb build > leads to a saving of almost 1 MB for my u-boot image and consequently to > faster serial downloads I have been looking at this. Currently e

Re: [U-Boot] putc

2014-11-13 Thread Wolfgang Denk
Dear Simon, In message you wrote: > > > Adding a parameter to these exported functions will break backward > > compatibility > > of existing standalone apps > > Yes that's right, but when they move to a newer U-Boot they will need > to be updated. Isn't that expected with standalone apps? I ca

[U-Boot] [PATCH v2 3/3] ARM: bootm: Allow booting in secure mode on hyp capable systems

2014-11-13 Thread Hans de Goede
Older Linux kernels will not properly boot in hyp mode, add support for a bootm_boot_mode environment variable, which can be set to "sec" or "nonsec" to force booting in secure or non-secure mode when build with non-sec support. The default behavior can be selected through CONFIG_ARMV7_BOOT_SEC_DE

[U-Boot] [PATCH v2 2/3] ARM: Add arch/arm/cpu/armv7/Kconfig with non-secure and virt options

2014-11-13 Thread Hans de Goede
Add arch/arm/cpu/armv7/Kconfig with non-secure and virt options, this is a preparation patch for adding an env variable to choose between secure / non-secure boot on non-secure boot capable systems, specifically this prepares for adding CONFIG_CPU_V7_SEC_BY_DEFAULT as a proper Kconfig option. Sign

[U-Boot] [PATCH v2 1/3] Kconfig: Add EXPERT option

2014-11-13 Thread Hans de Goede
From: Tom Rini For similar reasons to why the Linux Kernel has an EXPERT option, we too want an option to allow for tweaking of some options that while normally should remain hidden, may need to be changed in some cases. Signed-off-by: Tom Rini Acked-by: Hans de Goede Signed-off-by: Hans de Go

[U-Boot] [PATCH v2 0/3] ARM: Add armv7/Kconfig and allow booting in secure mode on non-secure boot capable systems

2014-11-13 Thread Hans de Goede
Hi Albert, Here is v2 of my patchset to allow booting in secure mode on non-secure boot capable systems. See inside the patch commit messages for a detailed changelog, the 3th patch in the set goes to a higher version as it also was posted on its own 2 times. The first patch is from Tom, and is i

[U-Boot] [PATCH v4 3/7] Config: Exynos5800: Enable build for Peach-Pi

2014-11-13 Thread Akshay Saraswat
This adds following things : - New config and defconfig for Peach-Pi board. - Alterations in Kconfig and MAINTAINERS. - Addition of CONFIG_EXYNOS5800. - ADdition of exynos5800-peach-pi in dts list. Signed-off-by: Akshay Saraswat Acked-by: Simon Glass Tested-by: Simon Glass --- Changes since v3:

Re: [U-Boot] [PATCH v3 0/7] Addition of new board Peach-Pi

2014-11-13 Thread Akshay Saraswat
Hi Simon, >Hi Akshay, > >On 31 October 2014 02:55, Akshay Saraswat wrote: >> Now we are adding a new Peach-Pi board which is a variant of Peach-Pit >> and is based on Exynos5800. Exynos5800 itself is a variant of Exynos5420, >> hence, most of the hardware config and settings are reused for this b

[U-Boot] [PATCH v4 6/7] Exynos5: ddr3: Choose between single or double channel config

2014-11-13 Thread Akshay Saraswat
Add a 4G configuration and choose it based on the number of banks declared in config file. A board with 4 SDRAM banks declared (as per CONFIG_NR_DRAM_BANKS) will end up with the 2G confiuration. Signed-off-by: Doug Anderson Signed-off-by: Akshay Saraswat Acked-by: Simon Glass Tested-by: Simon G

[U-Boot] [PATCH v4 5/7] Config: Exynos5420: Refactor SDRAM Bank and Size

2014-11-13 Thread Akshay Saraswat
Since, not every board may have all memory channels configured and all available banks of DMC used, we wish to refactor configs for Memory Bank size and numbers as per board memory config. For Example, Peach-Pit has 2GB memory and will be using only 4 banks but Peach-Pi has 3.5GB memory and will be

[U-Boot] [PATCH v4 7/7] Peach-Pi: Use the enhanced usb_copy() prototype

2014-11-13 Thread Akshay Saraswat
From: Vadim Bendebury Exynos5800 IROM has a different, from 5250 and 5420, prototype of the usb_copy() function. Luckily the earlier version did not expect any arguments, which means the same code could be used with old and new SoCs, the old ones just ignoring the arguments. Signed-off-by: Vadim

[U-Boot] [PATCH v4 0/7] Addition of new board Peach-Pi

2014-11-13 Thread Akshay Saraswat
Now we are adding a new Peach-Pi board which is a variant of Peach-Pit and is based on Exynos5800. Exynos5800 itself is a variant of Exynos5420, hence, most of the hardware config and settings are reused for this board. Changes since v1: - Rebased all the patches Changes since v2:

[U-Boot] [PATCH v4 4/7] DMC: Exynos5: Enable update mode for DREX controller

2014-11-13 Thread Akshay Saraswat
From: Alim Akhtar As per Exynos5800 UM ver 0.00 section 17.13.2.1 CONCONTROL register bit 3 [update_mode], Exynos5800 does not support the PHY initiated update. And it is recommanded to set this field to 1'b1 during initialization. This patch sets this bit. Applying MC-initiated mode makes DDL tr

[U-Boot] [PATCH v4 2/7] Exynos5800: Add DTS for new board Peach-Pi

2014-11-13 Thread Akshay Saraswat
We have a new board Peach-Pi similar to Peach-Pit. Peach-Pi differs from Peach-Pit in configuration factors like display resolution, memory size, SoC version etc. Signed-off-by: Alim Akhtar Signed-off-by: Akshay Saraswat Acked-by: Simon Glass Tested-by: Simon Glass --- Changes since v3:

[U-Boot] [PATCH v4 1/7] Exynos5800: Introduce new proid for Exynos5800

2014-11-13 Thread Akshay Saraswat
This patch intends to add a new proid for Exynos5800 which is a variant of Exynos5420. Product id for Exynos5800 is 0x5422. Both Exynos5420 and Exynos5800 are pin to pin compitable. This gives us an advantage of reusing Exynos5420 clock, pinmux, memory and other settings. Signed-off-by: Alim Akhta

Re: [U-Boot] Booting non devicetree enabled kernels using u-boot build with CONFIG_OF_LIBFDT ?

2014-11-13 Thread Hans de Goede
Hi, On 11/13/2014 07:34 PM, Tom Rini wrote: > On Thu, Nov 13, 2014 at 07:08:59PM +0100, Hans de Goede wrote: >> Hi all, >> >> So as you know I've been working on getting mainline u-boot to boot the >> older android derived linux-sunxi kernels, as some people need features >> not yet in mainline, a

Re: [U-Boot] Booting non devicetree enabled kernels using u-boot build with CONFIG_OF_LIBFDT ?

2014-11-13 Thread Tom Rini
On Thu, Nov 13, 2014 at 07:08:59PM +0100, Hans de Goede wrote: > Hi all, > > So as you know I've been working on getting mainline u-boot to boot the > older android derived linux-sunxi kernels, as some people need features > not yet in mainline, and I would like there to be only one u-boot for bot

[U-Boot] [PATCH v2 6/7] board: iocon: Fix uninitialized access

2014-11-13 Thread dirk . eibach
From: Dirk Eibach Wolfgang Denk found this issue using cppcheck: (error) Uninitialized variable: fpga_features Signed-off-by: Dirk Eibach --- Changes in v2: - fix cppcheck finding reported by Wolfgang board/gdsys/405ep/iocon.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --g

[U-Boot] [PATCH v2 4/7] board: dlvision-10g: Compile fix

2014-11-13 Thread dirk . eibach
From: Dirk Eibach Signed-off-by: Dirk Eibach --- Changes in v2: - fix compiler warning board/gdsys/common/osd.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/board/gdsys/common/osd.c b/board/gdsys/common/osd.c index 1c765e4..55ecdf1 100644 --- a/board/gdsys/common

[U-Boot] [PATCH v2 7/7] mpc83xx: Add gdsys hrcon board

2014-11-13 Thread dirk . eibach
From: Dirk Eibach The gdsys hrcon board is based on a Freescale MPC8308 SOC. It boots from NOR-Flash, kernel and rootfs are stored on SD-Card. On board peripherals include: - 1x GbE (optional) - Lattice ECP3 FPGA connected via eLBC and PCIe Signed-off-by: Dirk Eibach --- Changes in v2: - move

[U-Boot] [PATCH v2 3/7] common: Fix cmd_fpgad addressing

2014-11-13 Thread dirk . eibach
From: Dirk Eibach Addressing was completely broken for cmd_fpgad. Signed-off-by: Dirk Eibach --- Changes in v2: None common/cmd_fpgad.c | 32 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/common/cmd_fpgad.c b/common/cmd_fpgad.c index 1b25ed8.

[U-Boot] [PATCH v2 1/7] board: dlvision: Reduce memory footprint

2014-11-13 Thread dirk . eibach
From: Dirk Eibach Tune dlvision configuration similar to other gdsys boards to reduce memory footprint. Signed-off-by: Dirk Eibach --- Changes in v2: None include/configs/dlvision.h | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/include/configs/dlvision.h b/inclu

[U-Boot] [PATCH v2 0/7] Update gdsys board support

2014-11-13 Thread dirk . eibach
From: Dirk Eibach Changes in v2: - fix compiler warning - fix cppcheck finding reported by Wolfgang - move cmd_ioloop from common to board/gdsys/common - remove debug code from hrcon.c Dirk Eibach (7): board: dlvision: Reduce memory footprint mtd: Handle 29LV800BT common: Fix cmd_fpgad a

[U-Boot] [PATCH v2 2/7] mtd: Handle 29LV800BT

2014-11-13 Thread dirk . eibach
From: Dirk Eibach The device id makes u-boot think that this chip needs cfi_reverse_geometry(), which is not the case. Add it to jedec_flash, so it is handled properly. Signed-off-by: Dirk Eibach --- Changes in v2: None drivers/mtd/jedec_flash.c | 51 +

[U-Boot] [PATCH v2 5/7] board: iocon: Fix fpga index in print_fpga_info()

2014-11-13 Thread dirk . eibach
From: Dirk Eibach Signed-off-by: Dirk Eibach --- Changes in v2: None board/gdsys/405ep/iocon.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/board/gdsys/405ep/iocon.c b/board/gdsys/405ep/iocon.c index 1bac970..fffed73 100644 --- a/board/gdsys/405ep/iocon.c +++ b/

[U-Boot] Booting non devicetree enabled kernels using u-boot build with CONFIG_OF_LIBFDT ?

2014-11-13 Thread Hans de Goede
Hi all, So as you know I've been working on getting mainline u-boot to boot the older android derived linux-sunxi kernels, as some people need features not yet in mainline, and I would like there to be only one u-boot for both. I had this working a while ago, but recently it broke, this is caused

Re: [U-Boot] [PATCH v3 1/5] power: pfuze100: Update definitions for buck regulators

2014-11-13 Thread Stefano Babic
Hi Przemyslaw, On 13/11/2014 17:29, Przemyslaw Marczak wrote: > Hello Ye Li, > > On 11/06/2014 09:28 AM, Ye.Li wrote: >> Add definitions for buck regulators (SW1A/B/C) registers and voltage >> values. >> >> Signed-off-by: Ye.Li >> --- > > I can't test this code, but the changes looks good for

Re: [U-Boot] [PATCH v3 0/7] Addition of new board Peach-Pi

2014-11-13 Thread Simon Glass
Hi Akshay, On 13 November 2014 10:16, Akshay Saraswat wrote: > Hi Simon, > >>Hi Akshay, >> >>On 31 October 2014 02:55, Akshay Saraswat wrote: >>> Now we are adding a new Peach-Pi board which is a variant of Peach-Pit >>> and is based on Exynos5800. Exynos5800 itself is a variant of Exynos5420, >

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

2014-11-13 Thread dinguyen
From: Dinh Nguyen Set the PHY skew settings for the ethernet phy on the SOCFPGA Cyclone5 hardware. Signed-off-by: Dinh Nguyen Cc: Vince Bridgers Cc: Pavel Machek Cc: Marek Vasut Cc: Tom Rini Cc: Albert Aribaud Cc: Wolfgang Denk --- v2: Added comments on why it is necessary for setting the

Re: [U-Boot] [PATCH v4] arm: mx6: add support for TBS2910 Matrix ARM miniPC

2014-11-13 Thread Stefano Babic
On 03/11/2014 13:57, Soeren Moch wrote: > Add initial support for TBS2910 Matrix ARM miniPC. > Support includes MMC, Ethernet, UARTs, HDMI, USB, SATA, PCI, I2C, RTC. > > Signed-off-by: Soeren Moch > --- Applied to -u-boot-imx, thanks ! Best regards, Stefano Babic -- =

[U-Boot] [PATCH v2] ext4: goni: Modify dfu_alt_info's file names to have absolute path

2014-11-13 Thread Lukasz Majewski
After the clean up performed in the commit 1151b7ac10b81ecbb the DFU subsystem requires absolute path for correct operation. Signed-off-by: Lukasz Majewski Acked-by: Robert Baldyga --- Changes for v2: - Correct spelling error - Get ACK from board maintainer --- include/configs/s5p_goni.h | 4 ++

[U-Boot] [PATCH] ubi: reset relevant globals in ubi_exit()

2014-11-13 Thread Andrew Ruder
Before calling ubi_init() the U-Boot wrapper calls ubi_mtd_param_parse() to have the UBI driver add it to its mtd_dev_param[] array and increment mtd_devs. The first time ubi_init() is called, mtd_devs would be 1. Before ubi_init() is called again (another partition is attached), ubi_mtd_param_pa

Re: [U-Boot] [PATCH v3 0/2] Fix SoC-specific exception handling

2014-11-13 Thread Albert ARIBAUD
On Thu, 13 Nov 2014 17:59:13 +0100, Albert ARIBAUD wrote: > * This patch was NOT tested on imx27lite, which is > the only other i.MX27-based board AFAICT. The > maintainer of imx27lite is Cc:ed on this series. ... or should have, if it had not been for my flaky patman-fu. Wolfgang, CC:ing yo

Re: [U-Boot] [PATCH 2/2] mx6sabresd: Staticize when possible

2014-11-13 Thread Stefano Babic
On 06/11/2014 15:24, Fabio Estevam wrote: > Annotate 'static' when appropriate for the variables used locally. > > Signed-off-by: Fabio Estevam > --- Applied to -u-boot-imx, thanks ! Best regards, Stefano Babic -- = DENX Sof

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

2014-11-13 Thread Stefano Babic
On 06/11/2014 15:24, Fabio Estevam wrote: > 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 > --- Applied to -u-boot-imx, thanks ! Best regards, Stefano Babic

[U-Boot] [PATCH v3 1/2] cosmetic: arm: fix whitespace in arch/arm/lib/relocate.S

2014-11-13 Thread Albert ARIBAUD
Signed-off-by: Albert ARIBAUD --- Changes in v3: None Changes in v2: None arch/arm/lib/relocate.S | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/lib/relocate.S b/arch/arm/lib/relocate.S index b4a258c..6ede41c 100644 --- a/arch/arm/lib/relocate.S +++ b/arch/

[U-Boot] [PATCH v3 2/2] imx: fix exception vectors relocation in imx27

2014-11-13 Thread Albert ARIBAUD
Commit 3ff46cc4 fixed exception vectors setting in the general ARM case, by either copying the exception and indirect vector tables to normal (0x) or high (0x) vectors address, or setting VBAR to U-Boot's base if applicable. i.MX27 SoC is ARM926E-JS, thus has only normal and high o

[U-Boot] [PATCH v3 0/2] Fix SoC-specific exception handling

2014-11-13 Thread Albert ARIBAUD
Short version: * this patch fixes exception handling on i.MX27 which was broken, probably from day one. * this patch was tested on apf27. Due to lack of debugging hardware, only the data abort, prefetch abort and undefined instruction cases have been tested; software interrupt, IRQ and FI

Re: [U-Boot] [PATCH] mx6: video_skip: Fix crash on NULL pointer

2014-11-13 Thread Stefano Babic
Hi Nikolay, On 05/11/2014 09:55, picmas...@mail.bg wrote: > From: Nikolay Dimitrov > > Signed-off-by: Nikolay Dimitrov > Cc: Stefano Babic > --- Applied to -u-boot-imx, thanks ! Best regards, Stefano Babic -- = DENX Softwa

[U-Boot] Query on CONFIG_SYS_THUMB_BUILD

2014-11-13 Thread Victor Ascroft
Hello, I am working with a Cortex A5 Freescale Vybrid Processor. Since a thumb build leads to a saving of almost 1 MB for my u-boot image and consequently to faster serial downloads I have been looking at this. Currently enabling this option leads to a hang. After some debugging I have narrow

Re: [U-Boot] [PATCH v2 4/4] ARM: ls102xa: allow all the peripheral access permissions as R/W.

2014-11-13 Thread York Sun
Albert, This set should be marked as superseded. York On 11/12/2014 10:09 PM, York Sun wrote: > I will take a closer look tomorrow. Being crazy busy lately. > > York > > > From: Albert ARIBAUD > Sent: Wed, 12/11/2014 22:08 > To: Sun York-R58495 > CC: Xiubo Li

Re: [U-Boot] [PATCH v3 5/5] ARM: ls102xa: Setting device's stream id for SMMUs.

2014-11-13 Thread York Sun
On 10/20/2014 02:00 AM, Xiubo Li wrote: > LS1 has 4 SMMUs for address translation of the masters. All the > SMMUs' stream IDs are 8-bit. The address translation depends on the > stream ID of the incoming transaction. > Each master has unique stream ID assigned to it and is configurable > through SC

Re: [U-Boot] [PATCH v3 3/5] ls102xa: HYP/non-sec: support for ls102xa boards

2014-11-13 Thread York Sun
On 10/20/2014 02:00 AM, Xiubo Li wrote: > Enable hypervisors utilizing the ARMv7 virtualization extension > on the LS1021A-QDS/TWR boards with the A7 core tile, we add the > required configuration variable. > Also we define the board specific smp_set_cpu_boot_addr() function > to set the start addr

Re: [U-Boot] [PATCH v3 2/5] ARM: HYP/non-sec: Fix the ARCH Timer frequency setting.

2014-11-13 Thread York Sun
On 10/20/2014 02:00 AM, Xiubo Li wrote: > For some SoCs, the system clock frequency may not equal to the > ARCH Timer's frequency. > > This patch uses the CONFIG_TIMER_CLK_FREQ instead of > CONFIG_SYS_CLK_FREQ, then the system clock macro and arch timer > macor could be set separately and without

Re: [U-Boot] [PATCH v3 4/5] ARM: ls102xa: allow all the peripheral access permissions as R/W.

2014-11-13 Thread York Sun
On 10/20/2014 02:00 AM, Xiubo Li wrote: > The Central Security Unit (CSU) allows secure world software to > change the default access control policies of peripherals/bus > slaves, determining which bus masters may access them. This > allows peripherals to be separated into distinct security domains

Re: [U-Boot] [PATCH v3 1/5] ARM: HYP/non-sec: add the pen address BE mode support.

2014-11-13 Thread York Sun
On 10/20/2014 02:00 AM, Xiubo Li wrote: > For some SoCs, the pen address register maybe in BE mode and the > CPUs are in LE mode. > > This patch adds BE mode support for smp pen address. > > Signed-off-by: Xiubo Li > --- Acked-by: York Sun ___ U-Bo

Re: [U-Boot] [PATCH v3 1/5] power: pfuze100: Update definitions for buck regulators

2014-11-13 Thread Przemyslaw Marczak
Hello Ye Li, On 11/06/2014 09:28 AM, Ye.Li wrote: Add definitions for buck regulators (SW1A/B/C) registers and voltage values. Signed-off-by: Ye.Li --- Changes since v1: - None Changes since v2: - Create this patch for updating registers definitions and magic value. include/power/pfuze100_

Re: [U-Boot] [PATCH v7 4/5] imx6: add spl in the header file

2014-11-13 Thread Stefano Babic
Hi John, On 13/11/2014 16:47, John Tobias wrote: > The CONFIG_SYS_TEXT_BASE was defined in imx6_spl.h and I was seeing > previously some warning related to the duplication of the said macro. > > I thought it would be great to remove the warning messages so that is why > I added the macro. Maybe

Re: [U-Boot] verified boot of beaglebone black

2014-11-13 Thread Simon Glass
Hi, On 11 November 2014 21:29, Srinivasan S wrote: > Hi , > > > From: s...@google.com on behalf of Simon Glass > > Sent: Monday, November 10, 2014 9:23 PM > To: Srinivasan S > Cc: Jagan Teki; U-Boot Mailing List > Subject: Re: [U-Boot] verified boot of

Re: [U-Boot] putc

2014-11-13 Thread Simon Glass
Hi Martin, On 13 November 2014 03:28, Martin Dorwig wrote: > Am Mittwoch, 12. November 2014, 19:32:21 schrieben Sie: >> Hi Martin, >> >> On 30 October 2014 00:45, Martin Dorwig wrote: >> > Am Mittwoch, 29. Oktober 2014, 13:03:41 schrieben Sie: >> >> Hi Martin, >> >> >> >> On 28 October 2014 07:2

Re: [U-Boot] [PATCH] arm: mx6: Fix missing Kconfig option for Novena

2014-11-13 Thread Marek Vasut
On Thursday, November 13, 2014 at 04:34:40 PM, Tom Rini wrote: > On Thu, Nov 13, 2014 at 11:06:21AM +0100, Marek Vasut wrote: > > Add two missing Kconfig options for Novena and drop the SPL > > from the Novena config. > > > > Signed-off-by: Marek Vasut > > Cc: Stefano Babic > > Cc: Sean Cross >

  1   2   >