Re: [U-Boot] [PATCH v2 3/3] dm: core: Add uclass_first/next_device_check()

2017-06-08 Thread Heinrich Schuchardt
On 06/09/2017 12:41 AM, Simon Glass wrote: > Hi, > > On 23 April 2017 at 20:10, Simon Glass wrote: >> Sometimes it is useful to iterate through all devices in a uclass and >> skip over those which do not work correctly (e.g fail to probe). Add two >> new functions to provide this feature. >> >> T

[U-Boot] [PATCH 1/1] fsl/usb: enable errata-a010151 for ls2088a and ls2081a

2017-06-08 Thread Santan Kumar
Signed-off-by: Santan Kumar --- drivers/usb/common/fsl-errata.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/usb/common/fsl-errata.c b/drivers/usb/common/fsl-errata.c index 338ac08..383a433 100644 --- a/drivers/usb/common/fsl-errata.c +++ b/drivers/usb/common/fsl-errata.c @@ -1

[U-Boot] [PATCH 1/1] soc/fsl-layerscape: Update SVR number for LS2081A and LS2041A

2017-06-08 Thread Santan Kumar
Update SVR as per the SOC document. -LS2081A: 0x870919 -> 0x870918 -LS2041A: 0x870915 -> 0x870914 Signed-off-by: Santan Kumar Signed-off-by: Priyanka Jain Signed-off-by: Hou Zhiqiang --- arch/arm/include/asm/arch-fsl-layerscape/soc.h | 4 ++-- drivers/pci/pcie_layerscape.h |

[U-Boot] [PATCH 1/1] board/ls2080ardb: Disable SD-related GPIO programming

2017-06-08 Thread Santan Kumar
LS2080ARDB/LS2088ARDB updated RevF boards do not have smart voltage translator, so no need to program GPIO for LS2088ARDB boards The GPIO programming is required only for LS2081ARDB. Signed-off-by: Santan Kumar Signed-off-by: Priyanka Jain --- board/freescale/ls2080ardb/ls2080ardb.c | 18 ++

[U-Boot] [PATCH 1/1] board/ls2081ardb: Update qspi flash type and checkboard

2017-06-08 Thread Santan Kumar
Patch makes below changes: -As per updated board design, different QSPI flash is connected on boards, hence change QSPI flash type from n25q512a to s25fs512ss -Remove deprecated config : CONFIG_DISPLAY_BOARDINFO_LATE -Increase env size from 64kb to 256kb for qspi boot -Update checkboard

[U-Boot] [PATCH 1/1] board/ls2080aqds, SD-boot: Update env offset

2017-06-08 Thread Santan Kumar
As per new memory layout, Update env offset from 0x20 to 0x30 Signed-off-by: Santan Kumar --- include/configs/ls2080aqds.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/ls2080aqds.h b/include/configs/ls2080aqds.h index 8a8ee9d..c32c184 100644 --- a/i

Re: [U-Boot] [PATCH v2 3/3] dm: core: Add uclass_first/next_device_check()

2017-06-08 Thread Mario Six
Hi Simon, On Fri, Jun 9, 2017 at 12:41 AM, Simon Glass wrote: > Hi, > > On 23 April 2017 at 20:10, Simon Glass wrote: >> Sometimes it is useful to iterate through all devices in a uclass and >> skip over those which do not work correctly (e.g fail to probe). Add two >> new functions to provide t

Re: [U-Boot] [PATCH] common, image-sig: [BUG?] if no valid signature node found, do not boot signed FIT image

2017-06-08 Thread Heiko Schocher
Hello Simon, Am 09.06.2017 um 05:05 schrieb Simon Glass: Hi Heiko, On 8 June 2017 at 03:52, Heiko Schocher wrote: fit_image_verify_required_sigs() must return != 0, on error. When fit_image_verify_required_sigs() does not find a signature node, it returns 0, which leads in booting a signed F

[U-Boot] [PATCH] tools/tbot: update README

2017-06-08 Thread Heiko Schocher
refer in the README to tbots webpage, and delete the README in tools/tbot, as the latest documentation for tbot is on this webpage. Signed-off-by: Heiko Schocher --- test/README | 2 +- tools/tbot/README | 195 tools/tbot/

[U-Boot] arm-linux-gnueabihf-ld.bfd: not found when compile with gcc-linaro-6.3.1

2017-06-08 Thread Kever Yang
I get the compiler from Linaro and uncompress the tar ball, then I build U-Boot with: CROSS_COMPILE=../toolchain/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- make evb-rk3288_defconfig all Any one met this? log message: CC spl/lib/panic.o CC sp

Re: [U-Boot] [PATCH v2 00/31] dm: tegra: Move nyan-big and beaver to livetree

2017-06-08 Thread Simon Glass
Hi, On 8 June 2017 at 21:06, Simon Glass wrote: > Hi Tom (Warren) / Marcel, > > On 2 June 2017 at 21:03, Simon Glass wrote: >> >> This moves an entire board to use a live device tree as an example of the >> impact. >> >> Nyan-big was chosen because I can easily and boot U-Boot without any >> med

Re: [U-Boot] [U-Boot, v2, 4/4] arm: am33xx: Add support for mulitiple PLL input frequencies

2017-06-08 Thread Heiko Schocher
Hello Tom, Am 09.06.2017 um 02:45 schrieb Tom Rini: On Thu, Jun 08, 2017 at 10:17:09AM +0530, Lokesh Vutla wrote: On Thursday 08 June 2017 12:20 AM, Emmanuel Vadot wrote: On Fri, 12 May 2017 13:20:50 -0400 Tom Rini wrote: On Fri, May 05, 2017 at 12:59:10PM +0530, Lokesh Vutla wrote: am3

Re: [U-Boot] [PATCH v4 00/11] rk3328: add support of usb host and gadget

