Re: [U-Boot] please pull u-boot-arc master

2015-01-09 Thread Tom Rini
On Fri, Jan 09, 2015 at 09:09:18PM +, Alexey Brodkin wrote: Dear Tom, The following changes since commit b188067f39627d977bb1db67c8456e9aaab90743: arm: vf610: fix boot from SD-card (2015-01-09 10:27:51 -0500) are available in the git repository at:

Re: [U-Boot] [PATCH 10/10] RFC: Test code for glacier PCI video support

2015-01-09 Thread Bin Meng
Hi Simon, On Sat, Jan 10, 2015 at 3:02 AM, Simon Glass s...@chromium.org wrote: Hi Bin, On 8 January 2015 at 22:23, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Fri, Jan 9, 2015 at 11:35 AM, Simon Glass s...@chromium.org wrote: Hi Bin, On 8 January 2015 at 18:34, Bin Meng

Re: [U-Boot] [PATCH 6/8] video: ssd2828: Allow using 'pclk' as the PLL clock source

2015-01-09 Thread Anatolij Gustschin
On Fri, 9 Jan 2015 12:01:14 +0200 Siarhei Siamashka siarhei.siamas...@gmail.com wrote: Instead of using the internal 'tx_clk' clock source, it is also possible to use the pixel clock signal from the parallel LCD interface ('pclk') as the reference clock for PLL. The 'tx_clk' clock speed

Re: [U-Boot] [PATCH RESEND] usb: gadget: pxa25x_udc: fix use-before-initialized bug

2015-01-09 Thread Marek Vasut
On Thursday, January 08, 2015 at 06:51:10 PM, Alex Sadovsky wrote: Fix use-before-initialized bug in pxa25x_udc driver. Function usb_gadget_register_driver calls udc_disable, and udc_disable calls pullup_off that uses dev-mach-udc_command. But dev-mach is initialized in

Re: [U-Boot] [PATCH 1/2] usb: gadget: composite: Fix NULL pointer crash in USB compliance test

2015-01-09 Thread Marek Vasut
On Friday, January 09, 2015 at 02:54:55 PM, Stefan Roese wrote: On the DXR2 board (AM335x using MUSB) the USB compliance test suite (USB 2.0 Command Verifier) will cause the board to crash and reset upon the BOS Descriptor Test - Addressed state. Here the output from the DRX2 while running

Re: [U-Boot] [PATCH 0/2] Fix repeated USB scans problems

2015-01-09 Thread Marek Vasut
On Thursday, January 08, 2015 at 06:40:19 PM, Hans de Goede wrote: Hi, Hi! [...] Only the semantics of usb start are changing, and you are suggesting renaming usb reset which remains unchanged ... Yes, that's true. So I suppose we should indeed not rename anything. OK, let's go

Re: [U-Boot] [PATCH] usb: eth: asix88179: add ability to modify MAC address

2015-01-09 Thread Marek Vasut
On Thursday, January 08, 2015 at 01:58:55 PM, Rene Griessl wrote: Here is the promised patch, that enables U-Boot to modify the MAC address of the AX88179. Tested on RECS5250 (similar to Arndale5250) Signed-off-by: Rene Griessl rgrie...@cit-ec.uni-bielefeld.de ---

Re: [U-Boot] [PATCH 1/3] samsung: board: support eMMC reset using DT

2015-01-09 Thread Joonyoung Shim
Hi Sjoerd, On 01/09/2015 04:50 PM, Sjoerd Simons wrote: On Fri, 2015-01-09 at 16:42 +0900, Joonyoung Shim wrote: Hi, On 01/09/2015 01:21 PM, Jaehoon Chung wrote: On 01/09/2015 08:23 AM, Sjoerd Simons wrote: On Thu, 2015-01-08 at 14:44 +0900, Joonyoung Shim wrote: Some exynos boards require

Re: [U-Boot] [PATCH 1/3] samsung: board: support eMMC reset using DT

2015-01-09 Thread Joonyoung Shim
On 01/09/2015 08:13 PM, Jaehoon Chung wrote: On 01/09/2015 04:31 PM, Joonyoung Shim wrote: +Cc Jaehoon, On 01/09/2015 03:18 AM, Simon Glass wrote: Hi Joonyoung, On 7 January 2015 at 22:44, Joonyoung Shim jy0922.s...@samsung.com wrote: Some exynos boards require special handling of

Re: [U-Boot] [PATCH 7/8] video: sunxi: Switch from 'tx_clk' to 'pclk' for SSD2828

2015-01-09 Thread Anatolij Gustschin
On Fri, 9 Jan 2015 12:01:15 +0200 Siarhei Siamashka siarhei.siamas...@gmail.com wrote: So that we don't need to keep it as a hardcoded magic number in the code or the hassle exposing it as a Kconfig option. Signed-off-by: Siarhei Siamashka siarhei.siamas...@gmail.com Acked-by: Anatolij

Re: [U-Boot] New i.MX board

