Re: [U-Boot] [PATCH] arm: zynq: Remove double const qualifier

2017-11-20 Thread Michal Simek
On 20.11.2017 16:39, Simon Glass wrote: > Hi Michal, > > On 10 November 2017 at 06:07, Michal Simek wrote: >> The patch fix these warnings: >> include/fpga.h:56:24: warning: type qualifiers ignored on function >> return type [-Wignored-qualifiers] >> const fpga_desc *const fpga_get_desc(int devn

Re: [U-Boot] [PATCH 1/3] ae3xx: timer: Rename AE3XX to ATCPIT100

2017-11-20 Thread rick
> -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of > r...@andestech.com > Sent: Tuesday, November 21, 2017 2:40 PM > To: s...@chromium.org; Open Source Project uboot > Cc: u-boot@lists.denx.de; d...@denx.de > Subject: Re: [U-Boot] [PATCH 1/3] ae3xx: tim

Re: [U-Boot] [PATCH 5/5] arm: zynq: Add mini u-boot configuration for zynq

2017-11-20 Thread Michal Simek
On 20.11.2017 16:38, Simon Glass wrote: > On 6 November 2017 at 04:45, Michal Simek wrote: >> Add configuration files/dtses for mini u-boot configurations which runs >> out of OCM. >> >> ram top is calculated from 0 that's why +#define CONFIG_SYS_SDRAM_BASE >> 0xfffc >> +#define CONFIG_SYS_SDR

Re: [U-Boot] [PATCH 2/3] nds32: defconfig: Rename AE3XX_TIMER to ATCPIT100_TIMER

2017-11-20 Thread rick
> -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Monday, November 20, 2017 11:40 PM > To: Open Source Project uboot > Cc: U-Boot Mailing List; Wolfgang Denk; Detlev Zundel; Rick Jian-Zhi Chen(陳建 > 志) > Subject: Re: [PATCH 2/3] nds32: def

Re: [U-Boot] [PATCH] atcpit100: timer: Remove arch dependency.

2017-11-20 Thread rick
> -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Monday, November 20, 2017 11:40 PM > To: Open Source Project uboot > Cc: U-Boot Mailing List; Wolfgang Denk; Detlev Zundel; Rick Jian-Zhi Chen(陳建 > 志) > Subject: Re: [PATCH] atcpit100: tim

Re: [U-Boot] [PATCH 1/3] ae3xx: timer: Rename AE3XX to ATCPIT100

2017-11-20 Thread rick
> -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Monday, November 20, 2017 11:40 PM > To: Open Source Project uboot > Cc: U-Boot Mailing List; Wolfgang Denk; Detlev Zundel; Rick Jian-Zhi Chen(陳建 > 志) > Subject: Re: [PATCH 1/3] ae3xx: ti

Re: [U-Boot] [PATCH v5 1/2] sun50i: h5: Add NanoPi Neo Plus2 DT initial support

2017-11-20 Thread Jagan Teki
On Fri, Nov 17, 2017 at 3:09 PM, Antony Antony wrote: > Add initial DT for NanoPi NEO Plus2 by FriendlyARM > - Allwinner quad core H5 Cortex A53 with an ARM Mali-450MP GPU > - 1 GB DDR3 RAM > - 8GB eMMC flash (Samsung KLM8G1WEPD-B031) > - micro SD card slot > - Gigabit Ethernet (external RTL8211E-

[U-Boot] dm: mmc: fsl_esdhc: Drop mmc_init() call from fsl_esdhc_init()

2017-11-20 Thread Y.b. Lu
Hi Simon, I found your below patch just dropping mmc_create() for probe procedure of DM. Actually the description seemed to be not the things this patch did. dm: mmc: fsl_esdhc: Drop mmc_init() call from fsl_esdhc_init() Do you have any suggestion to fix it? mmc_create() will allocate mmc struct

Re: [U-Boot] [PATCH v2 1/1] x86: don't compare pointers to 0

2017-11-20 Thread Bin Meng
On Tue, Nov 21, 2017 at 2:45 AM, Heinrich Schuchardt wrote: > x86_vendor_name is defined as > > static const char *const x86_vendor_name[] > > So its elements should not be compared to 0. > > Remove superfluous paranthesis. > > Problem identified with Coccinelle. > > Signed-off-by: Heinrich Schuch

Re: [U-Boot] [PATCH] efi_loader: Fix disk dp's for pre-DM/legacy devices

2017-11-20 Thread Jonathan Gray
On Sat, Nov 18, 2017 at 03:25:29PM +1100, Jonathan Gray wrote: > > While U-Boot 2017.11 release works with vexpress/qemu with the > efi loader it is broken on at least rpi_3 and tinker-rk3288. > MEDIA_DEVICE is not found again. The loaded image paths look like the below. vexpress and qemu_arm (vi

Re: [U-Boot] [PATCH] fpga: allow programming fpga from FIT image for all FPGA drivers

2017-11-20 Thread Goldschmidt Simon
Hi, > Simon Glass wrote: > On 10 November 2017 at 07:17, Goldschmidt Simon fuchs.com> wrote: > > This drops the limit that fpga is only loaded from FIT images for Xilinx. > > This is done by moving the 'partial' check from 'common/image.c' to > > 'drivers/fpga/xilinx.c' (the only driver supportin

Re: [U-Boot] [PATCH u-boot 2/2] arm: Add Khadas VIM support based on Meson GXL family

2017-11-20 Thread Simon Glass
Hi Neil, On 20 November 2017 at 08:04, Neil Armstrong wrote: > This adds platform code for the Khadas VIM board based on a > Meson GXL (S905X) SoC with the Meson GXL configuration. > > This initial submission supports UART, MMC/SDCard and Ethernet with the > Internal RMII PHY. > > The meson-gxl-s

Re: [U-Boot] [PATCH u-boot 1/2] arm: Add LibreTech CC support based on Meson GXL family

2017-11-20 Thread Simon Glass
Hi Neil, On 20 November 2017 at 08:04, Neil Armstrong wrote: > This adds platform code for the Libre Computer CC "Le Potato" board based on a > Meson GXL (S905X) SoC with the Meson GXL configuration. > > This initial submission supports UART, MMC/SDCard and Ethernet with the > Internal RMII PHY.

Re: [U-Boot] [PATCH v2 1/1] Makefile: add coccicheck target

2017-11-20 Thread Simon Glass
On 19 November 2017 at 06:33, Heinrich Schuchardt wrote: > Coccinelle is a program for static code analysis. > For details on Coccinelle see > > http://coccinelle.lip6.fr/ > > Add scripts/coccicheck copied from Linux kernel v4.14. > > The coccicheck script executes the tests *.cocci in > d

Re: [U-Boot] [PATCH v2 06/18] efi_selftest: test EFI_DEVICE_PATH_TO_TEXT_PROTOCOL

2017-11-20 Thread Simon Glass
Hi Heinrich, On 17 November 2017 at 11:28, Heinrich Schuchardt wrote: > > On 11/17/2017 03:06 PM, Simon Glass wrote: >> >> On 12 November 2017 at 07:02, Heinrich Schuchardt wrote: >>> >>> Provide a test for the EFI_DEVICE_PATH_TO_TEXT_PROTOCOL protocol. >>> >>> Signed-off-by: Heinrich Schuchardt

Re: [U-Boot] [PATCH] mtd: cfi: Fix checking status register feature

2017-11-20 Thread York Sun
On 11/18/2017 11:09 AM, York Sun wrote: > Commit 72443c7f7d21 ("mtd: cfi: Add support for status register > polling") added a feature check to determine if status register > is available for certain flash chips. The "lower software bits" > register used to determine this feature is not backward com

Re: [U-Boot] Convert CONFIG_SYS_NAND_ECCSIZE et al to Kconfig

2017-11-20 Thread Tom Rini
On Sun, Nov 05, 2017 at 09:16:22AM -0600, Adam Ford wrote: > This converts the following to Kconfig: >CONFIG_SYS_NAND_ECCSIZE >CONFIG_SYS_NAND_ECCBYTES >CONFIG_SYS_NAND_ECCSTEPS >CONFIG_SYS_NAND_MAX_ECCPOS >CONFIG_SYS_NAND_MAX_OOBFREE > > Signed-off-by: Adam Ford While getti

Re: [U-Boot] [PATCH 00/10] rockchip: add tpl and OPTEE support for rk3229

2017-11-20 Thread Heiko Stübner
Hi Kever, Am Mittwoch, 6. September 2017, 10:14:27 CET schrieb Kever Yang: > Add some generic options for TPL support for arm 32bit, and then > and TPL support for rk3229(cortex-A7), and then add OPTEE support > in SPL. I was now finally able to test this series and I'm getting mixed results. I w

Re: [U-Boot] [U-Boot, v3, 3/3] rockchip: check download key before bootup

2017-11-20 Thread Andy Yan
Hi Philipp: On 2017年11月20日 22:51, Philipp Tomsich wrote: On Wed, 11 Oct 2017, Andy Yan wrote: Enter download mode if the download key pressed. Signed-off-by: Andy Yan Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich See below for requested changes. --- Changes in v3: None Ch

Re: [U-Boot] [U-Boot, v3, 1/3] rockchip: make boot_mode related codes reused across all platforms

2017-11-20 Thread Andy Yan
Hi Philipp: On 2017年11月20日 22:50, Philipp Tomsich wrote: On Wed, 11 Oct 2017, Andy Yan wrote: setup_boot_mode function use the same logic but different mode register address across all the rockchip platforms, so it's better to make this function reused across all the platforms, and let the

Re: [U-Boot] [U-Boot,V9,1/4] usb: rockchip: add the rockusb gadget

2017-11-20 Thread Eddie Cai
I will do it this week 2017-11-20 23:54 GMT+08:00 Dr. Philipp Tomsich : > Kever & Eddie, > >> On 2 Oct 2017, at 12:51, Dr. Philipp Tomsich >> wrote: >> >> +Kever, +Eddie >> >> Kever & Eddie, >> >>> On 2 Oct 2017, at 12:41, Marek Vasut wrote: >>> >>> On 10/02/2017 12:40 PM, Dr. Philipp Tomsich w

Re: [U-Boot] Pull request: u-boot-ubi/master

2017-11-20 Thread Tom Rini
On Mon, Nov 20, 2017 at 05:28:57PM +0100, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-ubi master > > The following changes since commit b6251db8c3f0de605b4cd6f15a00fc7dd19cda63: > > Kconfig: Introduce USE_BOOTCOMMAND and migrate BOOTCOMMAND (2017-11-17 > 16:37:26 -0500) >

[U-Boot] [PATCH v3 07/14] log: Add an implemention of logging

2017-11-20 Thread Simon Glass
Add the logging header file and implementation with some configuration options to control it. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Add a comment as to why CONFIG_LOG_MAX_LEVEL is not defined - Drop MAINTAINERS entries for files not added by this patch - Drop the us

[U-Boot] [PATCH v3 09/14] log: Add a 'log level' command

2017-11-20 Thread Simon Glass
Add a command for adjusting the log level. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v3: None Changes in v2: None cmd/Kconfig | 7 +++ cmd/Makefile | 1 + cmd/log.c| 55 +++ 3 files changed, 63 insertions(+)

[U-Boot] [PATCH v3 11/14] log: Plumb logging into the init sequence

2017-11-20 Thread Simon Glass
Set up logging both before and after relocation. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v3: None Changes in v2: None common/board_f.c | 5 - common/board_r.c | 2 ++ common/log.c | 1 + include/asm-generic/glo

[U-Boot] [PATCH v3 06/14] Drop the log buffer

2017-11-20 Thread Simon Glass
This does not appear to be used by any boards. Before introducing a new log system, remove this old one. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v3: None Changes in v2: None cmd/Makefile | 1 - cmd/log.c | 313

[U-Boot] [PATCH v3 10/14] log: Add a test command

2017-11-20 Thread Simon Glass
Add a command which exercises the logging system. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Fix function called when test command is selected - Fix help output for 'log test' - Rename LOGL_WARN to LOGL_WARNING MAINTAINERS | 1 + cmd/Kconfig | 3 +-

[U-Boot] [PATCH v3 12/14] log: sandbox: Enable logging

2017-11-20 Thread Simon Glass
Enable all logging features on sandbox so that the tests can be run. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v3: None Changes in v2: - Change sandbox log level to 6 configs/sandbox_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/sandbox_defconf

[U-Boot] [PATCH v3 14/14] log: Add documentation

2017-11-20 Thread Simon Glass
Add documentation for the log system. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v3: - Rebase to master Changes in v2: - Drop the special log() functions from the README doc/README.log | 214 + 1 file changed, 214 i

[U-Boot] [PATCH v3 08/14] log: Add a console driver

2017-11-20 Thread Simon Glass
It is useful to display log messages on the console. Add a simple driver to handle this. Note that this driver outputs to the console, which may be serial or video. It does not specifically select serial output. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v3: None Changes i

[U-Boot] [PATCH v3 02/14] sandbox: Adjust pre-console address to avoid conflict

2017-11-20 Thread Simon Glass
We cannot use sandbox memory at 0 since other things use memory at that address. Move it up out of the way. Note that the pre-console buffer is currently disabled with sandbox, but this change will avoid confusion if it is manually enabled. Signed-off-by: Simon Glass --- Changes in v3: None Cha

[U-Boot] [PATCH v3 13/14] log: test: Add a pytest for logging

2017-11-20 Thread Simon Glass
Add a test which tries out various filters and options to make sure that logging works as expected. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Change log levels to match new header - Only execute log tests if CONFIG_LOG is enabled - Rename LOGL_WARN to LOGL_WARNING MAI

[U-Boot] [PATCH v3 05/14] mtdparts: Correct use of debug()

2017-11-20 Thread Simon Glass
The debug() macro now evaluates its expression so does not need #ifdef protection. In fact the current code causes a warning with the new log implementation. Adjust the code to fix this. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v3: None Changes in v2: None cmd/mtdparts.

[U-Boot] [PATCH v3 01/14] Revert "sandbox: remove os_putc() and os_puts()"

2017-11-20 Thread Simon Glass
While sandbox works OK without the special-case code, it does result in console output being stored in the pre-console buffer while sandbox starts up. If there is a crash or a problem then there is no indication of what is going on. For ease of debugging it seems better to revert this change. Thi

[U-Boot] [PATCH v3 04/14] Move debug and logging support to a separate header

2017-11-20 Thread Simon Glass
Before adding new features, move these definitions to a separate header to avoid further cluttering common.h. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v3: None Changes in v2: None include/common.h | 46 +-- include/log.h| 59 +

[U-Boot] [PATCH v3 00/14] log: Add a new logging feature

2017-11-20 Thread Simon Glass
U-Boot currently has fairly rudimentary logging features. A basic printf() provides console output and debug() provides debug output which is activated if DEBUG is defined in the file containing the debug() statements. It would be useful to have a few more features: - control of debug output at r

[U-Boot] [PATCH v3 03/14] Revert "sandbox: Drop special case console code for sandbox"

2017-11-20 Thread Simon Glass
While sandbox works OK without the special-case code, it does result in console output being stored in the pre-console buffer while sandbox starts up. If there is a crash or a problem then there is no indication of what is going on. For ease of debugging it seems better to revert this change also.

Re: [U-Boot] [PATCH] dra7x: fastboot: Increase recovery partition size

2017-11-20 Thread Bajjuri, Praneeth
Hi Tom, if there is nothing waiting to be addressed, Can you pull this patch. -- Praneeth On 11/10/2017 1:22 PM, Sam Protsenko wrote: On 9 November 2017 at 01:12, Praneeth Bajjuri wrote: As per current android recommendation https://source.android.com/devices/architecture/kernel/modular-kern

Re: [U-Boot] [PATCH] dra7x: fastboot: Increase recovery partition size

2017-11-20 Thread Bajjuri, Praneeth
Tom, Can you pull this , if there is nothing waiting to be addressed on this one. --praneeth On 11/10/2017 1:22 PM, Sam Protsenko wrote: On 9 November 2017 at 01:12, Praneeth Bajjuri wrote: As per current android recommendation https://source.android.com/devices/architecture/kernel/modular-ke

[U-Boot] [PATCH v2 1/1] x86: don't compare pointers to 0

2017-11-20 Thread Heinrich Schuchardt
x86_vendor_name is defined as static const char *const x86_vendor_name[] So its elements should not be compared to 0. Remove superfluous paranthesis. Problem identified with Coccinelle. Signed-off-by: Heinrich Schuchardt --- v2 remove further parathesis --- arch/x86/cpu/cpu.c | 4 ++-

[U-Boot] [PATCH v2 1/1] dm: usb: ehci: avoid possible NULL dereference

2017-11-20 Thread Heinrich Schuchardt
Currently we check in ehci_shutdown() if ctrl is NULL after dereferencing it. Before this we have already dereferenced ctrl, ctrl->hccr, and ctrl->hcor in ehci_get_portsc_register(), ehci_submit_root(), and hci_common_init(). A better approach is to already check ctrl, ctrl->hccr, and ctrl->hcor

[U-Boot] [PATCH v3 7/9] i.MX6: engicam: Add imx6q/imx6ul boards for existing boards

2017-11-20 Thread Jagan Teki
Add new board names for existing board support imx6q - icore and icore_rqs boards imx6ul - geam6ul and isiot boards Signed-off-by: Jagan Teki --- arch/arm/mach-imx/mx6/Kconfig | 50 +--- board/engicam/common/board.c | 2 +- board/engicam/common/s

[U-Boot] [PATCH v3 8/9] engicam: imx6q: Return mmc dev 0 for icore

2017-11-20 Thread Jagan Teki
icorem6 has sd on usdhci1 which is devno 0 so return proper devno from board_mmc_get_env_dev for icorem6 and icorem_6rqs Signed-off-by: Jagan Teki --- board/engicam/imx6q/imx6q.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/board/engicam/imx6q/imx6q.c b/board/engicam/imx

[U-Boot] [PATCH v3 6/9] board: icore-rqs: Fix mmc get env device

2017-11-20 Thread Jagan Teki
As per USDHC boot eFUSE descriptions: USDHC3 => devno 2 USDHC4 => devno 3 Linux will detect mmc0, mmc1, mmc2 based on the status "okay" on usdhc so imx6qdl-icore-rqs.dtsi has enabled usdhc1, usdhc3 and usdhc4.But U-Boot can detect based on the aliases so add mmc1, mmc2 for usdhc3 and usdhc4 respec

[U-Boot] [PATCH v3 3/9] i.MX6Q: icore: Add SPL_OF_CONTROL support

2017-11-20 Thread Jagan Teki
Add OF_CONTROL support for SPL code. Signed-off-by: Jagan Teki --- arch/arm/dts/imx6qdl-icore-rqs.dtsi | 2 + arch/arm/dts/imx6qdl-icore.dtsi | 2 + arch/arm/dts/imx6qdl.dtsi | 5 ++ arch/arm/mach-imx/mx6/Kconfig | 8 +++ board/engicam/icorem6/icorem6.

[U-Boot] [PATCH v3 4/9] pinctrl: imx6ul: Fix pinctrl data overlapped with DT area

2017-11-20 Thread Jagan Teki
before relocation pinctrl data BSS is overlapping DT area, when .data is using uninitialized global variable, imx6_pinctrl_soc_info. So assign them flags ZERO_OFFSET_VALID to prevent BSS overlap Suggested-by: Lokesh Vutla Reported-by: Jagan Teki Signed-off-by: Jagan Teki --- drivers/pinctrl/nx

[U-Boot] [PATCH v3 2/9] i.MX6Q: icorem6: Move spl load fit to common/spl

2017-11-20 Thread Jagan Teki
Move spl load fit code into common/spl Signed-off-by: Jagan Teki --- board/engicam/common/spl.c | 16 board/engicam/icorem6/icorem6.c | 12 board/engicam/icorem6_rqs/icorem6_rqs.c | 12 3 files changed, 16 insertions(+), 24 deletion

[U-Boot] [PATCH v3 9/9] configs: icore-rqs: Enable falcon mode

2017-11-20 Thread Jagan Teki
Signed-off-by: Jagan Teki --- configs/imx6qdl_icore_rqs_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/imx6qdl_icore_rqs_defconfig b/configs/imx6qdl_icore_rqs_defconfig index 6cf9852..aaf9646 100644 --- a/configs/imx6qdl_icore_rqs_defconfig +++ b/configs/imx6qdl_icore_rqs_

[U-Boot] [PATCH v3 5/9] i.MX6UL: icore: Add SPL_OF_CONTROL support

2017-11-20 Thread Jagan Teki
Add OF_CONTROL support for SPL code. Signed-off-by: Jagan Teki --- arch/arm/dts/imx6ul-geam-kit.dts | 4 ++ arch/arm/dts/imx6ul-isiot-emmc.dts| 2 + arch/arm/dts/imx6ul-isiot.dtsi| 2 + arch/arm/dts/imx6ul.dtsi | 6 ++ arch/arm/mach-imx/mx6/Kconfig |

[U-Boot] [PATCH v3 1/9] i.MX6: engicam: Move set_fdt_file to common

2017-11-20 Thread Jagan Teki
setenv_fdt_file to common code and set dtb based on CONFIG_DEFAULT_DEVICE_TREE and cpu_type. Signed-off-by: Jagan Teki --- board/engicam/common/board.c| 24 board/engicam/common/board.h| 1 - board/engicam/geam6ul/geam6ul.c | 6 -- b

[U-Boot] [PATCH v3 0/9] i.MX6: engicam: Add SPL_OF_CONTROL support

2017-11-20 Thread Jagan Teki
This series has fix for data abort[1] which is observed for pinctrl data before reloaction, thanks Lokesh for the suggestions. Changes for v3: - Add pinctrl data fix for 'data abort' issue - Add proper mmc get env device support for imx6q boards - Enabled falcon for icorem6_rqs Changes for v2: -

Re: [U-Boot] [PATCH 1/1] vsprintf.c: add EFI device path printing

2017-11-20 Thread Heinrich Schuchardt
On 11/20/2017 04:44 PM, Wolfgang Denk wrote: Dear Heinrich, In message <452bd166-5cc7-ff1d-925c-dc8b8e1bd...@gmx.de> you wrote: +#ifdef CONFIG_EFI_LOADER +static char *device_path_string(char *buf, char *end, void *dp, int field_width, + int precision, int flags

[U-Boot] Fwd: Please pull from u-boot-i2c

2017-11-20 Thread Heiko Schocher
Hello, sorry, forgot to cc the list ... Weitergeleitete Nachricht Betreff: [U-Boot] Please pull from u-boot-i2c Datum: Mon, 20 Nov 2017 13:41:13 +0100 Von: Heiko Schocher Antwort an: h...@denx.de An: Tom Rini Kopie (CC): Beniamino Galvani Hello Tom, please pull from u-boo

[U-Boot] Pull request: u-boot-ubi/master

2017-11-20 Thread Heiko Schocher
Hello Tom, please pull from u-boot-ubi master The following changes since commit b6251db8c3f0de605b4cd6f15a00fc7dd19cda63: Kconfig: Introduce USE_BOOTCOMMAND and migrate BOOTCOMMAND (2017-11-17 16:37:26 -0500) are available in the git repository at: git://git.denx.de/u-boot-ubi.git maste

Re: [U-Boot] [PATCH 1/1] ubi: no NULL check needed before kmem_cache_destroy

2017-11-20 Thread Heiko Schocher
Hello Heinrich, Am 08.11.2017 um 22:30 schrieb Heinrich Schuchardt: kmem_cache_destroy calls free which checks for NULL. Problem was indicated by coccinelle. Signed-off-by: Heinrich Schuchardt --- drivers/mtd/ubi/attach.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) applied to

Re: [U-Boot] [PATCH 1/1] ubifs: no NULL check needed before free

2017-11-20 Thread Heiko Schocher
Hello Heinrich, Am 08.11.2017 um 22:28 schrieb Heinrich Schuchardt: kfree() calls free. free() checks if the parameter is NULL. Signed-off-by: Heinrich Schuchardt --- fs/ubifs/ubifs.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) applied to u-boot-ubi master Thanks!

Re: [U-Boot] "usb storage" command issues

2017-11-20 Thread Stefan Roese
Hi Simon, Hi Bin, On 20.11.2017 16:38, Simon Glass wrote: On 20 November 2017 at 00:07, Bin Meng wrote: Hi Stefan, On Wed, Sep 27, 2017 at 1:03 AM, Stefan Roese wrote: Hi, I'm currently testing USB on my x86 platform. And noticed, that the "usb storage" command does not work as expected:

Re: [U-Boot] [PATCH] SECURE BOOT: Add fall back option

2017-11-20 Thread York Sun
On 11/19/2017 10:47 PM, Vinitha Pillai-B57223 wrote: > Add nor/sd/qspi fall back option for LS1043, LS1046, LS1021 Looks like you are adding a falling option to boot from NOR/SD/QSPI in case of distro boot failure. Please rephrase your commit message. It doesn't cover what you are doing. > > Sig

Re: [U-Boot] [U-Boot,V9,1/4] usb: rockchip: add the rockusb gadget

2017-11-20 Thread Dr. Philipp Tomsich
Kever & Eddie, > On 2 Oct 2017, at 12:51, Dr. Philipp Tomsich > wrote: > > +Kever, +Eddie > > Kever & Eddie, > >> On 2 Oct 2017, at 12:41, Marek Vasut wrote: >> >> On 10/02/2017 12:40 PM, Dr. Philipp Tomsich wrote: >>> Lukasz & Marek, >>> On 12 Sep 2017, at 10:43, Łukasz Majewski wro

Re: [U-Boot] [PATCH 1/1] vsprintf.c: add EFI device path printing

2017-11-20 Thread Wolfgang Denk
Dear Heinrich, In message <452bd166-5cc7-ff1d-925c-dc8b8e1bd...@gmx.de> you wrote: > > >> +#ifdef CONFIG_EFI_LOADER > >> +static char *device_path_string(char *buf, char *end, void *dp, int > >> field_width, > >> + int precision, int flags) > >> +{ > >> + u16 *str = efi_

[U-Boot] [PATCH] ARM: dts: Rename logicpd-toredp-37xx-devkit in U-Boot

2017-11-20 Thread Adam Ford
In U-Boot, this device tree is compatible with both the Torpedo and SOM-LV kits. Let's rename it in the device tree since the U-Boot code and show a more generic OMAP3 name. The code auto detects between the two and loads the proper DTB file for Linux. This would eliminate the SOM-LV showing the

Re: [U-Boot] [PATCH 3/3] dt-bindings: timer: Add andestech atcpit100 timer binding doc

2017-11-20 Thread Simon Glass
On 14 November 2017 at 19:48, Andes wrote: > From: Rick Chen > > Add a document to describe Andestech atcpit100 timer and > binding information. > > Signed-off-by: Rick Chen > --- > doc/device-tree-bindings/timer/atcpit100_timer.txt | 31 > > 1 file changed, 31 insertion

Re: [U-Boot] [PATCH v3 5/6] binman: add ROM image signing for Bay Trail SoC

2017-11-20 Thread Simon Glass
Hi Anatolij, On 16 November 2017 at 18:16, Anatolij Gustschin wrote: > Generate u-boot-verified.rom image containing Secure Boot Manifest > when secure boot option is enabled. > > Signed-off-by: Anatolij Gustschin > --- > NOTE: This patch applies on top of binman changes in binman-working > bran

Re: [U-Boot] [PATCH v2 00/18] Add gmac support for rk3399-evb rv1108-evb rk3328-evb and rk3229-evb

2017-11-20 Thread Simon Glass
Hi David, On 9 November 2017 at 01:54, David Wu wrote: > This serie of patches add rmii interface support, and support more > socs's gmac function, such as rv1108, rk3328 and rk3229. > > Changes in v2: > - New patch > - New patch > - Add check whether the set rgmii/rmii function is a valid functi

Re: [U-Boot] [PATCH] x86: lib: Implement standalone __udivdi3 etc instead of libgcc ones

2017-11-20 Thread Simon Glass
On 16 November 2017 at 03:27, Stefan Roese wrote: > This patch removes the inclusion of the libgcc math functions and > replaces them by functions coded in C, taken from the coreboot > project. This makes U-Boot building more independent from the toolchain > installed / available on the build syst

Re: [U-Boot] [PATCH v5 3/3] ARM: dra7: Kconfig: Add thermal configs for dra7xx and am57xx

2017-11-20 Thread Simon Glass
On 14 November 2017 at 03:42, Faiz Abbas wrote: > Configure thermal configs to remain set by default for dra7xx and am57xx > devices. > > Signed-off-by: Faiz Abbas > --- > arch/arm/mach-omap2/omap5/Kconfig | 6 ++ > 1 file changed, 6 insertions(+) Reviewed-by: Simon Glass _

Re: [U-Boot] [PATCH] atcpit100: timer: Remove arch dependency.

2017-11-20 Thread Simon Glass
On 14 November 2017 at 20:03, Andes wrote: > From: Rick Chen How come the patch does not come from that email? > > ATCPIT100 is often used in AE3XX platform which is > based on NDS32 architecture recently. But in the future > Andestech will have AE250 platform which is embeded > ATCPIT100 timer

Re: [U-Boot] [PATCH v3 1/6] x86: baytrail: Add fsp-header verification for secure boot FSP

2017-11-20 Thread Simon Glass
On 16 November 2017 at 18:13, Anatolij Gustschin wrote: > From: Markus Valentin > > Introduce a new Kconfig variable for secure boot on Bay Trail based > platforms. If this variable is set, the build process tries to use > fsp-sb.bin instead of fsp.bin (-sb is the secure boot enabled FSP). > > Al

Re: [U-Boot] [PATCH] lib: sha1: Change uint8_t to unsigned char for sha1_der_prefix array.

2017-11-20 Thread Simon Glass
Hi Wilson, On 7 November 2017 at 19:30, Wilson Lee wrote: > uint8_t used in sha1_der_prefix array was not able to recognize by > compiler when try to build the tools using 'HOSTCC'. That is because, > uint8_t is undefined when 'HOSTCC' is defined because asm/type.h is not > included in that case.

Re: [U-Boot] [PATCH] envtools: make sure version/timestamp header file are available

2017-11-20 Thread Simon Glass
On 14 November 2017 at 07:47, Stefan Agner wrote: > From: Stefan Agner > > With commit 84d46e7e8948 ("tools: env: allow to print U-Boot version") > the fw_env utilities need the version.h header file. Building only > the envtools in a pristine build directory will fail due to missing > header fil

Re: [U-Boot] [PATCH] ae3xx: timer: Fix ae3xx timer work abnormal in 64 bit.

2017-11-20 Thread Simon Glass
On 14 November 2017 at 19:43, Andes wrote: > From: Rick Chen > > It will be work fine with unsigned long declaretion in timer > register struct when system is 32 bit. But it will not work > well when system is 64 bit. Replace it by u32 and verify both > ok in 32/64 bit. > > Signed-off-by: Rick Ch

Re: [U-Boot] [PATCH 2/3] nds32: defconfig: Rename AE3XX_TIMER to ATCPIT100_TIMER

2017-11-20 Thread Simon Glass
On 14 November 2017 at 19:48, Andes wrote: > From: Rick Chen > > Change AE3XX to its IP name ATCPIT100. Reviewed-by: Simon Glass This should probably be squashed into the previous patch to keep things in a consistent state. ___ U-Boot mailing list U-

Re: [U-Boot] [PATCH] Makefile: Correct SPL/TPL/DTB build race condition

2017-11-20 Thread Simon Glass
On 11 November 2017 at 20:48, M. Vefa Bicakci wrote: > When building on a multi-core machine for an SPL-enabled board that > also uses CONFIG_OF_EMBED, the following error can be encountered > due to a race condition: > > make[3]: *** No rule to make target 'spl/dts/dt.dtb.o', needed by > 's

Re: [U-Boot] [PATCH 5/5] arm: zynq: Add mini u-boot configuration for zynq

2017-11-20 Thread Simon Glass
On 6 November 2017 at 04:45, Michal Simek wrote: > Add configuration files/dtses for mini u-boot configurations which runs > out of OCM. > > ram top is calculated from 0 that's why +#define CONFIG_SYS_SDRAM_BASE > 0xfffc > +#define CONFIG_SYS_SDRAM_SIZE 0x4 > was hardcoded. > > Signed-off

Re: [U-Boot] [PATCH] arm: zynq: Remove double const qualifier

2017-11-20 Thread Simon Glass
Hi Michal, On 10 November 2017 at 06:07, Michal Simek wrote: > The patch fix these warnings: > include/fpga.h:56:24: warning: type qualifiers ignored on function > return type [-Wignored-qualifiers] > const fpga_desc *const fpga_get_desc(int devnum); > ^ > include/fpga.h:

Re: [U-Boot] [PATCH v3 2/6] x86: baytrail: secureboot: Add functions for verification of U-Boot

2017-11-20 Thread Simon Glass
Hi Anatolij, On 16 November 2017 at 18:14, Anatolij Gustschin wrote: > From: Markus Valentin > > Introduce functions that check the integrity of U-Boot by utilising > the hashes stored in the OEM-data block in Secure Boot Manifest. > > The verification functions get called in fsp_init() > > Sign

Re: [U-Boot] [PATCH 1/3] ae3xx: timer: Rename AE3XX to ATCPIT100

2017-11-20 Thread Simon Glass
Hi, On 14 November 2017 at 19:48, Andes wrote: > From: Rick Chen > > ATCPIT100 is Andestech timer IP which is embeded > in AE3XX and AE250 boards. So rename AE3XX to > ATCPIT100 will be more make sence. > > Signed-off-by: Rick Chen > --- > drivers/timer/Kconfig |7 ++- > drivers/

Re: [U-Boot] [PATCH] fpga: allow programming fpga from FIT image for all FPGA drivers

2017-11-20 Thread Simon Glass
Hi, On 10 November 2017 at 07:17, Goldschmidt Simon wrote: > This drops the limit that fpga is only loaded from FIT images for Xilinx. > This is done by moving the 'partial' check from 'common/image.c' to > 'drivers/fpga/xilinx.c' (the only driver supporting partial images yet) > and supplies a w

Re: [U-Boot] [PATCH v3 6/6] doc: x86: Add section about secure boot on Bay Trail

2017-11-20 Thread Simon Glass
On 16 November 2017 at 18:16, Anatolij Gustschin wrote: > From: Markus Valentin > > Add short summary describing preparations for enabling secure boot > feature on Bay Trail SoC. > > Signed-off-by: Markus Valentin > Signed-off-by: Anatolij Gustschin > --- > Changes in v3: > - add commit messag

Re: [U-Boot] [PATCH] power: pmic/regulator: Add basic support for TPS65910

2017-11-20 Thread Simon Glass
Hi Felix, On 8 November 2017 at 04:04, Felix Brack wrote: > Texas Instrument's TPS65910 PMIC contains 3 buck DC-DC converts, one > boost DC-DC converter and 8 LDOs. This patch implements driver model > support for the TPS65910 PMIC and its regulators making the get/set > API for regulator value/e

Re: [U-Boot] [PATCH v3 4/6] binman: add optional support for U-Boot image signing

2017-11-20 Thread Simon Glass
Hi Anatolij, On 16 November 2017 at 18:15, Anatolij Gustschin wrote: > Prepare binman for adding image signing support after final image > build stage. Custom image signing functionality for SoCs supporting > verified boot can be added, e.g. like in the subsequent patch with > signing functionali

Re: [U-Boot] [PATCH V3] usb: xhci: Add Renesas R-Car xHCI driver

2017-11-20 Thread Simon Glass
Hi, On 20 November 2017 at 01:46, Bin Meng wrote: > Hi Marek, > > On Sun, Oct 15, 2017 at 11:17 PM, Marek Vasut wrote: >> On 10/15/2017 05:11 PM, Bin Meng wrote: >>> Hi Marek, >>> >>> On Sun, Oct 15, 2017 at 9:01 PM, Marek Vasut wrote: Add firmware V3, firmware loader and XHCI glue for the

Re: [U-Boot] [PATCH] rockchip: update boot0 hook

2017-11-20 Thread Simon Glass
Hi Kever, On 10 November 2017 at 00:37, Kever Yang wrote: > armv7 SPL: TAG(overwrite 'b 1f')+'b reset' + ARM_VECTORS > armv7 U-Boot: ARM_VECTORS > armv8 SPL: TAG(overwrite 'b 1f')+'b reset' + Reserved_iram(rk3399) > armv8 U-Boot: 'b reset' Can you explain this in English as well? The motivation

Re: [U-Boot] [PATCH 04/11] tools: mkimage: Extend mkimage to also include pmufw

2017-11-20 Thread Simon Glass
Hi Michal, On 6 November 2017 at 05:02, Michal Simek wrote: > This is generated command line when PMUFW_INIT_FILE is setup. > > ./tools/mkimage -T zynqmpimage -R ./"" -n > ./"board/xilinx/zynqmp/pmufw.bin" -d spl/u-boot-spl.bin spl/boot.bin > > pmufw has to be in binary format and mkimage is usin

Re: [U-Boot] [PATCH v3 3/6] x86: congatec: add secureboot enabled defconfig for conga-qeval20-qa3-e3845

2017-11-20 Thread Simon Glass
On 16 November 2017 at 18:14, Anatolij Gustschin wrote: > From: Markus Valentin > > Add board config file for conga-qeval20-qa3-e3845 target with enabled > secure boot option. > > Signed-off-by: Markus Valentin > Signed-off-by: Anatolij Gustschin > Reviewed-by: Simon Glass > --- > Changes in v

Re: [U-Boot] [PATCH 2/2] rk3288: tinker: Add falcon mode support

2017-11-20 Thread Simon Glass
Hi Jagan, On 3 November 2017 at 14:10, Jagan Teki wrote: > Add Falcon mode support in tinker rk3288 board. > This is fine, but why do you want to use this mode? > Signed-off-by: Jagan Teki > --- > Note: > This patch[1] need to work falcon > > [1] https://patchwork.ozlabs.org/patch/833821/ > >

Re: [U-Boot] [PATCH 9/9] arm: zynq: Add board support for cc108

2017-11-20 Thread Simon Glass
On 2 November 2017 at 12:50, Michal Simek wrote: > cc108 board is wiring uart via PL which is good platform for SPL fpga > support. > > Signed-off-by: Michal Simek > --- > > arch/arm/dts/Makefile| 1 + > arch/arm/dts/zynq-cc108.dts | 116 > +++

Re: [U-Boot] "usb storage" command issues

2017-11-20 Thread Simon Glass
Hi Stefan, On 20 November 2017 at 00:07, Bin Meng wrote: > > Hi Stefan, > > On Wed, Sep 27, 2017 at 1:03 AM, Stefan Roese wrote: > > Hi, > > > > I'm currently testing USB on my x86 platform. And noticed, that > > the "usb storage" command does not work as expected: > > > > => usb reset > > reset

Re: [U-Boot] [PATCH 3/5] arm: zynq: Move ZYNQ_SERIAL to Kconfig

2017-11-20 Thread Simon Glass
On 6 November 2017 at 04:45, Michal Simek wrote: > Move cadence/zynq serial driver via Kconfig > > Signed-off-by: Michal Simek > --- > > configs/syzygy_hub_defconfig | 1 + > configs/topic_miami_defconfig| 1 + > configs/topic_miamilite_defconfig

Re: [U-Boot] [PATCH 4/5] arm: zynq: Sort dts names

2017-11-20 Thread Simon Glass
On 6 November 2017 at 04:45, Michal Simek wrote: > Sort names. > > Signed-off-by: Michal Simek > --- > > arch/arm/dts/Makefile | 13 +++-- > 1 file changed, 7 insertions(+), 6 deletions(-) Reviewed-by: Simon Glass ___ U-Boot mailing list U-Bo

[U-Boot] [PATCH u-boot] ARM: arch-meson: build memory banks using reported memory from registers

2017-11-20 Thread Neil Armstrong
As discussed at [1], the Amlogic Meson GX SoCs can embed a BL31 firmware and a secondary BL32 firmware. Since mid-2017, the reserved memory address of the BL31 firmware was moved and grown for security reasons. But mainline U-boot and Linux has the old address and size fixed. These SoCs have a re

Re: [U-Boot] [PATCH 1/2] i2c: add Amlogic Meson driver

2017-11-20 Thread Simon Glass
Hi Benjamin, On 29 October 2017 at 03:09, Beniamino Galvani wrote: > > Add a driver for the I2C controller available on Amlogic Meson SoCs. > > Signed-off-by: Beniamino Galvani > --- > arch/arm/include/asm/arch-meson/i2c.h | 11 ++ > drivers/i2c/Kconfig | 6 + > drivers/i2c

Re: [U-Boot] [PATCH v2 04/18] rockchip: grf_rv1108.h: Fix the grf offsets

2017-11-20 Thread Simon Glass
On 9 November 2017 at 01:54, David Wu wrote: > The last 4 grf registers offset of rv1108 are wrong, fix them > for correct usage. > > Signed-off-by: David Wu > --- > > Changes in v2: > - New patch > > arch/arm/include/asm/arch-rockchip/grf_rv1108.h | 8 ++-- > 1 file changed, 6 insertions(+)

Re: [U-Boot] [U-Boot, v2, 18/18] config: evb-rk3229: Enable rk gmac configs

2017-11-20 Thread Philipp Tomsich
> Spam detection software, running on the system "lists.denx.de", > has identified this incoming email as possible spam. The original > message has been attached to this so you can view it or label > similar future email. If you have any questions, see > @@CONTACT_ADDRESS@@ for details. > > Cont

Re: [U-Boot] [U-Boot, v2, 13/18] rockchip: dts: rk3328-evb: Enable gmac2io for rk3328-evb

2017-11-20 Thread Philipp Tomsich
> Add rk3328-evb gmac support. > > Signed-off-by: David Wu > --- > > Changes in v2: > - New patch > > arch/arm/dts/rk3328-evb.dts | 30 ++ > 1 file changed, 30 insertions(+) > Acked-by: Philipp Tomsich ___ U-Boot mailin

Re: [U-Boot] [U-Boot, v2, 15/18] rockchip: pinctrl: Add rk322x gmac pinctrl support

2017-11-20 Thread Philipp Tomsich
> Set gmac pins iomux and rgmii tx pins to 12ma drive-strength, > clean others to 2ma. > > Signed-off-by: David Wu > --- > > Changes in v2: > - New patch > > drivers/pinctrl/rockchip/pinctrl_rk322x.c | 138 > ++ > 1 file changed, 138 insertions(+) > Acked-by: Phi

Re: [U-Boot] [U-Boot, v2, 17/18] net: gmac_rockchip: Add support for the RK3228 GMAC

2017-11-20 Thread Philipp Tomsich
> Spam detection software, running on the system "lists.denx.de", > has identified this incoming email as possible spam. The original > message has been attached to this so you can view it or label > similar future email. If you have any questions, see > @@CONTACT_ADDRESS@@ for details. > > Cont

Re: [U-Boot] [U-Boot, v2, 12/18] rockchip: dts: rk3328: Add gmac2io support

2017-11-20 Thread Philipp Tomsich
> Spam detection software, running on the system "lists.denx.de", > has identified this incoming email as possible spam. The original > message has been attached to this so you can view it or label > similar future email. If you have any questions, see > @@CONTACT_ADDRESS@@ for details. > > Cont

Re: [U-Boot] [U-Boot, v2, 11/18] rockchip: configs: Enable GMAC configs for evb-rk3328

2017-11-20 Thread Philipp Tomsich
> Enable GMAC configs for evb-rk3328 > > Signed-off-by: David Wu > --- > > Changes in v2: > - New patch > > configs/evb-rk3328_defconfig | 5 + > 1 file changed, 5 insertions(+) > Acked-by: Philipp Tomsich ___ U-Boot mailing list U-Boot@lists.

Re: [U-Boot] [U-Boot, v2, 14/18] rockchip: pinctrl: rk322x: Move the iomux definitions into pinctrl-driver

2017-11-20 Thread Philipp Tomsich
> Spam detection software, running on the system "lists.denx.de", > has identified this incoming email as possible spam. The original > message has been attached to this so you can view it or label > similar future email. If you have any questions, see > @@CONTACT_ADDRESS@@ for details. > > Cont

  1   2   >