2017-06-08 Thread rock-chips(daniel.meng)
On 2017/6/8 20:11, Marek Vasut wrote: On 06/08/2017 09:31 AM, Meng Dongyang wrote: Add support of usb host and gadget function for rk3328. Why did I receive half of the series as a series (that is, cover letter and patches IRT to that) and half as separate emails ? Because there is a limit t

Re: [U-Boot] [PATCH v8 4/7] arm: socfpga: Enable FPGA driver on SPL

2017-06-08 Thread Chee, Tien Fong
On Kha, 2017-06-08 at 14:14 +0200, Marek Vasut wrote: > On 06/08/2017 05:40 AM, Chee, Tien Fong wrote: > [...] > > > > > > > > > > > > > > > > > > > Any safety guideline? > > > > > I checked the spl.map, we still have 10K left after > > > > > calculation > > > > > including bss size. > > > > >

Re: [U-Boot] [PATCH 1/3] dm: blk: Add a way to obtain a block device from its parent

2017-06-08 Thread Jaehoon Chung
On 06/09/2017 12:06 PM, Simon Glass wrote: > Hi Jaehoon, > > On 6 June 2017 at 21:49, Jaehoon Chung wrote: >> Hi Simon, >> >> On 05/28/2017 02:37 AM, Simon Glass wrote: >>> Many devices support a child block device (e.g. MMC, USB). Add a >>> convenient way to get this device given the parent devi

Re: [U-Boot] [PATCH 1/3] dm: blk: Add a way to obtain a block device from its parent

2017-06-08 Thread Simon Glass
Hi Jaehoon, On 6 June 2017 at 21:49, Jaehoon Chung wrote: > Hi Simon, > > On 05/28/2017 02:37 AM, Simon Glass wrote: >> Many devices support a child block device (e.g. MMC, USB). Add a >> convenient way to get this device given the parent device. >> >> Signed-off-by: Simon Glass >> --- >> >> dr

Re: [U-Boot] [PATCH v2 00/31] dm: tegra: Move nyan-big and beaver to livetree

2017-06-08 Thread Simon Glass
Hi Tom (Warren) / Marcel, On 2 June 2017 at 21:03, Simon Glass wrote: > > This moves an entire board to use a live device tree as an example of the > impact. > > Nyan-big was chosen because I can easily and boot U-Boot without any > media swapping, etc. Beaver is enabled as well since it failed t

Re: [U-Boot] [PATCH] common, image-sig: [BUG?] if no valid signature node found, do not boot signed FIT image

2017-06-08 Thread Simon Glass
Hi Heiko, On 8 June 2017 at 03:52, Heiko Schocher wrote: > fit_image_verify_required_sigs() must return != 0, on error. > > When fit_image_verify_required_sigs() does not find a signature > node, it returns 0, which leads in booting a signed FIT image. > > Fix this! > > Signed-off-by: Heiko Schoc

Re: [U-Boot] [PATCH 05/12] arm: Don't try to support CONFIG_ARMV7_LPAE on ARMv4T

2017-06-08 Thread Simon Glass
Hi Tom. On 22 May 2017 at 19:15, Tom Rini wrote: > On Mon, May 22, 2017 at 05:17:25AM -0600, Simon Glass wrote: > >> At present if CONFIG_ARMV7_LPAE is defined then mmu_setup() will use >> instructions which are invalid on ARMv4T. This happens on Tegra since it >> has an ARMv4T boot CPU. Add a ch

[U-Boot] [PATCH] rkcommon.c: Remove unused rkcommon_spi_to_offset

2017-06-08 Thread Tom Rini
This function is unused, remove. Reported by clang-3.8. Fixes: a1c29d4b43dc ("rockchip: mkimage: set init_boot_size to avoid ...") Cc: Philipp Tomsich Signed-off-by: Tom Rini --- tools/rkcommon.c | 5 - 1 file changed, 5 deletions(-) diff --git a/tools/rkcommon.c b/tools/rkcommon.c index

[U-Boot] Please pull u-boot-dm

2017-06-08 Thread Simon Glass
Hi Tom, This includes the utf-8 fixes for patman and buildman as well as chain-loading support for two Chromebooks. The following changes since commit 156d64fa55e9914b144c5e83f2a9e13d1223a4d3: Merge git://git.denx.de/u-boot-rockchip (2017-06-08 12:14:11 -0400) are available in the git reposi

Re: [U-Boot] standalone application

2017-06-08 Thread Tom Rini
On Wed, Jun 07, 2017 at 08:07:11AM +0300, Ran Shalit wrote: > Hello, > > I am trying to load standalone application. > It works fine with the hello_world example ( bin format). > Then I move to build and run another application (uc/os) in eclipse. > The problem is that the bin format is very larg

Re: [U-Boot] u-boot-dm crashes on NVIDIA Jetson TX1 running "version"

