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

2017-09-12 Thread Andy Yan
Hi Simon: On 2017年09月13日 12:26, Simon Glass wrote: Hi Andy, On 12 September 2017 at 07:58, Andy Yan wrote: Enter download mode if the download key pressed. Signed-off-by: Andy Yan --- arch/arm/mach-rockchip/boot_mode.c | 27 ++- board/rockchip/evb_rk3399/evb

[U-Boot] [PATCH] armv8: ls1043a: disable IFC in SPL only when QSPI is used

2017-09-12 Thread Yangbo Lu
SD boot couldn't work with ls1043aqds_sdcard_ifc_defconfig since IFC in SPL is disabled. This patch is to fix this issue. Signed-off-by: Yangbo Lu --- include/configs/ls1043a_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/ls1043a_common.h b/include/c

Re: [U-Boot] [PATCH 1/1] spl: u-boot-spl-nodtb.bin: remove .got and .got.plt sections

2017-09-12 Thread Bin Meng
Hi Heinrich, On Tue, Sep 12, 2017 at 8:50 AM, Heinrich Schuchardt wrote: > On 09/12/2017 01:19 AM, Dr. Philipp Tomsich wrote: >>> On 12 Sep 2017, at 00:40, Heinrich Schuchardt wrote: >>> >>> For qemu-x86_64_defconfig on Debian Stretch >>> ld 2.28 creates a .got and a .got.plt section in >>> u-bo

Re: [U-Boot] [PATCH] patman: Fix error when the email blacklist is missing

2017-09-12 Thread Bin Meng
On Wed, Sep 13, 2017 at 12:56 PM, Chris Packham wrote: > On Wed, Sep 13, 2017 at 2:30 PM, Simon Glass wrote: >> This section of the settings file may be missing. Handle that gracefully >> rather than emitting an error. >> >> Also update patman to write this section when a new settings file is >>

Re: [U-Boot] [PATCH] patman: Fix error when the email blacklist is missing

2017-09-12 Thread Chris Packham
On Wed, Sep 13, 2017 at 2:30 PM, Simon Glass wrote: > This section of the settings file may be missing. Handle that gracefully > rather than emitting an error. > > Also update patman to write this section when a new settings file is > created. > > Fixes: e11aa602 (patman: add support for omitting

Re: [U-Boot] [PATCH v5 5/9] board: sama5d2_xplained: Make SPL work on spiflash

2017-09-12 Thread Simon Glass
On 12 September 2017 at 20:10, Wenyou Yang wrote: > Because before switching to a lower clock source, we must switch > the clock source first instead of last. So before configuring the > PMC_MCKR register, invoke at91_mck_init_down() first. > > As said in datasheet, the the size of SPL must not ex

Re: [U-Boot] [PATCH] rockchip: enable TPL_SYSRESET for all rockchip SoCs

2017-09-12 Thread Simon Glass
On 12 September 2017 at 19:39, Kever Yang wrote: > With Makefiles testing for $(SPL_TPL_)SYSRESET, we need TPL_SYSRESET > for do_reset() in TPL for Rockchip SoCs. > > References: 87c16d4 "drivers: spl: consistently use the $(SPL_TPL_) > macro" > > Signed-off-by: Kever Yang > --- > > arch/arm/Kco

Re: [U-Boot] Compiling Mainline Kernel v4.4.70 Stable to ChormeBook Nvidia Tegra TK1 (Ubuntu-Xenial) -Uboot Not Booting (BlackScreen)

2017-09-12 Thread Simon Glass
Hi Alexandre, On 12 September 2017 at 12:04, Alexandre N. Perfeito wrote: > Hi All Uboot-(TEGRA users) , My name is Alexander almost done here !!! I > Need you Help !!! to make the chromebook TegraTk1 model running > Ubuntu-Xenial Mainline v4.4.0.70 distribution repo not ChromiumOS > https://chro

Re: [U-Boot] [PATCH v5 4/9] ARM: at91: spl: Add mck function to lower rate while switching

2017-09-12 Thread Simon Glass
On 12 September 2017 at 20:10, Wenyou Yang wrote: > Refer to the commit 70f8c8316ad(PMC: add new mck function to lower > rate while switching) from AT91Bootstrap. > > While switching to a lower clock source, we must switch the clock > source first instead of last. Otherwise, we could end up with >

Re: [U-Boot] [PATCH v5 2/9] atmel: common: Add function to display via DM_VIDEO's API

2017-09-12 Thread Simon Glass
On 12 September 2017 at 20:10, Wenyou Yang wrote: > Add a function to display the company's logo and board information > via the API from DM_VIDEO. This function can be shared by other > atmel boards, so locate it in board/atmel/common folder. > > Signed-off-by: Wenyou Yang > --- > > Changes in v

Re: [U-Boot] [RESEND PATCH 2/6] rockchip: xhci: Convert to livetree

2017-09-12 Thread Simon Glass
On 12 September 2017 at 09:32, Philipp Tomsich wrote: > Update the Rockchip xhci wrapper driver to support a live device tree. > > Signed-off-by: Philipp Tomsich > --- > > drivers/usb/host/xhci-rockchip.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) Reviewed-by: Simon Glass _

Re: [U-Boot] [PATCH v2 03/14] usb: gadget: Move USBNET_HOST_ADDR to Kconfig

2017-09-12 Thread Simon Glass
On 12 September 2017 at 13:01, Maxime Ripard wrote: > While the USB Ethernet device address is already defined in Kconfig, the > host address isn't. Convert it. > > Signed-off-by: Maxime Ripard > --- > configs/am335x_baltos_defconfig| 1 + > configs/am335x_boneblack_defconfig | 1 + >

Re: [U-Boot] [PATCH v5 9/9] board: atmel: Add SAMA5D27 SOM1 EK board