2015-01-09 Thread Wally Yeh
Hi folks, I'm currently bringing up a new i.MX6q based board. I've got u-boot working, but its clear that a lot of the iMX stuff is still using the old configuration system. is the latest iMX stuff in u-boot mainline yet? if not, where should I be looking / what is considered a 'model

Re: [U-Boot] [PATCH 3/8] video: Add support for SSD2828 (parallel LCD to MIPI bridge)

2015-01-09 Thread Anatolij Gustschin
On Fri, 9 Jan 2015 12:01:11 +0200 Siarhei Siamashka siarhei.siamas...@gmail.com wrote: SSD2828 can take pixel data coming from a parallel LCD interface and translate it on the flight into MIPI DSI interface for driving a MIPI compatible TFT display. SSD2828 is configured over SPI interface,

Re: [U-Boot] [PATCH v2 1/2] sunxi: video: Add lvds support

2015-01-09 Thread Anatolij Gustschin
On Thu, 8 Jan 2015 20:49:05 +0100 Hans de Goede hdego...@redhat.com wrote: Add support for lvds lcd panels Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Anatolij Gustschin ag...@denx.de ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH v2 2/2] sunxi: video: Add support for Hitachi tx18d42vm LCD panels

2015-01-09 Thread Anatolij Gustschin
On Thu, 8 Jan 2015 20:49:06 +0100 Hans de Goede hdego...@redhat.com wrote: Hitachi tx18d42vm LCD panels have an onboard controller which needs some initialization via spi for the panel to become functional as a regular LVDS panel. Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by:

Re: [U-Boot] [PATCH 4/8] video: sunxi: Hook up SSD2828 with the sunxi video driver

2015-01-09 Thread Anatolij Gustschin
On Fri, 9 Jan 2015 12:01:12 +0200 Siarhei Siamashka siarhei.siamas...@gmail.com wrote: ... diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index adee5ed..92dbce7 100644 --- a/board/sunxi/Kconfig +++ b/board/sunxi/Kconfig @@ -345,6 +345,60 @@ config VIDEO_LCD_BL_PWM Set the

Re: [U-Boot] [PATCH 5/8] sun6i: Add LCD display support for MSI Primo81 tablet

2015-01-09 Thread Anatolij Gustschin
On Fri, 9 Jan 2015 12:01:13 +0200 Siarhei Siamashka siarhei.siamas...@gmail.com wrote: The MSI Primo81 tablet has B079XAN01/LP079X01 7.85 768x1024 IPS MIPI display, connected to the parallel LCD interface via SSD2828 bridge chip. The panel has 18-bit color depth and needs dithering, in spite

Re: [U-Boot] [U-Boot, v3] arm: build arch memset/memcpy in Thumb2 mode

2015-01-09 Thread Tom Rini
On Thu, Dec 18, 2014 at 06:10:33PM +0100, Stefan Agner wrote: Resynchronize memcpy/memset with kernel 3.17 and build them in Thumb2 mode (unified syntax). Those assembler files can be built and linked in ARM mode too, however when calling them from Thumb2 built code, the stack got corrupted

Re: [U-Boot] [PATCH 0/8] video: Add support for SSD2828 (parallel LCD to MIPI bridge)

2015-01-09 Thread Hans de Goede
Hi, On 09-01-15 11:01, Siarhei Siamashka wrote: Hello, This patchset adds support for the Solomon Systech SSD2828 bridge chip, which is used to convert parallel LCD interface into MIPI DSI interface and drive MIPI LCD display in some tablets. In particular, this allows to have a working LCD

[U-Boot] New i.MX board

2015-01-09 Thread Ian Molton
Hi folks, I'm currently bringing up a new i.MX6q based board. I've got u-boot working, but its clear that a lot of the iMX stuff is still using the old configuration system. is the latest iMX stuff in u-boot mainline yet? if not, where should I be looking / what is considered a 'model

Re: [U-Boot] [PATCH 18/18] trats2: config: disable i2c peripherals if testing dm i2c

2015-01-09 Thread Przemyslaw Marczak
Hello Minkyu, On 01/08/2015 03:11 PM, Minkyu Kang wrote: On 08/01/15 20:33, Przemyslaw Marczak wrote: Most i2c peripherals for this board doesn't support new i2c api. So CONFIG_DM_I2C on this board can be enabled for test only. The i2c command works fine with it. This is the first step before

Re: [U-Boot] [PATCH 07/18] dm: i2c: s3c24x0: adjust to dm-i2c api

2015-01-09 Thread Przemyslaw Marczak
Hello Heiko Schocher, On 01/09/2015 07:31 AM, Heiko Schocher wrote: Hello Przemyslaw Marczak, just some nitpick ... Am 08.01.2015 12:33, schrieb Przemyslaw Marczak: This commit adjusts the s3c24x0 driver to new i2c api based on driver-model. The driver supports standard and high-speed i2c as

Re: [U-Boot] [PATCH v3] arm: build arch memset/memcpy in Thumb2 mode

2015-01-09 Thread Albert ARIBAUD
Hello Stefan, On Mon, 05 Jan 2015 23:21:41 +0100, Stefan Agner ste...@agner.ch wrote: Albert, I guess it is too late for that now. Thought it would make it into 2015.01, since your last comment in v2 suggested that you would treat it as bugfix... If Tom's OK, I or he can take it.

