Re: [U-Boot] [PATCH v1 0/4] Jetson-TK1 support for PSCI

2015-01-14 Thread Thierry Reding
On Tue, Jan 13, 2015 at 07:44:50PM +, Ian Campbell wrote: > Hi Thierry, > > I needed to boot my Jetson in NS mode (in order to boot Xen) and was > investigating the possibility of PSCI support when I discovered that you > had already started on it[0]. Hurrah! > > I cherry-picked the relevant

[U-Boot] [PATCH v2] generic-board: show model name in board_init_f() too

2015-01-14 Thread Masahiro Yamada
The common/board_r.c has show_model_r() to display the model name if the DTB has a "model" property. It sounds useful to have a similar function in common/board_f.c too because most of the boards show their board name before relocation. Instead of implementing the same function in both common/boa

Re: [U-Boot] [PATCH 0/2] Really complete SPL & u-boot log on all consoles

2015-01-14 Thread Hans de Goede
Hi Siarhei, On 13-01-15 13:30, Siarhei Siamashka wrote: By enabling pre-console buffer in both SPL and u-boot and some minor tweaks, it is possible to see all log messages (including SPL messages too) on VGA/HDMI/LCD console and other stdio based consoles. The first patch adds the necessary cod

Re: [U-Boot] [PATCH 1/2] common: mark commands as default to match "config_cmd_default.h"

2015-01-14 Thread Alexey Brodkin
Hi Simon, Masahiro-san, On Tue, 2015-01-13 at 20:18 -0800, Simon Glass wrote: > > > >> Probably I'm missing details of our Kconfig migration plan if one > >> exists. Then I'd like to get a reference to the plan so I'm not > >> attempting to do things that are already scheduled and could be even in

Re: [U-Boot] [PATCH 01/17] sunxi: axp221: Protect axp221_init against multiple calls

2015-01-14 Thread Hans de Goede
Hi, On 13-01-15 19:49, Ian Campbell wrote: On Sun, 2015-01-11 at 20:34 +0100, Hans de Goede wrote: The voltage setting code knows it needs to call axp221_init before calling the various voltage setting functions. But users of axp utility functions like axp221_get_sid() do not know this, so the

[U-Boot] [PATCH] mmc: dw_mmc: fixed the wrong bit control

2015-01-14 Thread Jaehoon Chung
If mode is not DDR-mode, then it needs to clear it. Signed-off-by: Jaehoon Chung --- drivers/mmc/dw_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/dw_mmc.c b/drivers/mmc/dw_mmc.c index b18c75d..76fa0b0 100644 --- a/drivers/mmc/dw_mmc.c +++ b/drivers/mmc/dw_

[U-Boot] [PATCH 00/14] cm-fx6 updates and a new splash screen feature

2015-01-14 Thread Nikita Kiryanov
This series consists of updates for cm-fx6. Some of these updates (specifically: compulab: splash: use errno values compulab: splash: refactor splash.c compulab: splash: support multiple splash sources compulab: splash: support loading splash from sf) produce an end result which is not really compu

[U-Boot] [PATCH 04/14] arm: mx6: cm-fx6: pass 2nd nic mac addr to Linux

2015-01-14 Thread Nikita Kiryanov
Obtain 2nd NIC MAC address from baseboard EEPROM and pass it to Linux. Signed-off-by: Nikita Kiryanov Cc: Stefano Babic Cc: Igor Grinberg --- board/compulab/cm_fx6/cm_fx6.c | 23 --- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/board/compulab/cm_fx6/cm_fx6

[U-Boot] [PATCH 10/14] compulab: splash: refactor splash.c

2015-01-14 Thread Nikita Kiryanov
Move storage device specific code into its own function instead of calling it directly from an otherwise storage device independent function (cl_splash_screen_prepare). This is a preparation for supporting multiple splash locations. Signed-off-by: Nikita Kiryanov Cc: Stefano Babic Cc: Igor Grin

[U-Boot] [PATCH 01/14] arm: mx6: cm-fx6: expand boot sequence

2015-01-14 Thread Nikita Kiryanov
Expand boot sequence to the following order: 1) mmc boot: mmc boot script, then mmc bootm, then mmc bootz. 2) usb boot: usb boot script. 3) sata boot: sata boot script, sata bootm, sata bootz. 4) nand boot: nand bootm, then nand bootz. Signed-off-by: Nikita Kiryanov Cc: Stefano Babic Cc: Igor Gr

[U-Boot] [PATCH 02/14] arm: mx6: cm-fx6: change dtb node for ethaddr

2015-01-14 Thread Nikita Kiryanov
When passing eth address to Linux via dtb, the "local-mac-address" property should be set for "/soc/aips-bus@0210/ethernet@02188000", not "/fec". Signed-off-by: Nikita Kiryanov Cc: Stefano Babic Cc: Igor Grinberg --- board/compulab/cm_fx6/cm_fx6.c | 5 +++-- 1 file changed, 3 insertions(+)

[U-Boot] [PATCH 08/14] arm: mx6: cm-fx6: add support for usb keyboard

2015-01-14 Thread Nikita Kiryanov
Add support for usb keyboard for cm_fx6. Signed-off-by: Nikita Kiryanov Cc: Stefano Babic Cc: Igor Grinberg --- include/configs/cm_fx6.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/configs/cm_fx6.h b/include/configs/cm_fx6.h index 5d0d303..49b1b00 100644 --- a/include/con

[U-Boot] [PATCH 09/14] compulab: splash: use errno values