2017-09-12 Thread Simon Glass
On 12 September 2017 at 20:10, Wenyou Yang wrote: > From: Wenyou Yang > > The SAMA5D27-SiP (System in Package) integrates the SAMA5D2 > with 1Gbit DDR2-SDRAM in a single package. > > The SAMA5D27 SOM1 embeds a 64Mbit QSPI flash, KSZ8081 Phy and > Mac-address EEPROM. > > Signed-off-by: Wenyou Yang

Re: [U-Boot] [RESEND PATCH 1/6] rockchip: clk: rk3399: Convert to livetree

2017-09-12 Thread Simon Glass
On 12 September 2017 at 09:32, Philipp Tomsich wrote: > Update the clock driver for the RK3399 to support a live device tree. > > Signed-off-by: Philipp Tomsich > --- > > drivers/clk/rockchip/clk_rk3399.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Simon Glass ___

Re: [U-Boot] [RESEND PATCH 3/6] rockchip: efuse: change to use dev_read_addr_ptr

2017-09-12 Thread Simon Glass
On 12 September 2017 at 09:32, Philipp Tomsich wrote: > With the dev_read_addr_ptr function available, we can change the > efuse driver to use it (and eliminate the explicit type-cast). > > Signed-off-by: Philipp Tomsich > --- > > drivers/misc/rockchip-efuse.c | 2 +- > 1 file changed, 1 inserti

Re: [U-Boot] [RESEND PATCH 6/6] rockchip: defconfig: puma-rk3399: enable OF_LIVE (live tree)

2017-09-12 Thread Simon Glass
On 12 September 2017 at 09:32, Philipp Tomsich wrote: > With the critical drivers ready for switching to a live tree, we can > not enable it in the defconfig for the RK3399-Q7. > > Signed-off-by: Philipp Tomsich > --- > > configs/puma-rk3399_defconfig | 1 + > 1 file changed, 1 insertion(+) Rev

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

2017-09-12 Thread Simon Glass
Hi Andy, On 12 September 2017 at 07:58, Andy Yan wrote: > Enter download mode if the download key pressed. > > Signed-off-by: Andy Yan > --- > > arch/arm/mach-rockchip/boot_mode.c | 27 ++- > board/rockchip/evb_rk3399/evb-rk3399.c | 28 >

Re: [U-Boot] [PATCH 2/3] rockchip: add support for backing to bootrom download mode

2017-09-12 Thread Simon Glass
Hi Andy, On 12 September 2017 at 07:57, Andy Yan wrote: > Rockchip bootrom will enter download mode if it returns from > spl/tpl with a none-zero value and couldn't find a valid image > in the backup partition. > This patch provide a method to instruct the system to back to > bootrom download mod

Re: [U-Boot] [PATCH v5 1/9] lib: at91: Add logo files used via API of DM_VIDEO

2017-09-12 Thread Simon Glass
On 12 September 2017 at 20:10, Wenyou Yang wrote: > From: Wenyou Yang > > In order to display the company's logo via the API of DM_VIDEO, > and add the logo files of both Atmel and Microchip. > > Signed-off-by: Wenyou Yang > --- > > Changes in v5: None > Changes in v4: None > Changes in v3: None

Re: [U-Boot] [PATCH v2 05/14] usb: gadget: usb_ether: Move the interfaces to Kconfig

2017-09-12 Thread Simon Glass
On 12 September 2017 at 13:01, Maxime Ripard wrote: > We need to select an interface for the usb_ether gadget, and they haven't > been converted to Kconfig yet. Add a choice to make sure we have an option > selected, and convert all the users. > > Signed-off-by: Maxime Ripard > --- > configs/gwv

Re: [U-Boot] [RESEND PATCH 5/6] usb: host: ehci-generic: convert to livetree

2017-09-12 Thread Simon Glass
On 12 September 2017 at 09:32, Philipp Tomsich wrote: > Update the generic EHCI driver to support a live tree. > > Signed-off-by: Philipp Tomsich > --- > > drivers/usb/host/ehci-generic.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass _

Re: [U-Boot] [RESEND PATCH 1/2] rockchip: clk: rk3399: add clk_enable function and support USB HOST0/1

2017-09-12 Thread Simon Glass
On 12 September 2017 at 09:30, Philipp Tomsich wrote: > 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 a

Re: [U-Boot] [PATCH v5 08/10] fdtdec: sort include files

2017-09-12 Thread Simon Glass
Hi Jean-Jacques, On 12 September 2017 at 08:45, Jean-Jacques Hiblot wrote: > Sort include files in accordance to U-Boot coding style. > > Signed-off-by: Jean-Jacques Hiblot > --- > lib/fdtdec.c | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/lib/fdtdec.c b/li

Re: [U-Boot] [PATCH v2 04/14] usb: gadget: Convert USB_ETHER to Kconfig

2017-09-12 Thread Simon Glass
On 12 September 2017 at 13:01, Maxime Ripard wrote: > The USB Ethernet gadget option has not yet been moved to Kconfig, let's > deal with that. > > Signed-off-by: Maxime Ripard > --- > configs/am335x_baltos_defconfig | 1 + > configs/am335x_boneblack_defconfig | 1 + > configs/a

Re: [U-Boot] [PATCH] fs/fat: fix fatbuf leak

2017-09-12 Thread Simon Glass
On 12 September 2017 at 14:40, Rob Clark wrote: > A new fatbuf was allocated by get_fs_info() (called by fat_itr_root()), > but not freed, resulting in eventually running out of memory. Spotted > by running 'ls -r' in a large FAT filesystem from Shell.efi. > > fatbuf is mainly used to cache FAT e

Re: [U-Boot] [PATCH 2/2] rockchip: dts: rk3399-puma: replace 'rockchip, vbus-gpio' with fixed regulator

