[U-Boot] [PATCH] arm: exynos: fix the div value for set_mmc_clk

2015-01-07 Thread Jaehoon Chung
The most exynos used the "Ratio + 1" as div value. And value at register is "Ratio". So if want to set exact value, it needs to subtract one. Value at register ("Ratio") = div - 1 Signed-off-by: Jaehoon Chung --- arch/arm/cpu/armv7/exynos/clock.c | 4 1 file changed, 4 insertions(+) diff

[U-Boot] [PATCH] ARM: exynos: clock: remove clock_get_periph_rate()

2015-01-07 Thread Jaehoon Chung
This api is wrong array bounds. arch/arm/cpu/armv7/exynos/clock.c: In function 'clock_get_periph_rate': arch/arm/cpu/armv7/exynos/clock.c:265:47: warning: array subscript is above array bounds [-Warray-bounds] struct clk_bit_info *bit_info = &clk_bit_info[peripheral]; And it doesn't use anywhe

[U-Boot] [PATCH 1/3] ARM: atmel: sama5d4 xplained: fix the LCD parameters

2015-01-07 Thread Bo Shen
Correct the LCD pixel clock, remove unused vsync parameter, and also correct the include file. Signed-off-by: Bo Shen --- board/atmel/sama5d4_xplained/sama5d4_xplained.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/board/atmel/sama5d4_xplained/sama5d4_xplained.c b/

[U-Boot] [PATCH 3/3] ARM: atmel: sama5d3xek: fix the LCD parameters

2015-01-07 Thread Bo Shen
Remove unused vsync parameter, and correct the include file. Signed-off-by: Bo Shen --- board/atmel/sama5d3xek/sama5d3xek.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/board/atmel/sama5d3xek/sama5d3xek.c b/board/atmel/sama5d3xek/sama5d3xek.c index ca4f79d..cf6ed8b 100

[U-Boot] [PATCH 2/3] ARM: atmel: sama5d4xek: fix the LCD parameters

2015-01-07 Thread Bo Shen
Remove unused vsync parameter, and correct the include file. Signed-off-by: Bo Shen --- board/atmel/sama5d4ek/sama5d4ek.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/board/atmel/sama5d4ek/sama5d4ek.c b/board/atmel/sama5d4ek/sama5d4ek.c index f8394f5..d3039c0 100644 --

[U-Boot] [PATCH 1/2] console: Use pre-console buffer to get complete log on all consoles

2015-01-07 Thread Siarhei Siamashka
Currently the pre-console buffer can accumulate early log messages and flush them to the serial console as soon as it becomes available. This patch just adds one more pre-console buffer flushing point and does all the same for the other consoles too. This is particularly useful for the vga/hdmi/lc

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

2015-01-07 Thread Siarhei Siamashka
This allows to always have a complete log on the VGA/HDMI/LCD console. Signed-off-by: Siarhei Siamashka --- include/configs/sunxi-common.h | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index b4324ee..5

Re: [U-Boot] [PATCH] spi: ftssp010_spi: Simplify code flow in ftssp010_[wait|wait_tx|wait_rx]

2015-01-07 Thread Jagan Teki
On 8 January 2015 at 07:17, Axel Lin wrote: > No functional change, just simplify the code a bit. > > Signed-off-by: Axel Lin > --- > drivers/spi/ftssp010_spi.c | 36 > 1 file changed, 12 insertions(+), 24 deletions(-) > > diff --git a/drivers/spi/ftssp010_sp

Re: [U-Boot] [PATCH 1/8] arm: am437x: PLL values for all input frequencies

2015-01-07 Thread Mugunthan V N
On Tuesday 23 December 2014 03:56 AM, Felipe Balbi wrote: > From: James Doublesin > > Need to provide PLL values for all possible input frequencies (19.2, 24, > 25, 26MHz). Values provide are also optimized for jitter (needed > especially for PER PLL and DDR PLL). > > Signed-off-by: James Double

Re: [U-Boot] [PATCH 1/2] qspi:fsl implement AHB read

2015-01-07 Thread Jagan Teki
On 8 January 2015 at 08:10, Peng Fan wrote: > The QSPI controller in i.MX 6SoloX and Vybrid supports reading data using > IP register and AHB bus. > > The original driver only supports reading data from IP interface. The IC > team suggests to use AHB read which is faster then IP read. Using AHB re

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

2015-01-07 Thread Bin Meng
Hi Simon, On Tue, Dec 30, 2014 at 10:32 AM, Simon Glass wrote: > NOT TO APPLY > > This shows how to enable video for the glacier board, as an example of the > emulator working on a VESA-compliant graphics card. > > Signed-off-by: Simon Glass > --- > > include/configs/canyonlands.h | 31

[U-Boot] [PATCH 2/3] Odroid: Add eMMC-reset node on DT

2015-01-07 Thread Joonyoung Shim
This needs for special handling of SD4_nRESET_OUT line for eMMC memory to perform complete reboot on Odroid X2/U3 boards. Signed-off-by: Joonyoung Shim --- arch/arm/dts/exynos4412-odroid.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/dts/exynos4412-odroid.dts b/arch/arm/d

[U-Boot] [PATCH 0/3] Support eMMC reset using DT for some exynos boards