2015-01-14 Thread Nikita Kiryanov
Use errno values to improve return reporting. Signed-off-by: Nikita Kiryanov Cc: Stefano Babic Cc: Igor Grinberg --- board/compulab/common/splash.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/board/compulab/common/splash.c b/board/compulab/common/splash.c index

[U-Boot] [PATCH 12/14] compulab: splash: support loading splash from sf

2015-01-14 Thread Nikita Kiryanov
Add support for loading splash from sf. Signed-off-by: Nikita Kiryanov [grinb...@compulab.co.il: staticize the sf global variable] Signed-off-by: Igor Grinberg Cc: Stefano Babic Cc: Igor Grinberg --- board/compulab/common/common.h | 1 + board/compulab/common/splash.c | 27 ++

[U-Boot] [PATCH 06/14] arm: mx6: cm-fx6: add hdmi console support

2015-01-14 Thread Nikita Kiryanov
Add support for hdmi console. Signed-off-by: Nikita Kiryanov Cc: Stefano Babic Cc: Igor Grinberg --- board/compulab/cm_fx6/cm_fx6.c | 51 ++ include/configs/cm_fx6.h | 15 + 2 files changed, 66 insertions(+) diff --git a/board/compulab

[U-Boot] [PATCH 11/14] compulab: splash: support multiple splash sources

