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

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

[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

[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

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

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,

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

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

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:

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

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! > >

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

[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

[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

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

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

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:

[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

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

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 > >> --- > >>

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

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

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 >

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

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

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

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

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

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

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

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

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

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

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(+)

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

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

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 >

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(+),

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) ---

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

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

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. > --- >

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!

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

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

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

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(+)

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

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

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

[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 ---

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

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. > >

[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

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

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: > >>

[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

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

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

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

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

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:

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

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:

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

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

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

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

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

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

[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

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

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,

[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 ---

[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

[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 ---

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

[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

[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

[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

Re: [U-Boot] [PATCH v4 8/9] rockchip: dts: rk3399: enable HDMI output in the DTS

2017-06-08 Thread Anatolij Gustschin
Hi Simon, On Wed, 7 Jun 2017 21:30:15 -0600 Simon Glass s...@chromium.org wrote: ... > > But patch 9 depends on changes in u-boot-rockchip.git. I can rebase when > > u-boot-rockchip.git is merged in u-boot.git/master and then also can add > > patch 9. Or you can merge this series into

[U-Boot] [PATCH] arm: adjust PC displayed in exception handlers to point to the failing instruction

2017-06-08 Thread Lothar Waßmann
Adjust the program counter register to point to the failing instruction depending on the exeption type. This makes it easier to localize the offending instruction leading to a fatal exception. Signed-off-by: Lothar Waßmann --- arch/arm/lib/interrupts.c | 14

[U-Boot] [PATCH] ARM: remove bogus cp_delay() function

2017-06-08 Thread Lothar Waßmann
The cp_delay() function was introduced because of a missing 'volatile' attribute to the 'asm' statement in get_cr() which led to the 'mrc' instruction in get_cr() being optimised out eventually. This has been fixed in commit 53fd4b8c22bb ("arm: mmu: Add missing volatile for reading SCTLR

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

2017-06-08 Thread Christian Gmeiner
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 changed, 1 insertion(+), 1

[U-Boot] [PATCH] ot1200: enable CONFIG_IMX_THERMAL for detailed thermal information

2017-06-08 Thread Christian Gmeiner
Signed-off-by: Christian Gmeiner --- configs/ot1200_defconfig | 2 ++ configs/ot1200_spl_defconfig | 2 ++ include/configs/ot1200.h | 3 +++ 3 files changed, 7 insertions(+) diff --git a/configs/ot1200_defconfig b/configs/ot1200_defconfig index

[U-Boot] [PATCH v4 11/11] rockchip: dts: rk3399: control vbus of typec by fixed regulator

2017-06-08 Thread Meng Dongyang
Add fixed regulator for the port of typec0 and typec1 to control vbus instead of gpio. Signed-off-by: Meng Dongyang Reviewed-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: - New change, add fixed regulator for rk3399

[U-Boot] [PATCH v2 1/4] rockchip: evb-rk3328: set uart2 io routing to M1

2017-06-08 Thread Kever Yang
In rk3328, some function pin may have more than one choice, and muxed with more than one IO, for example, the UART2 controller IO, TX and RX, have 3 choice(setting in com_iomux): - M0 which mux with GPIO1A0/GPIO1A1 - M1 which mux with GPIO2A0/GPIO2A1 - usb2phy which mux with USB2.0 DP/DM pin.

[U-Boot] [PATCH v2 3/4] rockchip: evb-rk3328: enable boot on regulator

2017-06-08 Thread Kever Yang
Enable all the boot-on regulator in default. Signed-off-by: Kever Yang Acked-by: Simon Glass --- Changes in v2: None board/rockchip/evb_rk3328/evb-rk3328.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH v4 09/11] rk3328: board: add support of dwc2 gadget

2017-06-08 Thread Meng Dongyang
Probe dwc2 udc in the function of board_usb_start to enable usb gadget function. Signed-off-by: Meng Dongyang Reviewed-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: - Splited from patch [07/08] of v1

Re: [U-Boot] [PATCH] sf: Fix s25fs512s erase size and remove SECT_4K flag

2017-06-08 Thread Suresh Gupta
> > > > So best way is to disable hybrid mode and configure flash in Uniform > > Sector Architecture > > OK, then send patches to Linux and U-Boot will review and take other > suggestions too. > Thanks Jagan, I will send U-boot patches (after testing) by early next week. My next point :) to

[U-Boot] [PATCH v2 2/4] rockchip: pinctrl: rk3328: use gpio instead of sdmmc-pwren

2017-06-08 Thread Kever Yang
SDMMC-PWREN is a pin to control voltage for SDMMC IO, it may be high active or low active, the dwmmc driver always assume the sdmmc-pwren as high active. Kernel treat this pin as fixed regulator instead of a pin from controller, and then it can set in dts file upon board schematic, that's a good

  1   2   >