2015-01-07 Thread Joonyoung Shim
This patchset is to support eMMC reset using DT for some exynos boards e.g. Odroid X2/U3/XU3. It needs to reset eMMC memory to perform complete reboot, so we should handle SD4_nRESET_OUT line specially. SD4_nRESET_OUT line is connected to gpio and it can have different gpio by boards, so we will g

[U-Boot] [PATCH 3/3] Odroid-XU3: Add eMMC-reset node on DT

2015-01-07 Thread Joonyoung Shim
This needs for special handling of SD4_nRESET_OUT line for eMMC memory to perform complete reboot on Odroid XU3 board. Signed-off-by: Joonyoung Shim --- arch/arm/dts/exynos5422-odroidxu3.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/dts/exynos5422-odroidxu3.dts b/arch/ar

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

2015-01-07 Thread Joonyoung Shim
Some exynos boards require special handling of SD4_nRESET_OUT line for eMMC memory to perform complete reboot e.g. Odroid X2/U3/XU3 boards. This will support eMMC reset using DT from reset_misc of samsung common board file and each board files can support eMMC reset on non DT case. Signed-off-by:

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

2015-01-07 Thread Nable
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 usb_gadget_register_driver after calling udc_disable. This patch fixes the order of initial

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

2015-01-07 Thread Luka Perkov
Signed-off-by: Luka Perkov CC: Prafulla Wadaskar CC: Wolfgang Denk --- I'd like to help the U-Boot project as a Kirkwood co-maintainer and assist Prafulla with the Kirkwood maintenance. I'm maintaining U-Boot in OpenWrt project for Kirkwood and other platforms and have been sending patches to U

Re: [U-Boot] [linux-sunxi] [UBOOT NAND] [PATCH 0/4] Add nand reading support to u-boot

2015-01-07 Thread Daniel Kochmański
Hi, Hans de Goede writes: > Hi, > > On 06-01-15 12:57, Yassin Jaffer wrote: >> >> Hi Hans >> >> I was working on utilizing the DM framework for the nand driver, but this >> is going to take sometime , anyway I will try to submit the driver based on >> bbrezillon work. > > Ok, thanks. I'm looking

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

2015-01-07 Thread Luka Perkov
Signed-off-by: Luka Perkov --- doc/git-mailrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/git-mailrc b/doc/git-mailrc index 563e3ae..d90793a 100644 --- a/doc/git-mailrc +++ b/doc/git-mailrc @@ -22,7 +22,7 @@ alias gruss Graeme Russ alias hs H

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

2015-01-07 Thread Bin Meng
Hi Simon, On Tue, Dec 30, 2014 at 10:32 AM, Simon Glass wrote: > NOT TO APPLY > > This shows how to enable video for the glacier board, as an example of the > emulator working on a VESA-compliant graphics card. > > Signed-off-by: Simon Glass > --- > Did you test a PCIe video card on chromebook_

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

2015-01-07 Thread Prafulla Wadaskar
> -Original Message- > From: Luka Perkov [mailto:luka.per...@sartura.hr] > Sent: 08 January 2015 05:02 > To: u-boot@lists.denx.de > Cc: Luka Perkov; Prafulla Wadaskar; Wolfgang Denk > Subject: [PATCH] MAINTAINERS: add me as a co-maintainer of KIRKWOOD > > Signed-off-by: Luka Perkov > CC

[U-Boot] [PATCH 2/2] imx:mx6sxsabresd support qspi AHB read

2015-01-07 Thread Peng Fan
Add CONFIG_SYS_FSL_QSPI_AHB in header file to enable AHB in driver. In order to count the time, add CONFIG_CMD_TIME. Using AHB read can improve the the read speed about 30%. AHB read: => time sf read 0x8f80 0 10 SF: 1048576 bytes @ 0x0 Read: OK time: 0.174 seconds => time sf read 0x8f800

[U-Boot] [PATCH 1/2] qspi:fsl implement AHB read

2015-01-07 Thread Peng Fan
The QSPI controller in i.MX 6SoloX and Vybrid supports reading data using IP register and AHB bus. The original driver only supports reading data from IP interface. The IC team suggests to use AHB read which is faster then IP read. Using AHB read, we can directly memcpy, a "missed" access to the b

[U-Boot] [PATCH 0/2] qspi:fsl support AHB read

2015-01-07 Thread Peng Fan
This patch set is to support AHB read in qspi driver and add related configuration in board configuration file. Detailed log info is in patch commit log. Peng Fan (2): qspi:fsl implement AHB read imx:mx6sxsabresd support qspi AHB read drivers/spi/fsl_qspi.c | 137 +++

[U-Boot] [PATCH] spi: ftssp010_spi: Simplify code flow in ftssp010_[wait|wait_tx|wait_rx]

2015-01-07 Thread Axel Lin
No functional change, just simplify the code a bit. Signed-off-by: Axel Lin --- drivers/spi/ftssp010_spi.c | 36 1 file changed, 12 insertions(+), 24 deletions(-) diff --git a/drivers/spi/ftssp010_spi.c b/drivers/spi/ftssp010_spi.c index aa3b5a0..267e4d8 100

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