2015-01-14 Thread Nikita Kiryanov
Define a generic way for boards to define splash image locations: - introduce struct splash_location - introduce enum splash_storage - update cl_splash_screen_prepare() to take an array of above struct and select the appropriate one based on the splashsource environment variable (if it is not d

[U-Boot] [PATCH 07/14] arm: mx6: cm-fx6: display compulab logo

2015-01-14 Thread Nikita Kiryanov
Add compulab logo and display it on boot. Signed-off-by: Nikita Kiryanov Cc: Stefano Babic Cc: Igor Grinberg --- include/configs/cm_fx6.h | 3 +++ tools/logos/compulab.bmp | Bin 0 -> 31810 bytes 2 files changed, 3 insertions(+) create mode 100644 tools/logos/compulab.bmp diff --git a/incl

[U-Boot] [PATCH 05/14] arm: mx6: cm-fx6: increase size of malloc area

2015-01-14 Thread Nikita Kiryanov
Increase size of malloc area to make room for framebuffer and other such big allocations. Signed-off-by: Nikita Kiryanov Cc: Stefano Babic Cc: Igor Grinberg --- include/configs/cm_fx6.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/cm_fx6.h b/include/confi

[U-Boot] [PATCH 14/14] common: convert compulab splash load code to common code

2015-01-14 Thread Nikita Kiryanov
Move board/compulab/common/splash.c code to common/splash_source.c to make it available for everybody. This move renames cl_splash_screen_prepare() to splash_source_load(), and the compilation of this code is conditional on CONFIG_SPLASH_SOURCE. splash_source features: * Provide a standardized way

[U-Boot] [PATCH 03/14] compulab: eeprom: allow reading mac address from multiple eeproms

2015-01-14 Thread Nikita Kiryanov
Implement the option to select the eeprom i2c bus when reading mac address. Signed-off-by: Nikita Kiryanov Cc: Stefano Babic Cc: Igor Grinberg Cc: Ilya Ledvich Cc: Dmitry Lifshitz --- board/compulab/cm_fx6/cm_fx6.c | 2 +- board/compulab/cm_t335/cm_t335.c | 2 +- board/compulab/cm_t3

[U-Boot] [PATCH 13/14] arm: mx6: cm-fx6: add splash screen support

2015-01-14 Thread Nikita Kiryanov
Add support for splash screen. The splash screen is loaded from the SPI flash and is displayed on the HDMI display. Signed-off-by: Nikita Kiryanov [grinb...@compulab.co.il: minor code and commit message updates] Signed-off-by: Igor Grinberg Cc: Stefano Babic Cc: Igor Grinberg --- board/compul

[U-Boot] [PATCH 2/2] microblaze: Support stack protection feature

2015-01-14 Thread Michal Simek
Ensure that stack didn't rewrite important part of u-boot. Signed-off-by: Michal Simek --- arch/microblaze/cpu/start.S | 4 1 file changed, 4 insertions(+) diff --git a/arch/microblaze/cpu/start.S b/arch/microblaze/cpu/start.S index f46603142d85..84c29e54091e 100644 --- a/arch/microblaze/

[U-Boot] [PATCH 1/2] microblaze: Enable hardware exception by default

2015-01-14 Thread Michal Simek
Enable hardware exception by default to be able to handle it. Signed-off-by: Michal Simek --- arch/microblaze/cpu/start.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/microblaze/cpu/start.S b/arch/microblaze/cpu/start.S index 1757bbfa94b9..f46603142d85 100644 --- a/a

[U-Boot] [PATCH] serial: zynq: Use global baudrate instead of hardcoded one

2015-01-14 Thread Michal Simek
This change enables to change baudrate on command line. Signed-off-by: Michal Simek --- drivers/serial/serial_zynq.c | 18 +- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/drivers/serial/serial_zynq.c b/drivers/serial/serial_zynq.c index 1ff27d5f4889..74c449663bc

Re: [U-Boot] [PATCH v1 0/4] Jetson-TK1 support for PSCI

2015-01-14 Thread Ian Campbell
On Wed, 2015-01-14 at 08:57 +0100, Thierry Reding wrote: > > I also pushed my tree to gitorious: > > https://gitorious.org/ijc/u-boot jetson-psci-v1 > > > > I would Ack your patch, but I don't think you've posted it and it has no > > S-o-b so that would seem a bit premature/rude of me. For

[U-Boot] [PATCH 02/11] fpga: Remove extern prototypes from .h

2015-01-14 Thread Michal Simek
This problem is reported by checkpatch.pl Warnings: CHECK: extern prototypes should be avoided in .h files Signed-off-by: Michal Simek --- include/fpga.h | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/include/fpga.h b/include/fpga.h index 914024

[U-Boot] [PATCH 03/11] fpga: Export fpga_get_desc for SPL

2015-01-14 Thread Michal Simek
SPL needs to detect FPGA device which will be used for loading bitstream. Signed-off-by: Michal Simek --- drivers/fpga/fpga.c | 2 +- include/fpga.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/fpga/fpga.c b/drivers/fpga/fpga.c index 37946d5e183a..d94eb5cc25

[U-Boot] [PATCH 01/11] fpga: Protect GZIP usage when LOADMK is enabled

2015-01-14 Thread Michal Simek
For case where CMD_FPGA_LOADMK is enabled and GZIP disable. Warning log: common/built-in.o: In function `do_fpga': /mnt/disk/u-boot/common/cmd_fpga.c:218: undefined reference to `gunzip' Signed-off-by: Michal Simek --- common/cmd_fpga.c | 5 + 1 file changed, 5 insertions(+) diff --git a/

[U-Boot] [PATCH 04/11] fpga: xilinx: spartan2: Setup NULL fpga_op without driver

2015-01-14 Thread Michal Simek
Set fpga operations to NULL for cases where FPGA is setup in board file but driver is not added. Signed-off-by: Michal Simek --- include/spartan2.h | 38 +++--- 1 file changed, 27 insertions(+), 11 deletions(-) diff --git a/include/spartan2.h b/include/spartan2.

[U-Boot] [PATCH 07/11] fpga: xilinx: virtex2: Fix macro indentation

2015-01-14 Thread Michal Simek
No functional changes. Signed-off-by: Michal Simek --- include/virtex2.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/virtex2.h b/include/virtex2.h index 5944bbcb61b8..503df9abaeaa 100644 --- a/include/virtex2.h +++ b/include/virtex2.h @@ -47,10 +47,10 @@

[U-Boot] [PATCH 05/11] fpga: xilinx: spartan3: Setup NULL fpga_op without driver

2015-01-14 Thread Michal Simek
Set fpga operations to NULL for cases where FPGA is setup in board file but driver is not added. Signed-off-by: Michal Simek --- include/spartan3.h | 45 +++-- 1 file changed, 31 insertions(+), 14 deletions(-) diff --git a/include/spartan3.h b/include/sp

[U-Boot] [PATCH 06/11] fpga: xilinx: virtex2: Setup NULL fpga_op without driver

2015-01-14 Thread Michal Simek
Set fpga operations to NULL for cases where FPGA is setup in board file but driver is not added Signed-off-by: Michal Simek --- include/virtex2.h | 45 +++-- 1 file changed, 31 insertions(+), 14 deletions(-) diff --git a/include/virtex2.h b/include/virte

[U-Boot] [PATCH 08/11] fpga: xilinx: zynqpl: Setup NULL fpga_op without driver

2015-01-14 Thread Michal Simek
Set fpga operations to NULL for cases where FPGA is setup in board file but driver is not added Signed-off-by: Michal Simek --- include/zynqpl.h | 23 +-- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/include/zynqpl.h b/include/zynqpl.h index 8a9ec3297fbe..d

[U-Boot] [PATCH 09/11] fpga: xilinx: Check if fpga operations are defined

2015-01-14 Thread Michal Simek
Ensure that operations are correctly setup. Signed-off-by: Michal Simek --- drivers/fpga/xilinx.c | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/drivers/fpga/xilinx.c b/drivers/fpga/xilinx.c index adb4b8cd25fd..9c95148b25c1 100644 --- a/drivers/fpga/xilin

[U-Boot] [PATCH 11/11] fpga: zynqpl: Add support for zc7035

2015-01-14 Thread Michal Simek
From: Siva Durga Prasad Paladugu Added support for zc7035 Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- board/xilinx/zynq/board.c | 4 include/zynqpl.h | 6 ++ 2 files changed, 10 insertions(+) diff --git a/board/xilinx/zynq/board.c b/board/xili

[U-Boot] [PATCH 10/11] fpga: xilinx: Show fpga info if defined

2015-01-14 Thread Michal Simek
Show fpga_op->info even if desc->iface_fns is not defined. Signed-off-by: Michal Simek --- drivers/fpga/xilinx.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/fpga/xilinx.c b/drivers/fpga/xilinx.c index 9c95148b25c1..c765a74a25e0 100644 --- a/drivers/fpga/

Re: [U-Boot] [PATCH v3 0/4] sun7i: PSCI enhancements

2015-01-14 Thread Ian Campbell
On Sun, 2015-01-11 at 12:06 +0100, Jan Kiszka wrote: > On 2015-01-11 11:30, Hans de Goede wrote: > > Hi, > > > > On 11-01-15 10:59, Ian Campbell wrote: > >> I've applied #1 and #3. I'd like to hear from Hans on the v0.2 stuff. > > > > I've no real opinion on this, I do NOT like the introduction o

[U-Boot] [PATCH 01/12] ARM: zynq: Enable the Neon instructions

2015-01-14 Thread Michal Simek
From: Siva Durga Prasad Paladugu Added the lowlevel_init to enable the Neon instructions. Initially the u-boot was causing undefined instruction exception if loaded through tcl, and working fine if loaded through FSBL. The exception was causing in convertion formula of given time to ticks. It wa

[U-Boot] [PATCH 06/12] ARM: zynq: List qspi, smc and nand baseaddresses

2015-01-14 Thread Michal Simek
Add missing addresses to the list. Signed-off-by: Michal Simek --- arch/arm/include/asm/arch-zynq/hardware.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/include/asm/arch-zynq/hardware.h b/arch/arm/include/asm/arch-zynq/hardware.h index 8dfedd7a94ce..e2e0b7321ad4 100644 ---

[U-Boot] [PATCH 04/12] ARM: zynq: slcr: Dont modify the reserved bits

2015-01-14 Thread Michal Simek
From: Siva Durga Prasad Paladugu Set only the 0-3 bits of the FPGA_RST_CTRL register as other bits should not be set to 1. Signed-off-by: Siva Durga Prasad Paladugu Reviewed-by: Peter Crosthwaite Reviewed-by: Nathan Rossi Signed-off-by: Michal Simek --- arch/arm/cpu/armv7/zynq/slcr.c | 2 +

[U-Boot] [PATCH 02/12] ARM: zynq: Remove empty line

2015-01-14 Thread Michal Simek
Trivial patch. Signed-off-by: Michal Simek --- arch/arm/cpu/armv7/zynq/cpu.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/cpu/armv7/zynq/cpu.c b/arch/arm/cpu/armv7/zynq/cpu.c index d1bfec9f715e..914b1feb6833 100644 --- a/arch/arm/cpu/armv7/zynq/cpu.c +++ b/arch/arm/cpu/armv7/zynq

[U-Boot] [PATCH 03/12] ARM: zynq: ddrc: Setup half of memory only for ECC case

2015-01-14 Thread Michal Simek
Setup half of memory from ram_size for ECC case. All the time the same board can be configured with or without ECC. Based on ECC case detection use half of memory with the same configuration. Signed-off-by: Michal Simek --- arch/arm/cpu/armv7/zynq/ddrc.c | 2 ++ 1 file changed, 2 insertions(+)

[U-Boot] [PATCH 09/12] ARM: zynq: Group ethernet configuration options together

2015-01-14 Thread Michal Simek
No functional chagnes. Signed-off-by: Michal Simek --- include/configs/zynq-common.h | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index f968e7666dc1..cbafba1cc395 100644 --- a/include/configs/zynq-c

[U-Boot] [PATCH 05/12] ARM: zynq: List nand, qspi and jtag boot modes

2015-01-14 Thread Michal Simek
Use full boot mode list in SPL. Signed-off-by: Michal Simek --- arch/arm/cpu/armv7/zynq/spl.c | 9 + arch/arm/include/asm/arch-zynq/hardware.h | 2 ++ 2 files changed, 11 insertions(+) diff --git a/arch/arm/cpu/armv7/zynq/spl.c b/arch/arm/cpu/armv7/zynq/spl.c index 31627f97

[U-Boot] [PATCH 07/12] ARM: zynq: Show board information by default

2015-01-14 Thread Michal Simek
Show board information in bootlog and enable it by default. Signed-off-by: Michal Simek --- board/xilinx/zynq/board.c | 8 include/configs/zynq-common.h | 1 + 2 files changed, 9 insertions(+) diff --git a/board/xilinx/zynq/board.c b/board/xilinx/zynq/board.c index 258632e52b0b..e

[U-Boot] [PATCH 08/12] ARM: zynq: Use CMD_FS_GENERIC

2015-01-14 Thread Michal Simek
Based on: "am335x_evm: Enable CMD_EXT4 and CMD_FS_GENERIC, add bootpart to env" (sha1: 73a27a84e58cb99b4e64ed6a35eab5bc61f44f29) Fix filesystem specific commands for loading. Signed-off-by: Michal Simek --- include/configs/zynq-common.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-

[U-Boot] [PATCH 10/12] ARM: zynq: provide config option to select emio

2015-01-14 Thread Michal Simek
From: Siva Durga Prasad Paladugu Dont send always emio value as zero for zynq_gem_initialize send it based on config. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- board/xilinx/zynq/board.c | 6 -- include/configs/zynq-common.h | 6 ++ 2 files changed,

[U-Boot] [PATCH] imx: mx6: Fixed AIPS3 base address issue

2015-01-14 Thread Ye . Li
Should use AIPS3 configuration address 0x0227C000 to set AIPS3, not the AIPS3 base address. Additional, replace AIPS1_BASE_ADDR to AIPS3_ARB_BASE_ADDR to align with AIPS1 and AIPS2, and resolve the AIPS3_ARB_BASE_ADDR undefine problem. Signed-off-by: Ye.Li --- arch/arm/cpu/armv7/mx6/soc.c

[U-Boot] [PATCH 12/12] ARM: zynq: Add USB lthor download protocol support

2015-01-14 Thread Michal Simek
From: Siva Durga Prasad Paladugu updated the zynq config to support the lthor download protocol. This lthor functionality helps us to load linux images on to DDR/MMC and can boot linux using bootm. In order to load images the user should run lthor command run "thor_ram" from u-boot prompt and the

[U-Boot] [PATCH 11/12] ARM: zynq: Enable DFU functionality in zynq

2015-01-14 Thread Michal Simek
From: Siva Durga Prasad Paladugu Enable DFU functionality in zynq. This DFU functionality helps us to load linux images on to DDR and can boot linux using bootm. In order to load images the user should run dfu command "dfu 0 ram 0" from u-boot prompt and then send the images from host. The mallo

[U-Boot] [PATCH 1/3] video: Update MXS LCDIF driver for mx6sx

2015-01-14 Thread Ye . Li
Add a new interface "mxs_lcd_panel_setup" to setup fb parameters and specifies the LCDIF controller for multiple controllers of iMX6SX. Pass fb parameters via "videomode" env remains work if the new interface is not called before video initialization. Modify LCDIF clock interface "mxs_set_lcdclk"

[U-Boot] [PATCH 2/3] imx: mx6: Update mx6sx registers and clock functions for display

2015-01-14 Thread Ye . Li
Add clock functions and relevant registers to enable/set LCDIF clock and LVDS clock. Signed-off-by: Ye.Li --- arch/arm/cpu/armv7/mx6/clock.c | 238 + arch/arm/include/asm/arch-mx6/clock.h|5 + arch/arm/include/asm/arch-mx6/crm_regs.h | 53 ++-

[U-Boot] [PATCH 3/3] imx: mx6sxsabresd: Add splash screen support

2015-01-14 Thread Ye . Li
Enable the video drivers and MXS LCDIF driver to support the splash screen on mx6sxsabresd board. Add BSP codes for video parameters and LCDIF/LVDS initialization. "panel" env is used for selecting the display panel. Set "panel" env to "Hannstar-XGA" for LVDS display. (default) Set "panel" env to

Re: [U-Boot] [PATCH 06/14] arm: mx6: cm-fx6: add hdmi console

2015-01-14 Thread Soeren Moch
> Add support for hdmi console. > > Signed-off-by: Nikita Kiryanov > Cc: Stefano Babic > Cc: Igor Grinberg > --- > board/compulab/cm_fx6/cm_fx6.c | 51 ++ > include/configs/cm_fx6.h | 15 + > 2 files changed, 66 insertions(+) [...] > +st

[U-Boot] [PATCH] mpc85xx/T104xRDB_D4: Add support for T104xRDB DDR4 boards

2015-01-14 Thread Vijay Rai
T1040RDB_D4 board is a variant of T1040RDB(DDR3) board with DDR4 memory. Similarily T1042RDB_D4 is a variant of T1042RDB(DDR3) board with DDR4 memory. Changes related to Ethernet - Add support for 0x66 serdes protocol for T1040RDB_D4 Board - Add support for 0x86 se

Re: [U-Boot] [PATCH 0/2] Really complete SPL & u-boot log on all consoles

2015-01-14 Thread Siarhei Siamashka
at is the point enabling '-fstack-usage' GCC option in the first place?). Anyway, none of the tools seemed convenient/usable enough to me. And I decided that it may be faster to quickly hack some script myself, tailored specifically for u-boot SPL: http://people.freedesktop.org/~s

