Re: [U-Boot] [PATCH v2 18/18] spi: mpc8xxx: Convert to DM

2018-04-25 Thread Mario Six
Hi Jagan, On Thu, Apr 26, 2018 at 7:49 AM, Jagan Teki wrote: > On Thu, Apr 26, 2018 at 11:13 AM, Mario Six wrote: >> Hi Jagan, >> >> On Thu, Apr 26, 2018 at 7:34 AM, Jagan Teki wrote: >>> On Thu, Apr 19, 2018 at 6:06 PM,

Re: [U-Boot] [PATCH v2 00/18] spi: mpc8xxx: DM conversion

2018-04-25 Thread Mario Six
Hi Jagan, On Thu, Apr 26, 2018 at 7:30 AM, Jagan Teki wrote: > On Thu, Apr 19, 2018 at 6:06 PM, Mario Six wrote: >> This is v2 of a patch series that adds support for DM to the MPC8XXX SPI >> driver, cleans up the driver code, fixes a few minor

Re: [U-Boot] [PATCH v2 18/18] spi: mpc8xxx: Convert to DM

2018-04-25 Thread Jagan Teki
On Thu, Apr 26, 2018 at 11:13 AM, Mario Six wrote: > Hi Jagan, > > On Thu, Apr 26, 2018 at 7:34 AM, Jagan Teki wrote: >> On Thu, Apr 19, 2018 at 6:06 PM, Mario Six wrote: >>> Support DM in the MPC8xxx SPI driver, and remove the

Re: [U-Boot] [PATCH v2 18/18] spi: mpc8xxx: Convert to DM

2018-04-25 Thread Mario Six
Hi Jagan, On Thu, Apr 26, 2018 at 7:34 AM, Jagan Teki wrote: > On Thu, Apr 19, 2018 at 6:06 PM, Mario Six wrote: >> Support DM in the MPC8xxx SPI driver, and remove the legacy SPI >> interface. >> >> Signed-off-by: Mario Six >>

Re: [U-Boot] [PATCH v2 18/18] spi: mpc8xxx: Convert to DM

2018-04-25 Thread Jagan Teki
On Thu, Apr 19, 2018 at 6:06 PM, Mario Six wrote: > Support DM in the MPC8xxx SPI driver, and remove the legacy SPI > interface. > > Signed-off-by: Mario Six > --- > drivers/spi/mpc8xxx_spi.c | 144 > ++ > 1

Re: [U-Boot] [PATCH v2 00/18] spi: mpc8xxx: DM conversion

2018-04-25 Thread Jagan Teki
On Thu, Apr 19, 2018 at 6:06 PM, Mario Six wrote: > This is v2 of a patch series that adds support for DM to the MPC8XXX SPI > driver, cleans up the driver code, fixes a few minor problems. > > Some TODOs are left over for later, such as proper SPI speed setting, > and support

Re: [U-Boot] Issues with Rockchips make_fit_atf.py on master

2018-04-25 Thread Kever Yang
Hi Peter, On 04/25/2018 05:44 PM, Peter Robinson wrote: > Hi Kever, > > There's a problem with generating the FIT image for rockchips on > recent 2018.05 RCs, errors below, I suspect due to changes in dtc. Thanks for reporting this, but I don't know why I can't reproduce the issue, the U-Boot

Re: [U-Boot] [PATCH v6 1/2] x86: Add TSC-specific timer functions

2018-04-25 Thread Bin Meng
Hi Ivan, On Tue, Apr 24, 2018 at 4:41 PM, Bin Meng wrote: > Hi Ivan, > > On Tue, Apr 24, 2018 at 7:56 AM, Ivan Gorinov wrote: >> Hi Bin, >> >> On Mon, Apr 23, 2018 at 01:38:05AM -0600, Bin Meng wrote: >>> > Coreboot timestamp functions and Quark

Re: [U-Boot] [PATCH 2/2] config: evb-rk3399: enable make uboot.itb

2018-04-25 Thread Kever Yang
Hi Peter, On 04/25/2018 05:50 PM, Peter Robinson wrote: > Similar to firefly 3399 enable the ability to create a FIT image > with combined arm-trusted-firmware. > > Signed-off-by: Peter Robinson Looks good to me. Reviewed-by: Kever Yang

Re: [U-Boot] [RFC PATCH v1 0/5] Add fastboot UDP support

2018-04-25 Thread Kever Yang
Hi Jocelyn and Alex,     It's great to see you are getting this feature from google code to be mainline code.     My opinion is that we should have the same fastboot cmd handling in both UDP and USB in a common file, but not have separate code in net/fastboot.c and

Re: [U-Boot] [PATCH 0/8] Initial integration of AVB2.0

2018-04-25 Thread Kever Yang
Hi Igor,     It's great to see the patch set to support AVB2.0, the upstream libavb(from aosp) combine the AVB with A/B which I think should be two separate feature, are you going to split them?     BTW, do you have plan to update boot_android cmd to support avb? the command is too weak for use

Re: [U-Boot] [U-Boot,2/3] rockchip: rk3188: add timer3 node

2018-04-25 Thread Kever Yang
Hi Philipp, On 04/25/2018 06:17 PM, Dr. Philipp Tomsich wrote: > Kever, > >> On 25 Apr 2018, at 12:04, Philipp Tomsich >> wrote: >> >>> Add dts node for timer3. >>> Because of the rockchip timer can only KNOWN "dtd_rockchip_rk3368_timer" >>> with