2015-01-07 Thread Stephen Warren
On 01/07/2015 04:35 PM, Marek Vasut wrote: On Tuesday, January 06, 2015 at 06:02:57 PM, Stephen Warren wrote: On 01/06/2015 06:27 AM, Hans de Goede wrote: Hi Marek & Stephen, As discussed before we've a problem where our standard bootcmds sometimes scan usb more then once, causing a large boot

Re: [U-Boot] Nokia RX-51 (N900) board broken

2015-01-07 Thread Nishanth Menon
On 01/07/2015 03:12 AM, Pali Rohár wrote: @Tom, Nishanth, or anybody from TI: how to check if omap device type is HS in uboot? In linux kernel it is possible by: if (omap_type() == OMAP2_DEVICE_TYPE_SEC) { ... } it should be. CONTROL_STATUS register exists in almost all omap2+ devices. http://

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

2015-01-07 Thread Marek Vasut
On Tuesday, January 06, 2015 at 06:02:57 PM, Stephen Warren wrote: > On 01/06/2015 06:27 AM, Hans de Goede wrote: > > Hi Marek & Stephen, > > > > As discussed before we've a problem where our standard bootcmds sometimes > > scan usb more then once, causing a large boot delay. > > > > Marek, as di

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

2015-01-07 Thread Marek Vasut
On Wednesday, January 07, 2015 at 07:23:52 PM, Nable 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 usb_gadget_register_d

Re: [U-Boot] [PATCH 3/4] config_distro_bootcmd: Scan all partitions for boot files

