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

2017-11-20 Thread Marek Vasut
On 11/20/2017 09:46 AM, 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,

Re: [U-Boot] [PATCH 02/16] net: e1000: add support for writing to EEPROM

2017-11-20 Thread Stefano Babic
On 08/11/2017 16:59, Martyn Welch wrote: > From: Hannu Lounento > > Port functions for writing to EEPROM, updating the checksum and > committing data to flash from the Linux kernel igb driver. > > Functions were ported from Linux 4.8-rc2 (694d0d0bb20). > > Signed-off-by:

Re: [U-Boot] Working with patchwork

2017-11-20 Thread Goldschmidt Simon
Hi Lukasz, thanks for taking the time :-) > > as I'm quite new to U-Boot and its patch workflow: what do I have to > > do to send a reviewed-by or tested-by tag for a patch? I sent it as a > > reply to this list but I can't see them in patchwork. > > > > Did I miss something here? Or could it be

Re: [U-Boot] [PATCH 1/1] x86: enable DISTRO_DEFAULTS for qemu

2017-11-20 Thread Bin Meng
On Mon, Nov 20, 2017 at 3:07 PM, Bin Meng wrote: > On Mon, Nov 20, 2017 at 1:30 AM, Heinrich Schuchardt > wrote: >> Enable CONFIG_DISTRO_DEFAULTS in qemu-x86_64_defconfig >> and qemu-x86_defconfig. >> >> Signed-off-by: Heinrich Schuchardt

Re: [U-Boot] [PATCH] x86: conga-qeval20-qa3-e3845: Adjust VGA rom address

2017-11-20 Thread Bin Meng
On Mon, Nov 20, 2017 at 3:07 PM, Bin Meng wrote: > On Fri, Nov 17, 2017 at 9:29 AM, Anatolij Gustschin wrote: >> Adjust VGA rom address to 0xfffb so that u-boot.rom image >> can be built again. >> >> Signed-off-by: Anatolij Gustschin >> ---

Re: [U-Boot] [PATCH v5 1/8] imx: mxc_i2c: tweak the i2c transfer method

2017-11-20 Thread Stefano Babic
On 06/11/2017 20:14, Martyn Welch wrote: > From: Nandor Han > > Tweak the i2c transfer to work for devices that want to read data > without addressing a register. > > Signed-off-by: Nandor Han > Signed-off-by: Martyn Welch >

Re: [U-Boot] [PATCH] Move Cache-As-RAM memory from area mapped to ROM in QEMU

2017-11-20 Thread Bin Meng
On Mon, Nov 20, 2017 at 3:07 PM, Bin Meng wrote: > On Wed, Nov 15, 2017 at 1:47 AM, Anton Gerasimov > wrote: >> ROM has been made read-only in qemu recently (namely commit >> 208fa0e43645edd0b0d8f838857dfc79daff40a8), so this patch restores >>

Re: [U-Boot] Working with patchwork

2017-11-20 Thread Lukasz Majewski
On Mon, 20 Nov 2017 09:15:03 + Goldschmidt Simon wrote: > Hi Lukasz, > > thanks for taking the time :-) > > > > as I'm quite new to U-Boot and its patch workflow: what do I have > > > to do to send a reviewed-by or tested-by tag for a patch? I sent > > >

Re: [U-Boot] [PATCH v4 0/5] spi: cadence_spi: Adopt Linux DT bindings

2017-11-20 Thread Vignesh R
On Thursday 16 November 2017 07:33 PM, Jason Rush wrote: > Adopt the Linux DT bindings. This also fixes an issue > with the indaddrtrig register on the Cadence QSPI > device being programmed with the wrong value for the > socfpga arch. > > Tested on Terasic SoCKit dev board (Altera Cyclone V)

Re: [U-Boot] [PATCH 1/1] mmc: sdhci: do not compare pointer to 0

2017-11-20 Thread Bin Meng
On Sat, Nov 11, 2017 at 4:13 AM, Heinrich Schuchardt wrote: > data is defined as struct mmc_data *data. > So it should not be compared to 0. > > Problem identified with Coccinelle. > > Signed-off-by: Heinrich Schuchardt > --- > drivers/mmc/sdhci.c | 4

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