[U-Boot] [PATCH 0/4] Exynos5: Fix warnings and enrich clock_get_periph_rate

2015-01-14 Thread Akshay Saraswat
This patch series does following changes - 1. Removing compiler warnings for clock_get_periph_rate. 2. Adding and enabling support for Exynos542x in clock_get_periph_rate. 3. Replacing peripheral specific function calls with clock_get_periph_rate. 4. Remove code from clocks file which became

[U-Boot] [PATCH 3/4] Exynos5: Use clock_get_periph_rate generic API

2015-01-14 Thread Akshay Saraswat
Replacing SoC and peripheral specific function calls with generic clock_get_periph_rate calls to get the peripheral clocks. Signed-off-by: Akshay Saraswat --- arch/arm/cpu/armv7/exynos/clock.c | 60 +++ 1 file changed, 48 insertions(+), 12 deletions(-) diff -

[U-Boot] [PATCH 1/4] Exynos5: Fix compiler warnings due to clock_get_periph_rate

2015-01-14 Thread Akshay Saraswat
Apparently, members of clk_bit_info array do not map correctly to the members of enum periph_id. This mapping got broken after we changed periph_id(s) to reflect interrupt number instead of their position in a sequence. This patch intends to fix above mentioned issue. Signed-off-by: Akshay Saraswa