2017-09-12 Thread Simon Glass
On 11 September 2017 at 09:29, Philipp Tomsich wrote: > On the RK3399-Q7, we need to turn on the on-module USB hub before using the > USB host interfaces (only the OTG interface is directly connected to the edge > connector). This drops the deprecated 'rockchip,vbus-gpio' property and uses > a fi

Re: [U-Boot] [PATCH V2] dm: gpio: Add DM compatibilty to GPIO driver for Davinci

2017-09-12 Thread Simon Glass
Hi Adam, On 12 September 2017 at 21:28, Adam Ford wrote: > This adds DM compatibility for the davinici GPIO driver. > Tested on da850-evm. > > Signed-off-by: Adam Ford > --- > V2: The bank calculation needs to take into account the size of the struct > Whitespace fixes > > arch/arm/mach-d

Re: [U-Boot] [RESEND PATCH 2/2] rockchip: dts: rk3399-puma: replace 'rockchip, vbus-gpio' with fixed regulator

2017-09-12 Thread Simon Glass
On 12 September 2017 at 09:30, Philipp Tomsich wrote: > On the RK3399-Q7, we need to turn on the on-module USB hub before using the > USB host interfaces (only the OTG interface is directly connected to the edge > connector). This drops the deprecated 'rockchip,vbus-gpio' property and uses > a fi

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

2017-09-12 Thread Simon Glass
On 12 September 2017 at 14:27, Adam Ford wrote: > This converts the following to Kconfig: >CONFIG_EMIF4 >CONFIG_SDRC > > Signed-off-by: Adam Ford > --- > arch/arm/mach-omap2/omap3/Kconfig | 15 +++ > configs/am3517_crane_defconfig| 1 + > configs/am3517_evm_defconfig

Re: [U-Boot] [PATCH 07/10] rockchip: puma-rk3399: update board_init()

2017-09-12 Thread Simon Glass
On 11 September 2017 at 05:59, Philipp Tomsich wrote: > The original initialisation code for board_init() was largely lifted > from the code on the EVB. However, the RK3399-Q7 can do with a much > more concise init sequence. > > This cleans up the board_init() by updating it to the essentials for

Re: [U-Boot] [PATCH v2 02/14] usb: gadget: Document USBNET_DEVADDR

2017-09-12 Thread Simon Glass
On 12 September 2017 at 13:01, Maxime Ripard wrote: > Add an help about the USBNET_DEVADDR Kconfig option to make it clearer what > it's about. > > Signed-off-by: Maxime Ripard > --- > drivers/usb/gadget/Kconfig | 3 +++ > 1 file changed, 3 insertions(+) Reviewed-by: Simon Glass __

Re: [U-Boot] [RESEND PATCH 4/6] usb: dwc2: convert to livetree

2017-09-12 Thread Simon Glass
On 12 September 2017 at 09:32, Philipp Tomsich wrote: > Update the DWC2 USB driver to support a live tree. > > Signed-off-by: Philipp Tomsich > --- > > drivers/usb/host/dwc2.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Simon Glass ___

Re: [U-Boot] [PATCH 08/10] rockchip: rk3399-puma: add boot-on regulator to override BIOS_DISABLE

2017-09-12 Thread Simon Glass
On 11 September 2017 at 05:59, Philipp Tomsich wrote: > The (Qseven) BIOS_DISABLE signal on the RK3399-Q7 (Puma) keeps the > eMMC and SPI in reset initially and we need to write a GPIO to turn > them on before continuing the boot-up. > > This adds the DTS entries for the additional regulator and m

Re: [U-Boot] [PATCH 03/10] rockchip: spl: add documentation for spl_node_to_boot_device()

2017-09-12 Thread Simon Glass
On 11 September 2017 at 05:59, Philipp Tomsich wrote: > In the expectation that the spl-boot-order code will eventually > gain use outside of mach-rockchip: let's add documentation on the > spl_node_to_boot_device() function, which is likely to become a > publicly exported function. > > Signed-off

Re: [U-Boot] [PATCH 1/2] rockchip: clk: rk3399: add clk_enable function and support USB HOST0/1

2017-09-12 Thread Simon Glass
On 11 September 2017 at 09:29, Philipp Tomsich wrote: > 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 a

Re: [U-Boot] [PATCH 1/3] rockchip: make boot_mode releated codes reused across all platforms

2017-09-12 Thread Simon Glass
On 12 September 2017 at 07:57, 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 mode register address setting from > the confi

Re: [U-Boot] [PATCH 04/10] rockchip: spl: support a 'same-as-spl'-specifier in the spl-boot-order

2017-09-12 Thread Simon Glass
On 11 September 2017 at 05:59, Philipp Tomsich wrote: > It is often desirable to configure the spl-boot-order (i.e. the order > that SPL probes devices to find the FIT image containing a full U-Boot) > such that it contains 'the same device the SPL stage was booted from' > early on. To support th

Re: [U-Boot] [PATCH 09/10] power: spl: add SPL_DM_REGULATOR_FIXED in Kconfig

2017-09-12 Thread Simon Glass
On 11 September 2017 at 05:59, Philipp Tomsich wrote: > The Makefile already tests for SPL_DM_REGULATOR_FIXED, but Kconfig > does not provide it. This adds SPL_DM_REGULATOR_FIXED to Kconfig. > > Signed-off-by: Philipp Tomsich > --- > > drivers/power/regulator/Kconfig | 7 +++ > 1 file chang

Re: [U-Boot] [PATCH 10/10] rockchip: defconfig: puma-rk3399: update for DM_REGULATOR support in SPL

2017-09-12 Thread Simon Glass
On 11 September 2017 at 05:59, Philipp Tomsich wrote: > The RK3399-Q7 requires DM regulator support in SPL, so we can use the > regulator framework to reenable the eMMC and SPI, if these had been > turned of by the BIOS_DISABLE signal. > > Signed-off-by: Philipp Tomsich > --- > > configs/puma-rk