2015-01-07 Thread Stephen Warren
On 01/07/2015 04:17 AM, Ian Campbell wrote: On Wed, 2015-01-07 at 12:01 +0100, Sjoerd Simons wrote: On Wed, 2015-01-07 at 10:22 +, Ian Campbell wrote: On Wed, 2015-01-07 at 11:10 +0100, Sjoerd Simons wrote: On Tue, 2015-01-06 at 17:43 -0700, Stephen Warren wrote: (CCing Dennis so he can c

Re: [U-Boot] [PATCH 3/4] config_distro_bootcmd: Scan all partitions for boot files

2015-01-07 Thread Stephen Warren
On 01/07/2015 03:10 AM, Sjoerd Simons wrote: On Tue, 2015-01-06 at 17:43 -0700, Stephen Warren wrote: (CCing Dennis so he can comment from a distro perspective re: partition table bootable flags v.s. scanning all partitions) On 01/06/2015 10:07 AM, Sjoerd Simons wrote: On Mon, 2015-01-05 at 13

Re: [U-Boot] [linux-sunxi] [UBOOT NAND] [PATCH 0/4] Add nand reading support to u-boot

2015-01-07 Thread Hans de Goede
Hi, On 07-01-15 08:15, Daniel Kochmański wrote: Hi, Hans de Goede writes: Hi, On 06-01-15 12:57, Yassin Jaffer wrote: Hi Hans I was working on utilizing the DM framework for the nand driver, but this is going to take sometime , anyway I will try to submit the driver based on bbrezillon wo

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

2015-01-07 Thread Hans de Goede
Hi, On 07-01-15 19:59, Ian Campbell wrote: On Sun, 2015-01-04 at 21:05 +0100, Hans de Goede 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. This doesn't sound terribly sunxi spec

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

2015-01-07 Thread Hans de Goede
Hi, On 07-01-15 19:56, Ian Campbell wrote: On Sun, 2015-01-04 at 21:05 +0100, Hans de Goede wrote: diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index 8782394..fdb18a4 100644 --- a/board/sunxi/Kconfig +++ b/board/sunxi/Kconfig @@ -345,6 +345,20 @@ config VIDEO_LCD_BL_PWM Set th

Re: [U-Boot] [PATCH v2 2/2] sunxi: video: Enable video on sun8i, which supports LCD but not HDMI

2015-01-07 Thread Hans de Goede
Hi, On 07-01-15 19:51, Ian Campbell wrote: On Wed, 2014-12-31 at 13:07 +0100, Hans de Goede wrote: The A23 (sun8i) only has lcd output support, so allow building the video code without HDMI support for use with the A23. Also the A23 has the same reset bits (and necessity to enable the DRC bloc

Re: [U-Boot] Kconfig: move EXPERT option under "General setup" menu

2015-01-07 Thread Tom Rini
On Wed, Nov 26, 2014 at 06:42:31PM +0900, Masahiro Yamada wrote: > Make it a sub-menu of "General setup" like Linux Kernel. > > Signed-off-by: Masahiro Yamada > Cc: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [PATCH] spl: spl_nor: surround Linux-load code with #ifdef CONFIG_SPL_OS_BOOT

2015-01-07 Thread Tom Rini
On Thu, Dec 18, 2014 at 04:13:48PM +0900, Masahiro Yamada wrote: > Hi Tom, > > On Wed, 10 Dec 2014 20:34:03 -0500 > Tom Rini wrote: > > > On Thu, Dec 11, 2014 at 10:01:38AM +0900, Masahiro Yamada wrote: > > > > > If CONFIG_SPL_NOR_SUPPORT is defined, spl_nor_load_image() requires > > > spl_star

Re: [U-Boot] [PATCH] spl: spl_nor: surround Linux-load code with #ifdef CONFIG_SPL_OS_BOOT

2015-01-07 Thread Masahiro YAMADA
ping? 2014-12-18 16:13 GMT+09:00 Masahiro Yamada : > Hi Tom, > > On Wed, 10 Dec 2014 20:34:03 -0500 > Tom Rini wrote: > >> On Thu, Dec 11, 2014 at 10:01:38AM +0900, Masahiro Yamada wrote: >> >> > If CONFIG_SPL_NOR_SUPPORT is defined, spl_nor_load_image() requires >> > spl_start_uboot(), CONFIG_

Re: [U-Boot] [PATCH] Kconfig: move EXPERT option under "General setup" menu

2015-01-07 Thread Masahiro YAMADA
Ping? 2015-01-06 11:17 GMT+09:00 Masahiro Yamada : > Hi Tom, > > > Please see my patch carefully. > http://patchwork.ozlabs.org/patch/415041/ > > > > Your commit (1bf0979f5ff4c297) added the expert menu at the root menu. > > Mine moves it under the "General setup" menu like Linux. > > > > > On Mo

Re: [U-Boot] [PATCH v3 3/4] sun7i: Move psci_arch_init close to text_end

2015-01-07 Thread Ian Campbell
On Wed, 2014-12-31 at 13:46 +0100, Jan Kiszka wrote: > From: Jan Kiszka > > "adr rX, text_end" only works if the label is close. Adding further code > to the other functions will prevent this. So move the containing > function close to label. No functional change. > > Signed-off-by: Jan Kiszka

Re: [U-Boot] [PATCH v3 1/4] sun7i: Add support for taking CPUs offline via PSCI

2015-01-07 Thread Ian Campbell
On Wed, 2014-12-31 at 13:46 +0100, Jan Kiszka wrote: > From: Jan Kiszka > > Based on the original version by Marc Zyngier. It adds a psci_cpu_off > implementation for the A20 SoC. The mechanism works by first preparing > the calling CPU to go offline (disable and flush cache, disable SMP), > then

Re: [U-Boot] [PATCH 3/3] sunxi: Add new Chuwi V7 CW0825 board / defconfig

2015-01-07 Thread Ian Campbell
On Sun, 2015-01-04 at 21:05 +0100, Hans de Goede wrote: > The Chuwi V7 is an A10 (sun4i) based tablet with 1G of RAM, 16G of nand flash, > microsd slot, 7" 1024x768 lvds ips panel, mini hdmi out, headphones out, > stereo speakers, front & back camera and usb wifi. > > It is clearly marked "CHUWI",

Re: [U-Boot] [PATCH] ARM: UniPhier: remove __packed that causes a problem on GCC 4.9

2015-01-07 Thread Tom Rini
On Wed, Jan 07, 2015 at 07:41:38PM +0900, Masahiro Yamada wrote: > The DDR PHY training function, ddrphy_prepare_training() would not > work if compiled with GCC 4.9. > > The struct ddrphy (arch/arm/include/asm/arch-uniphier/ddrphy-regs.h) > is specified with __packed because it represents a hardw

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

2015-01-07 Thread Ian Campbell
On Sun, 2015-01-04 at 21:05 +0100, Hans de Goede 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. This doesn't sound terribly sunxi specific, shouldn't sunxi_lcd_panel_hitachi_tx

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

2015-01-07 Thread Ian Campbell
On Sun, 2015-01-04 at 21:05 +0100, Hans de Goede wrote: > diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig > index 8782394..fdb18a4 100644 > --- a/board/sunxi/Kconfig > +++ b/board/sunxi/Kconfig > @@ -345,6 +345,20 @@ config VIDEO_LCD_BL_PWM > Set the backlight pwm pin for the LCD panel

Re: [U-Boot] [PATCH v2 2/2] sunxi: video: Enable video on sun8i, which supports LCD but not HDMI

2015-01-07 Thread Ian Campbell
On Wed, 2014-12-31 at 13:07 +0100, Hans de Goede wrote: > The A23 (sun8i) only has lcd output support, so allow building the video code > without HDMI support for use with the A23. > > Also the A23 has the same reset bits (and necessity to enable the DRC block) > as the sun6i, so enable those bits

Re: [U-Boot] [PATCH 2/2] sun7i: Add PSCI v0.2 support

2015-01-07 Thread Ian Campbell
On Wed, 2014-12-31 at 12:57 +0100, Jan Kiszka wrote: > On 2014-12-29 15:12, Ian Campbell wrote: > > On Mon, 2014-12-15 at 12:37 +0100, Jan Kiszka wrote: > >> This extends the PSCI support for the A20 to a dual v0.2 and v0.1 > >> interface. Recent OSes will prefer v0.2, olders will still find the >

Re: [U-Boot] u-boot on raspberry pi with fw_printenv/fw_setenv

2015-01-07 Thread B.R. Oake
On 06/01/15 17:01, B.R. Oake wrote: > [...] > then you could configure fw_printenv and fw_setenv to act upon that > file by putting the following line in /etc/fw_env.config: > > uboot.env 0x 0x4000 0x4000 P.S. I realise now that the third column, 'Flash sector size', is actually unnecessary i

Re: [U-Boot] u-boot on raspberry pi with fw_printenv/fw_setenv

2015-01-07 Thread B.R. Oake
On 07/01/15 12:17, Waldemar Brodkorb wrote: > Thanks a lot! This helps. Maybe an additional example in > fw_env.config would avoid another question about this in the future > ;) I agree; thank you for volunteering to do that work ;) The guide to submitting patches is at http://www.denx.de/wiki/U-B

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