[U-Boot] [PATCH 2/4] Exynos542x: Add and enable get_periph_rate support

2015-01-14 Thread Akshay Saraswat
We planned to fetch peripheral rate through one generic API per peripheral. These generic peripheral functions are in turn expected to fetch apt values from a function refactored as per SoC versions. This patch adds suuport for fetching peripheral rates for Exynos5420 and Exynos5800. Signed-off-by

[U-Boot] [PATCH 4/4] Exynos5: Remove dead code for fetching clocks

2015-01-14 Thread Akshay Saraswat
Removing dead code of peripheral and SoC specific function implementations which was used for fetching peripheral clocks. This code is not being used anymore because of the introduction of generic clock_get_periph_rate function. Signed-off-by: Akshay Saraswat --- arch/arm/cpu/armv7/exynos/clock.

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

2015-01-14 Thread Bhupesh Sharma
This patch adds basic constructs in the ARMv8 u-boot code to handle and apply Cortex-A57 specific erratas. As and example, the framework showcases how erratas 833069, 826974 and 828024 can be handled and applied. Later on this framework can be extended to include other erratas. Signed-off-by: Bh

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

2015-01-14 Thread Bhupesh Sharma
This patch adds support for handling 828024 and 826974 erratas for Cortex-A57 cores present on LS2085A SoC. Signed-off-by: Bhupesh Sharma --- include/configs/ls2085a_common.h |4 1 file changed, 4 insertions(+) diff --git a/include/configs/ls2085a_common.h b/include/configs/ls2085a_com

