Re: [U-Boot] [PATCH 08/20] arm: socfpga: add system manager for Arria 10

2017-03-05 Thread Ley Foon Tan
On Sab, 2017-02-25 at 22:36 +0100, Marek Vasut wrote: > On 02/22/2017 10:47 AM, Ley Foon Tan wrote: > > > > Add system manager support for Arria 10. > But these are just headers, there's no system manager code here ? Yes. Mainly for system manager's register struct and defines. > > > > >

Re: [U-Boot] [PATCH 07/20] arm: socfpga: add clock driver for Arria 10

2017-03-05 Thread Ley Foon Tan
On Sab, 2017-02-25 at 22:35 +0100, Marek Vasut wrote: > On 02/22/2017 10:47 AM, Ley Foon Tan wrote: > > > > Add clock driver support for Arria 10 and update Gen5 clock driver. > > > > Signed-off-by: Tien Fong Chee > > Signed-off-by: Ley Foon Tan

Re: [U-Boot] [U-Boot 0/2] add spl_early_init to fix rk3288 board broken issue

2017-03-05 Thread Eddie Cai
Hi Simon I guess you may lost this patch. So a friendly ping. 2017-02-23 9:59 GMT+08:00 Eddie Cai : > Andrew F. Davis's below patch broke rk3288 based board. that is because we > call > spl_init in board_init_f which is at very early stage. What Andrew want to > fix >

Re: [U-Boot] [PATCH] rockchip: set scan_dev_for_boot_part env for rockchip SoC

2017-03-05 Thread Eddie Cai
Hi Simon 2017-02-23 11:33 GMT+08:00 Simon Glass : > Hi Eddie, > > On 22 February 2017 at 07:12, Eddie Cai wrote: > > Hi Simon > > > > 2017-02-22 17:05 GMT+08:00 Eddie Cai : > >> > >> Hi Simon > >> > >> 2017-02-22 11:59

[U-Boot] distro bootcmd: auto write GPT table in scan_dev_for_boot_part

2017-03-05 Thread Eddie Cai
scan_dev_for_boot_part will fail when there is no GPT table. So add auto write GPT table if fail to get it. Signed-off-by: Eddie Cai --- include/config_distro_bootcmd.h | 8 1 file changed, 8 insertions(+) diff --git a/include/config_distro_bootcmd.h

Re: [U-Boot] [PATCH 1/4] arm: socfpga: Removing unused passing parameter of socfpga_bridges_reset

2017-03-05 Thread Chee, Tien Fong
On Ahd, 2017-03-05 at 01:57 +0100, Marek Vasut wrote: > On 03/03/2017 01:50 PM, Chee Tien Fong wrote: > > > > From: Tien Fong Chee > > > > This patch removes the unused passing parameter of > > socfpga_bridges_reset > > function in Arria10. > > > > Signed-off-by: Tien

Re: [U-Boot] [PATCH 0/4] Add Intel Arria 10 SoC FPGA driver

2017-03-05 Thread Chee, Tien Fong
On Jum, 2017-03-03 at 20:50 +0800, Chee Tien Fong wrote: > From: Tien Fong Chee > > This patchset adds FPGA driver to Intel Arria 10 SoC. > > This series is working on top of [1] initial patchset which enables > the basic > support for Arria 10 and other features. > >

Re: [U-Boot] [PATCH 3/5] fsl PPA: add support PPA image loading from NAND and SD

2017-03-05 Thread york sun
Sorry for top posting (using my phone). I think we should flush the cache by range. If you are relying on PPA flushing the cache for you (it is the case now), it's better to put a comment there. York Original Message From: "Z.Q. Hou" Sent: Sunday,

Re: [U-Boot] [PATCH 2/2] cmd: nand: Make the NAND options default to NAND_SUNXI

2017-03-05 Thread Chen-Yu Tsai
On Fri, Mar 3, 2017 at 10:32 PM, Maxime Ripard wrote: > If we depend on the ARCH_SUNXI configuration option, the boards that do not > have NAND support enabled (with the associated options) will not compile > anymore. > > Depend on the NAND driver configuration

Re: [U-Boot] [PATCH 3/5] fsl PPA: add support PPA image loading from NAND and SD

2017-03-05 Thread Z.Q. Hou
Hi York, Thanks a lot for your comments! > -Original Message- > From: york sun > Sent: Saturday, March 04, 2017 12:51 AM > To: Z.Q. Hou ; u-boot@lists.denx.de; > o...@buserror.net; mingkai...@freescale.com; s...@chromium.org; Xiaobo > Xie >