2017-11-20 Thread Bin Meng
On Sat, Nov 11, 2017 at 4:46 AM, Heinrich Schuchardt wrote: > 0 is not a pointer. So do not compare pointers to 0. > > Do not return 0 from functions with a pointer return > type. > > Problem identified with Coccinelle. > > Signed-off-by: Heinrich Schuchardt

Re: [U-Boot] [PATCH 1/1] cmd: blk: remove unreachable code

2017-11-20 Thread Bin Meng
On Mon, Nov 20, 2017 at 6:25 AM, Heinrich Schuchardt wrote: > Remove an unreachable return statement. > > Signed-off-by: Heinrich Schuchardt > --- > cmd/blk_common.c | 2 -- > 1 file changed, 2 deletions(-) > Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH 1/1] fs: avoid possible NULL dereference in fs_devread

2017-11-20 Thread Bin Meng
On Mon, Nov 20, 2017 at 6:49 AM, Heinrich Schuchardt wrote: > It is unwise to first dereference a variable > and then to check if it was NULL. > > Signed-off-by: Heinrich Schuchardt > --- > fs/fs_internal.c | 3 ++- > 1 file changed, 2 insertions(+), 1

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

2017-11-20 Thread Bin Meng
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 Renesas R-Car

Re: [U-Boot] [PATCH v2 1/6] pico-imx6ul: Move dfu_alt_info to CONFIG_DFU_ENV_SETTINGS variable

2017-11-20 Thread Stefano Babic
Hi Otavio, On 16/11/2017 12:59, Otavio Salvador wrote: > From: Fabio Berton > > Create CONFIG_DFU_ENV_SETTINGS to set dfu environment settings to > improve human readable code. > > Signed-off-by: Fabio Berton > Signed-off-by:

Re: [U-Boot] Working with patchwork

2017-11-20 Thread Lukasz Majewski
Hi Simon, > Hi, > > as I'm quite new to U-Boot and its patch workflow: what do I have to > do to send a reviewed-by or tested-by tag for a patch? I sent it as a > reply to this list but I can't see them in patchwork. > > Did I miss something here? Or could it be a problem in the email > format

Re: [U-Boot] [PATCH 3/4] sunxi: Add default partition scheme

2017-11-20 Thread Maxime Ripard
Hi, On Fri, Nov 17, 2017 at 03:20:03PM +0100, Alexander Graf wrote: > > > On 17.11.17 14:04, Maxime Ripard wrote: > > On Fri, Nov 17, 2017 at 12:21:49PM +, Andre Przywara wrote: > >> Hi, > >> > >> On 17/11/17 08:27, Maxime Ripard wrote: > >>> > >>> I guess I also have a side question here.

Re: [U-Boot] [RFC PATCH 02/10] env: Make env_driver_lookup_default private

2017-11-20 Thread Andre Przywara
Hi, On 16/11/17 09:22, Maxime Ripard wrote: > No that there's no users of env_driver_lookup_default outside of env/env.c, > we can mark that function static and remove it from the environment header. > > Signed-off-by: Maxime Ripard Looks good to me, but I

Re: [U-Boot] [PATCH 3/4] sunxi: Add default partition scheme

2017-11-20 Thread Emmanuel Vadot
On Mon, 20 Nov 2017 10:24:08 +0100 Maxime Ripard wrote: > Hi, > > On Fri, Nov 17, 2017 at 03:20:03PM +0100, Alexander Graf wrote: > > > > > > On 17.11.17 14:04, Maxime Ripard wrote: > > > On Fri, Nov 17, 2017 at 12:21:49PM +, Andre Przywara wrote: > > >>

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

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|

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 >

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

[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

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

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 |

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

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

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

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

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 >

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

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

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

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

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

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

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

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

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

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"

[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

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

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

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

[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

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

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

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

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

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

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

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

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

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

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

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 >

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

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 >

[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

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

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

[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

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

[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

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

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

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

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 =

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,

[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

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

[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

[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

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

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

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

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

[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

[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

[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

[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

[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

[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

[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

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

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

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

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

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

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

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

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

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:

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:

  1   2   >