Re: [U-Boot] [PATCH 1/1] x86: provide CONFIG_BUILD_ROM

2017-09-18 Thread Heinrich Schuchardt
On 09/19/2017 07:54 AM, Bin Meng wrote: > Hi Heinrich, > > On Sun, Sep 17, 2017 at 7:57 PM, Heinrich Schuchardt > wrote: >> Up to now we depended on an exported variable to build u-boot.rom. >> What we build should be specified by the configuration file. >> >> With this patch the export variable

Re: [U-Boot] [PATCH v2] cmd: usb: add blk devices to ignore list in tree graph

2017-09-18 Thread Suneel Garapati
Thanks Bin and Stefan. I have sent the v3. Regards, Suneel On Mon, Sep 18, 2017 at 9:52 PM, Stefan Roese wrote: > On 19.09.2017 05:05, Suneel Garapati wrote: >> >> add blk child devices to ignore list while displaying >> usb tree graph, otherwise usb tree and info commands >> may cause crash tre

[U-Boot] [PATCH v3] cmd: usb: add blk devices to ignore list in tree graph

2017-09-18 Thread Suneel Garapati
add blk child devices to ignore list while displaying usb tree graph, otherwise usb tree and info commands may cause crash treating blk as usb device. Signed-off-by: Suneel Garapati --- Changes v3: - remove 'check on parent uclass' in description Changes v2: - remove check on parent uclass Cha

Re: [U-Boot] [PATCH 1/1] x86: provide CONFIG_BUILD_ROM

2017-09-18 Thread Bin Meng
Hi Heinrich, On Sun, Sep 17, 2017 at 7:57 PM, Heinrich Schuchardt wrote: > Up to now we depended on an exported variable to build u-boot.rom. > What we build should be specified by the configuration file. > > With this patch the export variable is deprecated and replaced by the > Kconfig option C

Re: [U-Boot] tftp reliability

2017-09-18 Thread Ran Shalit
On Tue, Sep 19, 2017 at 7:04 AM, Chris Packham wrote: > On Tue, Sep 19, 2017 at 8:26 AM, Ran Shalit wrote: >> Hello, >> >> Does tftp checks the integrity of the file with checksum or any other >> similar method ? If not - how can it assure the reliability of the >> file that was transferred ? > >

[U-Boot] [RESEND PATCH 3/3] dts: sunxi: add PWM node for sun50i

2017-09-18 Thread Vasily Khoruzhick
Signed-off-by: Vasily Khoruzhick --- arch/arm/dts/sun50i-a64.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/sun50i-a64.dtsi b/arch/arm/dts/sun50i-a64.dtsi index 65a344d9ce..14e94bf00e 100644 --- a/arch/arm/dts/sun50i-a64.dtsi +++ b/arch/arm/dts/sun50i-a64.dtsi @@ -3

[U-Boot] [RESEND PATCH 1/3] pwm: sunxi: add support for PWM found on Allwinner A64 and H3

2017-09-18 Thread Vasily Khoruzhick
This commit adds basic support for PWM found on Allwinner A64 and H3 Signed-off-by: Vasily Khoruzhick --- arch/arm/include/asm/arch-sunxi/gpio.h | 1 + arch/arm/include/asm/arch-sunxi/pwm.h | 12 +++ arch/arm/mach-sunxi/board.c| 11 +++ drivers/pwm/Kconfig|

[U-Boot] [RESEND PATCH 2/3] video: pwm_backlight: make regulator optional

2017-09-18 Thread Vasily Khoruzhick
u-boot doesn't have dummy regulators, so pwm_backlight probe will fail if regulator is missing. Make it optional to get this driver working on platforms where there's no backlight regultor. Signed-off-by: Vasily Khoruzhick --- drivers/video/pwm_backlight.c | 28 1 fi

[U-Boot] [RESEND PATCH 4/5] sunxi: video: split out PLL code

2017-09-18 Thread Vasily Khoruzhick
It will be reused in new DM LCD driver. Signed-off-by: Vasily Khoruzhick --- arch/arm/include/asm/arch-sunxi/lcdc.h | 2 + drivers/video/sunxi/lcdc.c | 117 ++- drivers/video/sunxi/sunxi_display.c| 121 ++--- 3 files chang

[U-Boot] [RESEND PATCH 5/5] sunxi: video: add LCD support to DE2 driver

2017-09-18 Thread Vasily Khoruzhick
Extend DE2 driver with LCD support Signed-off-by: Vasily Khoruzhick --- arch/arm/mach-sunxi/Kconfig | 2 +- drivers/video/sunxi/Makefile| 2 +- drivers/video/sunxi/sunxi_de2.c | 17 + drivers/video/sunxi/sunxi_lcd.c | 142 4 files changed

[U-Boot] [RESEND PATCH 3/5] video: add anx6345 DM driver

2017-09-18 Thread Vasily Khoruzhick
This is a eDP bridge similar to ANX9804, it allows to connect eDP panels to the chips that can output only parallel signal Signed-off-by: Vasily Khoruzhick --- drivers/video/bridge/Kconfig | 8 + drivers/video/bridge/Makefile | 1 + drivers/video/bridge/anx6345.c | 419 +++

[U-Boot] [RESEND PATCH 2/5] video: anx9804: split out registers definitions into a separate header

2017-09-18 Thread Vasily Khoruzhick
This header will be used in anx6345 driver Signed-off-by: Vasily Khoruzhick --- drivers/video/anx9804.c | 54 +-- include/anx98xx-edp.h | 98 + 2 files changed, 99 insertions(+), 53 deletions(-) create mode 100644 include

[U-Boot] [RESEND PATCH 1/5] dm: video: bridge: add operation to read EDID