[U-Boot] [PATCH 06/12] pmic:pfuze add macro for setting voltage

2015-01-09 Thread Peng Fan
#define PFUZE100_SW1ABC_SETP(x) ((x - 3000) / 250) This macro is for configuring SW1A/B/C Output Voltage easily. Signed-off-by: Peng Fan peng@freescale.com --- include/power/pfuze100_pmic.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/power/pfuze100_pmic.h

[U-Boot] [PATCH 07/12] imx:mx6 Support LDO bypass

2015-01-09 Thread Peng Fan
The basic graph for voltage input is: VDDARM_IN --- LDO_DIG(ARM) --- VDD_ARM_CAP VDDSOC_IN --- LDO_DIG(SOC) --- VDD_SOC_CAP We can bypass the LDO to save power, if the board already has pmic. set_anatop_bypass is the function to do the bypass VDDARM and VDDSOC work. Current only set

[U-Boot] [PATCH 10/12] imx:mx6sxsabresd add ldo mode set function

2015-01-09 Thread Peng Fan
Add ldo_mode_set function. If ldo_bypass is true, it will adjust voltage. If not, do nothing. This function is board specific, so implement it in board file. Signed-off-by: Peng Fan peng@freescale.com Signed-off-by: Robin Gong b38...@freescale.com ---

[U-Boot] [PATCH 00/12] imx:mx6 add ldo bypass

2015-01-09 Thread Peng Fan
This patch set is based on these three patches: https://patchwork.ozlabs.org/patch/426621/ https://patchwork.ozlabs.org/patch/426623/ https://patchwork.ozlabs.org/patch/426622/ If want to test this patch set, please first apply the up 3 patches. This patch set is mainly to add ldo bypass

[U-Boot] [PATCH 02/12] imx:mx6sl add I2c pad settings

2015-01-09 Thread Peng Fan
This few pad settings are for pmic i2c. Signed-off-by: Peng Fan peng@freescale.com --- arch/arm/include/asm/arch-mx6/mx6sl_pins.h | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/include/asm/arch-mx6/mx6sl_pins.h b/arch/arm/include/asm/arch-mx6/mx6sl_pins.h index

[U-Boot] [PATCH 05/12] imx:mx6 update fuse_bank0_regs

2015-01-09 Thread Peng Fan
Update fuse_bank0_regs structure according reference mannual. Signed-off-by: Peng Fan peng@freescale.com --- arch/arm/include/asm/arch-mx6/imx-regs.h | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/arm/include/asm/arch-mx6/imx-regs.h

[U-Boot] [PATCH 03/12] imx:mx6slevk implement power init board

2015-01-09 Thread Peng Fan
Implement power_init_board and related I2C interface configuration. After adding this, uboot can successfully detect and configure pmic. U-Boot 2015.01-rc4-00110-g5697113-dirty (Jan 08 2015 - 21:06:44) CPU: Freescale i.MX6SL rev1.0 at 396 MHz Reset cause: POR Board: MX6SLEVK I2C: ready

[U-Boot] [PATCH 11/12] imx:mx6qsabreauto add ldo mode init

2015-01-09 Thread Peng Fan
If runs at 1.2GHz, enable ldo, and adjust voltage. Otherwise, do nothing Signed-off-by: Peng Fan peng@freescale.com Signed-off-by: Robin Gong b38...@freescale.com --- board/freescale/mx6qsabreauto/mx6qsabreauto.c | 31 +++ include/configs/mx6qsabreauto.h

[U-Boot] [PATCH 12/12] ARM:imx call ldo_mode_set in arch_preboot_os

2015-01-09 Thread Peng Fan
Current i.MX6 U-Boot does not support device tree. We check ldo-bypass from dtb file which is loaded when running `run loadfdt`. Future work is needed to integrate device tree in uboot. And move related function invoke in power_init_board. Signed-off-by: Peng Fan peng@freescale.com

[U-Boot] [PATCH 08/12] imx:mx6slevk add ldo mode set function

2015-01-09 Thread Peng Fan
Add ldo_mode_set function. If ldo_bypass is true, it will adjust voltage. If not, do nothing. This function is board specific, so implement it in board file. Signed-off-by: Peng Fan peng@freescale.com Signed-off-by: Robin Gong b38...@freescale.com --- board/freescale/mx6slevk/mx6slevk.c |

[U-Boot] [PATCH 09/12] imx:mx6sabresd Add ldo_mode_set function

2015-01-09 Thread Peng Fan
If runs at 1.2GHz, enable ldo, and adjust voltage. If ldo_bypass is true, it will adjust voltage. If not, do nothing. This function is board specific, so implement it in board file. Signed-off-by: Peng Fan peng@freescale.com Signed-off-by: Robin Gong b38...@freescale.com Signed-off-by:

[U-Boot] [PATCH 7/8] video: sunxi: Switch from 'tx_clk' to 'pclk' for SSD2828