Re: [U-Boot] [PATCH v3] arm: socfpga: fix issue with warm reset when CSEL is 0

2017-03-05 Thread Dalon Westergreen
On Sun, 2017-03-05 at 18:49 +0100, Marek Vasut wrote: > On 03/05/2017 06:38 PM, Dalon Westergreen wrote: > > > > On Tue, 2017-02-28 at 06:45 -0800, Dalon Westergreen wrote: > > > > > > On Mon, 2017-02-20 at 06:35 -0800, Dalon Westergreen wrote: > > > > > > > > > > > > On Mon, 2017-02-20 at

Re: [U-Boot] BeagleBoard B7 (OMAP3530) fails to boot with the current U-Boot master branch

2017-03-05 Thread Siarhei Siamashka
On Sun, 5 Mar 2017 09:27:44 -0500 Tom Rini wrote: > On Sun, Mar 05, 2017 at 02:51:54PM +0200, Siarhei Siamashka wrote: > > Hello All, > > > > I have just unexpectedly found an old Beagleboard B7 in my closet and > > tried to compile the current U-Boot master branch for it.

Re: [U-Boot] [PATCH v3 0/9] sunxi: DM-based CLK, RESET and PINCTRL

2017-03-05 Thread André Przywara
On 01/03/17 21:19, Philipp Tomsich wrote: > Hi everyone, > > here's the the new version of CLK, RESET and PINCTRL drivers to > configure sunxi from the device-tree. This adds support for the > upstream CCU node (for reset and pinctrl) and tries to address the > various concerns people had. > >

[U-Boot] [PATCH 2/2] arm: omap3: Bring back ARM errata workaround 725233

2017-03-05 Thread Siarhei Siamashka
The workaround for ARM errata 725233 had been lost since commit 45bf05854bc94e (armv7: adapt omap3 to the new cache maintenance framework). Bring it back in order to avoid very difficult to reproduce, but actually encountered in the wild CPU deadlocks when running software rendered X11 desktop on

[U-Boot] [PATCH 1/2] arm: omap3: Compile clock.c with -marm option to unbreak OMAP3530

2017-03-05 Thread Siarhei Siamashka
Boards with OMAP3530 SoC fail to boot since commit bd2c4522c26d5 ("ti: armv7: enable EXT support in SPL (using ti_armv7_common.h)") because it enabled the use of Thumb2 for the SPL. Experiments have shown that the deadlock happens in the prcm_init() function from

[U-Boot] [PATCH 0/2] Unbreak OMAP3530

2017-03-05 Thread Siarhei Siamashka
OMAP3530 lost the erratum 725233 workaround since 2011 and even became completely non-bootable since 2015. These two patches make it usable again. The most notable hardware is the original BeagleBoard. Siarhei Siamashka (2): arm: omap3: Compile clock.c with -marm option to unbreak OMAP3530

[U-Boot] [PATCH] video: cfb_console: fix 32-bit display on 64-bit architectures

2017-03-05 Thread Andre Przywara
"unsigned long" is a lousy data type when it comes to match peripheral hardware registers with a fixed size. Just do the obvious and match a 32-bit display format with an "u32" data type for casting. This fixes the logo display on 64-bit architectures, which produced a black line on the right side

Re: [U-Boot] [PATCH 2/5] am335x_evm: Switch to using imply keyword

2017-03-05 Thread Tom Rini
On Sun, Mar 05, 2017 at 11:53:43PM +0100, Lukasz Majewski wrote: > Hi Tom, > > > These particular SPL options are part of what the ROM provides, but > > for compatibility with how we have previously used them, move them to > > being implied by the board being selected. > > > > Signed-off-by: Tom

Re: [U-Boot] [PATCH 2/5] am335x_evm: Switch to using imply keyword

2017-03-05 Thread Lukasz Majewski
Hi Tom, > These particular SPL options are part of what the ROM provides, but > for compatibility with how we have previously used them, move them to > being implied by the board being selected. > > Signed-off-by: Tom Rini > --- > arch/arm/mach-omap2/am33xx/Kconfig | 3 +++

[U-Boot] [PATCH v1 1/2] misc: Add SCU IPC driver for Intel MID platforms