Re: [U-Boot] [RFC] spl: dw_mmc_socfpga: udevice structure is NULL in SPL

2018-04-25 Thread Ley Foon Tan
On Thu, Apr 26, 2018 at 10:24 AM, Dinh Nguyen wrote: > Hi, > > I am trying to add support for the sdmmc driver to use the reset manager > driver in SPL. But I'm noticing that the udevice struct dev that passed > into socfpga_dwmmc_probe() is NULL, thus, I can't use the >

[U-Boot] [RFC] spl: dw_mmc_socfpga: udevice structure is NULL in SPL

2018-04-25 Thread Dinh Nguyen
Hi, I am trying to add support for the sdmmc driver to use the reset manager driver in SPL. But I'm noticing that the udevice struct dev that passed into socfpga_dwmmc_probe() is NULL, thus, I can't use the reset_get_by_() functions to get the reset information because it needs the dev structure

Re: [U-Boot] [PATCH] usb: host: dwc3: fix phys init

2018-04-25 Thread Bin Meng
On Wed, Apr 25, 2018 at 5:39 PM, Neil Armstrong wrote: > When no PHYs are declared in the dwc3 node, the phy init fails. > This patch checks if the "phys" property is presend and reports > the error returned by dev_count_phandle_with_args(). > > This patchs also fixes the

[U-Boot] [PATCHv1 4/7] board: ge: bx50v3: detect the monitor type by reading VPD earlier

2018-04-25 Thread Sebastian Reichel
From: Nandor Han Move the VPD reading earlier in order to establish the monitor type as soon as possible. The configuration of the specific environment variables needs to be done later after the environment is configured. Signed-off-by: Nandor Han

[U-Boot] [PATCHv1 5/7] board: ge: bx50v3: use VPD instead of compile-time checks