Re: [U-Boot] [PATCH 06/10] rockchip: dts: rk3399-puma: add 'same-as-spl' to the front of the boot-order

2017-09-12 Thread Simon Glass
On 11 September 2017 at 05:59, Philipp Tomsich wrote: > In the general case, we want to continue booting the full U-Boot > (contained in a discoverable FIT image) from the same device the SPL > stage was loaded from. This prepends the 'same-as-spl' specifier to > our configurable boot-order to ma

Re: [U-Boot] [PATCH 02/10] rockchip: bootrom: add definitions to retrieve BROM boot-source

2017-09-12 Thread Simon Glass
On 11 September 2017 at 05:59, Philipp Tomsich wrote: > The Rockchip BROM allows reading where it booted from from SRAM. > This adds the necessary definitions (as received from Kever) for > the location of this information in the RK3399's SRAM and naming > for the constants used. > > Signed-off-by

Re: [U-Boot] [PATCH 05/10] rockchip: spl: rk3399: implement chip-specific board_spl_was_booted_from()

2017-09-12 Thread Simon Glass
On 11 September 2017 at 05:59, Philipp Tomsich wrote: > To support the new "same-as-spl" specifier in the boot-order on the > RK3399, this implements the chip-specific mapping from the information > obtainable from the BROM to a OF path name. > > Signed-off-by: Philipp Tomsich > --- > > arch/arm

Re: [U-Boot] [PATCH 01/10] rockchip: rk3399: make spl_board_init board-specific

2017-09-12 Thread Simon Glass
Hi Philipp, On 11 September 2017 at 05:59, Philipp Tomsich wrote: > > The later-stage spl_board_init (as opposed to board_init_f) should set > up board-specific details: these differ between the EVB-RK3399 and the > RK3399-Q7 (Puma). > > This moves spl_board_init back into the individual boards a

[U-Boot] [PATCH V2] dm: gpio: Add DM compatibilty to GPIO driver for Davinci

2017-09-12 Thread Adam Ford
This adds DM compatibility for the davinici GPIO driver. Tested on da850-evm. Signed-off-by: Adam Ford --- V2: The bank calculation needs to take into account the size of the struct Whitespace fixes arch/arm/mach-davinci/include/mach/gpio.h | 14 +- board/davinci/da8xxevm/da850evm.c

Re: [U-Boot] Compile failure encountered on latest (2017-07-20) git://git.denx.de/u-boot-usb.git branch master for target ls1021atwr_nor_defconfig

2017-09-12 Thread Bin Meng
Hi Ran, On Wed, Jul 26, 2017 at 3:58 PM, Ran Wang wrote: > Hi Bin > >> -Original Message- >> From: Bin Meng [mailto:bmeng...@gmail.com] >> Sent: Wednesday, July 26, 2017 3:56 PM >> To: Ran Wang >> Cc: Marek Vasut ; Patrice Chotard ; >> Simon Glass ; Masahiro Yamada >> ; Jiafei Pan ; u- >

Re: [U-Boot] [RFC 1/1] efi_loader: fix building of helloworld.efi on x86_64

2017-09-12 Thread Heinrich Schuchardt
On 09/12/2017 03:24 PM, Bin Meng wrote: > Hi Heinrich, > > On Tue, Sep 12, 2017 at 4:18 PM, Heinrich Schuchardt > wrote: >> On 09/12/2017 05:00 AM, Bin Meng wrote: >>> Hi Heinrich, >>> >>> On Sun, Sep 10, 2017 at 4:55 PM, Heinrich Schuchardt >>> wrote: Variable EFI_LDS is set based on CON

[U-Boot] [PATCH] ARM: zynq: Add support for SYZYGY Hub board

2017-09-12 Thread Tom McLeod
Add the Zynq-based SYZYGY Hub board from Opal Kelly. The board contains a Xilinx Zynq xc7z012s SoC, 1GB DDR3 RAM, and supports booting from SD. Signed-off-by: Tom McLeod --- arch/arm/dts/Makefile |1 + arch/arm/dts/zynq-syzygy-hub.dts | 72 ++

Re: [U-Boot] [PATCH] arm: am33xx: Make pin multiplexing functions optional

2017-09-12 Thread Tom Rini
On Tue, Sep 12, 2017 at 02:05:01PM +0200, Felix Brack wrote: > > > On 07.09.2017 17:14, Tom Rini wrote: > > On Wed, Sep 06, 2017 at 04:57:52PM +0200, Felix Brack wrote: > >> On 01.09.2017 17:21, Tom Rini wrote: > >>> On Thu, Aug 31, 2017 at 03:16:17PM +0200, Felix Brack wrote: > >>> > Boards

Re: [U-Boot] Uboot send pull request

2017-09-12 Thread Tom Rini
On Wed, Sep 13, 2017 at 09:39:10AM +0800, ub...@andestech.com wrote: > Hi Tom, > > Please pull the following patch from u-boot-nds32 into your tree. > Thanks! > > The following changes since commit 8a33cb8b6bdf8a35f931fcc3d8aa15254cfc4b23: > > Merge git://git.denx.de/u-boot-fsl-qoriq (2017

[U-Boot] [PATCH 1/1] checkpatch.pl: Add warning for new __packed additions

2017-09-12 Thread Heinrich Schuchardt
While there are valid reasons to use __packed, often the answer is that you should be doing something else here instead. This reintroduces the changes of f503cc49a570 (Add warning for new __packed additions) Signed-off-by: Heinrich Schuchardt --- This patch is to go after [PATCH v2 1/1] checkpat

Re: [U-Boot] [PATCH 1/3] armv8: ls1088a: fix the MMU table for pcie config space