2017-09-18 Thread Vasily Khoruzhick
Bridge may have ability to read EDID from panel that is connected to it, so add an operation to read EDID. Signed-off-by: Vasily Khoruzhick --- drivers/video/bridge/video-bridge-uclass.c | 10 ++ include/video_bridge.h | 20 2 files changed, 30 in

Re: [U-Boot] [PATCH 1/5] dm: video: bridge: add operation to read EDID

2017-09-18 Thread Vasily Khoruzhick
Please discard this, I forgot to include maintainers in CC. Will resend. On Sun, Sep 17, 2017 at 8:21 PM, Vasily Khoruzhick wrote: > Bridge may have ability to read EDID from panel that is connected to it, > so add an operation to read EDID. > > Signed-off-by: Vasily Khoruzhick > --- > drivers/

Re: [U-Boot] [PATCH 1/3] pwm: sunxi: add support for PWM found on Allwinner A64 and H3

2017-09-18 Thread Vasily Khoruzhick
Please discard this, I forgot to include maintainers in CC. Will resend. On Sun, Sep 17, 2017 at 8:28 PM, Vasily Khoruzhick wrote: > This commit adds basic support for PWM found on Allwinner A64 and H3 > > Signed-off-by: Vasily Khoruzhick > --- > arch/arm/include/asm/arch-sunxi/gpio.h | 1 + >

Re: [U-Boot] [PATCH 00/14] usb: xhci: Add interrupt transfer support and full speed device support

2017-09-18 Thread Bin Meng
Hi Stefan, On Tue, Sep 19, 2017 at 12:54 PM, Stefan Roese wrote: > Hi Bin, > > > On 19.09.2017 03:38, Bin Meng wrote: >> >> On Mon, Sep 18, 2017 at 11:38 PM, Stefan Roese wrote: >>> >>> Hi Bin, >>> >>> On 18.09.2017 17:26, Stefan Roese wrote: On 18.09.2017 17:13, Marek Vasut wrote: >>>

Re: [U-Boot] [PATCH 00/14] usb: xhci: Add interrupt transfer support and full speed device support

2017-09-18 Thread Stefan Roese
Hi Bin, On 19.09.2017 03:38, Bin Meng wrote: On Mon, Sep 18, 2017 at 11:38 PM, Stefan Roese wrote: Hi Bin, On 18.09.2017 17:26, Stefan Roese wrote: On 18.09.2017 17:13, Marek Vasut wrote: On 09/18/2017 03:40 PM, Bin Meng wrote: This adds the missing interrupt transfer support to xHCI driv

Re: [U-Boot] [PATCH v2] cmd: usb: add blk devices to ignore list in tree graph

2017-09-18 Thread Stefan Roese
On 19.09.2017 05:05, Suneel Garapati wrote: add blk child devices to ignore list while displaying usb tree graph, otherwise usb tree and info commands may cause crash treating blk as usb device. Signed-off-by: Suneel Garapati This patch fixes the crash I've experienced with "usb tree" sometim

Re: [U-Boot] [PATCH] mvebu: turris_omnia: Only set eth?addr env if CONFIG_CMD_NET

2017-09-18 Thread Stefan Roese
Hi Marek, On 04.09.2017 08:42, Stefan Roese wrote: On 03.09.2017 15:13, Marek Behún wrote: Otherwise the linking will fail since eth_env_set_enetaddr cannot be found. Signed-off-by: Marek Behun --- board/CZ.NIC/turris_omnia/turris_omnia.c | 4 +++- 1 file changed, 3 insertions(+), 1 deleti

Re: [U-Boot] [PATCH 1/2] arm: mvebu: fix boot from UART on ClearFog Base

2017-09-18 Thread Stefan Roese
Hi Baruch, On 18.09.2017 19:57, Baruch Siach wrote: On Mon, Sep 18, 2017 at 06:00:23PM +0200, Stefan Roese wrote: On 20.08.2017 15:46, Baruch Siach wrote: The ClearFog Base boot from UART when setting the DIP switches to 01001. Unfortunately, the SPL code sometimes fails to detect the UART boo

[U-Boot] [PATCH] spl: spl_mmc: add __maybe_unused to mmc_load_image_raw_sector()

2017-09-18 Thread Seung-Woo Kim
If there are no CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION, CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR and CONFIG_SPL_OS_BOOT, there is unused-function build warning. Add __maybe_unused macro to remove the warning. Signed-off-by: Seung-Woo Kim --- common/spl/spl_mmc.c |5 +++-- 1 file c

Re: [U-Boot] tftp reliability

2017-09-18 Thread Chris Packham
On Tue, Sep 19, 2017 at 8:26 AM, Ran Shalit wrote: > Hello, > > Does tftp checks the integrity of the file with checksum or any other > similar method ? If not - how can it assure the reliability of the > file that was transferred ? In short it doesn't. Beyond a simple block id and ack there is n

Re: [U-Boot] [PATCH v2] cmd: usb: add blk devices to ignore list in tree graph

2017-09-18 Thread Bin Meng
Hi Suneel, On Tue, Sep 19, 2017 at 11:05 AM, Suneel Garapati wrote: > add blk child devices to ignore list while displaying > usb tree graph, otherwise usb tree and info commands > may cause crash treating blk as usb device. > > Signed-off-by: Suneel Garapati > --- > > Changes v2: > - remove ch

[U-Boot] [PATCH v2] cmd: usb: add blk devices to ignore list in tree graph

2017-09-18 Thread Suneel Garapati
add blk child devices to ignore list while displaying usb tree graph, otherwise usb tree and info commands may cause crash treating blk as usb device. Signed-off-by: Suneel Garapati --- Changes v2: - remove check on parent uclass Changes v1: - add separate check on blk uclass - modify descrip

Re: [U-Boot] [OE-core] [PATCH] u-boot: Upgrade to 2017.09