2015-01-07 Thread Bill Pringlemeir
On 7 Jan 2015, yamad...@jp.panasonic.com wrote: > Thanks for your patch. > > I think this works but could it be more simplified? > > In your commit-log, you mentioned only some of tools provide > additional information surrounded by brackets. > > If so, we can > [1] remove blackets > [2] and then

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

2015-01-07 Thread Bill Pringlemeir
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 provide a 'package' and previously we add the 'Gnu assembler..' to the version.

Re: [U-Boot] Bug fix only pull request: u-boot-mmc 05012015

2015-01-07 Thread Tom Rini
On Tue, Jan 06, 2015 at 10:11:53AM +0200, Pantelis Antoniou wrote: > Hi Tom, > > > On Jan 5, 2015, at 22:29 , Tom Rini wrote: > > > > On Mon, Jan 05, 2015 at 10:11:41PM +0200, Pantelis Antoniou wrote: > >> > >>> On Jan 5, 2015, at 22:10 , Fabio Estevam wrote: > >>> > >>> On Mon, Jan 5, 2015

Re: [U-Boot] [PULL bugfix for v2015.01] Please pull u-boot-sunxi/master into master

2015-01-07 Thread Tom Rini
On Tue, Jan 06, 2015 at 11:34:17AM +0100, Hans de Goede wrote: > Hi Tom, > > Siarhei Siamashka pointed out a small, but nasty error in the > axp221 driver, this pull-req fixes this, can you please include > this fix in the upcoming v2015.01 release ? > > The following changes since commit d622ac

Re: [U-Boot] [U-Boot,1/1] powerpc/cm5200: migrate to generic board

2015-01-07 Thread Tom Rini
On Tue, Dec 16, 2014 at 10:09:31AM +, David Büchi wrote: > Signed-off-by: David Buechi Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailm

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

2015-01-07 Thread Tom Rini
On Mon, Jan 05, 2015 at 05:48:01PM -0700, Simon Glass wrote: > Hi Tom, > > This didn't go through last time, it is on branch 'misc'. > > > The following changes since commit d622ac39274a949b6445f1bfd92dc1644014388b: > > powerpc: mpc824x: remove MPC824X cpu support (2015-01-05 12:08:55 -0500)

Re: [U-Boot] mtd: nand: omap_gpmc: fix error handling

2015-01-07 Thread Tom Rini
On Fri, Jan 02, 2015 at 02:49:10PM -0300, Guido Martínez wrote: > "err" was an unsigned variable, causing negative error codes to turn > into positive values, which are interpreted as an amount of succesfully > corrected bitflips (and thus not an error). > > In particular, this resulted in that i

Re: [U-Boot] memmove_wd: copy chunk down from big address if parameter to is larger than from

2015-01-07 Thread Tom Rini
On Wed, Dec 10, 2014 at 06:20:53PM +0800, Sonic Zhang wrote: > From: Sonic Zhang > > When watchdog is enabled, memmove_wd() always copy chunk up from small > address. > This damanges overlapped memory data if destination address is smaller than > source address. > > Signed-off-by: Sonic Zhang

Re: [U-Boot] [U-Boot,v2] doc: fix grammatical errors in README

2015-01-07 Thread Tom Rini
On Sun, Jan 04, 2015 at 06:56:50PM -0800, Jeremiah Mahler wrote: > Fix various spelling and grammatical errors in the README. > > Signed-off-by: Jeremiah Mahler > Acked-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] arm: omap3: cm-t35: convert to generic board

2015-01-07 Thread Tom Rini
On Wed, Dec 31, 2014 at 03:00:56PM +0200, Nikita Kiryanov wrote: > Convert cm-t35 to generic board. > > Cc: Igor Grinberg > Cc: Tom Rini > Signed-off-by: Nikita Kiryanov > Acked-by: Igor Grinberg Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] cmd_bdinfo: check for CONFIG_ARC instead of CONFIG_ARC700

2015-01-07 Thread Tom Rini
On Fri, Dec 26, 2014 at 11:03:15AM +0300, Alexey Brodkin wrote: > For all flavours of ARC we execute the same code in "bdinfo" so we may > safely check for CONFIG_ARC. This is especially important since we're > about to add more types of ARC so existing check won't work in all > cases. > > Signed

Re: [U-Boot] ARM: bootm: do not add PSCI to fdt when booting in secure mode.

2015-01-07 Thread Tom Rini
On Sun, Dec 21, 2014 at 09:45:11AM +, Ian Campbell wrote: > Commit 8bc347e2ec17 "ARM: bootm: Allow booting in secure mode on hyp capable > systems" added the capability to select nonsec vs sec mode boot via an > environment var. > > There is a subtle gotcha with this functionality, which is t

Re: [U-Boot] [U-Boot,2/3] am33xx: Drop timer_init call from s_init