2017-03-05 Thread Andy Shevchenko
From: Felipe Balbi Intel MID platforms have few microcontrollers inside SoC, one of them is so called System Controller Unit (SCU). Here is the driver to communicate with microcontroller. Signed-off-by: Vincent Tinelli Signed-off-by:

[U-Boot] [PATCH v1 2/2] misc: Introduce minimal PMU driver for Intel MID platforms

2017-03-05 Thread Andy Shevchenko
This simple PMU driver enables access to MMC controllers during probe so tangier_sdhci can probe and be useful. In the future it might be expanded to cover other Intel MID platforms, that's why it's called intel_mid_pmu.c. Signed-off-by: Felipe Balbi Signed-off-by:

Re: [U-Boot] [PATCH 1/2] arm: socfpga: Enable abort for DE-nano-SoC SPL uboot load from MMC

2017-03-05 Thread Frank Kunz
Am 05.03.2017 um 18:36 schrieb Dalon Westergreen: > On Sun, 2017-03-05 at 18:16 +0100, Marek Vasut wrote: >> On 03/05/2017 01:54 PM, Frank Kunz wrote: >>> >>> This allows the SPL to scan the MMC for a valid uboot image on a second >>> sector location defined by

Re: [U-Boot] [PATCH 2/2] arm: socfpga: Enable part command and EFI partition support for DE0-nano-SoC

2017-03-05 Thread Frank Kunz
Am 05.03.2017 um 18:17 schrieb Marek Vasut: > On 03/05/2017 01:54 PM, Frank Kunz wrote: >> Those features are used by distro boot with efi boot. >> >> Signed-off-by: Frank Kunz >> --- >> :100644 100644 b122135690... c22b54b48d... M >>

Re: [U-Boot] [PATCH v3] arm: socfpga: fix issue with warm reset when CSEL is 0

2017-03-05 Thread Marek Vasut
On 03/05/2017 06:38 PM, Dalon Westergreen wrote: On Tue, 2017-02-28 at 06:45 -0800, Dalon Westergreen wrote: On Mon, 2017-02-20 at 06:35 -0800, Dalon Westergreen wrote: On Mon, 2017-02-20 at 15:24 +0100, Marek Vasut wrote: On 02/20/2017 03:21 PM, Dalon Westergreen wrote: On Mon,

Re: [U-Boot] [PATCH 1/2] arm: socfpga: Enable abort for DE-nano-SoC SPL uboot load from MMC

2017-03-05 Thread Marek Vasut
On 03/05/2017 06:36 PM, Dalon Westergreen wrote: On Sun, 2017-03-05 at 18:16 +0100, Marek Vasut wrote: On 03/05/2017 01:54 PM, Frank Kunz wrote: This allows the SPL to scan the MMC for a valid uboot image on a second sector location defined by CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR when the

Re: [U-Boot] [PATCH v3] arm: socfpga: fix issue with warm reset when CSEL is 0

2017-03-05 Thread Dalon Westergreen
On Tue, 2017-02-28 at 06:45 -0800, Dalon Westergreen wrote: > On Mon, 2017-02-20 at 06:35 -0800, Dalon Westergreen wrote: > > > > On Mon, 2017-02-20 at 15:24 +0100, Marek Vasut wrote: > > > > > > > > > On 02/20/2017 03:21 PM, Dalon Westergreen wrote: > > > > > > > > > > > > > > > > On Mon,

Re: [U-Boot] [PATCH 1/2] arm: socfpga: Enable abort for DE-nano-SoC SPL uboot load from MMC

2017-03-05 Thread Dalon Westergreen
On Sun, 2017-03-05 at 18:16 +0100, Marek Vasut wrote: > On 03/05/2017 01:54 PM, Frank Kunz wrote: > > > > This allows the SPL to scan the MMC for a valid uboot image on a second > > sector location defined by CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR when > > the default location

Re: [U-Boot] [PATCH 2/2] arm: socfpga: Enable part command and EFI partition support for DE0-nano-SoC

2017-03-05 Thread Marek Vasut
On 03/05/2017 01:54 PM, Frank Kunz wrote: Those features are used by distro boot with efi boot. Signed-off-by: Frank Kunz --- :100644 100644 b122135690... c22b54b48d... M configs/socfpga_de0_nano_soc_defconfig configs/socfpga_de0_nano_soc_defconfig | 7

