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

2014-12-21 Thread Ian Campbell
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 that the PSCI nodes are still created in the fdt (via

Re: [U-Boot] [PATCH] RFC: am35xx: Rearrange SPL on am35xx

2014-12-21 Thread Tom Rini
On Fri, Dec 19, 2014 at 08:32:35AM -0700, Simon Glass wrote: Hi Tom, Albert, On 19 December 2014 at 07:40, Tom Rini tr...@ti.com wrote: On Thu, Dec 18, 2014 at 05:21:21PM -0700, Simon Glass wrote: This is an attempt to tidy up the early SPL code in an attempt to pave the way for driver

Re: [U-Boot] [PATCH V4 2/3] usb: eth: add ASIX AX88179 DRIVER

2014-12-21 Thread Marek Vasut
On Thursday, December 18, 2014 at 09:07:30 PM, Joe Hershberger wrote: On Thu, Dec 18, 2014 at 5:17 AM, Marek Vasut ma...@denx.de wrote: Would you pick it and submit for current release or do you want me to do it? If you can do it that would be great. Applied 2/3 and 3/3, thank you! Best

Re: [U-Boot] [PATCH v2] arm: socfpga: Change watchdog timeout

2014-12-21 Thread Marek Vasut
On Friday, December 19, 2014 at 01:49:10 PM, Stefan Roese wrote: The current current watchdog timeout of 12 seconds is a bit small for booting into Linux, especially when using a NFS based rootfs. So lets change this timeout to a more defensive value of 30 seconds. Also we now call the

Re: [U-Boot] [PATCH] RFC: am35xx: Rearrange SPL on am35xx

2014-12-21 Thread Simon Glass
Hi Tom, On 21 December 2014 at 05:30, Tom Rini tr...@ti.com wrote: On Fri, Dec 19, 2014 at 08:32:35AM -0700, Simon Glass wrote: Hi Tom, Albert, On 19 December 2014 at 07:40, Tom Rini tr...@ti.com wrote: On Thu, Dec 18, 2014 at 05:21:21PM -0700, Simon Glass wrote: This is an attempt to

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

2014-12-21 Thread Simon Glass
On 19 December 2014 at 14:52, Tom Rini tr...@ti.com 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.

Re: [U-Boot] [PATCH RFT 1/2] TI ARMv7: Don't use GD before crt0.S has set it

2014-12-21 Thread Simon Glass
Hi Tom, On 19 December 2014 at 14:53, Tom Rini tr...@ti.com wrote: Prior to this change we set the gd pointer early so that we can store data in it. This becomes problematic for DM changes as well as being odd in general. Re-work the code paths so that we don't need to set the gd pointer so

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

2014-12-21 Thread Simon Glass
On 19 December 2014 at 14:52, Tom Rini tr...@ti.com 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 tr...@ti.com --- arch/arm/cpu/armv7/am33xx/board.c |1 - 1 file changed, 1

[U-Boot] L2 cache and LCD on sunxi

2014-12-21 Thread Simon Glass
Hi, I ran up a banana PI and noticed that HDMI works in U-Boot. Great! Scrolling seems very slow though - is the L2 cache disabled perhaps? Also are there instructions for getting an LCD running in U-Boot? I have an Olimex A20-OLinuxion-MICRO (what a mouthful!) with a 7 inch display if that

Re: [U-Boot] [PATCH] mmc: sunxi: Fix misuse of gpio_direction_input()

2014-12-21 Thread Simon Glass
On 19 December 2014 at 20:41, Axel Lin axel@ingics.com wrote: It does not make sense to make gpio_direction_input() return the gpio input status. The return value of gpio_direction_input() is inconsistent if CONFIG_DM_GPIO is defined. And we don't need to call gpio_direction_input() int

Re: [U-Boot] [RFC PATCH 2/2] dm: i2c: support 10bit addressing in I2C uclass layer

2014-12-21 Thread Simon Glass
Hi Masahiro, On 20 December 2014 at 00:25, Masahiro YAMADA yamad...@jp.panasonic.com wrote: Hi Simon, 2014-12-20 6:34 GMT+09:00 Simon Glass s...@chromium.org: Hi Masahiro, On 19 December 2014 at 11:34, Masahiro Yamada yamad...@jp.panasonic.com wrote: Master send to / receive from 10-bit

Re: [U-Boot] [PATCH 3/5] x86: Add an API for finding pci devices in the early phase

2014-12-21 Thread Simon Glass
Hi Bin, On 19 December 2014 at 22:34, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Sat, Dec 20, 2014 at 12:56 PM, Simon Glass s...@chromium.org wrote: Hi Bin, On 19 December 2014 at 19:37, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Sat, Dec 20, 2014 at 5:53 AM, Simon Glass

Re: [U-Boot] [PATCH] RFC: am35xx: Rearrange SPL on am35xx

2014-12-21 Thread Tom Rini
On Sun, Dec 21, 2014 at 11:53:21AM -0700, Simon Glass wrote: Hi Tom, On 21 December 2014 at 05:30, Tom Rini tr...@ti.com wrote: On Fri, Dec 19, 2014 at 08:32:35AM -0700, Simon Glass wrote: Hi Tom, Albert, On 19 December 2014 at 07:40, Tom Rini tr...@ti.com wrote: On Thu, Dec 18,

Re: [U-Boot] [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot

2014-12-21 Thread Siarhei Siamashka
On Sun, 21 Dec 2014 17:00:46 -0300 Emilio López emi...@elopez.com.ar wrote: Hi Hans, El 20/12/14 a las 15:27, Hans de Goede escibió: Hi All, There are 3 topics which I would like to cover in this mail: 1) Switching over to upstream u-boot for the linux-sunxi project (...) Here

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

2014-12-21 Thread Hua Yanghao
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 225c8f8f2af4cf6092260e5c133d90096e2f3352 Mon Sep 17 00:00:00 2001 From: Hua Yanghao

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

2014-12-21 Thread Peter Howard
On Fri, 2014-12-19 at 12:14 +0530, Jagan Teki wrote: On 19 December 2014 at 02:54, Peter Howard p...@northern-ridge.com.au wrote: On Thu, 2014-12-18 at 12:33 +0530, Jagan Teki wrote: On 17 December 2014 at 06:44, Peter Howard p...@northern-ridge.com.au wrote: Add defines to use

Re: [U-Boot] [PATCH 1/2] embestmx6boards: convert to use config_distro_defaults.h

2014-12-21 Thread Nikolay Dimitrov
Hi Iain, On 12/14/2014 04:51 PM, Iain Paton wrote: Update to use config_distro_defaults.h and remove explicit settings Signed-off-by: Iain Paton ipat...@gmail.com --- include/configs/embestmx6boards.h | 21 - 1 file changed, 4 insertions(+), 17 deletions(-) Tested on

Re: [U-Boot] [PATCH 2/2] embestmx6boards: convert to use config_distro_bootcmd.h

2014-12-21 Thread Nikolay Dimitrov
Hi Iain, On 12/14/2014 04:51 PM, Iain Paton wrote: Since the Riot Mars boards are dev boards it's likely people will want to run standard distros on them. So replace the current boot scripts with the standard one from config_distro_bootcmd.h Signed-off-by: Iain Paton ipat...@gmail.com ---

Re: [U-Boot] [PATCH RFT 2/2] davinci: Do not duplicate setting of gd

2014-12-21 Thread Peter Howard
On Fri, 2014-12-19 at 16:53 -0500, Tom Rini wrote: In f0c3a6c we stopped setting gd in board_init_f, but later had to revert to due problems on certain platforms. As davinci does not look to have these problems, we can drop the setting here and rely upon crt0.S to do it. Cc: Peter Howard

Re: [U-Boot] [PATCH RFT 2/2] davinci: Do not duplicate setting of gd

2014-12-21 Thread Tom Rini
On Mon, Dec 22, 2014 at 08:34:11AM +1100, Peter Howard wrote: On Fri, 2014-12-19 at 16:53 -0500, Tom Rini wrote: In f0c3a6c we stopped setting gd in board_init_f, but later had to revert to due problems on certain platforms. As davinci does not look to have these problems, we can drop the

Re: [U-Boot] [PATCH] RFC: am35xx: Rearrange SPL on am35xx

2014-12-21 Thread Simon Glass
Hi Tom, On 21 December 2014 at 12:29, Tom Rini tr...@ti.com wrote: On Sun, Dec 21, 2014 at 11:53:21AM -0700, Simon Glass wrote: Hi Tom, On 21 December 2014 at 05:30, Tom Rini tr...@ti.com wrote: On Fri, Dec 19, 2014 at 08:32:35AM -0700, Simon Glass wrote: Hi Tom, Albert, On 19

[U-Boot] [PATCH 1/4] arm: rmobile: koelsch: Migrate serial driver to drivers model

2014-12-21 Thread Nobuhiro Iwamatsu
This adds drivers model support of serial port to Koelsch board, and migrate serial port to drivers model. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- board/renesas/koelsch/koelsch.c| 14 ++ configs/koelsch_defconfig | 1 +

[U-Boot] [PATCH 2/4] arm: rmobile: gose: Migrate serial driver to drivers model

2014-12-21 Thread Nobuhiro Iwamatsu
This adds drivers model support of serial port to Gose board, and migrate serial port to drivers model. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- board/renesas/gose/gose.c | 14 ++ configs/gose_defconfig| 1 + include/configs/gose.h| 3 --- 3

[U-Boot] [PATCH 3/4] arm: rmobile: lager: Migrate serial driver to drivers model

2014-12-21 Thread Nobuhiro Iwamatsu
This adds drivers model support of serial port to Lager board, and migrate serial port to drivers model. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- board/renesas/lager/lager.c | 14 ++ configs/lager_defconfig | 1 + include/configs/lager.h | 3 ---

[U-Boot] [PATCH 4/4] arm: rmobile: alt: Migrate serial driver to drivers model

2014-12-21 Thread Nobuhiro Iwamatsu
This adds drivers model support of serial port to Alt board, and migrate serial port to drivers model. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- board/renesas/alt/alt.c | 14 ++ configs/alt_defconfig | 1 + include/configs/alt.h | 3 --- 3 files

Re: [U-Boot] [PATCH] dm: README: recommend u-boot.dtb to try driver-model on sandbox

2014-12-21 Thread Masahiro Yamada
Hi Simon, On Fri, 19 Dec 2014 13:48:16 -0700 Simon Glass s...@chromium.org wrote: On 19 December 2014 at 06:39, Masahiro Yamada yamad...@jp.panasonic.com wrote: Jagan, On Fri, 19 Dec 2014 18:43:37 +0530 Jagan Teki jagannadh.t...@gmail.com wrote: On 19 December 2014 at 10:46,

[U-Boot] [PATCH v4] dm: sh: serial: Add support driver model

2014-12-21 Thread Nobuhiro Iwamatsu
This adds driver model support with this driver. This was tested by Koelsch board and Gose board. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Acked-by: Simon Glass s...@chromium.org --- V4: Fix build with SH. V3: Add function of checking -EAGAIN without DM. V2: Fix loop

Re: [U-Boot] [PATCH] powerpc/913x: Add config flag for bootdelay

2014-12-21 Thread Harninder Rai
I am guessing you has some extra character for the CONFIG_BOOTDELAY. Anyway, since you are on this line common/autoboot.c:247, you can see the bootdelay variable one line above. Your purpose of adding delay to boot is easily implemented by these command under u-boot setenv bootdelay 10

Re: [U-Boot] [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot

2014-12-21 Thread Emilio López
Hi Hans, El 20/12/14 a las 15:27, Hans de Goede escibió: Hi All, There are 3 topics which I would like to cover in this mail: 1) Switching over to upstream u-boot for the linux-sunxi project (...) Here are some example instructions on how to build upstream u-boot for the Cubietruck: git

Re: [U-Boot] [linux-sunxi] linux-sunxi/u-boot-sunxi is no longer supported, time to switch to upstream u-boot

2014-12-21 Thread Emilio López
Hi, El 21/12/14 a las 17:28, Siarhei Siamashka escibió: On Sun, 21 Dec 2014 17:00:46 -0300 Emilio López emi...@elopez.com.ar wrote: Hi Hans, El 20/12/14 a las 15:27, Hans de Goede escibió: Hi All, There are 3 topics which I would like to cover in this mail: 1) Switching over to upstream