2015-01-07 Thread Tom Rini
On Fri, Dec 19, 2014 at 04:52:54PM -0500, Tom Rini wrote: > In both SPL and non-SPL cases we will make a call to timer_init() early > on and do not need to call it again within s_init(). > > Signed-off-by: Tom Rini > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signatu

Re: [U-Boot] [U-Boot, 3/3] omap-common/hwinit-common.c: timer_init() doesn't need to touch gd

2015-01-07 Thread Tom Rini
On Fri, Dec 19, 2014 at 04:52:55PM -0500, Tom Rini wrote: > The gd will be cleared at first so we don't need to set arch.tbl to 0. > In addition, the checks later against lastinc also work fine with an > initial value of 0 here. This also brings us in line with sunxi code > for example. > > Sign

Re: [U-Boot] [U-Boot, 1/1] cmd, fdt: fix working_fdt is set to wrong value

2015-01-07 Thread Tom Rini
On Mon, Dec 22, 2014 at 04:45:59AM +0800, Hua Yanghao wrote: > Being a long time u-boot developer, this is the first time I'm trying > to get some fix for the open source code back to mainline. > If anything wrong during the process, please be gentle :-) Thank you. > > >From 225c8f8f2af4cf6092260

Re: [U-Boot] [U-Boot,v3] fs: fat: read: fix fat16 ls/read issue

2015-01-07 Thread Tom Rini
On Thu, Dec 18, 2014 at 05:14:17PM +0100, Przemyslaw Marczak wrote: > The present fat implementation ignores FAT16 long name > directory entries which aren't placed in a single sector. > > This was becouse of the buffer was always filled by the > two sectors, and the loop was made also for two se

Re: [U-Boot] [U-Boot,1/2] ARM: OMAP4: Panda: rework DMM logic

2015-01-07 Thread Tom Rini
On Thu, Dec 18, 2014 at 03:28:35PM -0600, Nishanth Menon wrote: > Part of DMM logic is reuse from commit > 47a4bea6af77b01d59a410d09a4c34b2dd14cf50 ("ARM: omap4: Update sdram > setting for panda rev A6") Which broke SDP4430 with ES2.3 (uses old > DDR). > > So, to maintain support for newer DDR us

Re: [U-Boot] [U-Boot,1/3] socfpga: Drop redundant save_boot_params

2015-01-07 Thread Tom Rini
On Fri, Dec 19, 2014 at 04:52:53PM -0500, Tom Rini wrote: > The save_boot_params function here is the same as the default weak one > from arch/arm/cpu/armv7/start.S, drop. > > Cc: Dinh Nguyen > Cc: Vince Bridgers > Cc: Chin Liang See > Cc: Marek Vasut > Signed-off-by: Tom Rini > Reviewed-by:

Re: [U-Boot] [U-Boot, 2/2] Revert "ARM: omap4: Update sdram setting for panda rev A6"

2015-01-07 Thread Tom Rini
On Thu, Dec 18, 2014 at 03:28:36PM -0600, Nishanth Menon wrote: > This reverts commit 47a4bea6af77b01d59a410d09a4c34b2dd14cf50. > > Signed-off-by: Nishanth Menon Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] TI: armv7: enable UUID and PART

2015-01-07 Thread Tom Rini
On Thu, Dec 18, 2014 at 02:32:14PM -0600, Nishanth Menon wrote: > Enable UUID and partition support for scripted handling platforms with > MMC and eMMC and varied partitioning schemes > > And remove it from headers that end up redefining it. > > Signed-off-by: Nishanth Menon Applied to u-boot/

Re: [U-Boot] [U-Boot,4/5] arm: omap: reset sata on boot

2015-01-07 Thread Tom Rini
On Mon, Dec 15, 2014 at 04:02:58PM +0200, Dmitry Lifshitz wrote: > On OMAP platforms (like OMAP5) Linux kernel fails to detect a SATA > device if it is used by U-Boot. > > It happens because U-Boot does not reset SATA controller before boot. > > Reset the controller on OS boot so that Linux will

Re: [U-Boot] [U-Boot,5/5] omap5: cm-t54: add sata support

2015-01-07 Thread Tom Rini
On Mon, Dec 15, 2014 at 04:02:59PM +0200, Dmitry Lifshitz wrote: > Add configs required for SATA support on CM-T54 board. > > Signed-off-by: Dmitry Lifshitz > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] da850evm: Use generic board and libfdt, fix size for SPI flash

2015-01-07 Thread Tom Rini
On Wed, Dec 17, 2014 at 12:14:36PM +1100, Peter Howard wrote: > Add defines to use CONFIG_SYS_GENERIC_BOARD and CONFIG_OF_LIBFDT. > Semi-separate to this: the size of the image for the da850evm has > increased to the point that the size in da850evm.h and the offset for > the environment in SPI fla

Re: [U-Boot] [U-Boot, 3/5] OMAP5+: sata/scsi: implement scsi_bus_reset()

2015-01-07 Thread Tom Rini
On Mon, Dec 15, 2014 at 04:02:57PM +0200, Dmitry Lifshitz wrote: > Implement missing scsi_bus_reset() for SCSI subsystem commands > on OMAP platforms. > > Signed-off-by: Dmitry Lifshitz > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital sign