Re: [U-Boot] [PATCH 1/2] arm: socfpga: Enable abort for DE-nano-SoC SPL uboot load from MMC

2017-03-05 Thread Marek Vasut
On 03/05/2017 01:54 PM, Frank Kunz wrote: This allows the SPL to scan the MMC for a valid uboot image on a second sector location defined by CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR when the default location "CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR + first partition offset" does not contain a

[U-Boot] [PATCH] net: zynq_gem: Fix masking of supported phydev features

2017-03-05 Thread Nathan Rossi
When the zynq_gem driver initializes the phy it sets the supported features that the phy can support and advertise. However instead of masking the supported features such that it limits the available features it sets the phy to have the exact supported features of the zynq_gem. This is problematic

Re: [U-Boot] BeagleBoard B7 (OMAP3530) fails to boot with the current U-Boot master branch

2017-03-05 Thread Tom Rini
On Sun, Mar 05, 2017 at 02:51:54PM +0200, Siarhei Siamashka wrote: > Hello All, > > I have just unexpectedly found an old Beagleboard B7 in my closet and > tried to compile the current U-Boot master branch for it. Appears that > it is broken since almost 2 years ago: > >

[U-Boot] [PATCH 2/2] arm: socfpga: Enable part command and EFI partition support for DE0-nano-SoC

2017-03-05 Thread Frank Kunz
Those features are used by distro boot with efi boot. Signed-off-by: Frank Kunz --- :100644 100644 b122135690... c22b54b48d... M configs/socfpga_de0_nano_soc_defconfig configs/socfpga_de0_nano_soc_defconfig | 7 --- 1 file changed, 4 insertions(+), 3

[U-Boot] [PATCH 1/2] arm: socfpga: Enable abort for DE-nano-SoC SPL uboot load from MMC

2017-03-05 Thread Frank Kunz
This allows the SPL to scan the MMC for a valid uboot image on a second sector location defined by CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR when the default location "CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR + first partition offset" does not contain a valid uboot image. Signed-off-by: Frank Kunz

[U-Boot] [PATCH 0/2] arm: socfpga: Enable EFI support for DE0-nano-SoC disto boot

2017-03-05 Thread Frank Kunz
This enables EFI support for DE0-nano-SoC distro boot. The patches will apply on top of Dalon Westergreens "[PATCH v3 0/8] arm: socfpga: Move to using distro boot" series. Tested on openSUSE openSUSE Tumbleweed ARM JeOS image. Signed-off-by: Frank Kunz Frank

[U-Boot] BeagleBoard B7 (OMAP3530) fails to boot with the current U-Boot master branch

2017-03-05 Thread Siarhei Siamashka
Hello All, I have just unexpectedly found an old Beagleboard B7 in my closet and tried to compile the current U-Boot master branch for it. Appears that it is broken since almost 2 years ago: https://lists.denx.de/pipermail/u-boot/2015-July/220332.html

Re: [U-Boot] [PATCH v4 1/8] arm: socfpga: Add distro boot to socfpga common header

2017-03-05 Thread Frank Kunz
Am 19.02.2017 um 21:20 schrieb Dalon Westergreen: > This adds a common environment and support for distro boot > in the common socfpga header. > > Signed-off-by: Dalon Westergreen > Acked-by: Marek Vasut > > -- > Changes in v4: > - Move env back to being

Re: [U-Boot] [linux-sunxi] Re: [PATCH 14/17] sunxi: Pine64: defconfig: enable SPL FIT support

2017-03-05 Thread André Przywara
On 05/03/17 04:06, Jonathan Gray wrote: > On Fri, Mar 03, 2017 at 09:55:25AM +, Andre Przywara wrote: >> Hi, >> >> On 03/03/17 09:22, Maxime Ripard wrote: >>> On Thu, Mar 02, 2017 at 12:03:20AM +0800, Icenowy Zheng wrote: 2017???3???1??? 23:51??? Maxime Ripard

Re: [U-Boot] [PATCH v1] env_mmc: configure environment offsets via device tree

2017-03-05 Thread Igor Grinberg
Hi Simon, On 03/03/17 06:53, Simon Glass wrote: > Hi Igor, > > On 22 February 2017 at 00:35, Igor Grinberg wrote: >> Hi Philipp, Simon, >> >> On 02/22/17 05:59, Simon Glass wrote: >>> Hi, >>> >>> On 20 February 2017 at 02:18, Dr. Philipp Tomsich >>>