2015-01-09 Thread Siarhei Siamashka
So that we don't need to keep it as a hardcoded magic number in the code or the hassle exposing it as a Kconfig option. Signed-off-by: Siarhei Siamashka siarhei.siamas...@gmail.com --- drivers/video/sunxi_lcd_panel.c | 1 - 1 file changed, 1 deletion(-) diff --git

[U-Boot] [PATCH 8/8] video: ssd2828: Use MIPI DCS commands to retrieve the LCD panel id

2015-01-09 Thread Siarhei Siamashka
Or at least try to do this. With the possibility of bi-directional communication, it seems natural to expect that MIPI displays should be able to handle automatic configuration for the screen resolution and timings nicely. But the reality is not so pretty. It appears that the manufacturers of

[U-Boot] [PATCH 01/12] imx:mx6slevk add pmic and i2c configuration

2015-01-09 Thread Peng Fan
Add pmic and i2c configuration in board header file. Signed-off-by: Peng Fan peng@freescale.com --- include/configs/mx6slevk.h | 12 1 file changed, 12 insertions(+) diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h index e6c4130..9fd7619 100644 ---

Re: [U-Boot] [PATCH v3 2/9] sf: Update Atmel flash params

2015-01-09 Thread Bo Shen
Hi Meng, On 12/10/2014 08:51 PM, Bin Meng wrote: Update flash sector size to 4KiB as long as flash supports sector erase (20h) command. Correct AT25DF321 JEDEC ID and bulk erase command to 50h instead of D8h. Also add AT25DF321A params per datasheet. Signed-off-by: Bin Meng bmeng...@gmail.com

[U-Boot] [PATCH 3/8] video: Add support for SSD2828 (parallel LCD to MIPI bridge)

2015-01-09 Thread Siarhei Siamashka
SSD2828 can take pixel data coming from a parallel LCD interface and translate it on the flight into MIPI DSI interface for driving a MIPI compatible TFT display. SSD2828 is configured over SPI interface, which may or may not have MISO pin wired up on some hardware. So a write-only SPI mode also

[U-Boot] [PATCH 5/8] sun6i: Add LCD display support for MSI Primo81 tablet

2015-01-09 Thread Siarhei Siamashka
The MSI Primo81 tablet has B079XAN01/LP079X01 7.85 768x1024 IPS MIPI display, connected to the parallel LCD interface via SSD2828 bridge chip. The panel has 18-bit color depth and needs dithering, in spite of having RGB data delivered from A31s to SSD2828 using 24-bit arrangement. Signed-off-by:

[U-Boot] [PATCH 1/8] sunxi: axp221: Add ELDO[1-3] support

2015-01-09 Thread Siarhei Siamashka
And also add Kconfig option for selecting ELDO3 voltage. The reason for having this option is that the Android kernel sets ELDO3 to 1.2V when powering up LCD in the case if 'lcd_if' configuration variable is set to 6 (LCD_IF_EXT_DSI) in the FEX file. Most likely to supply power for a SSD2828 chip.

[U-Boot] [PATCH 6/8] video: ssd2828: Allow using 'pclk' as the PLL clock source

2015-01-09 Thread Siarhei Siamashka
Instead of using the internal 'tx_clk' clock source, it is also possible to use the pixel clock signal from the parallel LCD interface ('pclk') as the reference clock for PLL. The 'tx_clk' clock speed may be different on different boards/devices (the allowed range is 8MHz - 30MHz). Which is not

[U-Boot] [PATCH 4/8] video: sunxi: Hook up SSD2828 with the sunxi video driver

2015-01-09 Thread Siarhei Siamashka
Expose the necessary configuration parameters in Kconfig. Add SSD2828 initialization between enabling the parallel LCD interface and turning on the backlight. Signed-off-by: Siarhei Siamashka siarhei.siamas...@gmail.com --- board/sunxi/Kconfig | 60

[U-Boot] [PATCH 0/8] video: Add support for SSD2828 (parallel LCD to MIPI bridge)

2015-01-09 Thread Siarhei Siamashka
Hello, This patchset adds support for the Solomon Systech SSD2828 bridge chip, which is used to convert parallel LCD interface into MIPI DSI interface and drive MIPI LCD display in some tablets. In particular, this allows to have a working LCD display in my Allwinner A31s based MSI Primo81

[U-Boot] [PATCH 2/8] include: Add header file with MIPI DSI constants from the Linux kernel

2015-01-09 Thread Siarhei Siamashka
It provides some constants for DCS commands, which are needed to implement support for SSD2828. Signed-off-by: Siarhei Siamashka siarhei.siamas...@gmail.com --- include/mipi_display.h | 130 + 1 file changed, 130 insertions(+) create mode 100644

Re: [U-Boot] [PATCH 0/8] video: Add support for SSD2828 (parallel LCD to MIPI bridge)

2015-01-09 Thread Siarhei Siamashka
On Fri, 9 Jan 2015 12:01:08 +0200 Siarhei Siamashka siarhei.siamas...@gmail.com wrote: Hello, This patchset adds support for the Solomon Systech SSD2828 bridge chip, which is used to convert parallel LCD interface into MIPI DSI interface and drive MIPI LCD display in some tablets. In