Re: [U-Boot] [U-Boot, 2/5] ahci-plat: provide a weak scsi_bus_reset() hook

2015-01-07 Thread Tom Rini
On Mon, Dec 15, 2014 at 04:02:56PM +0200, Dmitry Lifshitz wrote: > This allow the platform to handle a custom reset sequence. > > Signed-off-by: Dmitry Lifshitz > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] beagle_x15: enable NFS command

2015-01-07 Thread Tom Rini
On Wed, Dec 10, 2014 at 02:16:15PM -0600, Felipe Balbi wrote: > NFS is useful for loading zImage and dts through > NFS export. It saves us from running two services > for loading files over the network (tftp and nfs). > > Signed-off-by: Felipe Balbi Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot,1/5] ahci: introduce ahci_reset()

2015-01-07 Thread Tom Rini
On Mon, Dec 15, 2014 at 04:02:55PM +0200, Dmitry Lifshitz wrote: > Extract controller reset code from ahci_host_init() into separate > ahci_reset(). > > Signed-off-by: Dmitry Lifshitz > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signat

Re: [U-Boot] devkit8000: convert to use generic board code

2015-01-07 Thread Tom Rini
On Wed, Dec 24, 2014 at 01:11:49AM +0100, Anthoine Bourgeois wrote: > Signed-off-by: Anthoine Bourgeois Since we're close to release, I'm taking this now and will take your patches to further clean up the config after release, applied to u-boot/master, thanks! -- Tom signature.asc Descriptio

Re: [U-Boot] [U-Boot, U-boot] keystone: set default pci mode to root complex

2015-01-07 Thread Tom Rini
On Tue, Dec 09, 2014 at 02:32:26PM -0500, Karicheri, Muralidharan wrote: > pci ports are used as root complex in Linux. So set this as default > in u-boot for keystone devices > > Signed-off-by: Murali Karicheri Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital sig

[U-Boot] way to determine board dram size in boot script?

2015-01-07 Thread Tim Harvey
Is there a recommended way to determine a board's dram size in a boot script? I need to pass in some specific kernel parameters for a GPU driver memory allocation on boards below a certain amount of memory. I can always do a: char str[6]; sprintf(str, "%d", (int) (gd->ram_size >> 20)); setenv("me

Re: [U-Boot] [PATCH 3/4] config_distro_bootcmd: Scan all partitions for boot files

2015-01-07 Thread Ian Campbell
On Wed, 2015-01-07 at 12:46 +0100, Sjoerd Simons wrote: > On Wed, 2015-01-07 at 11:17 +, Ian Campbell wrote: > > On Wed, 2015-01-07 at 12:01 +0100, Sjoerd Simons wrote: > > > On Wed, 2015-01-07 at 10:22 +, Ian Campbell wrote: > > > > On Wed, 2015-01-07 at 11:10 +0100, Sjoerd Simons wrote: >

Re: [U-Boot] u-boot on raspberry pi with fw_printenv/fw_setenv

2015-01-07 Thread Waldemar Brodkorb
Hi, B.R. Oake wrote, > On 06/01/15 12:08, Waldemar Brodkorb wrote: > > I am looking for a way to change u-boot environment from Linux > > on a Raspberry PI. I have fw_printenv/fw_setenv, but I have no clue > > how the config file looks like, when using uboot.env as a file on > > the first vfat par

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

2015-01-07 Thread Masahiro Yamada
Hi Bill, On Tue, 6 Jan 2015 17:38:19 -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 n

Re: [U-Boot] [PATCH 0/4] Odroid XU3 support additions

2015-01-07 Thread Joonyoung Shim
Hi Sjoerd, On 01/07/2015 06:25 PM, Sjoerd Simons wrote: > On Wed, 2015-01-07 at 17:31 +0900, Joonyoung Shim wrote: >> Hi, >> >> On 12/02/2014 10:56 AM, Hyungwon Hwang wrote: >>> Dear Sjoerd, >>> >>> Thanks for this work. I think it is better to squash patch #1, #3, #4 >>> into my patchs, because t

Re: [U-Boot] [PATCH 3/4] config_distro_bootcmd: Scan all partitions for boot files

2015-01-07 Thread Sjoerd Simons
On Wed, 2015-01-07 at 11:17 +, Ian Campbell wrote: > On Wed, 2015-01-07 at 12:01 +0100, Sjoerd Simons wrote: > > On Wed, 2015-01-07 at 10:22 +, Ian Campbell wrote: > > > On Wed, 2015-01-07 at 11:10 +0100, Sjoerd Simons wrote: > > > > On Tue, 2015-01-06 at 17:43 -0700, Stephen Warren wrote:

Re: [U-Boot] [PATCH 3/4] config_distro_bootcmd: Scan all partitions for boot files