2017-09-12 Thread York Sun
On 09/03/2017 08:05 PM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > The pcie config space of ls1088a is different from ls2080a. > > Signed-off-by: Hou Zhiqiang > --- Applied to fsl-qoriq master. Thanks. York ___ U-Boot mailing list U-Boot@lists.den

Re: [U-Boot] patman complains "ConfigParser.NoSectionError: No section: 'bounces'"

2017-09-12 Thread Simon Glass
+Tom Hi Bin, On 12 September 2017 at 19:53, Bin Meng wrote: > > Hi, > > With commit e11aa602abd3e8007dfd3ed23ebb829101abcfec: patman: add > support for omitting bouncing addresses, running patman it complains: > > Traceback (most recent call last): > File "./tools/patman/patman", line 18, in

Re: [U-Boot] [PATCH v5 6/9] armv7: Add workaround for USB erratum A-009008

2017-09-12 Thread York Sun
On 09/04/2017 04:04 AM, Ran Wang wrote: > USB High Speed (HS) EYE Height Adjustment > USB HS speed eye diagram fails with the default value at > many corners, particularly at a high temperature > > Optimal eye at TXREFTUNE value to 0x9 is observed, change > set the same value. > > Signed-off-by:

Re: [U-Boot] [PATCH 5/5] x86: fsp: Configure SPI opcode registers before SPI is locked down

2017-09-12 Thread Simon Glass
Hi Bin, On 12 September 2017 at 07:53, Bin Meng wrote: > Hi Simon, > > On Wed, Sep 6, 2017 at 9:39 AM, Simon Glass wrote: >> Hi Bin, >> >> On 26 August 2017 at 18:12, Bin Meng wrote: >>> Hi Simon, >>> >>> On Sun, Aug 27, 2017 at 6:40 AM, Simon Glass wrote: Hi Bin, On 26 August 2

Re: [U-Boot] [PATCH] rockchip: rk3399: spl: convert to using BOOT_DEVICE_BOOTROM

2017-09-12 Thread Simon Glass
On 11 September 2017 at 04:48, Philipp Tomsich wrote: > Instead of directly calling into the back-to-bootrom code, the RK3399 > common SPL implementation now uses BOOT_DEVICE_BOOTROM to trigger a > transfer back into the bootrom. > > With this factored out, the spl_board_init function can not be >

Re: [U-Boot] [PATCH v5 5/9] armv8: Add workaround for USB erratum A-009007

2017-09-12 Thread York Sun
On 09/04/2017 04:04 AM, Ran Wang wrote: > Rx Compliance tests may fail intermittently at high > jitter frequencies using default register values. > > Program register USB_PHY_RX_OVRD_IN_HI in certain sequence > to make the Rx compliance test pass. > > Signed-off-by: Sriram Dash > Signed-off-by:

Re: [U-Boot] cosmetic: bootcount: correct comment for used scratch register

2017-09-12 Thread Tom Rini
On Thu, Aug 03, 2017 at 09:16:54AM +0300, Tomas Melin wrote: > Signed-off-by: Tomas Melin Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listi

Re: [U-Boot] [U-Boot, v2, 1/2] armv8: mmu: remove unused macro definition

2017-09-12 Thread Tom Rini
On Thu, Aug 17, 2017 at 03:55:01PM +0800, Andy Yan wrote: > Macro VA_BITS and PTE_BLOCK_BITS are not used > in the code, so remove them. > > Signed-off-by: Andy Yan > Reviewed-by: Philipp Tomsich > Reviewed-by: York Sun Applied to u-boot/master, thanks! -- Tom signature.asc Description: D

Re: [U-Boot] [PATCH 11/13] x86: braswell: Add FSP configuration

2017-09-12 Thread Simon Glass
Hi Bin, On 12 September 2017 at 09:20, Bin Meng wrote: > Hi Simon, > > On Wed, Sep 6, 2017 at 9:39 AM, Simon Glass wrote: >> Hi Bin, >> >> On 26 August 2017 at 18:10, Bin Meng wrote: >>> Hi Simon, >>> >>> On Sun, Aug 27, 2017 at 6:39 AM, Simon Glass wrote: Hi Bin, On 26 August 2

Re: [U-Boot] [PATCH v5 3/9] armv8: Add workaround for USB erratum A-009798

2017-09-12 Thread York Sun
On 09/04/2017 04:04 AM, Ran Wang wrote: > The default setting for USB High Speed Squelch Threshold results > in a threshold close to or lower than 100mV. This leads to Receiver > Compliance test failure for a 100mV threshold. > > Shift the threshold from ~100mV towards ~130mV by setting SQRXTUNE >

Re: [U-Boot] [U-Boot, 1/2] ARM: OMAP3: am3517_evm: Move header to ti_omap3_common.h

2017-09-12 Thread Tom Rini
On Tue, Aug 22, 2017 at 10:50:01AM -0500, Adam Ford wrote: > Much of the AM3517 functions are copies of the standard definitions > used in ti_omap3_common.h. Moving to include a common file > reduces the amount of duplicative code and clutter. A few > AM3517 specific functions (like EMIF4) are e

Re: [U-Boot] [U-Boot, 2/2] misc: i2c_eeprom: Add compatible for AT24MAC402

2017-09-12 Thread Tom Rini
On Mon, Jul 31, 2017 at 11:25:31AM +0800, Wenyou Yang wrote: > Add the new compatible "atmel,24mac402" to accommodate AT24MAC402. > The AT24MAC402 is a 2K Serial EEPROM and the 2-Kbit memory array > is internally organized as 16 pages of 16 bytes of EEPROM each. > The 48-bit EUI address in the AT2

Re: [U-Boot] linux/io.h: import generic ioread* / iowrite* accessors from Linux