2017-06-08 Thread Stephen Warren
On 06/08/2017 07:02 PM, Stephen Warren wrote: > Simon, > > With the latest code in u-boot-dm.git/master, the "version" command > crashes on p2371-2180 (NVIDIA Jetson TX1); see log below. Preliminary > results show complete failure on Beaver and Jetson TK1 (the tests are > running so I can't see th

Re: [U-Boot] [PATCH] common, image-sig: [BUG?] if no valid signature node found, do not boot signed FIT image

2017-06-08 Thread Tom Rini
On Thu, Jun 08, 2017 at 11:52:45AM +0200, Heiko Schocher wrote: > fit_image_verify_required_sigs() must return != 0, on error. > > When fit_image_verify_required_sigs() does not find a signature > node, it returns 0, which leads in booting a signed FIT image. > > Fix this! > > Signed-off-by: He

[U-Boot] u-boot-dm crashes on NVIDIA Jetson TX1 running "version"

2017-06-08 Thread Stephen Warren
Simon, With the latest code in u-boot-dm.git/master, the "version" command crashes on p2371-2180 (NVIDIA Jetson TX1); see log below. Preliminary results show complete failure on Beaver and Jetson TK1 (the tests are running so I can't see the full logs yet, but every py.test test that's completed s

Re: [U-Boot] [U-Boot, 1/3] bootstage: Dont print reset entry separately

2017-06-08 Thread Tom Rini
On Tue, May 30, 2017 at 02:22:11PM +0200, Michal Simek wrote: > From: Siva Durga Prasad Paladugu > > Printing the first entry reset separately is no longer > needed as it now prints the entries with valid name and > timestamp zero. This removes duplicate printing of the reset > record. > > Sign

Re: [U-Boot] [PATCH] x86: extend baudrate table with 57600

2017-06-08 Thread Tom Rini
On Thu, Jun 08, 2017 at 09:38:49AM +0200, Christian Gmeiner wrote: > Hi Tom > > 2017-06-06 22:04 GMT+02:00 Tom Rini : > > On Tue, Jun 06, 2017 at 01:51:38PM +0200, Christian Gmeiner wrote: > > > >> Signed-off-by: Christian Gmeiner > >> --- > >> include/configs/x86-common.h | 2 +- > >> 1 file ch

Re: [U-Boot] [PATCH] rockchip: dts: rk3328: add aliases for mmc controller

2017-06-08 Thread Kever Yang
Simon, After the long discuss, this patch can be applied without any update, right? Thanks, - Kever On 05/23/2017 04:26 AM, Simon Glass wrote: On 18 May 2017 at 02:05, Kever Yang wrote: Add aliases for mmc controller to get a fixed order with emmc at index 0 and sdmmc at index 1. Sign

Re: [U-Boot] [U-Boot, v2, 4/4] arm: am33xx: Add support for mulitiple PLL input frequencies

2017-06-08 Thread Tom Rini
On Thu, Jun 08, 2017 at 10:17:09AM +0530, Lokesh Vutla wrote: > > > On Thursday 08 June 2017 12:20 AM, Emmanuel Vadot wrote: > > On Fri, 12 May 2017 13:20:50 -0400 > > Tom Rini wrote: > > > >> On Fri, May 05, 2017 at 12:59:10PM +0530, Lokesh Vutla wrote: > >> > >>> am335x supports various syscl

Re: [U-Boot] [PATCH 1/2] arm: Add Kconfig symbols used for Linux asm compatibility

2017-06-08 Thread Vikas MANOCHA
Hi Tom, > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Thursday, June 08, 2017 5:12 PM > To: Vikas MANOCHA > Cc: Phil Edworthy ; Albert Aribaud > ; Kamil Lulko > ; u-boot@lists.denx.de > Subject: Re: [PATCH 1/2] arm: Add Kconfig symbols used for Linux asm > co

Re: [U-Boot] [PATCH 1/2] arm: Add Kconfig symbols used for Linux asm compatibility

2017-06-08 Thread Vikas MANOCHA
Hi Albert/Tom, > -Original Message- > From: Phil Edworthy [mailto:phil.edwor...@renesas.com] > Sent: Wednesday, May 31, 2017 11:33 PM > To: Albert Aribaud > Cc: Tom Rini ; Vikas MANOCHA ; > Kamil Lulko ; u- > b...@lists.denx.de; Phil Edworthy > Subject: [PATCH 1/2] arm: Add Kconfig symb

Re: [U-Boot] Please pull u-boot-rockchip

2017-06-08 Thread Tom Rini
On Thu, Jun 08, 2017 at 06:53:32AM -0600, Simon Glass wrote: > Hi Tom, > > Here is additional rk3368 and rk3399 support, rv1108 support, > refactoring HDMI video (brought in from Anatolij's tree to resolve > conflicts), some mkimage fixes and a few other things. > > New boards supported are: >

Re: [U-Boot] [PATCH v2 01/28] display_options: Refactor to allow obtaining the banner

2017-06-08 Thread sjg
Move the display options code into a separate function so that the U-Boot banner can be obtained from other code. Adjust the 'version' command to use it. Signed-off-by: Simon Glass --- Changes in v2: None cmd/version.c | 4 +++- include/display_options.h | 15 +++ lib/

Re: [U-Boot] [PATCH v2 05/28] arm: Don't try to support CONFIG_ARMV7_LPAE on ARMv4T

2017-06-08 Thread sjg
At present if CONFIG_ARMV7_LPAE is defined then mmu_setup() will use instructions which are invalid on ARMv4T. This happens on Tegra since it has an ARMv4T boot CPU. Add a check for the architecture version to allow the code to be built. It will not actually be executed by the boot CPU, but needs t

Re: [U-Boot] [PATCH v2 09/28] tegra: dts: Add cros-ec SPI settings

2017-06-08 Thread sjg
At present the interrupt does not work and the SPI bus runs much less quickly than it should. Add settings to fix this. Signed-off-by: Simon Glass --- Changes in v2: None arch/arm/dts/tegra124-nyan-big-u-boot.dtsi | 9 + 1 file changed, 9 insertions(+) Applied to u-boot-dm, thanks! __

Re: [U-Boot] [PATCH] cmd/fdt: support single value replacement within an array

2017-06-08 Thread sjg
s...@google.com schrieb am 01.06.2017 05:11:57: > wrote: > > With this commit we can modify single values within an array of a dts > > property. > > > > This is useful if we have for example a pwm-backlight where we want to > > modifiy the pwm frequency per u-boot script. > > > > The pwm is descr

Re: [U-Boot] [PATCH v2 13/28] tegra: Enable CP15 init

2017-06-08 Thread sjg
At present CP15 init is disabled on tegra. Use the correct option so that this init is performed on boot. This enables the instruction cache, for example, which is critical to the machine running at full speed. Signed-off-by: Simon Glass --- Changes in v2: None include/configs/tegra-common-pos

Re: [U-Boot] [PATCH v2 04/28] arm: Rename HCTR to HTCR

2017-06-08 Thread sjg
This appears to be a typo. Fix it. Signed-off-by: Simon Glass --- Changes in v2: None arch/arm/lib/cache-cp15.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied to u-boot-dm, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de https://

Re: [U-Boot] [PATCH v2 06/28] arm: Disable LPAE if not enabled

2017-06-08 Thread sjg
If CONFIG_ARMV7_LPAE is not defined we should make sure that the feature is disabled. This can happen if U-Boot is chain-loaded from another boot loader which does enable LPAE. Signed-off-by: Simon Glass --- Changes in v2: None arch/arm/lib/cache-cp15.c | 9 + 1 file changed, 9 inserti

Re: [U-Boot] [PATCH v2 25/28] rockchip: rk3288: Allow setting up clocks in U-Boot proper

2017-06-08 Thread sjg
If U-Boot is chain-loaded from a previous boot loader we must set up the clocks the way U-Boot wants them. Add code for this. It will do nothing if SPL has already done the job. Signed-off-by: Simon Glass --- Changes in v2: None arch/arm/mach-rockchip/rk3288-board.c | 35 ++

Re: [U-Boot] [PATCH v2 03/28] arm: arm720t: Support CONFIG_SKIP_LOWLEVEL_INIT_ONLY

2017-06-08 Thread sjg
This option allows skipping the call to lowlevel() while still performing CP15 init. Support this on ARM720T so it can be used with Tegra. Signed-off-by: Simon Glass --- Changes in v2: None arch/arm/cpu/arm720t/start.S | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) Applied to u-b

Re: [U-Boot] [PATCH v2 02/28] Allow displaying the U-Boot banner on a video display

2017-06-08 Thread sjg
At present the U-Boot banner is only displayed on the serial console. If this is not visible to the user, the banner does not show. Some devices have a video display which can usefully display this information. Add a banner which is printed after relocation only on non-serial devices if CONFIG_DIS

Re: [U-Boot] [PATCH v2 15/28] tegra: nyan-big: Add a .its file for chromium

2017-06-08 Thread sjg
Add a sample .its file for booting U-Boot on a nyan-big Chromebook. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch containing a .its file for chromium doc/chromium/nyan-big.its | 42 ++ 1 file changed, 42 insertions(+) create mode 100644

Re: [U-Boot] [PATCH v2 19/28] rockchip: rk3288: Add error debugging to veyron_init()

2017-06-08 Thread sjg
Add a debug() statement so we can see when something goes wrong with the regulator. Signed-off-by: Simon Glass --- Changes in v2: None arch/arm/mach-rockchip/rk3288-board.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Applied to u-boot-dm, thanks! _

Re: [U-Boot] [PATCH v2 08/28] tegra: Init clocks even when SPL did not run

2017-06-08 Thread sjg
At present early clock init happens in SPL. If SPL did not run (because for example U-Boot is chain-loaded from another boot loader) then the clocks are not set as U-Boot expects. Add a function to detect this and call the early clock init in U-Boot proper. Signed-off-by: Simon Glass --- Change

Re: [U-Boot] [PATCH 1/2] arm: Add Kconfig symbols used for Linux asm compatibility

2017-06-08 Thread Tom Rini
On Fri, Jun 09, 2017 at 12:07:40AM +, Vikas MANOCHA wrote: > Hi Albert/Tom, > > > -Original Message- > > From: Phil Edworthy [mailto:phil.edwor...@renesas.com] > > Sent: Wednesday, May 31, 2017 11:33 PM > > To: Albert Aribaud > > Cc: Tom Rini ; Vikas MANOCHA ; > > Kamil Lulko ; u- >

Re: [U-Boot] [PATCH v2 21/28] rockchip: video: Take the vop device out of standby

2017-06-08 Thread sjg
On Wed, 31 May 2017 17:57:29 -0600 Simon Glass s...@chromium.org wrote: > On reset the standby bit is clear, but if U-Boot is chain-loaded from > another boot loader it may be set. Clear it before starting up video so > that it works correctly. > > Signed-off-by: Simon Glass > --- > > Changes in

Re: [U-Boot] [PATCH v2 24/28] rockchip: Init clocks again when chain-loading

2017-06-08 Thread sjg
Detect with a previous boot loader has already set up the clocks and set them up again so that U-Boot gets what it expects. Signed-off-by: Simon Glass --- Changes in v2: None drivers/clk/rockchip/clk_rk3288.c | 25 +++-- 1 file changed, 19 insertions(+), 6 deletions(-) App

Re: [U-Boot] [PATCH v2 14/28] tegra: clock: Avoid a divide-by-zero error

2017-06-08 Thread sjg
The clock fix-up for tegra is still present in the code. It causes a divide-by-zero bug after relocation when chain-loading U-Boot from coreboot. Fix this by adding a check. Signed-off-by: Simon Glass Fixes: 7468676 (ARM: tegra: fix clock_get_periph_rate() for UART clocks) --- Changes in v2: Non

Re: [U-Boot] [PATCH v2 12/28] tegra: video: Don't power up the SOR twice

2017-06-08 Thread sjg
Hi Simon, On Wed, 31 May 2017 17:57:20 -0600 Simon Glass s...@chromium.org wrote: > If U-Boot is the secondary boot loader, or has been run from itself, the > SOR may already be powered up. Powering it up again causes a hang, so > detect this situation and skip it. > > Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH v2 20/28] rockchip: video: Add remove() methods

2017-06-08 Thread sjg
On Wed, 31 May 2017 17:57:28 -0600 Simon Glass s...@chromium.org wrote: > Add remove() methods for EDP and VOP so that U-Boot can shut down the > video on exit. This avoids leaving DMA running while booting Linux which > can cause problems if Linux uses the frame buffer for something else. > > It

Re: [U-Boot] [PATCH v2 23/28] rockchip: rk3288: Convert clock driver to use shifted masks

2017-06-08 Thread sjg
Shifted masks are the standard approach with rockchip since it allows use of the mask without shifting it each time. Update the definitions and the driver to match. Signed-off-by: Simon Glass --- Changes in v2: None arch/arm/include/asm/arch-rockchip/cru_rk3288.h | 74 --- drivers

Re: [U-Boot] [PATCH v2 27/28] rockchip: jerry: Disable CONFIG_CONSOLE_SCROLL_LINES

2017-06-08 Thread sjg
The display on jerry is so fast that this option is not needed. Drop it so that the display scrolls more smoothly. Signed-off-by: Simon Glass --- Changes in v2: None configs/chromebook_jerry_defconfig | 1 - 1 file changed, 1 deletion(-) Applied to u-boot-dm, thanks! _

Re: [U-Boot] [PATCH v2 17/28] rockchip: Setup default PWM flags

2017-06-08 Thread sjg
At present if the Signed-off-by: Simon Glass Fixes: 874ee59 (rockchip: pwm: implement pwm_set_invert()) --- Changes in v2: None drivers/pwm/rk_pwm.c | 1 + 1 file changed, 1 insertion(+) Applied to u-boot-dm, thanks! ___ U-Boot mailing list U-Boot@l

Re: [U-Boot] [PATCH v2 11/28] tegra: nyan-big: Enable the dhrystone benchmark

2017-06-08 Thread sjg
Enable this so we can roughly measure CPU performance. Also enable the cache command to allow for timing. Signed-off-by: Simon Glass --- Changes in v2: None configs/nyan-big_defconfig | 2 ++ 1 file changed, 2 insertions(+) Applied to u-boot-dm, thanks! ___

Re: [U-Boot] [PATCH v2 07/28] power: regulator: Add more debugging and fix a missing newline

2017-06-08 Thread sjg
On 06/01/2017 08:57 AM, Simon Glass wrote: > This file does not report a few possible errors and one message is missing > a newline. Fix these. > > Signed-off-by: Simon Glass Reviewed-by: Jaehoon Chung And CC'd correct Lukasz's mail account. > --- > > Changes in v2: None > > drivers/power/re

Re: [U-Boot] [PATCH v2 16/28] README: Add instructions for chain-loading U-Boot

2017-06-08 Thread sjg
Most Chromebooks support chain-loading U-Boot but instructions are somewhat scattered. Add a README to hold this information within the U-Boot tree. Also add the standard developer keys to simplify the instructions, since they are small. For now this only supports nyan-big. Signed-off-by: Simon G

Re: [U-Boot] [PATCH v2 18/28] rockchip: Fix regualtor typo in veyron

2017-06-08 Thread sjg
This typo doesn't actually cause any problems, but is wrong. Fix it. Signed-off-by: Simon Glass --- Changes in v2: None arch/arm/dts/rk3288-veyron-jerry.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied to u-boot-dm, thanks! ___ U-Bo

Re: [U-Boot] [PATCH v2 26/28] rockchip: Enable the video display banner

2017-06-08 Thread sjg
Show the U-Boot banner and board information on the video display during boot. Signed-off-by: Simon Glass --- Changes in v2: None include/configs/rockchip-common.h | 2 ++ 1 file changed, 2 insertions(+) Applied to u-boot-dm, thanks! ___ U-Boot mail

Re: [U-Boot] [PATCH v2 10/28] tegra: spi: Wait a little after setting the clocks

2017-06-08 Thread sjg
For devices that need a delay between SPI transactions we seem to need an additional delay before the first one if the CPU is running at full speed. Add this, under control of the existing setting. At present it will only be enabled with the Chrome OS EC. Signed-off-by: Simon Glass --- Changes i

Re: [U-Boot] [PATCH v2 22/28] rockchip: jerry: Add a .its file for chromium

2017-06-08 Thread sjg
Add a sample .its file for booting U-Boot on a jerry Chromebook. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch containing a .its file for chromium doc/chromium/chromebook_jerry.its | 42 +++ 1 file changed, 42 insertions(+) create mode 10064

Re: [U-Boot] [PATCH 2/2] buildman: properly translate strings for log and err files to ASCII

2017-06-08 Thread sjg
The build output can still produce unicode encoded output. But in the buildman's log and err files we only want plain ASCII characters. To handle all situations with unicode and non-unicode output, encode the stdout and stderr strings to UTF-8 and afterwards to ASCII with replacing all special cha

Re: [U-Boot] [PATCH v2 28/28] README: Add instructions for chain-loading U-Boot on jerry

2017-06-08 Thread sjg
Add instructions for chromebook_jerry. Signed-off-by: Simon Glass --- Changes in v2: - Add instructions and patches for chain-loading into U-Boot on jerry doc/README.chromium | 70 + 1 file changed, 70 insertions(+) Applied to u-boot-dm, tha

Re: [U-Boot] [PATCH 1/2] buildman: disable localized and unicode output of all build tools

2017-06-08 Thread sjg
Build tools like Make, gcc or binutils support localized output or unicode encoded output dependent on the default system locale. This is not useful for buildman, where we want reproducible warning or error messages or where the output of binutils is further processed. Signed-off-by: Daniel Schwie

Re: [U-Boot] [PATCH v2 4/7] usb: dwc2-otg: make regs_otg (in platdata) a uintptr_t

2017-06-08 Thread Simon Glass
Hi, On 8 June 2017 at 08:16, Tom Rini wrote: > On Wed, Jun 07, 2017 at 03:40:30PM +0200, Marek Vasut wrote: >> On 06/07/2017 03:37 PM, Simon Glass wrote: >> > Hi Marek, >> > >> > On 7 June 2017 at 07:33, Marek Vasut wrote: >> >> On 06/07/2017 03:28 PM, Simon Glass wrote: >> >>> Hi Marek, >> >>>

Re: [U-Boot] [PATCH v2 3/3] dm: core: Add uclass_first/next_device_check()

2017-06-08 Thread Simon Glass
Hi, On 23 April 2017 at 20:10, Simon Glass wrote: > Sometimes it is useful to iterate through all devices in a uclass and > skip over those which do not work correctly (e.g fail to probe). Add two > new functions to provide this feature. > > The caller must check the return value each time to mak

[U-Boot] [PATCH] powerpc: mpc8536ds: Update maintainer

2017-06-08 Thread York Sun
Signed-off-by: York Sun --- board/freescale/mpc8536ds/MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/freescale/mpc8536ds/MAINTAINERS b/board/freescale/mpc8536ds/MAINTAINERS index 953072c..af221f9 100644 --- a/board/freescale/mpc8536ds/MAINTAINERS +++ b/boa

Re: [U-Boot] [linux-sunxi] [PATCH v2] sun50i: a64: Add initial NanoPi A64 support

2017-06-08 Thread André Przywara
On 08/06/17 18:43, Jagan Teki wrote: Hi Jagan, > From: Jagan Teki > > NanoPi A64 is a new board of high performance with low cost > designed by FriendlyElec., using the Allwinner A64 SOC. > > Nanopi A64 features > - Allwinner A64, 64-bit Quad-core Cortex-A53@648MHz to 1.152GHz, DVFS > - 1GB DD

Re: [U-Boot] [linux-sunxi] [PATCH v2 00/12] Big work on sunxi DW DRAM controllers and some new DDR type support

2017-06-08 Thread Siarhei Siamashka
On Sat, 3 Jun 2017 17:10:13 +0800 Icenowy Zheng wrote: > This patchset contains several works on the sunxi DesignWare DRAM > controllers. > > The 1st patch made an option for H3-like DRAM controllers > (DesignWare ones), which can ease further import of alike controllers. > > The 2nd and 3rd p

[U-Boot] [PATCHi v2] sun50i: h5: Add initial NanoPi NEO2 support

2017-06-08 Thread Jagan Teki
From: Jagan Teki NanoPi M1 Plus is designed and developed by FriendlyElec using the Allwinner 64-bit H5 SOC. NanoPi Neo2 key features - Allwinner H5, Quad-core 64-bit Cortex-A53 - 512MB DDR3 RAM - microSD slot - 10/100/1000M Ethernet - Serial Debug Port - 5V 2A DC MicroUSB power-supply Signed-o

Re: [U-Boot] [PATCH v2 0/7] spl: add xip booting support

2017-06-08 Thread Vikas MANOCHA
Hi Tom, > -Original Message- > From: Vikas MANOCHA > Sent: Sunday, May 28, 2017 12:55 PM > To: u-boot@lists.denx.de > Cc: Vikas MANOCHA ; Patrick DELAUNAY > ; Patrice CHOTARD > ; Christophe KERELLO ; > Christophe PRIOUZEAU > ; Alexandre TORGUE > Subject: [PATCH v2 0/7] spl: add xip boo

Re: [U-Boot] [U-Boot, v2, 4/4] arm: am33xx: Add support for mulitiple PLL input frequencies

2017-06-08 Thread Emmanuel Vadot
On Thu, 8 Jun 2017 10:17:09 +0530 Lokesh Vutla wrote: > > > On Thursday 08 June 2017 12:20 AM, Emmanuel Vadot wrote: > > On Fri, 12 May 2017 13:20:50 -0400 > > Tom Rini wrote: > > > >> On Fri, May 05, 2017 at 12:59:10PM +0530, Lokesh Vutla wrote: > >> > >>> am335x supports various sysclk freq

[U-Boot] [PATCH] ARM: dts: keystone-k2hk-evm: Add U-boot specific dtsi file

2017-06-08 Thread Franklin S Cooper Jr
With Davinci I2C switching to device model, K2HK requires U-boot specific device tree entries. This is only required for I2C 1 which is needed extremely early during the boot process. Fixes: 1743d040b1df ("ARM: keystone: Enable DM_I2C by default") Reported-by: Yan Liu Signed-off-by: Franklin S Co

Re: [U-Boot] [PATCH v2 00/12] Big work on sunxi DW DRAM controllers and some new DDR type support

2017-06-08 Thread Jagan Teki
On Sat, Jun 3, 2017 at 2:40 PM, Icenowy Zheng wrote: > This patchset contains several works on the sunxi DesignWare DRAM > controllers. > > The 1st patch made an option for H3-like DRAM controllers > (DesignWare ones), which can ease further import of alike controllers. > > The 2nd and 3rd patches

Re: [U-Boot] [PATCH 1/2] sun8i: h3: Add initial NanoPi M1 Plus support

2017-06-08 Thread Jagan Teki
On Thu, Jun 8, 2017 at 9:53 PM, Jagan Teki wrote: > On Tue, May 30, 2017 at 11:11 PM, Jagan Teki wrote: >> From: Jagan Teki >> >> NanoPi M1 Plus is designed and developed by FriendlyElec >> for professionals, enterprise users, makers and hobbyists >> using the Allwinner H3 SOC. >> >> NanoPi M1 P

Re: [U-Boot] [PATCH 1/2] sun8i: h3: Add initial NanoPi M1 Plus support

2017-06-08 Thread Jagan Teki
On Tue, May 30, 2017 at 11:11 PM, Jagan Teki wrote: > From: Jagan Teki > > NanoPi M1 Plus is designed and developed by FriendlyElec > for professionals, enterprise users, makers and hobbyists > using the Allwinner H3 SOC. > > NanoPi M1 Plus key features > - Allwinner H3, Quad-core Cortex-A7@1.2GH

Re: [U-Boot] [linux-sunxi] Re: [PATCH v2 00/12] Big work on sunxi DW DRAM controllers and some new DDR type support

2017-06-08 Thread Icenowy Zheng
于 2017年6月8日 GMT+08:00 下午8:41:41, Jagan Teki 写到: >On Sat, Jun 3, 2017 at 2:40 PM, Icenowy Zheng wrote: >> This patchset contains several works on the sunxi DesignWare DRAM >> controllers. >> >> The 1st patch made an option for H3-like DRAM controllers >> (DesignWare ones), which can ease further

Re: [U-Boot] [PATCH] net: Add ag7xxx driver for Atheros MIPS

2017-06-08 Thread Joe Hershberger
Hi Marek, I was looking at something else and noticed what looks like an issue with this code you submitted. On Tue, May 24, 2016 at 4:29 PM, Marek Vasut wrote: > Add ethernet driver for the AR933x and AR934x Atheros MIPS machines. > The driver could be easily extended to other WiSoCs. > > Signe

Re: [U-Boot] [PATCH v2 4/7] usb: dwc2-otg: make regs_otg (in platdata) a uintptr_t

2017-06-08 Thread Tom Rini
On Thu, Jun 08, 2017 at 07:59:30AM -0600, Simon Glass wrote: > Hi Marek, > > On 8 June 2017 at 07:48, Marek Vasut wrote: > > On 06/08/2017 03:45 PM, Simon Glass wrote: > >> Hi Marek, > >> > >> On 8 June 2017 at 06:33, Marek Vasut wrote: > >>> On 06/08/2017 05:34 AM, s...@google.com wrote: >

Re: [U-Boot] [PATCH v2 4/7] usb: dwc2-otg: make regs_otg (in platdata) a uintptr_t

2017-06-08 Thread Tom Rini
On Wed, Jun 07, 2017 at 03:40:30PM +0200, Marek Vasut wrote: > On 06/07/2017 03:37 PM, Simon Glass wrote: > > Hi Marek, > > > > On 7 June 2017 at 07:33, Marek Vasut wrote: > >> On 06/07/2017 03:28 PM, Simon Glass wrote: > >>> Hi Marek, > >>> > >>> On 7 June 2017 at 06:55, Marek Vasut wrote: > >>

Re: [U-Boot] [PATCH v2 4/7] usb: dwc2-otg: make regs_otg (in platdata) a uintptr_t

2017-06-08 Thread Simon Glass
Hi Marek, On 8 June 2017 at 07:48, Marek Vasut wrote: > On 06/08/2017 03:45 PM, Simon Glass wrote: >> Hi Marek, >> >> On 8 June 2017 at 06:33, Marek Vasut wrote: >>> On 06/08/2017 05:34 AM, s...@google.com wrote: On 06/07/2017 03:37 PM, Simon Glass wrote: > Hi Marek, > > On 7 Ju

Re: [U-Boot] [PATCH v2 4/7] usb: dwc2-otg: make regs_otg (in platdata) a uintptr_t

2017-06-08 Thread Marek Vasut
On 06/08/2017 03:45 PM, Simon Glass wrote: > Hi Marek, > > On 8 June 2017 at 06:33, Marek Vasut wrote: >> On 06/08/2017 05:34 AM, s...@google.com wrote: >>> On 06/07/2017 03:37 PM, Simon Glass wrote: Hi Marek, On 7 June 2017 at 07:33, Marek Vasut wrote: > On 06/07/2017 03:28 P

Re: [U-Boot] [PATCH v2 4/7] usb: dwc2-otg: make regs_otg (in platdata) a uintptr_t

2017-06-08 Thread Simon Glass
Hi Marek, On 8 June 2017 at 06:33, Marek Vasut wrote: > On 06/08/2017 05:34 AM, s...@google.com wrote: >> On 06/07/2017 03:37 PM, Simon Glass wrote: >>> Hi Marek, >>> >>> On 7 June 2017 at 07:33, Marek Vasut wrote: On 06/07/2017 03:28 PM, Simon Glass wrote: > Hi Marek, > > On 7

Re: [U-Boot] [PATCH v4 08/11] usb: dwc2: force to host mode if not support HNP/SRP

2017-06-08 Thread Marek Vasut
On 06/08/2017 09:34 AM, Meng Dongyang wrote: > In current code, after running the command of "usb start", the controller > will keep in otg mode and can't switch to host mode if not support > SNP/SRP capability. So add the property of "hnp-srp-disable" in the DTS > to config the contrller work in f

Re: [U-Boot] [PATCH v4 04/11] usb: host: xhci-rockchip: use fixed regulator to control vbus

2017-06-08 Thread Marek Vasut
On 06/08/2017 09:31 AM, Meng Dongyang wrote: > Use fixed regulator to control the voltage of vbus and turn off > vbus when usb stop. > > Signed-off-by: Meng Dongyang > --- > > Changes in v4: > - Splited from patch [Uboot,v3,04/10] > - Define set vbus as empty function if the macros aren't set >

Re: [U-Boot] [PATCH v4 05/11] usb: host: xhci-rockchip: add support for rk3328

2017-06-08 Thread Marek Vasut
On 06/08/2017 09:33 AM, Meng Dongyang wrote: > Add the compatible "rockchip,rk3328-xhci" in match table > for rk3328 to probe xhci controller. > > Signed-off-by: Meng Dongyang Applied, thanks > --- > > Changes in v4: > - New patch, splited from patch [Uboot,v3,04/10] > > drivers/usb/host/xhc

Re: [U-Boot] [PATCH v2 4/7] usb: dwc2-otg: make regs_otg (in platdata) a uintptr_t

2017-06-08 Thread Marek Vasut
On 06/08/2017 05:34 AM, s...@google.com wrote: > On 06/07/2017 03:37 PM, Simon Glass wrote: >> Hi Marek, >> >> On 7 June 2017 at 07:33, Marek Vasut wrote: >>> On 06/07/2017 03:28 PM, Simon Glass wrote: Hi Marek, On 7 June 2017 at 06:55, Marek Vasut wrote: > On 06/07/2017 02:53

Re: [U-Boot] [PATCH v8 4/7] arm: socfpga: Enable FPGA driver on SPL

2017-06-08 Thread Marek Vasut
On 06/08/2017 05:40 AM, Chee, Tien Fong wrote: [...] Any safety guideline? I checked the spl.map, we still have 10K left after calculation including bss size. >>> I compiled all Intel fpga related defconfigs, and we have 9K free >>> based >>> on total 64K memory size. SO buildin

Re: [U-Boot] [PATCH v4 00/11] rk3328: add support of usb host and gadget

2017-06-08 Thread Marek Vasut
On 06/08/2017 09:31 AM, Meng Dongyang wrote: > Add support of usb host and gadget function for rk3328. Why did I receive half of the series as a series (that is, cover letter and patches IRT to that) and half as separate emails ? > Changes in v4: > - Splite patch [U-boot,v3,04/10] into two patche

[U-Boot] Please pull u-boot-rockchip

2017-06-08 Thread Simon Glass
Hi Tom, Here is additional rk3368 and rk3399 support, rv1108 support, refactoring HDMI video (brought in from Anatolij's tree to resolve conflicts), some mkimage fixes and a few other things. New boards supported are: aarch64: sheep-rk3368 evb-px5 geekbox arm: evb-rv1108 The

Re: [U-Boot] [PATCH v2 00/12] Big work on sunxi DW DRAM controllers and some new DDR type support

2017-06-08 Thread Jagan Teki
On Sat, Jun 3, 2017 at 2:40 PM, Icenowy Zheng wrote: > This patchset contains several works on the sunxi DesignWare DRAM > controllers. > > The 1st patch made an option for H3-like DRAM controllers > (DesignWare ones), which can ease further import of alike controllers. > > The 2nd and 3rd patches

Re: [U-Boot] [PATCH 05/13] rockchip: rk3066: add rk3066 platform devicetree file

2017-06-08 Thread Heiko Stübner
Am Mittwoch, 7. Juni 2017, 17:12:24 CEST schrieb Paweł Jarosz: > Hi Simon, > > W dniu 06.06.2017 o 23:10, Simon Glass pisze: > > Hi Pawel, > > > > On 6 June 2017 at 12:50, Paweł Jarosz wrote: > >> rk3066 peripherials include usb, i2c, pwm, gpio, sdio, sdmmc, emmc, spi, > >> watchdog and uart > >

[U-Boot] [PATCH] cmd: nvedit: bring error message in sync with condition under which it appears

2017-06-08 Thread Lothar Waßmann
The list of symbols listed in the error message for missing Kconfig symbols is out of sync with the symbols actually tested. Add the missing symbols and reorder their appearance to be in sync with the #if statement for easier checking. Signed-off-by: Lothar Waßmann --- cmd/nvedit.c | 4 ++-- 1 f

[U-Boot] [PATCH] cmd: mtdparts: fix uninitialized variable warning

2017-06-08 Thread Lothar Waßmann
commit 06a040a31bcf ("cmd: mtdparts: fix null pointer dereference in parse_mtdparts") removed the initialization of a pointer variable, which is subsequently used in a debug() call. This produces an uninitialized variable warning, when compiling with DEBUG defined. Signed-off-by: Lothar Waßmann

[U-Boot] [PATCH] common, image-sig: [BUG?] if no valid signature node found, do not boot signed FIT image

2017-06-08 Thread Heiko Schocher
fit_image_verify_required_sigs() must return != 0, on error. When fit_image_verify_required_sigs() does not find a signature node, it returns 0, which leads in booting a signed FIT image. Fix this! Signed-off-by: Heiko Schocher --- Found on an imx28 based board, with key dtb appended to u-boot

[U-Boot] [PATCH] armv8: Remove duplicate definition for IH_ARCH_ARM and IH_ARCH_ARM64

2017-06-08 Thread Alison Wang
The duplicate definitions for IH_ARCH_ARM and IH_ARCH_ARM64 are removed. The definitions in are used. According to this modification, the comparison between os arch and cpu arch is done in C programming instead of ASM programming. Signed-off-by: Alison Wang --- arch/arm/cpu/armv8/fsl-layerscap

Re: [U-Boot] [PATCH] armv8: Support loading 32-bit OS which is not in the form of FIT

2017-06-08 Thread Alison Wang
Hi, Tom, > On Tue, Jun 06, 2017 at 03:32:40PM +0800, Alison Wang wrote: > > > As only FIT image is supported now, this patch is to support loading > > 32-bit uImage, dtb and rootfs separately. > > > > Signed-off-by: Alison Wang > > Reviewed-by: Tom Rini > > However, entirely unrelated, I foun

[U-Boot] [PATCH] board_f: fix calculation of reloc_off

2017-06-08 Thread Lothar Waßmann
relocate_code() calculates the relocation offset wrt. the symbol __image_copy_start which happens to have the same value as CONFIG_TEXT_BASE on most systems. When creating an i.MX boot image with an integrated IVT it is convenient to have CONFIG_TEXT_BASE point to the start of the IVT that is prepe

[U-Boot] [PATCH] ARM: provide a valid exception stack address for startup code

2017-06-08 Thread Lothar Waßmann
Create exception stack in IRAM if available to facilitate debugging of pre-relocation code by catching exceptions rather than stopping dead. Signed-off-by: Lothar Waßmann --- arch/arm/lib/vectors.S | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/lib/vectors.S b/a

[U-Boot] [PATCH v4] arm64: ls1043ardb: Add distro boot support

2017-06-08 Thread Shengzhou Liu
Include common config_distro_defaults.h and config_distro_bootcmd.h for u-boot enviroments to support automatical distro boot which scan boot.scr from external storage devices(e.g. SD/USB/SATA/SCSI disk) and execute autoboot script. Tested on ls1043ardb with automatically boot Ubuntu from SD card o

  1   2   >