Re: [U-Boot] [PATCH 09/14] sun6i: Add k and m parameters to clock_set_pll5()

2014-12-21 Thread Siarhei Siamashka
On Fri, 19 Dec 2014 17:40:27 +0100 Hans de Goede hdego...@redhat.com wrote: Hi, On 19-12-14 11:03, Siarhei Siamashka wrote: On Tue, 16 Dec 2014 21:31:34 +0100 Hans de Goede hdego...@redhat.com wrote: The A23 (sun8i) requires different values for these then sun6i, so make them

Re: [U-Boot] [PATCH 10/14] sunxi: Move await_completion dram helper to dram.h

2014-12-21 Thread Siarhei Siamashka
On Fri, 19 Dec 2014 17:42:58 +0100 Hans de Goede hdego...@redhat.com wrote: Hi, On 19-12-14 11:06, Siarhei Siamashka wrote: On Tue, 16 Dec 2014 21:31:35 +0100 Hans de Goede hdego...@redhat.com wrote: The await_completion helper is already copy pasted between the sun4i and sun6i

Re: [U-Boot] [PATCH 11/14] sunxi: Fill memory before comparing it when doing dram init on sun6i

2014-12-21 Thread Siarhei Siamashka
On Fri, 19 Dec 2014 17:56:40 +0100 Hans de Goede hdego...@redhat.com wrote: Hi, On 19-12-14 11:08, Siarhei Siamashka wrote: On Thu, 18 Dec 2014 19:12:13 + Ian Campbell i...@hellion.org.uk wrote: On Tue, 2014-12-16 at 21:31 +0100, Hans de Goede wrote: The sun8i boot0 code fills

Re: [U-Boot] [PATCH 13/14] sun8i: Add dram initialization support

2014-12-21 Thread Siarhei Siamashka
On Fri, 19 Dec 2014 18:05:49 +0100 Hans de Goede hdego...@redhat.com wrote: Hi, On 19-12-14 11:20, Siarhei Siamashka wrote: On Tue, 16 Dec 2014 21:31:38 +0100 Hans de Goede hdego...@redhat.com wrote: Based on the register / dram_para headers from the Allwinner u-boot / linux sources