2017-09-18 Thread Randy MacLeod
On 2017-09-17 11:35 AM, Khem Raj wrote: I am seeing same failures too. havent yet dug into it. Same here. Jackie said that he's going to investigate now. We've only seen this failure since 2017-09-15 06:00 AM ET after we rebased onto 2017-09-14 content/ this commit: 583dca2 meta/conf/layers

Re: [U-Boot] [OE-core] [PATCH] u-boot: Upgrade to 2017.09

2017-09-18 Thread Burton, Ross
On 18 September 2017 at 16:46, Otavio Salvador < otavio.salva...@ossystems.com.br> wrote: > What is the policy on doing u-boot version upgrades this late in the > > release cycle? SHouldn't this wait until after the release? > > > Why? > > It is just another recipe and we are upgrading to the fina

[U-Boot] [PATCH v2] xyz-modem: Fix timeout loop waiting with WATCHDOG

2017-09-18 Thread Lokesh Vutla
Commit 2c77c0d6524eb ("xyz-modem: Change getc timeout loop waiting") fixes the loop delay when using a hw watchdog, assuming that Watchdog kicking is taken care of by getc(). But watchdog kicking in getc happens only when a request for retry is occurred. This request might not happen all the time.

Re: [U-Boot] [PATCH] armv8: ls1043ardb: disable PPA loading during SPL stage for SD boot

2017-09-18 Thread York Sun
On 09/18/2017 06:56 PM, Y.b. Lu wrote: > Hi York, > > Yes. We got below crash on ls1046ardb if we write ppa to SD card. > > => cpld reset sd > U-Boot SPL 2017.07-g25cd705 (Sep 15 2017 - 03:27:02) > Initializing DDRusing SPD > WARNING: Calling __hwconfig without a buffer and before environment

Re: [U-Boot] [PATCH v2 0/5] rockchip: back-to-bootrom: replace assembly-implementation with C-code