2017-09-12 Thread Tom Rini
On Sat, Aug 26, 2017 at 01:02:39AM +0900, Masahiro Yamada wrote: > Some drivers in Linux (ex. drivers/mtd/nand/denali.c) use > ioread*/iowrite* accessors. Import them to make drivers more > synced. I copied code from include/asm-generic/io.h of Linux. > > Signed-off-by: Masahiro Yamada Applie

Re: [U-Boot] [PATCH v2 15/19] rockchip: i2c: Convert to livetree

2017-09-12 Thread Simon Glass
On 11 September 2017 at 03:18, Philipp Tomsich wrote: > Update the Rockchip I2C driver to support livetree. > > Signed-off-by: Philipp Tomsich > Reviewed-by: Simon Glass > Acked-by: Philipp Tomsich > > Version-changes: 2 > - use the dev_read_addr_ptr function in rk_i2c.c > > --- > > Changes in

Re: [U-Boot] [PATCH v5 7/9] armv7: Add workaround for USB erratum A-009798

2017-09-12 Thread York Sun
On 09/04/2017 04:04 AM, Ran Wang wrote: > The default setting for USB High Speed Squelch Threshold results > in a threshold close to or lower than 100mV. This leads to Receive > Compliance test failure for a 100mV threshold. > > Shift the threshold from ~100mV towards ~130mV by setting SQRXTUNE >

Re: [U-Boot] [PATCH v5 9/9] armv7: Add workaround for USB erratum A-009007

2017-09-12 Thread York Sun
On 09/04/2017 04:04 AM, Ran Wang wrote: > Rx Compliance tests may fail intermittently at high > jitter frequencies using default register values > > Program register USB_PHY_RX_OVRD_IN_HI in certain sequence > to make the Rx compliance test pass. > > Signed-off-by: Sriram Dash > Signed-off-by: R

Re: [U-Boot] [PATCH v5 2/9] armv8: Add workaround for USB erratum A-009008

2017-09-12 Thread York Sun
On 09/04/2017 04:04 AM, Ran Wang wrote: > USB High Speed (HS) EYE Height Adjustment > USB HS speed eye diagram fails with the default value at > many corners, particularly at a high temperature > > Optimal eye at TXREFTUNE value to 0x9 is observed, change > set the same value. > > Signed-off-by:

Re: [U-Boot] [PATCH v5 8/9] armv7: Add workaround for USB erratum A-008997

2017-09-12 Thread York Sun
On 09/04/2017 04:04 AM, Ran Wang wrote: > Low Frequency Periodic Singaling (LFPS) Peak-to-Peak Differential > Output Voltage Test Compliance fails using default transmitter settings > > Change config of transmitter signal swings by setting register > PCSTXSWINGFULL to 0x47 to pass compliance tests

Re: [U-Boot] [PATCH v5 4/9] armv8: Add workaround for USB erratum A-008997

2017-09-12 Thread York Sun
On 09/04/2017 04:04 AM, Ran Wang wrote: > Low Frequency Periodic Signaling(LFPS) Peak-to-Peak Differential > Output Voltage Test Compliance fails using default transmitter > settings > > Change config of transmitter signal swings by setting register > PCSTXSWINGFULL to 0x47 to pass compliance test

Re: [U-Boot] [PATCH v3 1/2] armv8: fsl-layerscape: Support to add RGMII for ls1088aqds

2017-09-12 Thread York Sun
On 08/31/2017 04:07 AM, Ashish Kumar wrote: > This patch adds support for RGMII protocol > > NXP's LDPAA2 support RGMII protocol. LS1088A is the > first Soc supporting both RGMII and SGMII. > > Signed-off-by: Prabhakar Kushwaha > Signed-off-by: Amrita Kumari > Signed-off-by: Ashish Kumar > ---

Re: [U-Boot] [U-Boot, 1/2] misc: i2c_eeprom: Add compatible for 24AA02E48

2017-09-12 Thread Tom Rini
On Mon, Jul 31, 2017 at 11:25:30AM +0800, Wenyou Yang wrote: > Add the new compatible "microchip,24aa02e48" to accommodate 24AA02E48, > the 24AA02E48 is a 2K I2C Serial EEPROM with pre-programmed globally > unique, 48-bit node address, and 8-byte page size. > > Signed-off-by: Wenyou Yang Applie

Re: [U-Boot] [PATCH 3/3] armv8: ls1088a: Enable PCIe in defconfigs

2017-09-12 Thread York Sun
On 09/03/2017 08:05 PM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > Enabled PCIe support and PCI command feature. > > Signed-off-by: Hou Zhiqiang > --- Applied to fsl-qoriq master. Thanks. York ___ U-Boot mailing list U-Boot@lists.denx.de https:/

Re: [U-Boot] [PATCH v3 2/2] armv8: ls1088aqds: Add support of EC1 and EC2

2017-09-12 Thread York Sun
On 08/31/2017 04:07 AM, Ashish Kumar wrote: > From: Prabhakar Kushwaha > > EC1 and EC2 are RGMII interface on ls1088aqds platform. > This patch add support of RGMII with PHY and MDIO > > Signed-off-by: Prabhakar Kushwaha > Signed-off-by: Amrita Kumari > Signed-off-by: Ashish Kumar > --- > v3:

Re: [U-Boot] [PATCH v5 1/9] armv8: Add scfg_clrsetbits_32(), scfg_clrbits_32()

2017-09-12 Thread York Sun
On 09/04/2017 04:04 AM, Ran Wang wrote: > Some erratum patch might need it to program registers. > > Signed-off-by: Ran Wang > --- > Change in v4: > New patch file Applied to fsl-qoriq master. Thanks. York ___ U-Boot mailing list U-Boot@lists.de

Re: [U-Boot] [U-Boot,v2,2/2] armv8: mmu: add space around operator

2017-09-12 Thread Tom Rini
On Thu, Aug 17, 2017 at 03:55:50PM +0800, Andy Yan wrote: > Add space around operator "+", make it > match the coding style. > > Signed-off-by: Andy Yan > Reviewed-by: Philipp Tomsich > Reviewed-by: York Sun Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signa