Re: [U-Boot] [PATCH 2/8] include: Add header file with MIPI DSI constants from the Linux kernel

2015-01-09 Thread Anatolij Gustschin
On Fri, 9 Jan 2015 12:01:10 +0200 Siarhei Siamashka siarhei.siamas...@gmail.com wrote: It provides some constants for DCS commands, which are needed to implement support for SSD2828. we usually ask for mentioning the exact kernel version (i.e. the commit ID of the kernel tree the file is

Re: [U-Boot] NAND bug fixes for v2015.01

2015-01-09 Thread Scott Wood
On Fri, 2015-01-09 at 13:31 +0900, Masahiro Yamada wrote: Hi Scott, U-Boot v2015.01 will be released in a few days. (scheduled on January 12) I know you are busy, but can you please check NAND fixes? [1] http://patchwork.ozlabs.org/patch/421803/ [2]

Re: [U-Boot] [PATCH 10/10] RFC: Test code for glacier PCI video support

2015-01-09 Thread Simon Glass
Hi Bin, On 8 January 2015 at 22:23, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Fri, Jan 9, 2015 at 11:35 AM, Simon Glass s...@chromium.org wrote: Hi Bin, On 8 January 2015 at 18:34, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Thu, Jan 8, 2015 at 11:06 PM, Simon Glass

[U-Boot] unified keyboard queuing?

2015-01-09 Thread Michal Suchanek
Hello, I was looking at adding another keyboard driver. So far there is USB keyboard and AT keyboard both with its own queuing code and different incomplete translation table. For one, USB keyboard has some fake arrow key hack which is *not* included in the AT keyboard code afaict. I managed

Re: [U-Boot] [PATCH 1/8] sunxi: axp221: Add ELDO[1-3] support

2015-01-09 Thread Anatolij Gustschin
On Fri, 9 Jan 2015 12:01:09 +0200 Siarhei Siamashka siarhei.siamas...@gmail.com wrote: ... +int axp221_set_eldo2(unsigned int mvolt) +{ + int ret; + u8 cfg = axp221_mvolt_to_cfg(mvolt, 700, 3300, 100); + + if (mvolt == 0) + return axp221_clrbits(AXP221_OUTPUT_CTRL2,

Re: [U-Boot] arm: vf610: fix boot from SD-card

2015-01-09 Thread Tom Rini
On Thu, Jan 08, 2015 at 06:18:25PM +0100, Stefan Agner wrote: Boot from SD-card (and probably also from NAND) was broken since commit d6d07a9bec (arm: vf610: add NAND support for vf610twr). It looks like the increased size of U-Boot lead to a situation where the boot ROM overwrote its own

Re: [U-Boot] [PATCH 1/1] sunxi: add Linksprite pcDuino v1/v2 support

2015-01-09 Thread Hans de Goede
Hi, On 06-01-15 01:09, Zoltan HERPAI wrote: Add support for a sun4i board built by Linksprite. This addition covers both v1 and v2 versions. As the board has been working with 408MHz memory setting in the u-boot-sunxi branch, and has been proven to be running stable during my tests as well, a

[U-Boot] [PATCH 2/2] powerpc: xes: Add maintainer

2015-01-09 Thread Peter Tyser
Add Peter Tyser as the maintainer of Extreme Engineering Solutions products. Signed-off-by: Peter Tyser pty...@xes-inc.com --- board/xes/xpedite517x/MAINTAINERS | 2 +- board/xes/xpedite520x/MAINTAINERS | 2 +- board/xes/xpedite537x/MAINTAINERS | 2 +- board/xes/xpedite550x/MAINTAINERS | 2 +- 4

[U-Boot] [PATCH 1/2] powerpc: xes: Convert to generic board

2015-01-09 Thread Peter Tyser
From: John Schmoller jschmol...@xes-inc.com Convert Extreme Engineering Solutions products to use generic board support. Signed-off-by: John Schmoller jschmol...@xes-inc.com Signed-off-by: Peter Tyser pty...@xes-inc.com --- include/configs/xpedite1000.h | 2 ++ include/configs/xpedite517x.h | 2

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

2015-01-09 Thread Alexey Brodkin
Hi Masahiro-san, On Tue, 2015-01-06 at 00:34 +0900, Masahiro YAMADA wrote: Hi Alexey, 2015-01-03 22:20 GMT+09:00 Alexey Brodkin alexey.brod...@synopsys.com: Now when we may select commands via menuconfig let's adjust default settings with config_cmd_default.h. As the next step we may

[U-Boot] [PATCH 05/10] arc: introduce separate section for interrupt vector table

2015-01-09 Thread Alexey Brodkin
From: Igor Guryanov gurya...@synopsys.com Even though existing implementation works fine in preparation to submission of ARCv2 architecture we need this change. In case of ARCv2 interrupt vector table consists of just addresses of corresponding handlers. And if those addresses will be in .text

[U-Boot] [PATCH 08/10] arc: move common sources in library

2015-01-09 Thread Alexey Brodkin
reset.c and cpu.c have no architecture-specific code at all. Others are applicable to either ARC CPU. This change is a preparation to submission of ARCv2 architecture port. Even though ARCv1 and ARCv2 ISAs are not binary compatible most of built-in modules still have the same programming model -

[U-Boot] [PATCH 02/10] arc: add ECR (exception cause register) output

2015-01-09 Thread Alexey Brodkin
From: Igor Guryanov gurya...@synopsys.com Exception cause register (ECR) contains value that describes a reason for exception that has happened. This helps a lot to figure-out what went wrong. Now we print this register contents when dumping registers. Signed-off-by: Alexey Brodkin

[U-Boot] [PATCH 03/10] arc: interrupts - fix mask setup

2015-01-09 Thread Alexey Brodkin
From: Igor Guryanov gurya...@synopsys.com To disable interrupts we need to reset corresponding flags in STATUS32 register. For this we need to OR flags for interrupts level1 and level2 and then AND with current value in STATUS32. Before that implementation was incorrect. Signed-off-by: Alexey

[U-Boot] [PATCH 04/10] arc: add dependences on MMU presence

2015-01-09 Thread Alexey Brodkin
Depending on MMU presence in CPU there're differences in HW behavior. For example address of instruction that caused exception is put in ECR register if MMU exists and in ERET register otherwise. Signed-off-by: Alexey Brodkin abrod...@synopsys.com Signed-off-by: Igor Guryanov

[U-Boot] [PATCH 09/10] board/synopsys: remove selection of CPU from the board

2015-01-09 Thread Alexey Brodkin
Both ARCangel4 and AXS10x are FPGA-based boards so they may have different CPUs. For now we have only 1 option (ARC700) and we define this as default in arch Kconfig. Signed-off-by: Alexey Brodkin abrod...@synopsys.com --- arch/arc/Kconfig | 3 +++ board/synopsys/Kconfig| 6

[U-Boot] [PATCH 06/10] arc: relocate - minor refactoring and clean-up

2015-01-09 Thread Alexey Brodkin
* use better symbols for relocatable region boundaries (__image_copy_start instead of CONFIG_SYS_TEXT_BASE) * remove useless debug messages because they will only show up in case of both problem (when normal if branch won't be taken) and DEBUG take place which is pretty rare situation.

[U-Boot] [PATCH 07/10] arc: move linker script in arch/arc/cpu folder

2015-01-09 Thread Alexey Brodkin
This way we'll be able to use the same one script for either ARC CPU. Signed-off-by: Alexey Brodkin abrod...@synopsys.com --- arch/arc/cpu/{arc700 = }/u-boot.lds | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename arch/arc/cpu/{arc700 = }/u-boot.lds (100%) diff --git

[U-Boot] [PATCH 01/10] arc: check caches existence before use

2015-01-09 Thread Alexey Brodkin
From: Igor Guryanov gurya...@synopsys.com Some cache operations ({i|d}cache_{enable|disable|status} or flush_dcache_all) are built and used even if CONFIG_SYS_{I|D}CACHE_OFF is set. This is required for force disable of caches on early boot. What if something was executed before U-boot and

[U-Boot] [PATCH 00/10] ARC: updates, fixes preparation to ARCv2 submission

2015-01-09 Thread Alexey Brodkin
This series is focused on fixes and clean-up in ARC-related code. The most visible changes are: 1. Move lots of sources in lib folder because they are arch-independent 2. Rename (generalize) arc700 - arcv1 because we'll have another type of ARC CPUs soon as well as more flavours of existing

[U-Boot] [PATCH 10/10] arc: rename arc700 in arcv1

2015-01-09 Thread Alexey Brodkin
As a preparation to ARCv2 port submission we rename arc700 folder to arcv1 which stands for ARCv1 ISA also known as ARCompact. This will allow us to add more flavours of binary-compatible ARCv1 CPUs like ARC600 if needed later on and all required ARCv2 CPUs (which are binary incompatible with

[U-Boot] Pull request: nand flash

2015-01-09 Thread Scott Wood
Sorry for the lateness -- I was just pinged about these regression fixes that should go in the forthcoming release. The following changes since commit b188067f39627d977bb1db67c8456e9aaab90743: arm: vf610: fix boot from SD-card (2015-01-09 10:27:51 -0500) are available in the git repository

[U-Boot] please pull u-boot-arc master

2015-01-09 Thread Alexey Brodkin
Dear Tom, The following changes since commit b188067f39627d977bb1db67c8456e9aaab90743: arm: vf610: fix boot from SD-card (2015-01-09 10:27:51 -0500) are available in the git repository at: git://git.denx.de/u-boot-arc.git for you to fetch changes up to

Re: [U-Boot] [PATCH 2/2] config_cmd_default.h: wrap each definition in ifndef

2015-01-09 Thread Alexey Brodkin
Hi all, On Sat, 2015-01-03 at 16:20 +0300, Alexey Brodkin wrote: Now with switch to Kconfig it's possible to select commands via menuconfig or defconfigs. Moreover some commands are enabled by default in both config_cmd_default.h as a legacy way and in common/Kconfig. And on attempt to

Re: [U-Boot] [PATCH 08/18] exynos5: config: prepare for dm i2c support

2015-01-09 Thread Przemyslaw Marczak
Hello Heiko Schocher, Sorry, I missed this message this morning. On 01/09/2015 07:37 AM, Heiko Schocher wrote: Hello Przemyslaw Marczak, Am 08.01.2015 12:33, schrieb Przemyslaw Marczak: This commit allows for test i2c drivers with new i2c api on Exynos5xxx based boards. The S3C24X0 I2C

[U-Boot] [PATCH 04/12] imx:mx6 update mxc_ccm_reg

2015-01-09 Thread Peng Fan
Add more register for structure mxc_ccm_reg. Signed-off-by: Peng Fan peng@freescale.com --- arch/arm/include/asm/arch-mx6/crm_regs.h | 87 1 file changed, 87 insertions(+) diff --git a/arch/arm/include/asm/arch-mx6/crm_regs.h

[U-Boot] dm: device_id info

2015-01-09 Thread Jagan Teki
Hi, I'm exploring internals of dm where I'm just comparing udevice with Linux model especially on device_id scenarios. udevice_id - u-boot Linux: platform_device_id of_device_id spi_device_id input_device_id .. ... pci_device_id 1. Does this udevice_id is a generic

Re: [U-Boot] [PATCH] arm: vf610: fix boot from SD-card

2015-01-09 Thread Stefan Agner
Hi Bill, On 2015-01-08 18:32, Bill Pringlemeir wrote: On 8 Jan 2015, ste...@agner.ch wrote: Boot from SD-card (and probably also from NAND) was broken since commit d6d07a9bec (arm: vf610: add NAND support for vf610twr). It looks like the increased size of U-Boot lead to a situation where

Re: [U-Boot] [PATCH] arm: vf610: fix boot from SD-card

2015-01-09 Thread Otavio Salvador
On Fri, Jan 9, 2015 at 12:13 PM, Stefan Agner ste...@agner.ch wrote: ... I also think that meta-fsl-arm creates a SD-card boot-able image by default, but not sure whether mainline U-boot is in use there or not. Added Otavio for that matter... Yes we generate and use U-Boot mainline. So I think

Re: [U-Boot] [PATCH v2] mx25: Fix boot hang by avoiding vector relocation

2015-01-09 Thread Tom Rini
On Thu, Jan 08, 2015 at 10:10:45AM -0500, Bill Pringlemeir wrote: On Tue, Jan 06, 2015 at 01:06:48PM -0200, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Since commit 3ff46cc42b9d73d0 (arm: relocate the exception vectors) mx25pdk hangs like this: CPU:

Re: [U-Boot] Pull request: u-boot-spi/master

2015-01-09 Thread Tom Rini
On Fri, Jan 09, 2015 at 12:10:35AM +0530, Jagannadha Sutradharudu Teki wrote: Hi Tom, Please pull this PR. thanks! Jagan. The following changes since commit d622ac39274a949b6445f1bfd92dc1644014388b: powerpc: mpc824x: remove MPC824X cpu support (2015-01-05 12:08:55 -0500) are

Re: [U-Boot] i2c:mxc fix array size of i2c_data

2015-01-09 Thread Tom Rini
On Tue, Jan 06, 2015 at 02:12:51PM +0800, Peng Fan wrote: We should not hardcode array size of i2c_data to 3. To CONFIG_FSL_LSCH3, there are 4 i2c interface, but not 3. So the size of i2c_data array should be calculated using ARRAY_SIZE(i2c_bases). To avoid compile error, move i2c_bases

Re: [U-Boot] mx25: Remove empty line after printing the reset cause

2015-01-09 Thread Tom Rini
On Tue, Jan 06, 2015 at 02:10:05PM -0200, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Currently there is an unneeded empty line after printing the reset cause: U-Boot 2015.01-rc4-00080-g0551a93 (Jan 06 2015 - 13:04:19)

[U-Boot] [PATCH] cmd_sf: Fix problem with sf update and unaligned length

2015-01-09 Thread Stefan Roese
On SoCFPGA, using sf update with an non-4byte aligned length leads to a hangup (and reboot via watchdog). This is because of the unaligned access in the cadence QSPI driver which is hard to prevent since the data is written into a 4-byte wide FIFO. This patch fixes this problem by changing the

[U-Boot] [PATCH 1/2] usb: gadget: composite: Fix NULL pointer crash in USB compliance test

2015-01-09 Thread Stefan Roese
On the DXR2 board (AM335x using MUSB) the USB compliance test suite (USB 2.0 Command Verifier) will cause the board to crash and reset upon the BOS Descriptor Test - Addressed state. Here the output from the DRX2 while running this test: GADGET DRIVER: usb_dnl_dfu musb-hdrc: peripheral reset irq

[U-Boot] [PATCH 2/2] usb: gadget: f_dfu: Add get_alt function to pass the USB compliance test

2015-01-09 Thread Stefan Roese
Without this function the USB compliance test (USB 2.0 Command Verifier) will fail in the Interface Descriptor Test with this error message: FAIL (1.2.51) A successful GetInterface request must return the alternate setting set by a prior call to SetInterface. Lets add this function to read back

Re: [U-Boot] [PATCH 1/2] usb: gadget: composite: Fix NULL pointer crash in USB compliance test

2015-01-09 Thread Heiko Schocher
Hello Stefan, Am 09.01.2015 14:54, schrieb Stefan Roese: On the DXR2 board (AM335x using MUSB) the USB compliance test suite (USB 2.0 Command Verifier) will cause the board to crash and reset upon the BOS Descriptor Test - Addressed state. Here the output from the DRX2 while running this test:

Re: [U-Boot] [PATCH 2/2] usb: gadget: f_dfu: Add get_alt function to pass the USB compliance test

2015-01-09 Thread Heiko Schocher
Hello Stefan, Am 09.01.2015 14:54, schrieb Stefan Roese: Without this function the USB compliance test (USB 2.0 Command Verifier) will fail in the Interface Descriptor Test with this error message: FAIL (1.2.51) A successful GetInterface request must return the alternate setting set by a prior

Re: [U-Boot] doc: fix spelling errors in am335x/README

2015-01-09 Thread Tom Rini
On Tue, Jan 06, 2015 at 04:40:28PM -0800, Jeremiah Mahler wrote: Fix several spelling errors and replace the invalid word architectured with designed. Signed-off-by: Jeremiah Mahler jmmah...@gmail.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] gpt: Fix the protective MBR partition size

2015-01-09 Thread Tom Rini
On Thu, Jan 08, 2015 at 12:26:44PM +0100, Maxime Ripard wrote: According to the UEFI Spec (Table 16, section 5.2.3 of the version 2.4 Errata B), the protective MBR partition record size must be set to the size of the disk minus one, in LBAs. However, the current code was setting the size as

Re: [U-Boot] Pull request: u-boot-uniphier

2015-01-09 Thread Tom Rini
On Thu, Jan 08, 2015 at 11:08:45PM +0900, Masahiro YAMADA wrote: Hi Tom, Please pull some Panasonic SoC specific updates. The following changes since commit 40ad4c4b1fea2497bc019ee82163b76d4b076730: Kconfig: move EXPERT option under General setup menu (2015-01-07 14:48:47

Re: [U-Boot] doc/gitmail-rc: fix whitespaces

2015-01-09 Thread Tom Rini
On Wed, Jan 07, 2015 at 11:32:36PM +, Luka Perkov wrote: Signed-off-by: Luka Perkov luka.per...@sartura.hr Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] MAINTAINERS: add me as a co-maintainer of KIRKWOOD

2015-01-09 Thread Tom Rini
On Wed, Jan 07, 2015 at 11:32:06PM +, Luka Perkov wrote: Signed-off-by: Luka Perkov luka.per...@sartura.hr CC: Prafulla Wadaskar prafu...@marvell.com CC: Wolfgang Denk w...@denx.de Acked-by: Stefan Roese s...@denx.de Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [U-Boot, v3] scripts: fix binutils-version.sh for 'as' without a package.

2015-01-09 Thread Tom Rini
On Wed, Jan 07, 2015 at 10:34:15AM -0500, Bill Pringlemeir wrote: Commit 73c25753 fixed the common issue that binutil packages (tool/organization that packaged or built the bin-utils) are included in brackets and this may falsely be recognized as a version. However, some tools do not

Re: [U-Boot] [PATCH 1/3] samsung: board: support eMMC reset using DT

2015-01-09 Thread Jaehoon Chung
On 01/09/2015 04:31 PM, Joonyoung Shim wrote: +Cc Jaehoon, On 01/09/2015 03:18 AM, Simon Glass wrote: Hi Joonyoung, On 7 January 2015 at 22:44, Joonyoung Shim jy0922.s...@samsung.com wrote: Some exynos boards require special handling of SD4_nRESET_OUT line for eMMC memory to perform

Re: [U-Boot] [PATCH 2/2] sunxi: Enable pre-console buffer

2015-01-09 Thread Siarhei Siamashka
On Thu, 08 Jan 2015 08:49:54 + Ian Campbell i...@hellion.org.uk wrote: On Thu, 2015-01-08 at 09:02 +0200, Siarhei Siamashka wrote: This allows to always have a complete log on the VGA/HDMI/LCD console. Signed-off-by: Siarhei Siamashka siarhei.siamas...@gmail.com ---

Re: [U-Boot] [PATCH] arm: vf610: fix boot from SD-card

2015-01-09 Thread Stefano Babic
Hi Tom, hi Stefan, On 09/01/2015 15:13, Stefan Agner wrote: Hi Bill, On 2015-01-08 18:32, Bill Pringlemeir wrote: On 8 Jan 2015, ste...@agner.ch wrote: Boot from SD-card (and probably also from NAND) was broken since commit d6d07a9bec (arm: vf610: add NAND support for vf610twr). It