2018-04-25 Thread Sebastian Reichel
From: Ian Ray B{46}50v3s have an internal LCD that needs to be configured, in comparison with B850v3 which has only external displays. Use VPD instead of `CONFIG_TARGET_GE_B{4,6,8}50V3' compile-time checks to correct initialize video based on the monitor type. Signed-off-by:

[U-Boot] [PATCHv1 6/7] board: ge: bx50v3: configure video arguments using VPD

2018-04-25 Thread Sebastian Reichel
From: Ian Ray Configure video arguments at run-time instead of at compile-time. Signed-off-by: Ian Ray Signed-off-by: Nandor Han Signed-off-by: Sebastian Reichel --- board/ge/bx50v3/bx50v3.c| 3 +++

[U-Boot] [PATCHv1 7/7] board: ge: bx50v3: remove redundant targets

2018-04-25 Thread Sebastian Reichel
From: Ian Ray This replaces TARGET_GE_B{4,6,8}50V3 with common TARGET_GE_BX50V3. The boards are identified automatically at runtime. Signed-off-by: Ian Ray Signed-off-by: Nandor Han Signed-off-by: Sebastian Reichel

[U-Boot] [PATCH] power: pmic: Let PFUZE3000 see all 256 registers

2018-04-25 Thread Trent Piepho
The PFUZE3000 uses registers addresses up to 0xff. The DM pfuze100 driver supports both pfuze100 and pfuze3000. Allow it to use the device type to return the correct number of registers. Also rename the too generic PMIC_NUM_OF_REGS enumeration value for pfuze3000 to match the other "PFUZE3000_"

[U-Boot] [PATCHv1 3/7] board: ge: bx50v3: fix display support for b{46}50v3

2018-04-25 Thread Sebastian Reichel
From: Ian Ray Enable Video PLL to fix non-working display support for Bx50v3 internal displays. Signed-off-by: Ian Ray Signed-off-by: Nandor Han Signed-off-by: Sebastian Reichel ---

[U-Boot] [PATCHv1 2/7] board: ge: bx50v3: unify two switch statements

2018-04-25 Thread Sebastian Reichel
From: Nandor Han Simplify process_vpd() by unifying the switch statements handling product specific configurations. Signed-off-by: Nandor Han Signed-off-by: Sebastian Reichel --- board/ge/bx50v3/bx50v3.c | 13

[U-Boot] [PATCHv1 1/7] board: ge: bx50v3: rename detect_baseboard function

2018-04-25 Thread Sebastian Reichel
From: Ian Ray The detect_baseboard() function actually determines whether there is an internal LCD panel or not. Rename for clarity. Signed-off-by: Ian Ray Signed-off-by: Nandor Han Signed-off-by: Sebastian Reichel

[U-Boot] [PATCHv1 0/7] Merge B850v3, B650v3 and B450v3 targets

2018-04-25 Thread Sebastian Reichel
Hi, This merges B{468}50v3 into a BX50V3 target, that works for all three machines. The different boards are detected at runtime. -- Sebastian Ian Ray (5): board: ge: bx50v3: rename detect_baseboard function board: ge: bx50v3: fix display support for b{46}50v3 board: ge: bx50v3: use VPD

Re: [U-Boot] [PATCH v10 3/3] Adding wget

2018-04-25 Thread Duncan Hare
From: Simon Glass To: Duncan Hare Cc: Wolfgang Denk ; U-Boot Mailing List ; Joe Hershberger Sent: Wednesday, April 25, 2018 4:44 PM Subject: Re: [PATCH v10 3/3] Adding wget Hi Duncan,

Re: [U-Boot] [PATCH v10 3/3] Adding wget

2018-04-25 Thread Simon Glass
Hi Duncan, On 25 April 2018 at 08:33, Duncan Hare wrote: > > > > From: Simon Glass > To: Duncan Hare > Cc: U-Boot Mailing List ; Joe Hershberger > > Sent:

Re: [U-Boot] How to modify devicetree blob inside fit image via the u-boot shell using the fdt command

2018-04-25 Thread Davis Roman
Hi Fabio, I'm curious if you know how to modify a devicetree contained within a fit image. It sounds reasonable that I should be able to do this with the fdt command while in the u-boot shell. Currently I use 'fdt addr " then I use 'fdt print' and I see the contents of the FIT its file. This

Re: [U-Boot] u-boot.dtb is not generated when enabling verified boot

2018-04-25 Thread Davis Roman
Hi Fabio, I really appreciate your response. I've decided to try to move over to u-boot 2017.07. I saw a bootlin talk(https://bit.ly/2HxxxfK) where they seem to indicate that they had experienced issues with verified boot prior to this version, So I guess I'll just bite the bullet and hope for

Re: [U-Boot] [PATCH 1/3] arm: dra76: fastboot: extend cpu type for getvar command

2018-04-25 Thread Bajjuri, Praneeth
Only one patch in the series. Wrong subject [PATCH 1/3] On 4/25/2018 3:56 PM, Praneeth Bajjuri wrote: 'commit dda0bd674481 ("arm: dra762: Add support for device package identification")' introduces ABZ and ACD package identification. This patch is to extend usage of "fastboot getvar cpu"

[U-Boot] [PATCH 0/2] Boot android with FIT image

2018-04-25 Thread Praneeth Bajjuri
Enable the FDT library overlay support for all TI SOC family and while at it Enable android over emmc by default thru FIT image Praneeth Bajjuri (2): configs: TI: Enable FIT Library overlay support env: ti: android: boot with FIT Image include/environment/ti/boot.h | 3 ++- lib/Kconfig

[U-Boot] [PATCH 1/2] configs: TI: Enable FIT Library overlay support

2018-04-25 Thread Praneeth Bajjuri
Enable the FDT library overlay support for all TI SOC family. Without this option, when Loading fdt from FIT image, the following warning is seen. "config with overlays but CONFIG_OF_LIBFDT_OVERLAY not set". Signed-off-by: Praneeth Bajjuri Suggested-by: Andrew F.Davis

[U-Boot] [PATCH 2/2] env: ti: android: boot with FIT Image

2018-04-25 Thread Praneeth Bajjuri
Boot android over emmc by default thru FIT image Signed-off-by: Praneeth Bajjuri Suggested-by: Andrew F.Davis --- include/environment/ti/boot.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/environment/ti/boot.h

[U-Boot] [PATCH 1/3] arm: dra76: fastboot: extend cpu type for getvar command

2018-04-25 Thread Praneeth Bajjuri
'commit dda0bd674481 ("arm: dra762: Add support for device package identification")' introduces ABZ and ACD package identification. This patch is to extend usage of "fastboot getvar cpu" for DRA76x ABZ and ACD devices. Helps in fixing the boot warning. Warning: fastboot.cpu: unknown CPU rev:

Re: [U-Boot] [PATCH 2/3] sunxi: sun8i: Add Allwinner V40 support

2018-04-25 Thread Jagan Teki
On Wed, Apr 25, 2018 at 10:54 PM, Maxime Ripard wrote: > On Wed, Apr 25, 2018 at 03:20:14PM +0530, Jagan Teki wrote: >> Allwinner V40 (sun8i) SoC features a Quad-Core Cortex-A7 ARM CPU, >> and a Mali400 MP2 GPU from ARM. It is the automotive version of R40. >> >> This

Re: [U-Boot] [PATCH 2/3] sunxi: sun8i: Add Allwinner V40 support

2018-04-25 Thread Maxime Ripard
On Wed, Apr 25, 2018 at 03:20:14PM +0530, Jagan Teki wrote: > Allwinner V40 (sun8i) SoC features a Quad-Core Cortex-A7 ARM CPU, > and a Mali400 MP2 GPU from ARM. It is the automotive version of R40. > > This patch add support for V40 by reusing R40 configurations. > > MACH_SUN8I_R40_V40 is the

Re: [U-Boot] u-boot.dtb is not generated when enabling verified boot

2018-04-25 Thread Fabio Estevam
Hi Davis, On Tue, Apr 24, 2018 at 10:19 PM, Davis Roman wrote: > Hi Fabio, > > Thank you so much for responding. It's good to know that I'm not alone in > the world. :) > > Unfortunately, I'm stuck with 2016.03 for the moment. Ops, not good. > So I'm still having

Re: [U-Boot] [RFC PATCH v1 0/5] Add fastboot UDP support

2018-04-25 Thread Lukasz Majewski
On Wed, 25 Apr 2018 13:50:50 +0100 Alex Kiernan wrote: > On Wed, Apr 25, 2018 at 8:53 AM, Alex Kiernan > wrote: > > On Tue, Apr 24, 2018 at 6:10 PM, Jocelyn Bohr > > wrote: > >> Thanks so much for porting this, Alex! > >> >

Re: [U-Boot] [PATCH v10 3/3] Adding wget

2018-04-25 Thread Duncan Hare
From: Simon Glass To: Duncan Hare Cc: U-Boot Mailing List ; Joe Hershberger Sent: Tuesday, April 24, 2018 10:01 PM Subject: Re: [PATCH v10 3/3] Adding wget Hi Duncan, On 22 April 2018 at 21:22, Duncan

Re: [U-Boot] [PATCH 0/7] arm: Introduce v7R support

2018-04-25 Thread Michal Simek
On 25.4.2018 11:14, Lokesh Vutla wrote: > The Cortex-R* processors are a mid-range CPUs for use in deeply-embedded, > real-time systems. It implements the ARMv7-R architecture, and includes > Thumb-2 technology for optimum code density and processing throughput. > > Except for MPU(Memory

[U-Boot] [PATCH 7/8] test/py: avb2.0: add tests for avb commands

2018-04-25 Thread Igor Opaniuk
1. Run AVB 2.0 full verification chain, avb verify 2. Check if 'avb get_uuid' works, compare results with 'part list mmc 1' output 3. Test `avb read` commands, which reads N bytes from a partition identified by a name Signed-off-by: Igor Opaniuk ---

[U-Boot] [PATCH 4/8] cmd: avb2.0: avb command for performing verification

2018-04-25 Thread Igor Opaniuk
Enable a "avb" command to execute Android Verified Boot 2.0 operations. It includes such subcommands: avb init - initialize avb2 subsystem avb read_rb - read rollback index avb write_rb - write rollback index avb is_unlocked - check device lock state avb get_uuid - read and print uuid of

[U-Boot] [PATCH 8/8] doc: avb2.0: add README about AVB2.0 integration

2018-04-25 Thread Igor Opaniuk
Contains: 1. Overview of Android Verified Boot 2.0 2. Description of avb subset of commands 3. Examples of errors when boot/vendor/system/vbmeta partitions are tampered 4. Examples of enabling AVB2.0 on your setup Signed-off-by: Igor Opaniuk --- doc/README.avb2 | 100

[U-Boot] [PATCH 2/8] avb2.0: integrate avb 2.0 into the build system

2018-04-25 Thread Igor Opaniuk
Integrate libavb/libavb_ab into the build system. Introduce CONFIG_LIBAVB and CONFIG_LIBAVB_AVB options for enabling build. Signed-off-by: Igor Opaniuk --- lib/Kconfig| 20 lib/Makefile | 2 ++ lib/libavb/Makefile| 15

[U-Boot] [PATCH 0/8] Initial integration of AVB2.0

2018-04-25 Thread Igor Opaniuk
This series of patches introduces support of Android Verified Boot 2.0, which provides integrity checking of Android partitions on MMC. It integrates libavb/libavb_ab into the U-boot, provides implementation of AvbOps, subset of `avb` commands to run verification chain (and for debugging

[U-Boot] [PATCH 3/8] avb2.0: implement AVB ops

2018-04-25 Thread Igor Opaniuk
Implement AVB ops on top of existing mmc subsystem API. Currently there is a full implementation of such operations, defined by [1] AVB2.0 specification: .read_from_partition() - reads N bytes from a partition identified by a name. .write_to_partition() - Writes N bytes to a partition identified

[U-Boot] [PATCH 6/8] am57xx_hs: avb2.0: add support of AVB 2.0

2018-04-25 Thread Igor Opaniuk
1. Add vbmeta partition info to android partition layout for am57xx SoC 2. Add support of AVB 2.0 (including avb subset of commands) for am57xx HS Signed-off-by: Igor Opaniuk --- configs/am57xx_hs_evm_defconfig | 3 +++ include/configs/am57xx_evm.h| 11 +++

[U-Boot] [PATCH 5/8] avb2.0: add boot states and dm-verity support

2018-04-25 Thread Igor Opaniuk
1. Add initial support of boot states mode (red, green, yellow) 2. Add functions for enforcing dm-verity configurations Signed-off-by: Igor Opaniuk --- cmd/avb.c| 17 ++- common/avb_verify.c | 140 +--

Re: [U-Boot] [PATCH 5/7] arm: v7R: Add initial support

2018-04-25 Thread Tom Rini
On Wed, Apr 25, 2018 at 02:44:37PM +0530, Lokesh Vutla wrote: > From: Michal Simek > > The Cortex-R* processors are a mid-range CPUs for use in deeply-embedded, > real-time systems. It implements the ARMv7-R architecture, and includes > Thumb-2 technology for optimum

Re: [U-Boot] [PATCH 7/7] arm: v7R: Add support for enabling caches

2018-04-25 Thread Tom Rini
On Wed, Apr 25, 2018 at 02:44:39PM +0530, Lokesh Vutla wrote: > Cache maintenance procedure is same for v7A and v7R > processors. So re-use cache-cp15.c file except for > mmu parts. [snip] > diff --git a/arch/arm/lib/cache-cp15.c b/arch/arm/lib/cache-cp15.c > index b09c631636..051f2789be 100644 >

Re: [U-Boot] [PATCH 2/7] arm: v7: Kconfig: Rename CPU_V7 as CPU_V7A

2018-04-25 Thread Tom Rini
On Wed, Apr 25, 2018 at 02:44:34PM +0530, Lokesh Vutla wrote: > Currently CPU_V7 kconfig symbol supports only ARMv7A architectures under > armv7 folder. This led to a misconception of creating separate folders > for armv7m and armv7r. There is no reason to create separate folder for > other armv7

Re: [U-Boot] [PATCH 6/7] arm: v7R: Add support for MPU

2018-04-25 Thread Tom Rini
On Wed, Apr 25, 2018 at 02:44:38PM +0530, Lokesh Vutla wrote: > The Memory Protection Unit(MPU) allows to partition memory into regions > and set individual protection attributes for each region. In absence > of MPU a default map[1] will take effect. Add support for configuring > MPU on Cortex-R,

Re: [U-Boot] [PATCH 4/7] arm: v7: Kconfig: Introduce SYS_ARM_CACHE_CP15

2018-04-25 Thread Tom Rini
On Wed, Apr 25, 2018 at 02:44:36PM +0530, Lokesh Vutla wrote: > Certain ARM architectures like ARMv7-A, ARMv7-R has support for > enabling caches using CP15 registers. To have a common support > for all these architectures, introduce a Kconfig symbol > SYS_ARM_CACHE_CP15 that selects cache-cp15.c

Re: [U-Boot] [PATCH 3/7] arm: v7: Kconfig: Add entry for MMU

2018-04-25 Thread Tom Rini
On Wed, Apr 25, 2018 at 02:44:35PM +0530, Lokesh Vutla wrote: > Add a Kconfig entry for MMU and imply for all platforms using > cache-cp15.c containing MMU setup. Using imply instead of select so that > MMU can be disabled by defconfigs when not needed. > > Signed-off-by: Lokesh Vutla

Re: [U-Boot] NDS32 toolchain?

2018-04-25 Thread Tom Rini
On Wed, Apr 25, 2018 at 03:27:11AM +, r...@andestech.com wrote: > > > > -Original Message- > > From: Tom Rini [mailto:tr...@konsulko.com] > > Sent: Tuesday, April 24, 2018 8:14 PM > > To: Rick Jian-Zhi Chen(陳建志) > > Cc: u-boot@lists.denx.de; Greentime Ying-Han Hu(胡英漢); > >

Re: [U-Boot] [PATCH v4] arm64: Add SMC and HVC commands

2018-04-25 Thread Michalis Pappas
On 04/13/2018 10:40 AM, Michalis Pappas wrote: This patch adds smc and hvc commands, that allow issuing Secure Monitor Calls and Hypervisor Calls conforming to the ARM SMC Calling Convention. Add Kconfig items to allow each command can be individually enabled. Signed-off-by: Michalis Pappas

Re: [U-Boot] [RFC PATCH v1 0/5] Add fastboot UDP support

2018-04-25 Thread Alex Kiernan
On Wed, Apr 25, 2018 at 8:53 AM, Alex Kiernan wrote: > On Tue, Apr 24, 2018 at 6:10 PM, Jocelyn Bohr wrote: >> Thanks so much for porting this, Alex! >> ... >> >> You can select both network and USB fastboot to be enabled with the Kconfig, >> but at

[U-Boot] [RFC PATCH 2/2] arm64: zynqmp: Try to create bootcm_mmcX at run time

2018-04-25 Thread Michal Simek
Just an attept to create boot commands for mmcs above 2 which is not generated. Signed-off-by: Michal Simek --- Probably some ifdefs around are missing. --- board/xilinx/zynqmp/zynqmp.c| 28 include/configs/xilinx_zynqmp.h | 7 ---

[U-Boot] [RFC PATCH 1/2] arm64: zynqmp: Setup the first boot_target at run time

2018-04-25 Thread Michal Simek
Detect mmc alias at run time for setting up proper boot_targets sequence. The first target has to correspond with boot mode. The purpose of this patch is to get rid of CONFIG_ZYNQ_SDHCI0/1 parameters in full U-Boot. Unfortunately this patch can't remove it because there is missing mmc

[U-Boot] [PATCH] arm64: zynqmp: Simplify boot_target variable composition

2018-04-25 Thread Michal Simek
Call calloc for space allocation only at one location and include if/else to sprintf. This will simplify run time device adding based on id aliases. Signed-off-by: Michal Simek --- board/xilinx/zynqmp/zynqmp.c | 16 1 file changed, 8 insertions(+), 8

[U-Boot] [Question] How to create a file in a directory

2018-04-25 Thread Masahiro Yamada
Hi. I was trying to write a file to FAT file system by U-Boot command. I tried 'fatwrite' and 'save'. I cannot create a file in a sub-directory. > fatwrite mmc 0:1 8100 boot/a 10 created a file 'boot/a' in the root directory. But I want a file 'a' in the directory path '/boot/'.

Re: [U-Boot] rockchip: clk: rk3288: add clk_enable function and support USB HOST0/HSIC

2018-04-25 Thread Philipp Tomsich
> The generic ehci-driver (ehci-generic.c) will try to enable the clocks > listed in the DTSI. If this fails (e.g. due to clk_enable not being > implemented in a driver and -ENOSYS being returned by the clk-uclass), > the driver will bail our and print an error message. > > This implements a

Re: [U-Boot] rockchip: rk322x: update MACRO for back-to-brom

2018-04-25 Thread Philipp Tomsich
> The MACRO has been update after: > ee14d29 rockchip: back-to-bootrom: split BACK_TO_BOOTROM for TPL/SPL > We need to update the C code for it. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/rk322x-board-spl.c | 2 +- > 1 file changed, 1

Re: [U-Boot] rockchip: rk322x: update TPL_TEXT_BASE

2018-04-25 Thread Philipp Tomsich
> The boot0 hook including the 4-byte TAG which is at the beginning > of the TEXT_BASE, now we can use a aligned TEXT BASE. > > Signed-off-by: Kever Yang > --- > > include/configs/rk322x_common.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

Re: [U-Boot] [U-Boot, v2, 1/2] rockchip: enable SYS_NS16550 for all SoCs by default

2018-04-25 Thread Philipp Tomsich
> All rockchip SoCs can use ns16550 driver, enable it for all > and set SYS_NS16550_MEM32 for all SoCs. > > Version-changes: 2 > - use imply instead of select > > Signed-off-by: Kever Yang > --- > > Changes in v2: None > > arch/arm/Kconfig | 1 + >

Re: [U-Boot] [U-Boot, v2, 2/2] rockchip: defconfig: remove CONFIG_SYS_NS16550

2018-04-25 Thread Philipp Tomsich
> We have enable NS16550 in Kconfig, do not need enable at defconfig > > Signed-off-by: Kever Yang > --- > > Changes in v2: > - check and add some missing board > > configs/chromebit_mickey_defconfig | 1 - > configs/chromebook_jerry_defconfig | 1 - >

[U-Boot] Weird listing/behaviour of serverip in uboot

2018-04-25 Thread Ajay Garg
Hi All. When we stop auto-booting and printenv, a serverip is listed. However, when trying to ftp a kernel-image, it shows serverip is not set. # => printenv baudrate=115200 bootcmd=run load_img; run load_dtb; booti 0x4808 -

Re: [U-Boot] [U-Boot, v2, 1/2] rockchip: enable SYS_NS16550 for all SoCs by default

2018-04-25 Thread Philipp Tomsich
> All rockchip SoCs can use ns16550 driver, enable it for all > and set SYS_NS16550_MEM32 for all SoCs. > > Version-changes: 2 > - use imply instead of select > > Signed-off-by: Kever Yang > --- > > Changes in v2: None > > arch/arm/Kconfig | 1 + >

Re: [U-Boot] Revert "rockchip: firefly: Add "usb start" to auto-start USB device"

2018-04-25 Thread Philipp Tomsich
> This reverts commit a1903c18db13e740e6bedb8955b3272dce5104e1. > > It's really bad idea to add "usb start" in preboot, it will spend > a lot of time to scan usb bus, and most of people do not need this > feature. > > Signed-off-by: Kever Yang > --- > >

Re: [U-Boot] [U-Boot, v2, 2/2] rockchip: defconfig: remove CONFIG_SYS_NS16550

2018-04-25 Thread Philipp Tomsich
> We have enable NS16550 in Kconfig, do not need enable at defconfig > > Signed-off-by: Kever Yang > --- > > Changes in v2: > - check and add some missing board > > configs/chromebit_mickey_defconfig | 1 - > configs/chromebook_jerry_defconfig | 1 - >

Re: [U-Boot] rockchip: rk322x: update MACRO for back-to-brom

2018-04-25 Thread Philipp Tomsich
> The MACRO has been update after: > ee14d29 rockchip: back-to-bootrom: split BACK_TO_BOOTROM for TPL/SPL > We need to update the C code for it. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/rk322x-board-spl.c | 2 +- > 1 file changed, 1

Re: [U-Boot] rockchip: rk322x: update TPL_TEXT_BASE

2018-04-25 Thread Philipp Tomsich
> The boot0 hook including the 4-byte TAG which is at the beginning > of the TEXT_BASE, now we can use a aligned TEXT BASE. > > Signed-off-by: Kever Yang > --- > > include/configs/rk322x_common.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Acked-by:

Re: [U-Boot] Revert "rockchip: firefly: Add "usb start" to auto-start USB device"

2018-04-25 Thread Philipp Tomsich
> This reverts commit a1903c18db13e740e6bedb8955b3272dce5104e1. > > It's really bad idea to add "usb start" in preboot, it will spend > a lot of time to scan usb bus, and most of people do not need this > feature. > > Signed-off-by: Kever Yang > --- > >

[U-Boot] [PATCH] distro: select CMD_ENV_EXISTS

2018-04-25 Thread Masahiro Yamada
'env exists' is used for scripting in include/config_distro_bootcmd.h This command is available only when CONFIG_CMD_ENV_EXISTS is enabled. Signed-off-by: Masahiro Yamada --- Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/Kconfig b/Kconfig index

Re: [U-Boot] [U-Boot,2/3] rockchip: rk3188: add timer3 node

2018-04-25 Thread Dr. Philipp Tomsich
Kever, > On 25 Apr 2018, at 12:04, Philipp Tomsich > wrote: > >> Add dts node for timer3. >> Because of the rockchip timer can only KNOWN "dtd_rockchip_rk3368_timer" >> with OF_PLATDATA enable, so we override its compatible to >> "rockchip,rk3368-timer".

Re: [U-Boot] [U-Boot, 3/3] rockchip: rk3188: use DM timer instead of rk_timer

2018-04-25 Thread Philipp Tomsich
> Disable rk_timer as SYS timer and use DM timer instead, > so that we can get a better timer framework, the rk_timer > is going to be clean after we conver to use DM timer or > ARM arch/generic timer. > > Signed-off-by: Kever Yang > --- > >

Re: [U-Boot] [U-Boot, v2, 1/3] rockchip: rk3036: add ofdata_to_platdata() method for driver

2018-04-25 Thread Philipp Tomsich
> Parse of data in dedicated api instead of in probe(). > > The clk_set_rate() may be called before the clk driver is probed, > after core support set default clock. > This patch fix system abort issue since: > f4fcba5 clk: implement clk_set_defaults() > > Signed-off-by: Kever Yang

Re: [U-Boot] [U-Boot, 2/2] config: evb-rk3399: enable make uboot.itb

2018-04-25 Thread Philipp Tomsich
> Similar to firefly 3399 enable the ability to create a FIT image > with combined arm-trusted-firmware. > > Signed-off-by: Peter Robinson > --- > configs/evb-rk3399_defconfig | 3 +++ > 1 file changed, 3 insertions(+) > Reviewed-by: Philipp Tomsich

Re: [U-Boot] [U-Boot,1/1] rockchip: rk3288: provide ${fdtfile}

2018-04-25 Thread Philipp Tomsich
> All rk3288 default configs define CONFIG_DEFAULT_DEVICE_TREE. > So we can use it to define ${fdtfile} in rk3288_common.h. > > This variable is needed by the distro boot command. > > Signed-off-by: Heinrich Schuchardt > --- > include/configs/rk3288_common.h | 1 + > 1 file

Re: [U-Boot] [U-Boot, 3/3] rockchip: rk3188: use DM timer instead of rk_timer

2018-04-25 Thread Philipp Tomsich
> Disable rk_timer as SYS timer and use DM timer instead, > so that we can get a better timer framework, the rk_timer > is going to be clean after we conver to use DM timer or > ARM arch/generic timer. > > Signed-off-by: Kever Yang > --- > >

Re: [U-Boot] [U-Boot, 1/2] arm: rockchip: make_fit_atf: remove unneeded imports

2018-04-25 Thread Philipp Tomsich
> From: Patrick Uiterwijk > > These imports are entirely unused in the entire script. > > Signed-off-by: Patrick Uiterwijk > Signed-off-by: Peter Robinson > --- > arch/arm/mach-rockchip/make_fit_atf.py | 2 -- > 1 file

Re: [U-Boot] [U-Boot, 1/2] arm: rockchip: make_fit_atf: remove unneeded imports

2018-04-25 Thread Philipp Tomsich
> From: Patrick Uiterwijk > > These imports are entirely unused in the entire script. > > Signed-off-by: Patrick Uiterwijk > Signed-off-by: Peter Robinson > --- > arch/arm/mach-rockchip/make_fit_atf.py | 2 -- > 1 file

Re: [U-Boot] [U-Boot,2/3] rockchip: rk3188: add timer3 node

2018-04-25 Thread Philipp Tomsich
> Add dts node for timer3. > Because of the rockchip timer can only KNOWN "dtd_rockchip_rk3368_timer" > with OF_PLATDATA enable, so we override its compatible to > "rockchip,rk3368-timer". > > Signed-off-by: Kever Yang > --- > >

Re: [U-Boot] [U-Boot, 1/3] rockchip: rk3188: add -u-boot.dtsi for rock-rk3188

2018-04-25 Thread Philipp Tomsich
> We should a -u-boot.dtsi for those config need by U-Boot only, > and other part sync with kernel. > > Signed-off-by: Kever Yang > --- > > arch/arm/dts/rk3188-radxarock-u-boot.dtsi | 18 ++ > arch/arm/dts/rk3188-radxarock.dts | 6 +- >

Re: [U-Boot] [U-Boot, v1] rockchip: defconfig: puma-rk3399: enable RTC

2018-04-25 Thread Philipp Tomsich
> commit: 52280315a4 ("rtc: rewrite isl1208 to support DM") enables us to > use the on-module RTC emulation with the rk3399 device model i2c driver. > > Signed-off-by: Klaus Goger > --- > > configs/puma-rk3399_defconfig | 2 ++ > 1 file changed, 2

Re: [U-Boot] [U-Boot, v2, 1/3] rockchip: rk3036: add ofdata_to_platdata() method for driver

2018-04-25 Thread Philipp Tomsich
> Parse of data in dedicated api instead of in probe(). > > The clk_set_rate() may be called before the clk driver is probed, > after core support set default clock. > This patch fix system abort issue since: > f4fcba5 clk: implement clk_set_defaults() > > Signed-off-by: Kever Yang

Re: [U-Boot] [U-Boot, 2/2] config: evb-rk3399: enable make uboot.itb

2018-04-25 Thread Philipp Tomsich
> Similar to firefly 3399 enable the ability to create a FIT image > with combined arm-trusted-firmware. > > Signed-off-by: Peter Robinson > --- > configs/evb-rk3399_defconfig | 3 +++ > 1 file changed, 3 insertions(+) > Acked-by: Philipp Tomsich

Re: [U-Boot] [U-Boot,1/1] rockchip: rk3288: provide ${fdtfile}

2018-04-25 Thread Philipp Tomsich
> All rk3288 default configs define CONFIG_DEFAULT_DEVICE_TREE. > So we can use it to define ${fdtfile} in rk3288_common.h. > > This variable is needed by the distro boot command. > > Signed-off-by: Heinrich Schuchardt > --- > include/configs/rk3288_common.h | 1 + > 1 file

Re: [U-Boot] [U-Boot, 1/3] rockchip: rk3188: add -u-boot.dtsi for rock-rk3188

2018-04-25 Thread Philipp Tomsich
> We should a -u-boot.dtsi for those config need by U-Boot only, > and other part sync with kernel. > > Signed-off-by: Kever Yang > --- > > arch/arm/dts/rk3188-radxarock-u-boot.dtsi | 18 ++ > arch/arm/dts/rk3188-radxarock.dts | 6 +- >

Re: [U-Boot] [U-Boot, v1] rockchip: defconfig: puma-rk3399: enable RTC

2018-04-25 Thread Philipp Tomsich
> commit: 52280315a4 ("rtc: rewrite isl1208 to support DM") enables us to > use the on-module RTC emulation with the rk3399 device model i2c driver. > > Signed-off-by: Klaus Goger > --- > > configs/puma-rk3399_defconfig | 2 ++ > 1 file changed, 2

Re: [U-Boot] [PATCH] usb: host: dwc3: fix phys init

2018-04-25 Thread Masahiro Yamada
2018-04-25 18:39 GMT+09:00 Neil Armstrong : > When no PHYs are declared in the dwc3 node, the phy init fails. > This patch checks if the "phys" property is presend and reports > the error returned by dev_count_phandle_with_args(). > > This patchs also fixes the styles

Re: [U-Boot] DWC3 USB driver regression

2018-04-25 Thread Neil Armstrong
Hi, On 25/04/2018 11:09, Masahiro Yamada wrote: > Hi Neil. > > > 2018-04-25 17:37 GMT+09:00 Neil Armstrong : >> Hi, >> >> On 25/04/2018 06:21, Masahiro Yamada wrote: >>> Hi. >>> >>> >>> I found DWC3 usb driver on UniPhier SoC family >>> not working. >>> >>> >>> I did

[U-Boot] [PATCH 3/3] board: sunxi: sun8i-v4: Add Bananapi M2 Berry support

2018-04-25 Thread Jagan Teki
Banana Pi BPI-M2 Berry is a quad-core mini single board computer built with Allwinner V40 SoC. It features - Quad Core ARM Cortex A7 CPU V40 - 1GB of RAM . - microSD/SATA port.. - onboard WiFi and BT - 4 USB A 2.0 ports - 1 USB OTG port - 1 HDMI port - 1 audio jack - DC power port Signed-off-by:

[U-Boot] [PATCH 1/3] ARM: dts: sun8i: Sync r40 dtsi from Linux

2018-04-25 Thread Jagan Teki
Sync sun8i-r40.dtsi changes from Linux with Merge: a406778618d0 088345fc3553 Author: Stephen Rothwell Date: Tue Apr 24 14:15:02 2018 +1000 Merge branch 'akpm/master' Signed-off-by: Jagan Teki --- arch/arm/dts/sun8i-r40.dtsi

[U-Boot] [PATCH 2/3] sunxi: sun8i: Add Allwinner V40 support

2018-04-25 Thread Jagan Teki
Allwinner V40 (sun8i) SoC features a Quad-Core Cortex-A7 ARM CPU, and a Mali400 MP2 GPU from ARM. It is the automotive version of R40. This patch add support for V40 by reusing R40 configurations. MACH_SUN8I_R40_V40 is the common config option for both. Also fixed checkpatch warnings while

[U-Boot] [PATCH 2/2] config: evb-rk3399: enable make uboot.itb

2018-04-25 Thread Peter Robinson
Similar to firefly 3399 enable the ability to create a FIT image with combined arm-trusted-firmware. Signed-off-by: Peter Robinson --- configs/evb-rk3399_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/evb-rk3399_defconfig

[U-Boot] [PATCH 1/2] arm: rockchip: make_fit_atf: remove unneeded imports

2018-04-25 Thread Peter Robinson
From: Patrick Uiterwijk These imports are entirely unused in the entire script. Signed-off-by: Patrick Uiterwijk Signed-off-by: Peter Robinson --- arch/arm/mach-rockchip/make_fit_atf.py | 2 -- 1 file changed, 2

[U-Boot] [PATCH v2] distro: use imply to enable DISTRO_DEFAULTS as SoC default

2018-04-25 Thread Masahiro Yamada
The default of DISTRO_DEFAULTS is messy. Using the 'imply' keyword is equivalent and cleaner. Signed-off-by: Masahiro Yamada --- Changes in v2: - Update doc/README.distro Kconfig | 5 - arch/arm/Kconfig

[U-Boot] Issues with Rockchips make_fit_atf.py on master

2018-04-25 Thread Peter Robinson
Hi Kever, There's a problem with generating the FIT image for rockchips on recent 2018.05 RCs, errors below, I suspect due to changes in dtc. Peter /builddir/build/BUILD/u-boot-2018.05-rc2/"arch/arm/mach-rockchip/make_fit_atf.py" \ arch/arm/dts/rk3399-firefly.dtb > u-boot.its ./tools/mkimage

[U-Boot] [PATCH] usb: host: dwc3: fix phys init

2018-04-25 Thread Neil Armstrong
When no PHYs are declared in the dwc3 node, the phy init fails. This patch checks if the "phys" property is presend and reports the error returned by dev_count_phandle_with_args(). This patchs also fixes the styles issues added in last commit. This patch should fix the DWC3 support on the

[U-Boot] [PATCH] defconfig: at91-sama5d2_ptc_ek: remove unused SYS_EXTRA_OPTIONS

2018-04-25 Thread Eugen Hristev
From: Ludovic Desroches Remove SYS_USE_NANDFLASH, SYS_USE_MMC as they are deprecated and unused. The board configurations already use CONFIG_SD_BOOT and CONFIG_NAND_BOOT respectively. Signed-off-by: Ludovic Desroches

  1   2   >