[U-Boot] i.MX6 - u-boot binary size getting changed

2015-01-14 Thread ansaris
Hi, We are using imx6Q sabresd platform for our development with Linux 3.10.17_1.0.0-GA BSP. We have installed the meta-tool chain in our 64bit Host PC and 32 bit Host PC using below steps. $bitbake meta-toolchain $sudo sh tmp/deploy/sdk/poky-eglibc-x86_64-arm-toolchain-.sh The u-boot sourc

[U-Boot] Unreadable UBIFS partition after power cuts

2015-01-14 Thread Anton Habegger
Hello We have a PPC MPC5125 device with 64MB NOR flash. The U-boot has to load the kernel and initramfs from a UBIFS partition. Recently we made an upgrade from U-Boot version V2010.12 to version V2014.10. Now after some regression tests with power cuts, we got an UBIFS state, which is unreada

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

2015-01-14 Thread Hans de Goede
Hi Tom, We've been building a collection of very nice improvements for sunxi while v2015.01 was stabilizing, please pull u-boot-sunxi/master into master, highlights: 1) Improved sun6i (A31) support, including support for the A31s variant and automatic assignment of a SoC serial based MAC addr

Re: [U-Boot] [PATCH 0/2] Really complete SPL & u-boot log on all consoles

2015-01-14 Thread Hans de Goede
e first place?). Anyway, none of the tools seemed convenient/usable enough to me. And I decided that it may be faster to quickly hack some script myself, tailored specifically for u-boot SPL: http://people.freedesktop.org/~siamashka/files/20150114-spl-stackgraph/spl-stackgraph.rb The results o

[U-Boot] [PATCH 1/2] doc: ARM: Use the right function name

2015-01-14 Thread Michal Simek
Trivial fix. Signed-off-by: Michal Simek --- doc/README.arm-caches | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/README.arm-caches b/doc/README.arm-caches index f6a52e3e386c..dbb6190b95c0 100644 --- a/doc/README.arm-caches +++ b/doc/README.arm-caches @@ -47,7 +47,7 @@

[U-Boot] [PATCH 2/2] ARM: armv8: Fix typo in commentary

2015-01-14 Thread Michal Simek
Signed-off-by: Michal Simek --- arch/arm/cpu/armv8/cache.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv8/cache.S b/arch/arm/cpu/armv8/cache.S index 4b3ee6ed6fa5..9c6e8243bb4b 100644 --- a/arch/arm/cpu/armv8/cache.S +++ b/arch/arm/cpu/armv8/cache.S @@ -94,

[U-Boot] [PATCH] serial: Extend structure comments with register offset

2015-01-14 Thread Michal Simek
This information help with debugging issues with uart. Signed-off-by: Michal Simek --- drivers/serial/serial_zynq.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/serial/serial_zynq.c b/drivers/serial/serial_zynq.c index 74c449663bc7..3e2b8dc183e4 10064

[U-Boot] [PATCH] net: gem: Use phys_addr_t instead of int for addresses

2015-01-14 Thread Michal Simek
Use phys_addr_t for physical address declaration. It is also unsigned type instead of sign. Signed-off-by: Michal Simek --- drivers/net/zynq_gem.c | 5 +++-- include/netdev.h | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_

Re: [U-Boot] Unreadable UBIFS partition after power cuts

2015-01-14 Thread Heiko Schocher
Hello Anton, Am 14.01.2015 13:52, schrieb Anton Habegger: Hello We have a PPC MPC5125 device with 64MB NOR flash. The U-boot has to load the kernel and initramfs from a UBIFS partition. Recently we made an upgrade from U-Boot version V2010.12 to version V2014.10. Now after some regression tes

Re: [U-Boot] [PATCH 0/2] Really complete SPL & u-boot log on all consoles

2015-01-14 Thread Simon Glass
to be supported at least by my > version of GCC. And there are various scripts and tools with different > level of maturity and support. I'm sure that some u-boot developers > are also using something (otherwise, what is the point enabling > '-fstack-usage' GCC option in t

[U-Boot] [PATCH] net: Declare physical address as phys_addr_t unsigned type

2015-01-14 Thread Michal Simek
Use phys_addr_t instead of int for addresses. Addresses can't be < 0. Signed-off-by: Michal Simek --- include/net.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/net.h b/include/net.h index 18d279ebe737..3da35fe98188 100644 --- a/include/net.h +++ b/include/net.h @

Re: [U-Boot] [PATCH 01/11] fpga: Protect GZIP usage when LOADMK is enabled

2015-01-14 Thread Simon Glass
On 14 January 2015 at 01:04, Michal Simek wrote: > For case where CMD_FPGA_LOADMK is enabled and GZIP disable. > > Warning log: > common/built-in.o: In function `do_fpga': > /mnt/disk/u-boot/common/cmd_fpga.c:218: undefined reference to `gunzip' > > Signed-off-by: Michal Simek Reviewed-by: Simon

Re: [U-Boot] [PATCH 09/11] fpga: xilinx: Check if fpga operations are defined

2015-01-14 Thread Simon Glass
On 14 January 2015 at 01:04, Michal Simek wrote: > Ensure that operations are correctly setup. > > Signed-off-by: Michal Simek Reviewed-by: Simon Glass (comment below) > --- > > drivers/fpga/xilinx.c | 17 +++-- > 1 file changed, 15 insertions(+), 2 deletions(-) > > diff --git a/

Re: [U-Boot] [PATCH 10/11] fpga: xilinx: Show fpga info if defined