[U-Boot] [PATCH] patman: Fix error when the email blacklist is missing

2017-09-12 Thread Simon Glass
This section of the settings file may be missing. Handle that gracefully rather than emitting an error. Also update patman to write this section when a new settings file is created. Fixes: e11aa602 (patman: add support for omitting bouncing addresses) Signed-off-by: Simon Glass --- tools/patm

Re: [U-Boot] [PATCH 2/3] armv8: ls1088a: add PCIe dts node

2017-09-12 Thread York Sun
On 09/03/2017 08:05 PM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > Signed-off-by: Hou Zhiqiang > --- Applied to fsl-qoriq master. Thanks. York ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH] armv8: fsl-layerscape: Fix MC reserved memory calculation

2017-09-12 Thread York Sun
On 09/07/2017 01:17 PM, York Sun wrote: > In case high region memory doesn't have enough space for Management > Complex (MC), the return value should indicate a failure so the > caller can handle it accordingly. > > Signed-off-by: York Sun > Reported-by: Ebony Zhu > --- Applied to fsl-qoriq mas

Re: [U-Boot] [PATCH] armv8: fsl-layerscape: Add back L3 flushing for all exception levels

2017-09-12 Thread York Sun
On 09/10/2017 09:48 PM, York Sun wrote: > CCN-504 HPF registers were believed to be accessible only from EL3. > However, recent tests proved otherwise. Remove checking for exception > level to re-enable L3 cache flushing for all levels. > > Signed-off-by: York Sun > --- Applied to fsl-qoriq mast

Re: [U-Boot] dma: import linux/dma-direction.h to consolidate enum dma_data_direction

2017-09-12 Thread Tom Rini
On Sat, Aug 26, 2017 at 12:50:17AM +0900, Masahiro Yamada wrote: > Import include/linux/dma-direction.h from Linux 4.13-rc7 and delete > duplicated definitions of enum dma_data_direction. > > Signed-off-by: Masahiro Yamada > Reviewed-by: Andy Shevchenko Applied to u-boot/master, thanks! -- T

Re: [U-Boot] ARM: DRA72x: Add support for detection of DRA71x SR 2.1

2017-09-12 Thread Tom Rini
On Sat, Aug 26, 2017 at 04:51:22PM -0500, Vishal Mahaveer wrote: > DRA71x processors are reduced pin and software compatible > derivative of DRA72 processors. Add support for detection > of SR2.1 version of DRA71x family of processors. > > Signed-off-by: Vishal Mahaveer > Reviewed-by: Lokesh Vut

Re: [U-Boot] [U-Boot,1/3] image: Add TI PMMC image type

2017-09-12 Thread Tom Rini
On Mon, Jul 31, 2017 at 10:58:20AM -0500, Andrew F. Davis wrote: > Add a new image type representing TI Power Management > Micro-Controller (PMMC) Firmware image type. > > Signed-off-by: Andrew F. Davis Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot, 2/2] omap3: am3517_evm: Enable TI_COMMON_CMD_OPTION

2017-09-12 Thread Tom Rini
On Tue, Aug 22, 2017 at 10:50:02AM -0500, Adam Ford wrote: > Enable TI_COMMON_CMD_OPTIONS and remove similar options > from the defconfig. Updated with savedefconfig. > > Signed-off-by: Adam Ford > Tested-by: Derald D. Woods Applied to u-boot/master, thanks! -- Tom signature.asc Descriptio

Re: [U-Boot] [U-Boot,v2,5/5] examples: add fallback memcpy

2017-09-12 Thread Tom Rini
On Sat, Sep 09, 2017 at 06:47:43AM -0400, Rob Clark wrote: > Solves build issue: > > Building current source for 134 boards (12 threads, 1 job per thread) > arm: + lsxhl > +examples/api/vsprintf.o: In function `string16': > +lib/vsprintf.c:278: undefined reference to `memcpy' >

Re: [U-Boot] [U-Boot, 2/3] ARM: k2g: Add FIT image handler for PMMC firmware

2017-09-12 Thread Tom Rini
On Mon, Jul 31, 2017 at 10:58:21AM -0500, Andrew F. Davis wrote: > The PMMC firmware should be bundled into a FIT image on HS > devices to allow authentication/decryption, add a handler to > process this PMMC firmware. > > Signed-off-by: Andrew F. Davis Applied to u-boot/master, thanks! -- To

Re: [U-Boot] [PATCH v5 2/3] armv8: ls1088ardb: Add support for LS1088ARDB platform

2017-09-12 Thread York Sun
On 08/31/2017 03:43 AM, Ashish Kumar wrote: > LS1088A is an ARMv8 implementation. The LS1088ARDB is an evaluatoin > platform that supports the LS1088A family SoCs. This patch add basic > support of the platform. > > Signed-off-by: Alison Wang > Signed-off-by: Prabhakar Kushwaha > Signed-off-by:

Re: [U-Boot] davinci: da850-evm: switch to using TI_COMMON_CMD_OPTIONS

2017-09-12 Thread Tom Rini
On Fri, Aug 25, 2017 at 01:51:01PM -0500, Adam Ford wrote: > Like the OMAP-L138 LCDK before it, let's move the da850-evm and > the variations to TI_COMMON_CMD_OPTIONS to cut back one some of the > defconfig entries. > > Signed-off-by: Adam Ford Applied to u-boot/master, thanks! -- Tom signa

Re: [U-Boot] [U-Boot,v2,4/5] vsprintf.c: add GUID printing

2017-09-12 Thread Tom Rini
On Sat, Sep 09, 2017 at 06:47:42AM -0400, Rob Clark wrote: > This works (roughly) the same way as linux's, but we currently always > print lower-case (ie. we just keep %pUB and %pUL for compat with linux), > mostly just because that is what uuid_bin_to_str() supports. > > %pUb: 01020304-0506-