2017-09-18 Thread Andy Yan
Hi Philipp: On 2017年09月19日 02:18, Philipp Tomsich wrote: Recent discussions confirmed (what the code always assumed): the Rockchip BROM always enters U-Boot with the stack-pointer valid (i.e. the U-Boot startup code is running off the BROM stack). We can thus replace the back-to-bootrom code (

Re: [U-Boot] [PATCH] armv8: ls1043ardb: disable PPA loading during SPL stage for SD boot

2017-09-18 Thread Y.b. Lu
Hi York, Yes. We got below crash on ls1046ardb if we write ppa to SD card. => cpld reset sd U-Boot SPL 2017.07-g25cd705 (Sep 15 2017 - 03:27:02) Initializing DDRusing SPD WARNING: Calling __hwconfig without a buffer and before environment is ready WARNING: Calling __hwconfig without a buffer

Re: [U-Boot] [PATCH 00/14] usb: xhci: Add interrupt transfer support and full speed device support

2017-09-18 Thread Bin Meng
Hi Stefan, On Mon, Sep 18, 2017 at 11:38 PM, Stefan Roese wrote: > Hi Bin, > > On 18.09.2017 17:26, Stefan Roese wrote: >> On 18.09.2017 17:13, Marek Vasut wrote: >>> On 09/18/2017 03:40 PM, Bin Meng wrote: This adds the missing interrupt transfer support to xHCI driver, so that de

Re: [U-Boot] [PATCH v2 2/9] serial: stm32x7: add STM32H7 support

2017-09-18 Thread Vikas Manocha
Hi Patrice, On 09/13/2017 09:00 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > STM32F7 and STM32H7 shares the same UART block, add > STM32H7 compatible string. > > Signed-off-by: Patrice Chotard > --- > drivers/serial/Kconfig | 7 --- > drivers/serial/serial_stm32x

Re: [U-Boot] [PATCH v2 1/9] pinctrl: stm32: add stm32h743-pinctrl compatible

2017-09-18 Thread Vikas Manocha
On 09/13/2017 09:00 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > STM32H7 SoCs uses the same pinctrl block as found into > STM32F7 SoCs > > Signed-off-by: Patrice Chotard > --- > drivers/pinctrl/pinctrl_stm32.c | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Vikas Ma

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

2017-09-18 Thread Tom Rini
On Mon, Sep 18, 2017 at 08:44:15PM +0200, Dr. Philipp Tomsich wrote: > Hi Tom, > > The following changes since commit c07f38208a73bbe3efaa939d6742096c1cb7e0ce: > > Merge git://git.denx.de/u-boot-x86 (2017-09-17 11:46:51 -0400) > > are available in the git repository at: > > git://git.denx.

Re: [U-Boot] [GIT PULL] u-boot-uniphier/master

2017-09-18 Thread Tom Rini
On Mon, Sep 18, 2017 at 08:33:10PM +0900, Masahiro Yamada wrote: > Hi Tom, > > This is the first round of UniPhier updates for v2017.09. > Please pull! > > > > The following changes since commit 08cebeeaadd9192dd501308ac6a8b858ffa255c1: > > Merge git://git.denx.de/u-boot-fdt (2017-09-15 22:

Re: [U-Boot] [PATCH 1/1] test/py: provide example scripts for integrating qemu

2017-09-18 Thread Heinrich Schuchardt
On 09/18/2017 11:28 PM, Stephen Warren wrote: > On 09/18/2017 01:55 PM, Heinrich Schuchardt wrote: >> On 09/18/2017 08:27 PM, Stephen Warren wrote: >>> On 09/17/2017 01:32 PM, Heinrich Schuchardt wrote: The necessary parameters for running Python tests on qemu are tediouus to find. >>> >>

[U-Boot] [PATCH v2 1/1] test/py: provide example scripts for integrating qemu

2017-09-18 Thread Heinrich Schuchardt
The necessary parameters for running Python tests on qemu are tedious to find. The patch adds examples for u-boot-test-console and u-boot-test-reset. Signed-off-by: Heinrich Schuchardt --- v2 Include all necessary information to run tests for qemu-x86_defconfig in a separate chap

Re: [U-Boot] [PATCH 1/1] test/py: provide example scripts for integrating qemu

2017-09-18 Thread Stephen Warren
On 09/18/2017 01:55 PM, Heinrich Schuchardt wrote: On 09/18/2017 08:27 PM, Stephen Warren wrote: On 09/17/2017 01:32 PM, Heinrich Schuchardt wrote: The necessary parameters for running Python tests on qemu are tediouus to find. Nit: tedious Let's wrap the commit description to 72-74 characte

Re: [U-Boot] [PATCH] sunxi: gpio: add missing compatible strings

2017-09-18 Thread André Przywara
On 11/08/17 12:16, Jagan Teki wrote: Hi, > On Thu, Jun 29, 2017 at 3:56 PM, Icenowy Zheng wrote: >> >> >> 于 2017年6月29日 GMT+08:00 下午6:10:31, Andre Przywara 写到: >>> The sunxi GPIO driver is missing some compatible strings for recent >>> SoCs. While most of the sunxi GPIO code seems to not rely on

Re: [U-Boot] [PATCH 1/1] efi_loader: fix bug in efi_add_known_memory

2017-09-18 Thread Alexander Graf
On 18.09.17 12:56, Heinrich Schuchardt wrote: In efi_add_known_memory the start address is correctly rounded up to a mulitple of EFI_PAGE_SIZE. By this rounding we may loose up to EFI_PAGE_MASK bytes. The current code does not take this loss of available memory into account when calculating the

Re: [U-Boot] [PATCH] efi_loader: EFI entry point should be EFIAPI

2017-09-18 Thread Alexander Graf
On 18.09.17 20:27, Rob Clark wrote: On Mon, Sep 18, 2017 at 1:47 PM, Rob Clark wrote: This is needed to run 'bootefi' from sandbox. I suspect StartImage() must have been broken too on x86. Signed-off-by: Rob Clark --- cmd/bootefi.c | 2 +- include/efi.h |

Re: [U-Boot] [PATCH] efi_loader: EFI entry point should be EFIAPI

2017-09-18 Thread Alexander Graf
On 18.09.17 19:47, Rob Clark wrote: This is needed to run 'bootefi' from sandbox. I suspect StartImage() must have been broken too on x86. Signed-off-by: Rob Clark --- cmd/bootefi.c | 2 +- include/efi.h | 2 +- lib/efi_loader/efi_boottime.c | 2 +- 3 fil

Re: [U-Boot] [PATCH] EFI: find EFI system partition by legacy MBR partition type

2017-09-18 Thread André Przywara
On 06/07/17 10:23, Alexander Graf wrote: Hi, > On 07/06/2017 11:14 AM, Andre Przywara wrote: >> The UEFI spec allows an EFI system partition (ESP, with the bootloader or >> kernel EFI apps on it) to reside on a disk using a "legacy" MBR >> partitioning scheme. >> But in contrast to actual legacy

Re: [U-Boot] tftp reliability

2017-09-18 Thread Robert Moskowitz
My experience is that it doesn't. No checking. No assurance. Do your checksums. Best never to count on tftp over congested routed connections. Bob On 09/18/2017 04:26 PM, Ran Shalit wrote: Hello, Does tftp checks the integrity of the file with checksum or any other similar method ? If not

[U-Boot] tftp reliability

2017-09-18 Thread Ran Shalit
Hello, Does tftp checks the integrity of the file with checksum or any other similar method ? If not - how can it assure the reliability of the file that was transferred ? Thank you, Ran ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de

[U-Boot] [PATCH 1/1] efi_loader: avoid obscure constants in efi_runtime.c

2017-09-18 Thread Heinrich Schuchardt
We should use the predefined constants EFI_PAGE_SHIFT and EFI_PAGE_MASK where applicable. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_runtime.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/efi_loader/efi_runtime.c b/lib/efi_loader/efi_runtime.c inde

Re: [U-Boot] [PATCH 1/1] test/py: provide example scripts for integrating qemu

2017-09-18 Thread Heinrich Schuchardt
On 09/18/2017 08:27 PM, Stephen Warren wrote: > On 09/17/2017 01:32 PM, Heinrich Schuchardt wrote: >> The necessary parameters for running Python tests on qemu are >> tediouus to find. > > Nit: tedious > > Let's wrap the commit description to 72-74 characters; it's rather > narrow right now. > >

Re: [U-Boot] [PATCH 08/16] sandbox: Add a setjmp() implementation

2017-09-18 Thread Rob Clark
On Mon, Sep 18, 2017 at 2:01 AM, Heinrich Schuchardt wrote: > On 09/18/2017 12:59 AM, Simon Glass wrote: >> Add an implementation of setjmp() and longjmp() which rely on the >> underlying host C library. Since we cannot know how large the jump buffer >> needs to be, pick something that should be s

Re: [U-Boot] [PATCH 2/3] rockchip: back-to-bootrom: replace assembly-implementation with C-code

2017-09-18 Thread Dr. Philipp Tomsich
Andy, > This function works fine on ARM64 platform, But I got problems on ARMv7. > When trace the code flow with DS5 I found the core switch > to thumb state when jump to save_boot_params_ret[0], but this code can't only > execute in arm state as thumb instruction can't access > cpsr register.

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

2017-09-18 Thread Dr. Philipp Tomsich
Hi Tom, The following changes since commit c07f38208a73bbe3efaa939d6742096c1cb7e0ce: Merge git://git.denx.de/u-boot-x86 (2017-09-17 11:46:51 -0400) are available in the git repository at: git://git.denx.de/u-boot-rockchip.git master for you to fetch changes up to 60d7c50945d65185a5c86c4f52

Re: [U-Boot] [U-Boot, RFC, 3/4] rockchip: rk3368: adjust DMC driver for 32/64bit-aware OF_PLATDATA

2017-09-18 Thread Philipp Tomsich
> With the new 32/64bit-aware dtoc, the type of reg is fdt64_t and the > OF_PLATDATA structure layout changes. This adjusts the DMC driver for > the RK3368 to track these changes. > > For the time being (i.e. until regmap_init_mem_platdata works for the > 64bit case), we won't use regmap_init_mem

Re: [U-Boot] [U-Boot, 2/2] rockchip: ram: rk3399: update reg map for of-platdata

2017-09-18 Thread Philipp Tomsich
> After Simon's patch, the dtoc can work with 64bit address, > so we need to fix reg number for it. > Depend on Simon's patch set: > https://patchwork.ozlabs.org/cover/807266/ > > Signed-off-by: Kever Yang > Reviewed-by: Philipp Tomsich > Acked-by: Philipp Tomsich > Reviewed-by: Philipp Tomsich

Re: [U-Boot] rockchip: puma_rk3399: increase serialno_str size

2017-09-18 Thread Philipp Tomsich
> Increase serialno_str to 17 bytes so it can hold the 16 bytes long serial > nummer and the terminating null byte added by snprintf. > > Signed-off-by: Klaus Goger > Acked-by: Philipp Tomsich > Reviewed-by: Philipp Tomsich > --- > > board/theobroma-systems/puma_rk3399/puma-rk3399.c | 2 +- >

Re: [U-Boot] [U-Boot, 1/2] rockchip: sdhci: update reg map for of-platdata

2017-09-18 Thread Philipp Tomsich
> After Simon's patch, the dtoc can work with 64bit address, > so we need to fix reg number for it. > Depend on Simon's patch set: > https://patchwork.ozlabs.org/cover/807266/ > > Signed-off-by: Kever Yang > Acked-by: Philipp Tomsich > Reviewed-by: Philipp Tomsich > --- > > drivers/mmc/rockch

Re: [U-Boot] [U-Boot, 4/4] rockchip: dts: rk3368: reduce the number of nodes seen in TPL

2017-09-18 Thread Philipp Tomsich
> The RK3368 TPL stage always returns to the BootROM, so it has no need > for the eMMC, SD and SPI nodes. This marks those nodes (that should > be included in SPL, but not TPL) as 'u-boot,dm-spl'. > > Signed-off-by: Philipp Tomsich > Acked-by: Philipp Tomsich > Reviewed-by: Simon Glass > --- >

Re: [U-Boot] [U-Boot, RFC, 2/4] rockchip: timer: update for 32/64bit-aware OF_PLATDATA

2017-09-18 Thread Philipp Tomsich
> With dtoc emitting fdt64_t for addresses (and region sizes), the array > indices for accessing the reg[] array needs to be adjusted. This > adjusts the Rockchip DM timer driver to correctly handle OF_PLATDATA > given this new structure layout. > > Signed-off-by: Philipp Tomsich > Acked-by: Phi

Re: [U-Boot] [PATCH 1/1] test/py: provide example scripts for integrating qemu

2017-09-18 Thread Stephen Warren
On 09/17/2017 01:32 PM, Heinrich Schuchardt wrote: The necessary parameters for running Python tests on qemu are tediouus to find. Nit: tedious Let's wrap the commit description to 72-74 characters; it's rather narrow right now. The patch adds examples for u-boot-test-console and u-boot-t

Re: [U-Boot] [PATCH] efi_loader: EFI entry point should be EFIAPI

2017-09-18 Thread Rob Clark
On Mon, Sep 18, 2017 at 1:47 PM, Rob Clark wrote: > This is needed to run 'bootefi' from sandbox. I suspect StartImage() > must have been broken too on x86. > > Signed-off-by: Rob Clark > --- > cmd/bootefi.c | 2 +- > include/efi.h | 2 +- > lib/efi_loader/efi_bo

Re: [U-Boot] rockchip: puma_rk3399: increase serialno_str size

2017-09-18 Thread Philipp Tomsich
> Increase serialno_str to 17 bytes so it can hold the 16 bytes long serial > nummer and the terminating null byte added by snprintf. > > Signed-off-by: Klaus Goger > --- > > board/theobroma-systems/puma_rk3399/puma-rk3399.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-b

Re: [U-Boot] [U-Boot, 2/2] rockchip: ram: rk3399: update reg map for of-platdata

2017-09-18 Thread Philipp Tomsich
> After Simon's patch, the dtoc can work with 64bit address, > so we need to fix reg number for it. > Depend on Simon's patch set: > https://patchwork.ozlabs.org/cover/807266/ > > Signed-off-by: Kever Yang > Reviewed-by: Philipp Tomsich > Acked-by: Philipp Tomsich > --- > > drivers/ram/rockch

Re: [U-Boot] [U-Boot, 1/2] rockchip: sdhci: update reg map for of-platdata

2017-09-18 Thread Philipp Tomsich
> After Simon's patch, the dtoc can work with 64bit address, > so we need to fix reg number for it. > Depend on Simon's patch set: > https://patchwork.ozlabs.org/cover/807266/ > > Signed-off-by: Kever Yang > Acked-by: Philipp Tomsich > --- > > drivers/mmc/rockchip_sdhci.c | 2 +- > 1 file chan

Re: [U-Boot] rockchip: puma_rk3399: increase serialno_str size

2017-09-18 Thread Philipp Tomsich
> Increase serialno_str to 17 bytes so it can hold the 16 bytes long serial > nummer and the terminating null byte added by snprintf. > > Signed-off-by: Klaus Goger > --- > > board/theobroma-systems/puma_rk3399/puma-rk3399.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Acked-by:

[U-Boot] [PATCH v2 4/5] rockchip: back-to-bootrom: allow passing a cmd to the bootrom

2017-09-18 Thread Philipp Tomsich
The BROM supports forcing it to enter download-mode, if an appropriate result/cmd-word is returned to it. There already is a series to support this in review, so this prepares the (newly C-version) of the back-to-bootrom code to accept a cmd to passed on to the BROM. All the existing call-sites a

[U-Boot] [PATCH v2 5/5] rockchip: back-to-bootrom: do not compile bootrom.o in thumb mode

2017-09-18 Thread Philipp Tomsich
With start.o being compiled to A32 for ARMv7 (and no Thumb mode), we need to ensure that the call to save_boot_params_ret either happens from ARM mode or uses an interwork branch. To keep things simple, we force bootrom.o to always be A32 code by setting specific CFLAGS for this compilation unit.

[U-Boot] [PATCH v2 1/5] arm: make save_boot_params_ret prototype visible for AArch64

2017-09-18 Thread Philipp Tomsich
The save_boot_params_ret() prototype (for those of us, that have a valid SP on entry and can implement save_boot_params() in C), was previously only defined for !defined(CONFIG_ARM64). This moves the declaration to a common block to ensure the prototype is available to everyone that might need it.

[U-Boot] [PATCH v2 2/5] rockchip: back-to-bootrom: replace assembly-implementation with C-code

2017-09-18 Thread Philipp Tomsich
The back-to-bootrom implementation for Rockchip has always relied on the stack-pointer being valid on entry, so there was little reason to have this as an assembly implementation. This provides a new C-only implementation of save_boot_params and back_to_bootrom (relying on setjmp/longjmp) and remo

[U-Boot] [PATCH v2 3/5] rockchip: back-to-bootrom: rk3188: chain from SPL via TPL to the BROM

2017-09-18 Thread Philipp Tomsich
The RK3188 implementation previously passed the address of the stack frame created during save_boot_params via pmu->os_reg[2]. This was not strictly necessary, as the save_boot_params() function was called twice (first: for TPL, saving the context for the BROM; next: for SPL, saving the context for

[U-Boot] [PATCH v2 0/5] rockchip: back-to-bootrom: replace assembly-implementation with C-code

2017-09-18 Thread Philipp Tomsich
Recent discussions confirmed (what the code always assumed): the Rockchip BROM always enters U-Boot with the stack-pointer valid (i.e. the U-Boot startup code is running off the BROM stack). We can thus replace the back-to-bootrom code (i.e. both the save_boot_params and back_to_bootrom implementa

Re: [U-Boot] [PATCH 1/1] test/py: provide example scripts for integrating qemu

2017-09-18 Thread Heinrich Schuchardt
On 09/18/2017 07:33 PM, Stephen Warren wrote: > On 09/17/2017 01:32 PM, Heinrich Schuchardt wrote: >> The necessary parameters for running Python tests on qemu are >> tediouus to find. >> >> The patch adds examples for u-boot-test-console and >> u-boot-test-reset. > > This README doesn't contain e

Re: [U-Boot] [PATCH 1/2] arm: mvebu: fix boot from UART on ClearFog Base

2017-09-18 Thread Baruch Siach
Hi Stefan, On Mon, Sep 18, 2017 at 06:00:23PM +0200, Stefan Roese wrote: > On 20.08.2017 15:46, Baruch Siach wrote: > > The ClearFog Base boot from UART when setting the DIP switches to 01001. > > Unfortunately, the SPL code sometimes fails to detect the UART boot > > method at run-time. Add an al

[U-Boot] [PATCH] test/py: fix anchors in HTML status report

2017-09-18 Thread Stephen Warren
From: Stephen Warren The current code wraps a pre tag inside an a tag. For some reason, this causes at least Firefox to attempt to drag the pre section content when using a mouse drag to select text. Re-order the tags so that the text can be selected using the mouse, at least if you start the dra

Re: [U-Boot] [PATCH 1/1] test/py: provide example scripts for integrating qemu

2017-09-18 Thread Tom Rini
On Mon, Sep 18, 2017 at 11:33:01AM -0600, Stephen Warren wrote: > On 09/17/2017 01:32 PM, Heinrich Schuchardt wrote: > >The necessary parameters for running Python tests on qemu are > >tediouus to find. > > > >The patch adds examples for u-boot-test-console and > >u-boot-test-reset. > > This READM

[U-Boot] [PATCH] efi_loader: EFI entry point should be EFIAPI

2017-09-18 Thread Rob Clark
This is needed to run 'bootefi' from sandbox. I suspect StartImage() must have been broken too on x86. Signed-off-by: Rob Clark --- cmd/bootefi.c | 2 +- include/efi.h | 2 +- lib/efi_loader/efi_boottime.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)

Re: [U-Boot] [PATCH 1/1] test/py: provide example scripts for integrating qemu

2017-09-18 Thread Stephen Warren
On 09/17/2017 01:32 PM, Heinrich Schuchardt wrote: The necessary parameters for running Python tests on qemu are tediouus to find. The patch adds examples for u-boot-test-console and u-boot-test-reset. This README doesn't contain examples for other cases. I'm not sure whether we should add th

[U-Boot] [PATCH 3/3] test/py: add skip marker for reliance on tools

2017-09-18 Thread Stephen Warren
From: Stephen Warren Some tests use external tools (executables) during their operation. Add a test.py mark to indicate this. This allows those tests to be skipped if the required tool is not present. Signed-off-by: Stephen Warren --- test/py/conftest.py | 29 ++

[U-Boot] [PATCH 2/3] test/py: provide more information about test skip reason

2017-09-18 Thread Stephen Warren
From: Stephen Warren When skipping tests, explicitly mention the board type or config option that caused the skip. This will help people understand/fix any issues. Signed-off-by: Stephen Warren --- test/py/conftest.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/te

[U-Boot] [PATCH 1/3] test/py: Document required tools/packages

2017-09-18 Thread Stephen Warren
From: Stephen Warren Some tests rely on external tools. Mention these in the test/py README. Signed-off-by: Stephen Warren --- This series was developed on top of, and depends on for diff context, my previous patch "test/py: gpt: make use of infra-structure". test/py/README.md | 7 ++- 1

Re: [U-Boot] [PATCH 00/16] efi: Enable basic sandbox support for EFI loader

2017-09-18 Thread Rob Clark
On Mon, Sep 18, 2017 at 11:07 AM, Rob Clark wrote: > On Mon, Sep 18, 2017 at 10:30 AM, Rob Clark wrote: >> On Mon, Sep 18, 2017 at 9:31 AM, Rob Clark wrote: >>> On Mon, Sep 18, 2017 at 9:18 AM, Rob Clark wrote: On Sun, Sep 17, 2017 at 11:48 PM, Heinrich Schuchardt wrote: > On 09/

Re: [U-Boot] [OE-core] [PATCH] u-boot: Upgrade to 2017.09

2017-09-18 Thread Tom Rini
On Mon, Sep 18, 2017 at 04:51:31PM +0100, Burton, Ross wrote: > On 18 September 2017 at 16:46, Otavio Salvador < > otavio.salva...@ossystems.com.br> wrote: > > > What is the policy on doing u-boot version upgrades this late in the > > > > release cycle? SHouldn't this wait until after the release?

Re: [U-Boot] [PATCH 1/2] arm: mvebu: fix boot from UART on ClearFog Base

2017-09-18 Thread Stefan Roese
Hi Baruch, On 20.08.2017 15:46, Baruch Siach wrote: > The ClearFog Base boot from UART when setting the DIP switches to 01001. > Unfortunately, the SPL code sometimes fails to detect the UART boot > method at run-time. Add an alternative SAR UART boot value to fix this. > > Signed-off-by: Baruch

Re: [U-Boot] [PATCH v2 1/7] spl: fix assignment of board info to global data

2017-09-18 Thread York Sun
On 09/17/2017 10:55 AM, Simon Glass wrote: > Hi York, > > On 14 September 2017 at 13:01, York Sun wrote: >> This partially reverts commit 15eb1d43bf470b85e9031c2fce7e0ce7b27dd321 >> which intended to move assignment of board info earlier, into >> board_init_r(). However, function preload_console_

Re: [U-Boot] [OE-core] [PATCH] u-boot: Upgrade to 2017.09

2017-09-18 Thread Otavio Salvador
Em 18 de set de 2017 12:20 PM, "Philip Balister" escreveu: On 09/18/2017 02:39 AM, Martin Jansa wrote: > On Mon, Sep 18, 2017 at 10:31:05AM +0200, Marek Vasut wrote: >> On 09/18/2017 09:54 AM, Martin Jansa wrote: >>> u-boot-fw-utils-cross is broken for at least a year, if it breaks a lot >>> of b

Re: [U-Boot] [PATCH 00/14] usb: xhci: Add interrupt transfer support and full speed device support

2017-09-18 Thread Marek Vasut
On 09/18/2017 05:26 PM, Stefan Roese wrote: > On 18.09.2017 17:13, Marek Vasut wrote: >> On 09/18/2017 03:40 PM, Bin Meng wrote: >>> >>> This adds the missing interrupt transfer support to xHCI driver, so >>> that devices like USB keyboard that uses interrupt transfer when >>> CONFIG_SYS_USB_EVENT_

Re: [U-Boot] [PATCH 00/14] usb: xhci: Add interrupt transfer support and full speed device support

2017-09-18 Thread Stefan Roese
Hi Bin, On 18.09.2017 17:26, Stefan Roese wrote: > On 18.09.2017 17:13, Marek Vasut wrote: >> On 09/18/2017 03:40 PM, Bin Meng wrote: >>> >>> This adds the missing interrupt transfer support to xHCI driver, so >>> that devices like USB keyboard that uses interrupt transfer when >>> CONFIG_SYS_USB_

Re: [U-Boot] [PATCH 00/14] usb: xhci: Add interrupt transfer support and full speed device support

2017-09-18 Thread Stefan Roese
On 18.09.2017 17:13, Marek Vasut wrote: On 09/18/2017 03:40 PM, Bin Meng wrote: This adds the missing interrupt transfer support to xHCI driver, so that devices like USB keyboard that uses interrupt transfer when CONFIG_SYS_USB_EVENT_POLL is defined can work. This also adds full speed device s

Re: [U-Boot] [PATCH] test/py: gpt: make use of infra-structure

2017-09-18 Thread Stephen Warren
On 09/16/2017 08:47 PM, Alison Chaiken wrote: I suggest that while we're cleaning this test up, that we add something like this to each of the tests: diff --git a/test/py/tests/test_gpt.py b/test/py/tests/test_gpt.py +if not os.path.exists('/sbin/sgdisk'): +pytest.skip('install g

Re: [U-Boot] [OE-core] [PATCH] u-boot: Upgrade to 2017.09

2017-09-18 Thread Philip Balister
On 09/18/2017 02:39 AM, Martin Jansa wrote: > On Mon, Sep 18, 2017 at 10:31:05AM +0200, Marek Vasut wrote: >> On 09/18/2017 09:54 AM, Martin Jansa wrote: >>> u-boot-fw-utils-cross is broken for at least a year, if it breaks a lot >>> of boards, why nobody complained yet? >> >> Didn't you say it wor

Re: [U-Boot] [PATCH 00/14] usb: xhci: Add interrupt transfer support and full speed device support

2017-09-18 Thread Marek Vasut
On 09/18/2017 03:40 PM, Bin Meng wrote: > > This adds the missing interrupt transfer support to xHCI driver, so > that devices like USB keyboard that uses interrupt transfer when > CONFIG_SYS_USB_EVENT_POLL is defined can work. > > This also adds full speed device support. Unlike low/high/super s

Re: [U-Boot] [PATCH v3 2/2] imx_common: detect USB serial downloader reliably

2017-09-18 Thread Stefan Agner
On September 18, 2017 8:05:43 AM PDT, Stefano Babic wrote: >Hi Stefan, > >On 14/09/2017 07:24, Eric Nelson wrote: >> Hi Stefan, >> >> Thanks for this patch. >> >> On 09/13/2017 02:29 PM, Stefan Agner wrote: >>> From: Stefan Agner >>> >>> The current mechanism using SCR/GPR registers work well

Re: [U-Boot] [PATCH 00/16] efi: Enable basic sandbox support for EFI loader

2017-09-18 Thread Rob Clark
On Mon, Sep 18, 2017 at 10:30 AM, Rob Clark wrote: > On Mon, Sep 18, 2017 at 9:31 AM, Rob Clark wrote: >> On Mon, Sep 18, 2017 at 9:18 AM, Rob Clark wrote: >>> On Sun, Sep 17, 2017 at 11:48 PM, Heinrich Schuchardt >>> wrote: On 09/18/2017 12:59 AM, Simon Glass wrote: > A limitation of

Re: [U-Boot] [PATCH v3 2/2] imx_common: detect USB serial downloader reliably

2017-09-18 Thread Stefano Babic
Hi Stefan, On 14/09/2017 07:24, Eric Nelson wrote: > Hi Stefan, > > Thanks for this patch. > > On 09/13/2017 02:29 PM, Stefan Agner wrote: >> From: Stefan Agner >> >> The current mechanism using SCR/GPR registers work well when >> the serial downloader boot mode has been selected explicitly >>

Re: [U-Boot] [PATCH] armv8: ls1043ardb: disable PPA loading during SPL stage for SD boot

2017-09-18 Thread York Sun
On 09/18/2017 12:16 AM, Yangbo Lu wrote: > PPA loading during SPL stage is not required for nornal > SD boot scenario. > Once PPA is loaded during SPL boot, RAM version U-Boot won't load it again. It is used for falcon boot. Does it hurt anything? York __

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

2017-09-18 Thread Tom Rini
On Sat, Sep 16, 2017 at 05:54:47PM +0800, Bin Meng wrote: > Hi Tom, > > The following changes since commit 079c92b0a77b9a9bf237a9430ed16cf81d43ce5d: > > ARM: davinci: Remove CONFIG_SOC_DA830 (2017-09-15 12:35:48 -0400) > > are available in the git repository at: > > git://git.denx.de/u-boo

Re: [U-Boot] [PATCH 00/16] efi: Enable basic sandbox support for EFI loader

2017-09-18 Thread Rob Clark
On Mon, Sep 18, 2017 at 9:31 AM, Rob Clark wrote: > On Mon, Sep 18, 2017 at 9:18 AM, Rob Clark wrote: >> On Sun, Sep 17, 2017 at 11:48 PM, Heinrich Schuchardt >> wrote: >>> On 09/18/2017 12:59 AM, Simon Glass wrote: A limitation of the EFI loader at present is that it does not build with >>

[U-Boot] [PATCH 14/14] usb: xhci: Set 'Average TRB Length' to 8 for control endpoints

2017-09-18 Thread Bin Meng
Update the codes to conform with xHCI spec chapter 6.2.3. Signed-off-by: Bin Meng --- drivers/usb/host/xhci-mem.c | 6 ++ drivers/usb/host/xhci.c | 6 ++ 2 files changed, 12 insertions(+) diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c index 84982a9..0582a9b

[U-Boot] [PATCH 07/14] usb: Read device descriptor after device is addressed for xHCI

2017-09-18 Thread Bin Meng
For xHCI it is not possible to read a device descriptor before it has been assigned an address. That's why usb_setup_descriptor() was called with 'do_read' being false. But we really need try to read the device descriptor before starting any real communication with the default control endpoint. Si

[U-Boot] [PATCH 12/14] usb: xhci: Program max burst size for endpoint

2017-09-18 Thread Bin Meng
The 'Max Burst Size' indicates to the xHC the maximum number of consecutive USB transactions that should be executed per scheduling opportunity. This is a “zero-based” value, where 0 to 15 represents burst sizes of 1 to 16, but at present this is always set to zero. Let's program the required value

[U-Boot] [PATCH 11/14] usb: xhci: Honor endpoint's interval

2017-09-18 Thread Bin Meng
USB endpoint reports the period between consecutive requests to send or receive data as bInverval in its endpoint descriptor. So far this is ignored by xHCI driver and the 'Interval' field in xHC's endpoint context is always programmed to zero which means 1ms for low speed or full speed , or 125us

[U-Boot] [PATCH 03/14] usb: xhci: Don't assume LS/FS devices are always behind a HS hub

2017-09-18 Thread Bin Meng
At present xHCI driver assumes LS/FS devices are attached directly to a HS hub. If they are connected to a LS/FS hub, the driver will fail to perform the USB enumeration process on such devices. This is fixed by looking from the device itself all the way up to the HS hub where the TT that serves t

[U-Boot] [PATCH 13/14] usb: xhci: Set 'Error Count' to 0 for isoch endpoints

2017-09-18 Thread Bin Meng
Per xHCI spec, 'Error Count' should be set to 0 for isoch endpoints. Signed-off-by: Bin Meng --- drivers/usb/host/xhci.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index dfb188d..93737b0 100644 --- a/drivers/usb/hos

  1   2   >