2015-01-14 Thread Simon Glass
On 14 January 2015 at 01:04, Michal Simek wrote: > Show fpga_op->info even if desc->iface_fns is not defined. > > Signed-off-by: Michal Simek Reviewed-by: Simon Glass > --- > > drivers/fpga/xilinx.c | 9 + > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/drivers/fpga

Re: [U-Boot] [PATCH 09/11] fpga: xilinx: Check if fpga operations are defined

2015-01-14 Thread Michal Simek
On 01/14/2015 04:14 PM, Simon Glass wrote: > On 14 January 2015 at 01:04, Michal Simek wrote: >> Ensure that operations are correctly setup. >> >> Signed-off-by: Michal Simek > > Reviewed-by: Simon Glass > > (comment below) > >> --- >> >> drivers/fpga/xilinx.c | 17 +++-- >> 1 fi

Re: [U-Boot] [PATCH 0/2] Really complete SPL & u-boot log on all consoles

2015-01-14 Thread Tom Rini
On Wed, Jan 14, 2015 at 02:57:29PM +0200, Siarhei Siamashka wrote: [snip] > level of maturity and support. I'm sure that some u-boot developers > are also using something (otherwise, what is the point enabling > '-fstack-usage' GCC option in the first place?). Not perfect, but in doc/README.SPL:

Re: [U-Boot] Please pull u-boot-sunxi master

2015-01-14 Thread Tom Rini
On Wed, Jan 14, 2015 at 03:16:44PM +0100, Hans de Goede wrote: > Hi Tom, > > We've been building a collection of very nice improvements for sunxi > while v2015.01 was stabilizing, please pull u-boot-sunxi/master into master, > highlights: > > 1) Improved sun6i (A31) support, including support fo

[U-Boot] [PATCH] mmc: zynq: Use phys_addr_t for addresses

2015-01-14 Thread Michal Simek
phys_addr_t is designed for physical addresses that's why use it. Signed-off-by: Michal Simek --- drivers/mmc/zynq_sdhci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/zynq_sdhci.c b/drivers/mmc/zynq_sdhci.c index fdce2c2c10ec..7887f11c649b 100644 --- a/dr

Re: [U-Boot] [PATCH v2 1/2] scripts: add a utility to fill blank fields of doc/README.scrapyard

2015-01-14 Thread Tom Rini
On Wed, Jan 14, 2015 at 12:35:23PM +0900, Masahiro Yamada wrote: > We are removing bunch of non-generic boards these days. > > Updating doc/README.scrapyard is a really tedious task, but it can > be automated. I hope this tool will make our life easier. > > Signed-off-by: Masahiro Yamada > Rev

Re: [U-Boot] Please pull u-boot-x86.git branch 'buildman'

2015-01-14 Thread Tom Rini
On Tue, Jan 13, 2015 at 07:51:04PM -0800, Simon Glass wrote: > Hi Tom, > > Here are all the buildman enhancements and bug fixes so far. I have a > few more to work on but no patches yet. > > Note these are in branch 'buildman'. > > > The following changes since commit 5f88ed5cde04612e5b4520327

Re: [U-Boot] [PATCH v2 2/2] README.scrapyard: fill commit and date fields