Re: [U-Boot] [U-Boot, v2, 3/5] vsprintf.c: add UTF-16 string (%ls) support

2017-09-12 Thread Tom Rini
On Sat, Sep 09, 2017 at 06:47:41AM -0400, Rob Clark wrote: > This is convenient for efi_loader which deals a lot with UTF-16. Only > enabled with CC_SHORT_WCHAR, leaving room to add a UTF-32 version when > CC_SHORT_WCHAR is not enabled. > > Signed-off-by: Rob Clark > Reviewed-by: Simon Glass >

Re: [U-Boot] [PATCH] armv8: fsl: Use correct conditional compile for ls1012a

2017-09-12 Thread York Sun
On 08/27/2017 07:57 PM, Ran Wang wrote: > According current code base, CONFIG_LS1012A should be > CONFIG_ARCH_LS1012A, or function fsl_fdt_disable(blob) will be > wrongly called to disable all dwc3 USB nodes on LS1012A, which > cause Linux USB function stop working at all. > > Signed-off-by: Ran W

Re: [U-Boot] [PATCH v5 1/3] armv8: ls1088a: Add NXP LS1088A SoC support

2017-09-12 Thread York Sun
On 08/31/2017 03:43 AM, Ashish Kumar wrote: > The QorIQ LS1088A processor is built on the Layerscape > architecture combining eight ARM A53 processor cores > with advanced, high-performance datapath acceleration > and networks, peripheral interfaces required for > networking, wireless infrastructur

Re: [U-Boot] [U-Boot, 3/3] configs: k2g_evm: Remove PMMC loading environment commands

2017-09-12 Thread Tom Rini
On Mon, Jul 31, 2017 at 10:58:22AM -0500, Andrew F. Davis wrote: > The PMMC firmware should be bundled with the FIT image for HS devices, > remove the steps that load and install this firmware outside of FIT. > > Signed-off-by: Andrew F. Davis Applied to u-boot/master, thanks! -- Tom signat

Re: [U-Boot] [PATCH] armv8: fsl-lsch3: Make CCN-504 related code conditional

2017-09-12 Thread York Sun
On 08/17/2017 10:24 PM, Ashish Kumar wrote: > LS2080 family has CCN-504 cache coherent interconnet. > Other SoCs from LSCH3 may have differnt interconnect like > LS1088. > > Signed-off-by: Ashish Kumar > Signed-off-by: Prabhakar Kushwaha > --- Revised commit message. Applied to fsl-qoriq master

Re: [U-Boot] [PATCH v5 3/3] armv8: ls1088aqds: Add support of LS1088AQDS

2017-09-12 Thread York Sun
On 08/31/2017 03:43 AM, Ashish Kumar wrote: > This patch add support of LS1088AQDS platform. > > The LS1088A QorIQTM Development System (QDS) is a > high-performance computing, evaluation, and > development platform that supports the LS1088A QorIQ Architecture > processor. > > Signed-off-by: Prab

Re: [U-Boot] [U-Boot,v2,2/5] lib: add some utf16 handling helpers

2017-09-12 Thread Tom Rini
On Sat, Sep 09, 2017 at 06:47:40AM -0400, Rob Clark wrote: > We'll eventually want these in a few places in efi_loader, and also > vsprintf. > > Signed-off-by: Rob Clark Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot,v2,1/5] kbuild: Enable -fshort-wchar

2017-09-12 Thread Tom Rini
On Sat, Sep 09, 2017 at 06:47:39AM -0400, Rob Clark wrote: > EFI_LOADER really wants UTF-16 strings (ie. %ls and L"string" are 16bit > chars instead of 32bit chars). But rather than enabling -fshort-wchar > conditionally if EFI_LOADER is enabled, it was deemed preferrable to > globally switch. >

Re: [U-Boot] [PATCH][v2]drivers:net:fsl-mc: Update MC address calculation

2017-09-12 Thread York Sun
On 08/24/2017 04:14 AM, Priyanka Jain wrote: > Update MC address calculation as per MC design requirement > of address as least significant 512MB address > of MC private allocated memory, i.e. address should point > to end address masked with 512MB offset in private DRAM block. > > Signed-off-by:

Re: [U-Boot] [PATCH] armv8: fsl-layerscape: Fix final MMU table for QSPI and IFC

2017-09-12 Thread York Sun
On 08/29/2017 06:42 AM, Suresh Gupta wrote: > For QSPI and IFC addresses execution shouldn't be allowed > when u-boot running from DDR. Revise the MMU final table > to enforce execute-never bits. > > Signed-off-by: Suresh Gupta > --- Applied to fsl-qoriq master. Thanks. York __

Re: [U-Boot] [PATCH v3 5/5] spl: fit: Add booting OS first

2017-09-12 Thread York Sun
On 08/15/2017 11:15 AM, York Sun wrote: > If CONFIG_SPL_OS_BOOT is enabled, boot OS if kernel image is found > in FIT structure. > > Signed-off-by: York Sun > Reviewed-by: Tom Rini > > --- > This presums the kernel image doesn't exist in a FIT image intended for > U-Boot. If kernel image normal

Re: [U-Boot] [PATCH v3 3/5] spl: fit: Eanble GZIP support for image decompression

2017-09-12 Thread York Sun
On 08/15/2017 11:15 AM, York Sun wrote: > Add Kconfig option SPL_GZIP and SPL_ZLIB to enable gunzip support for > SPL boot, eg. falcon boot compressed kernel image. > > Signed-off-by: York Sun > Reviewed-by: Tom Rini > > --- > > Changes in v3: > Replace ifdef with if IS_ENABLED(). > Add help t

  1   2   3   4   5   >