2015-01-07 Thread Ian Campbell
On Wed, 2015-01-07 at 12:01 +0100, Sjoerd Simons wrote: > On Wed, 2015-01-07 at 10:22 +, Ian Campbell wrote: > > On Wed, 2015-01-07 at 11:10 +0100, Sjoerd Simons wrote: > > > On Tue, 2015-01-06 at 17:43 -0700, Stephen Warren wrote: > > > > (CCing Dennis so he can comment from a distro perspecti

Re: [U-Boot] [PATCH 3/4] config_distro_bootcmd: Scan all partitions for boot files

2015-01-07 Thread Sjoerd Simons
On Wed, 2015-01-07 at 10:22 +, Ian Campbell wrote: > On Wed, 2015-01-07 at 11:10 +0100, Sjoerd Simons wrote: > > On Tue, 2015-01-06 at 17:43 -0700, Stephen Warren wrote: > > > (CCing Dennis so he can comment from a distro perspective re: partition > > > table bootable flags v.s. scanning all p

[U-Boot] [PATCH] ARM: UniPhier: remove __packed that causes a problem on GCC 4.9

2015-01-07 Thread Masahiro Yamada
The DDR PHY training function, ddrphy_prepare_training() would not work if compiled with GCC 4.9. The struct ddrphy (arch/arm/include/asm/arch-uniphier/ddrphy-regs.h) is specified with __packed because it represents a hardware register mapping, but it turned out to cause a problem on GCC 4.9. If

[U-Boot] [PATCH] ARM: UniPhier: add a simple README file for UniPhier platform

2015-01-07 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- doc/README.uniphier | 69 + 1 file changed, 69 insertions(+) create mode 100644 doc/README.uniphier diff --git a/doc/README.uniphier b/doc/README.uniphier new file mode 100644 index 000..44ba7f7 --- /dev

Re: [U-Boot] [PATCH 3/4] config_distro_bootcmd: Scan all partitions for boot files

2015-01-07 Thread Ian Campbell
On Wed, 2015-01-07 at 11:10 +0100, Sjoerd Simons wrote: > On Tue, 2015-01-06 at 17:43 -0700, Stephen Warren wrote: > > (CCing Dennis so he can comment from a distro perspective re: partition > > table bootable flags v.s. scanning all partitions) > > > > On 01/06/2015 10:07 AM, Sjoerd Simons wrote

Re: [U-Boot] [Question] DM SPI FLASH

2015-01-07 Thread Masahiro Yamada
On Tue, 6 Jan 2015 22:33:02 -0700 Simon Glass wrote: > Hi Peng, > > On 6 January 2015 at 20:06, Peng Fan wrote: > > Hi Simon, > > > > I am hacking DTB and DM SPI FLASH support for i.MX 6SoloX. I have a question > > about `sf probe`. In original way, `sf probe` or `sf probe 0:0` can detect > >

Re: [U-Boot] [PATCH 3/4] config_distro_bootcmd: Scan all partitions for boot files

2015-01-07 Thread Sjoerd Simons
On Tue, 2015-01-06 at 17:43 -0700, Stephen Warren wrote: > (CCing Dennis so he can comment from a distro perspective re: partition > table bootable flags v.s. scanning all partitions) > > On 01/06/2015 10:07 AM, Sjoerd Simons wrote: > > On Mon, 2015-01-05 at 13:24 -0700, Stephen Warren wrote: > >

Re: [U-Boot] [PATCH 0/4] Odroid XU3 support additions

2015-01-07 Thread Sjoerd Simons
On Wed, 2015-01-07 at 17:31 +0900, Joonyoung Shim wrote: > Hi, > > On 12/02/2014 10:56 AM, Hyungwon Hwang wrote: > > Dear Sjoerd, > > > > Thanks for this work. I think it is better to squash patch #1, #3, #4 > > into my patchs, because these patches remove the code which needlessly > > being adde

[U-Boot] [PATCH] powerpc/mpc85xx: Add DSP side awareness for Freescale Heterogeneous SoCs

2015-01-07 Thread Shaveta Leekha
The code provides framework for heterogeneous multicore chips based on StarCore and Power Architecture which are chasis-2 compliant, like B4860 and B4420 It will make u-boot recognize all non-ppc cores and peripherals like SC3900/DSP CPUs, MAPLE, CPRI and print their configuration in u-boot logs.

Re: [U-Boot] [Question] DM SPI FLASH

2015-01-07 Thread Jagan Teki
On 7 January 2015 at 14:32, peng@freescale.com wrote: > Hi, Simon, > > It works for me using aliases. This aliases node reassigns req_seq number to > dev, so it works. > > Another question, spi device driver can not get cs value? > `sf probe 0:0`. Bus is 0, and cs is 0. I want to use cs value

Re: [U-Boot] Nokia RX-51 (N900) board broken

2015-01-07 Thread Pali Rohár
On Tuesday 06 January 2015 23:35:16 Georges Savoundararadj wrote: > Hi Pali Rohár, > > Le 06/01/2015 23:19, Pali Rohár a écrit : > > ooo, thanks very much for help! > > > > On non omap HS devices that SMC instruction must not be > > called. Qemu emulate omap GP device (not HS), so here is > > mus

Re: [U-Boot] [PATCH 0/4] Odroid XU3 support additions

2015-01-07 Thread Joonyoung Shim
Hi, On 12/02/2014 10:56 AM, Hyungwon Hwang wrote: > Dear Sjoerd, > > Thanks for this work. I think it is better to squash patch #1, #3, #4 > into my patchs, because these patches remove the code which needlessly > being added by my patches. I will include patch #2 also from next > version. > > O