2015-01-14 Thread Tom Rini
On Wed, Jan 14, 2015 at 12:35:24PM +0900, Masahiro Yamada wrote: > This commit was generated by the following command: > > scripts/fill_scrapyard.py > > The commit-ID of CPCIISER4 removal has been fixed by hand because > the board was removed by commit 370572601027 (ppc4xx: remove CPCIISER4

Re: [U-Boot] [PATCH 14/14] common: convert compulab splash load code to common code

2015-01-14 Thread Tom Rini
On Wed, Jan 14, 2015 at 10:42:54AM +0200, Nikita Kiryanov wrote: > Move board/compulab/common/splash.c code to > common/splash_source.c to make it available for everybody. This move > renames cl_splash_screen_prepare() to splash_source_load(), and > the compilation of this code is conditional on C

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

2015-01-14 Thread York Sun
On 01/14/2015 05:46 AM, Bhupesh Sharma wrote: > This patch adds basic constructs in the ARMv8 u-boot code > to handle and apply Cortex-A57 specific erratas. > > As and example, the framework showcases how erratas 833069, 826974 > and 828024 can be handled and applied. > > Later on this framewor

Re: [U-Boot] [PATCH] arm: rmobile: Add SILK board support

2015-01-14 Thread Tom Rini
On Mon, Jan 12, 2015 at 07:17:07PM +0300, Vladimir Barinov wrote: > SILK is an entry level development board based on R-Car E2 SoC (R8A7794) > > This commit supports the following peripherals: > - SCIF, I2C, Ethernet, QSPI, MMC, USB Host > > Signed-off-by: Vladimir Barinov Reviewed-by: Tom Rin

Re: [U-Boot] [PATCH 00/14] cm-fx6 updates and a new splash screen feature

2015-01-14 Thread Tom Rini
On Wed, Jan 14, 2015 at 10:42:40AM +0200, Nikita Kiryanov wrote: > This series consists of updates for cm-fx6. Some of these updates > (specifically: > compulab: splash: use errno values > compulab: splash: refactor splash.c > compulab: splash: support multiple splash sources > compulab: splash:

[U-Boot] [PATCHv1 15/22] arm: socfpga: spl: add relocate_stack_to_sdram to lowlevel_init.S

2015-01-14 Thread dinguyen
From: Dinh Nguyen Add a function to relocate the stack from OCRAM to SDRAM. Signed-off-by: Dinh Nguyen --- arch/arm/cpu/armv7/socfpga/lowlevel_init.S | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/cpu/armv7/socfpga/lowlevel_init.S b/arch/arm/cpu/armv7/s

[U-Boot] [PATCHv1 07/22] arm: socfpga: spl: enable sdram, timer and uart

2015-01-14 Thread dinguyen
From: Dinh Nguyen Signed-off-by: Dinh Nguyen --- arch/arm/cpu/armv7/socfpga/spl.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/cpu/armv7/socfpga/spl.c b/arch/arm/cpu/armv7/socfpga/spl.c index bd9f338..b123336 100644 --- a/arch/arm/cpu/armv7/socfpga/spl.c +++ b/arch/arm/cpu/a

[U-Boot] [PATCHv1 09/22] arm: socfpga: spl: allow bootrom to enable IOs after warm reset

2015-01-14 Thread dinguyen
From: Dinh Nguyen Signed-off-by: Dinh Nguyen --- arch/arm/cpu/armv7/socfpga/spl.c | 3 +++ arch/arm/cpu/armv7/socfpga/system_manager.c| 9 + arch/arm/include/asm/arch-socfpga/system_manager.h | 1 + 3 files changed, 13 insertions(+) diff --git a/arch/arm/cpu/a

[U-Boot] [PATCHv1 05/22] arm: socfpga: spl: put SPL in sram

2015-01-14 Thread dinguyen
From: Dinh Nguyen Update SPL linker file to use SRAM. Signed-off-by: Dinh Nguyen --- arch/arm/cpu/armv7/socfpga/u-boot-spl.lds | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/cpu/armv7/socfpga/u-boot-spl.lds b/arch/arm/cpu/armv7/socfpga/u-boot-spl.lds inde

[U-Boot] [PATCHv1 19/22] arm: socfpga: spl: set SPL_MALLOC_SIZE

2015-01-14 Thread dinguyen
From: Dinh Nguyen Signed-off-by: Dinh Nguyen --- include/configs/socfpga_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h index 4b98378..29d02d6 100644 --- a/include/configs/socfpga_common.h +++ b/in

[U-Boot] [PATCHv1 03/22] arm: socfpga: Add sdram initialization code

2015-01-14 Thread dinguyen
From: Dinh Nguyen Add SDRAM initialization for the SOCFPGA platform. Signed-off-by: Dinh Nguyen --- arch/arm/cpu/armv7/socfpga/Makefile |2 +- arch/arm/cpu/armv7/socfpga/sdram.c| 1311 + arch/arm/include/asm/arch-socfpga/sdram.h | 434 ++

[U-Boot] [PATCHv1 04/22] arm: socfpga: spl: Add SRAM section

2015-01-14 Thread dinguyen
From: Dinh Nguyen Add a section of SRAM to the SPL linker file. Signed-off-by: Dinh Nguyen --- arch/arm/cpu/armv7/socfpga/u-boot-spl.lds | 2 ++ include/configs/socfpga_common.h | 1 + 2 files changed, 3 insertions(+) diff --git a/arch/arm/cpu/armv7/socfpga/u-boot-spl.lds b/arch/arm

[U-Boot] [PATCHv1 18/22] arm: socfpga: add sdram stack to SPL

2015-01-14 Thread dinguyen
From: Dinh Nguyen Add a stack in the SDRAM to be able to use SPL_FAT_LOAD in later stages of the SPL. Signed-off-by: Dinh Nguyen --- arch/arm/cpu/armv7/socfpga/u-boot-spl.lds | 7 +++ include/configs/socfpga_common.h | 1 + 2 files changed, 8 insertions(+) diff --git a/arch/arm/c

[U-Boot] [PATCHv1 16/22] arm: socfpga: spl: add the stack in OCRAM

2015-01-14 Thread dinguyen
From: Dinh Nguyen Allocate a stack in the OCRAM for the SPL to use. Signed-off-by: Dinh Nguyen --- arch/arm/cpu/armv7/socfpga/u-boot-spl.lds | 7 +++ include/configs/socfpga_common.h | 1 + 2 files changed, 8 insertions(+) diff --git a/arch/arm/cpu/armv7/socfpga/u-boot-spl.lds b

[U-Boot] [PATCHv1 14/22] arm: socfpga: spl: update lowlevel_init

2015-01-14 Thread dinguyen
From: Dinh Nguyen Add code to handle status of the bsel. Signed-off-by: Dinh Nguyen --- arch/arm/cpu/armv7/socfpga/lowlevel_init.S | 61 -- arch/arm/cpu/armv7/socfpga/spl.c | 2 + arch/arm/include/asm/arch-socfpga/reset_manager.h | 31 +++

[U-Boot] [PATCHv1 00/22] Add SPL support for SoCFGPA

2015-01-14 Thread dinguyen
From: Dinh Nguyen Hello, This patchset adds all the SPL code that is necessary to support the SoCFPGA platform. With this patch series, one should be able to configure the SDRAM controller and run u-boot. I have pushed a branch to git://git.rocketboards.org/u-boot-socfpga-next.git socfpga_for_n

[U-Boot] [PATCHv1 17/22] arm: socfpga: spl: add CONFIG_SPL_STACK to socfpga_common.h

2015-01-14 Thread dinguyen
From: Dinh Nguyen Signed-off-by: Dinh Nguyen --- include/configs/socfpga_common.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h index 90ca031..6bcb013 100644 --- a/include/configs/socfpga_common.h +++ b/include/confi

  1   2   3   >