[U-Boot] [PATCH 3/3] armv8: ls1088ardb: Add CONFIG_DISTRO_DEFAULTS in SD defconfig

2017-11-01 Thread Ashish Kumar
Signed-off-by: Ashish Kumar --- configs/ls1088ardb_sdcard_qspi_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/ls1088ardb_sdcard_qspi_defconfig b/configs/ls1088ardb_sdcard_qspi_defconfig index b677b2f..727f102 100644 --- a/configs/ls1088ardb_sdcard_qspi_defconfig +++ b/conf

[U-Boot] [PATCH 2/3] armv8: ls1088ardb: Add CONFIG_DISTRO_DEFAULTS qspi-defconfig

2017-11-01 Thread Ashish Kumar
Signed-off-by: Ashish Kumar --- configs/ls1088ardb_qspi_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/ls1088ardb_qspi_defconfig b/configs/ls1088ardb_qspi_defconfig index db15d31..6ec949c 100644 --- a/configs/ls1088ardb_qspi_defconfig +++ b/configs/ls1088ardb_qspi_defconfi

[U-Boot] [PATCH 1/3] arm64: ls1088ardb: Add distro boot support

2017-11-01 Thread Ashish Kumar
Disto boot support give flexibility to run distro RFS like ubuntu's being deployed from SD card or USB stick. If it fails to detect external storage, fall back to qspi/sd boot. Signed-off-by: Ashish Kumar Signed-off-by: Zhang Ying --- include/configs/ls1088ardb.h | 113 +

[U-Boot] [Patch V5 2/2] armv8: ls1088aqds: Add SD boot support for ls1088qds

2017-11-01 Thread Ashish Kumar
Signed-off-by: Ashish Kumar Signed-off-by: Prabhakar Kushwaha Signed-off-by: Raghav Dogra --- v5: Move define to defconfig arch/arm/Kconfig | 1 + board/freescale/ls1088a/MAINTAINERS | 1 + configs/ls1088aqds_sdcard_qspi_defconfig | 42 ++

[U-Boot] [Patch V5 1/2] armv8: ls1088ardb: Add SD boot support for ls1088

2017-11-01 Thread Ashish Kumar
Signed-off-by: Prabhakar Kushwaha Signed-off-by: Ashish Kumar Signed-off-by: Raghav Dogra --- v5: Rewording and incorporation of review comments in README Move define to defconfig arch/arm/Kconfig | 1 + arch/arm/cpu/armv8/fsl-layerscape/doc/README.lsch3 | 4

[U-Boot] [PATCH v4 2/2] armv8: ls1088: Enable SATA for ls1088

2017-11-01 Thread Ashish Kumar
Signed-off-by: Ashish Kumar Signed-off-by: Amrita Kumari --- v2: Rebase to top v3: Consolidate defines in common file v4: Protect define using CONFIG_SCSI include/configs/ls1088a_common.h | 13 + 1 file changed, 13 insertions(+) diff --git a/include/configs/ls1088a_common.h b/inclu

[U-Boot] [PATCH v4 1/2] armv8: lsch3: Add imply SCSI for ls1088

2017-11-01 Thread Ashish Kumar
Signed-off-by: Ashish Kumar --- v3: Change SCSI command to imply SCSI v4: No change arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig index 8bbc981..5daf79e 100644

[U-Boot] [PATCH] sunxi: lower the DRAM frequency of Nano Pi NEO2 to 504MHz

2017-11-01 Thread Icenowy Zheng
The BSP of Nano Pi NEO2 provided by FriendlyARM uses 504MHz DRAM frequency, which is much lower than the current 672MHz used in mainline. Switch to use the BSP-provided frequency 504MHz for DRAM. Thanks to Thomas Kaiser, who pointed out the frequency problem. Signed-off-by: Icenowy Zheng --- c

Re: [U-Boot] About the way to fix platform specific issue in source file xhci.c (U-Boot)

2017-11-01 Thread Ran Wang
Hi Bin, > -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Wednesday, November 01, 2017 6:08 PM > To: Marek Vasut > Cc: Ran Wang ; Marek Vasut > ; open list > Subject: Re: [U-Boot] About the way to fix platform specific issue in source > file xhci.c (U-Boot) > > H

Re: [U-Boot] [PULL] Please pull u-boot-rockchip

2017-11-01 Thread Tom Rini
On Wed, Nov 01, 2017 at 11:25:10AM +0100, Dr. Philipp Tomsich wrote: > Tom, > > The rockchip-tree has connected a few minor fixes and defconfig-changes. > Please pull. > > Thanks, > Philipp. > > > The following changes since commit 3c1af17c5eebc3718095907c254ae3eb8a3412f8: > > Merge branch

Re: [U-Boot] [PATCH] rockchip: config: update part table

2017-11-01 Thread Jacob Chen
Hi, 2017-11-01 8:36 GMT+08:00 Eddie Cai : > Hi Kever > The reserved partition is not only for U-Boot but also for system. > There are customers using reserved partition in system now. > It's ok to hide them, since we just use offset, not partition index. > 2017-10-31 16:52 GMT+08:00 Kever Yang

Re: [U-Boot] [PATCH v3 7/7] mx53: Add Board support for GE PPD

2017-11-01 Thread Martyn Welch
On Wed, 2017-11-01 at 16:53 +0100, Stefano Babic wrote: > Hi Martyn, Peter, > > On 01/11/2017 15:23, Martyn Welch wrote: > > From: Peter Senna Tschudin > > > > Create board support for GE PPD, based on mx53loco. > > > > Use mx53ppd_defconfig make target to configure for this board. > > > > Sig

Re: [U-Boot] [PATCH v3 3/7] pwm: imx: Enable PWM support on i.MX53

2017-11-01 Thread Martyn Welch
On Wed, 2017-11-01 at 16:31 +0100, Stefano Babic wrote: > On 01/11/2017 15:23, Martyn Welch wrote: > > Add missing parts for i.MX53 PWM support > > > > Acked-by: Nandor Han > > Signed-off-by: Martyn Welch > > Cc: Stefano Babic > > --- > > arch/arm/include/asm/arch-mx5/imx-regs.h | 19 +

Re: [U-Boot] rk3288: Falcon mode broken

2017-11-01 Thread Jagan Teki
On Mon, Oct 30, 2017 at 11:29 PM, York Sun wrote: > On 10/30/2017 10:55 AM, Jagan Teki wrote: >> On Mon, Oct 30, 2017 at 11:19 PM, York Sun wrote: >>> On 10/30/2017 10:17 AM, Jagan Teki wrote: Hi, Did anyone have tested falcon recently? it was working for me during rc1 and now

Re: [U-Boot] [PATCH v3 5/7] bootcount: add support for bootcounter on EXT filesystem

2017-11-01 Thread Tom Rini
On Wed, Nov 01, 2017 at 04:28:14PM +0100, Stefano Babic wrote: > Hi Martin, Ian, > > On 01/11/2017 15:23, Martyn Welch wrote: > > From: Ian Ray > > > > Add support for bootcounter on an EXT filesystem. > > Sync configuration whitelist. > > > > Signed-off-by: Ian Ray > > Signed-off-by: Martyn W

Re: [U-Boot] [PATCH v3 3/7] pwm: imx: Enable PWM support on i.MX53

2017-11-01 Thread Stefano Babic
Hi Martyn, On 01/11/2017 16:42, Martyn Welch wrote: > On Wed, 2017-11-01 at 16:31 +0100, Stefano Babic wrote: >> On 01/11/2017 15:23, Martyn Welch wrote: >>> Add missing parts for i.MX53 PWM support >>> >>> Acked-by: Nandor Han >>> Signed-off-by: Martyn Welch >>> Cc: Stefano Babic >>> --- >>>

Re: [U-Boot] [PATCH v3 7/7] mx53: Add Board support for GE PPD

2017-11-01 Thread Stefano Babic
Hi Martyn, Peter, On 01/11/2017 15:23, Martyn Welch wrote: > From: Peter Senna Tschudin > > Create board support for GE PPD, based on mx53loco. > > Use mx53ppd_defconfig make target to configure for this board. > > Signed-off-by: Peter Senna Tschudin > Signed-off-by: Ian Ray > Signed-off-by:

Re: [U-Boot] [PATCH v3 4/7] arm: mx5: Add more register definitions

2017-11-01 Thread Stefano Babic
Hi Martyn, On 01/11/2017 15:23, Martyn Welch wrote: > Add register definitions require for video configuration. > > Signed-off-by: Nandor Han > Signed-off-by: Martyn Welch > Cc: Stefano Babic > --- > arch/arm/include/asm/arch-mx5/crm_regs.h | 9 + > arch/arm/include/asm/arch-mx5/imx-

Re: [U-Boot] [PATCH v3 3/7] pwm: imx: Enable PWM support on i.MX53

2017-11-01 Thread Stefano Babic
On 01/11/2017 15:23, Martyn Welch wrote: > Add missing parts for i.MX53 PWM support > > Acked-by: Nandor Han > Signed-off-by: Martyn Welch > Cc: Stefano Babic > --- > arch/arm/include/asm/arch-mx5/imx-regs.h | 19 +++ > drivers/pwm/pwm-imx-util.c | 2 ++ > 2 file

Re: [U-Boot] [PATCH v3 5/7] bootcount: add support for bootcounter on EXT filesystem

2017-11-01 Thread Stefano Babic
Hi Martin, Ian, On 01/11/2017 15:23, Martyn Welch wrote: > From: Ian Ray > > Add support for bootcounter on an EXT filesystem. > Sync configuration whitelist. > > Signed-off-by: Ian Ray > Signed-off-by: Martyn Welch > --- > Changes for v2: >- Adding Kconfig for EXT bootcount. > > Changes

Re: [U-Boot] [PATCH] mmc: fsl_esdhc: Fix PIO timeout

2017-11-01 Thread Jagan Teki
On Wed, Nov 1, 2017 at 2:05 AM, Benoît Thébaudeau wrote: > On Tue, Oct 31, 2017 at 4:18 PM, Jagan Teki wrote: >> On Mon, Oct 30, 2017 at 2:38 AM, Benoît Thébaudeau >> wrote: >>> The following error has been observed on i.MX25 with a high-speed SDSC >>> card: >>> Data Write Failed in PIO Mode

Re: [U-Boot] [PATCH v3 5/7] bootcount: add support for bootcounter on EXT filesystem

2017-11-01 Thread Tom Rini
On Wed, Nov 01, 2017 at 02:23:07PM +, Martyn Welch wrote: > From: Ian Ray > > Add support for bootcounter on an EXT filesystem. > Sync configuration whitelist. > > Signed-off-by: Ian Ray > Signed-off-by: Martyn Welch Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signat

Re: [U-Boot] [PATCH v2 1/2] video: sunxi: de2: fix SimpleFB node creation when HDMI not initialized

2017-11-01 Thread Jagan Teki
On Wed, Nov 1, 2017 at 7:48 PM, Icenowy Zheng wrote: > When HDMI is not initialized (e.g. no monitor is plugged), the current > SimpleFB code will still create a broken SimpleFB node. > > Detect whether HDMI is initialized when creating SimpleFB node. > > Fixes: be5b96f0e411 ("sunxi: setup simplef

Re: [U-Boot] [PATCH v2 2/2] video: sunxi: de2: add support for LCD SimpleFB

2017-11-01 Thread Jagan Teki
On Wed, Nov 1, 2017 at 7:48 PM, Icenowy Zheng wrote: > Add support for setting up SimpleFB for LCD display output in DE2 > SimpleFB setup code. > > Signed-off-by: Icenowy Zheng Reviewed-by: Jagan Teki thanks! -- Jagan Teki Free Software Engineer | www.openedev.com U-Boot, Linux | Upstream Mai

Re: [U-Boot] [linux-sunxi] Re: [PATCH] sunxi: add support for Banana Pi M2 Zero board

2017-11-01 Thread Jagan Teki
On Wed, Nov 1, 2017 at 7:57 PM, Icenowy Zheng wrote: > 在 2017-11-01 21:39,Chen-Yu Tsai 写道: >> >> On Wed, Nov 1, 2017 at 9:37 PM, Jagan Teki >> wrote: >>> >>> On Wed, Nov 1, 2017 at 6:58 PM, Icenowy Zheng wrote: 在 2017-11-01 21:21,Jagan Teki 写道: > > > On Wed, Nov 1, 2017 at

Re: [U-Boot] [linux-sunxi] Re: [PATCH] sunxi: add support for Banana Pi M2 Zero board

2017-11-01 Thread Jagan Teki
On Wed, Nov 1, 2017 at 7:56 PM, Icenowy Zheng wrote: > 在 2017-11-01 21:39,Chen-Yu Tsai 写道: >> >> On Wed, Nov 1, 2017 at 9:37 PM, Jagan Teki >> wrote: >>> >>> On Wed, Nov 1, 2017 at 6:58 PM, Icenowy Zheng wrote: 在 2017-11-01 21:21,Jagan Teki 写道: > > > On Wed, Nov 1, 2017 at

Re: [U-Boot] [linux-sunxi] Re: [PATCH] sunxi: add support for Banana Pi M2 Zero board

2017-11-01 Thread Icenowy Zheng
在 2017-11-01 21:39,Chen-Yu Tsai 写道: On Wed, Nov 1, 2017 at 9:37 PM, Jagan Teki wrote: On Wed, Nov 1, 2017 at 6:58 PM, Icenowy Zheng wrote: 在 2017-11-01 21:21,Jagan Teki 写道: On Wed, Nov 1, 2017 at 6:22 PM, Icenowy Zheng wrote: Banana Pi M2 Zero is a board by Sinovoip with Allwinner H2+ S

Re: [U-Boot] [linux-sunxi] Re: [PATCH] sunxi: add support for Banana Pi M2 Zero board

2017-11-01 Thread Icenowy Zheng
在 2017-11-01 21:39,Chen-Yu Tsai 写道: On Wed, Nov 1, 2017 at 9:37 PM, Jagan Teki wrote: On Wed, Nov 1, 2017 at 6:58 PM, Icenowy Zheng wrote: 在 2017-11-01 21:21,Jagan Teki 写道: On Wed, Nov 1, 2017 at 6:22 PM, Icenowy Zheng wrote: Banana Pi M2 Zero is a board by Sinovoip with Allwinner H2+ S

[U-Boot] [PATCH v3 0/7] Add support for GE PPD

2017-11-01 Thread Martyn Welch
This series adds support for the GE PPD. The initial patches in this series resolve issues found during development and testing, extend existing support and add new support for devices in the PPD. The final patch in the series adds the board support for the PPD. Ian Ray (2): ext4: recover from f

[U-Boot] [PATCH v3 6/7] rtc: add support for s35392a

2017-11-01 Thread Martyn Welch
From: Nandor Han Add support for S35392A RTC. The driver supports both U-Boot driver models. Signed-off-by: Nandor Han Signed-off-by: Martyn Welch Cc: Heiko Schocher --- drivers/rtc/Kconfig | 6 + drivers/rtc/Makefile | 1 + drivers/rtc/s35392a.c | 360

[U-Boot] [PATCH v3 3/7] pwm: imx: Enable PWM support on i.MX53

2017-11-01 Thread Martyn Welch
Add missing parts for i.MX53 PWM support Acked-by: Nandor Han Signed-off-by: Martyn Welch Cc: Stefano Babic --- arch/arm/include/asm/arch-mx5/imx-regs.h | 19 +++ drivers/pwm/pwm-imx-util.c | 2 ++ 2 files changed, 21 insertions(+) diff --git a/arch/arm/include/

[U-Boot] [PATCH v3 2/7] ext4: recover from filesystem corruption when reading

2017-11-01 Thread Martyn Welch
From: Ian Ray Some fixes when reading EXT files and directory entries were identified after using e2fuzz to corrupt an EXT3 filesystem: - Stop reading directory entries if the offset becomes badly aligned. - Avoid overwriting memory by clamping the length used to zero the buffer in ext4fs_

[U-Boot] [PATCH v3 1/7] imx: mxc_i2c: tweak the i2c transfer method

2017-11-01 Thread Martyn Welch
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 Cc: Heiko Schocher Cc: Stefano Babic --- Changes for v2: - Replacing '!= -1' with '>= 0'. drivers/i2c/mxc_i2c.c | 25 ++

[U-Boot] [PATCH v3 5/7] bootcount: add support for bootcounter on EXT filesystem

2017-11-01 Thread Martyn Welch
From: Ian Ray Add support for bootcounter on an EXT filesystem. Sync configuration whitelist. Signed-off-by: Ian Ray Signed-off-by: Martyn Welch --- Changes for v2: - Adding Kconfig for EXT bootcount. Changes for v3: - Add over-arching BOOTCOUNT Kconfig entry. README

[U-Boot] [PATCH v3 4/7] arm: mx5: Add more register definitions

2017-11-01 Thread Martyn Welch
Add register definitions require for video configuration. Signed-off-by: Nandor Han Signed-off-by: Martyn Welch Cc: Stefano Babic --- arch/arm/include/asm/arch-mx5/crm_regs.h | 9 + arch/arm/include/asm/arch-mx5/imx-regs.h | 28 2 files changed, 37 inserti

[U-Boot] [PATCH v3 7/7] mx53: Add Board support for GE PPD

2017-11-01 Thread Martyn Welch
From: Peter Senna Tschudin Create board support for GE PPD, based on mx53loco. Use mx53ppd_defconfig make target to configure for this board. Signed-off-by: Peter Senna Tschudin Signed-off-by: Ian Ray Signed-off-by: Nandor Han Signed-off-by: Martyn Welch Cc: Stefano Babic --- Changes for v

[U-Boot] [PATCH v2 1/2] video: sunxi: de2: fix SimpleFB node creation when HDMI not initialized

2017-11-01 Thread Icenowy Zheng
When HDMI is not initialized (e.g. no monitor is plugged), the current SimpleFB code will still create a broken SimpleFB node. Detect whether HDMI is initialized when creating SimpleFB node. Fixes: be5b96f0e411 ("sunxi: setup simplefb for Allwinner DE2") Signed-off-by: Icenowy Zheng --- drivers

[U-Boot] [PATCH v2 2/2] video: sunxi: de2: add support for LCD SimpleFB

2017-11-01 Thread Icenowy Zheng
Add support for setting up SimpleFB for LCD display output in DE2 SimpleFB setup code. Signed-off-by: Icenowy Zheng --- Changes in v2: - Use lcd variable. - Extract the HDMI SimpleFB fix to a dedicated patch. drivers/video/sunxi/sunxi_de2.c | 11 ++- 1 file changed, 10 insertions(+), 1

[U-Boot] [PATCH v2 0/2] Fix DE2 SimpleFB node creation and support LCD SimpleFB

2017-11-01 Thread Icenowy Zheng
This patchset fixes the DE2 SimpleFB node creation when HDMI is not ready, and adds support for LCD SimpleFB node creation on A64. The first patch prevents a broken SimpleFB node to be created when HDMI is present but not probed, this is a fix and should to into 2017.11. The second patch adds sup

Re: [U-Boot] [linux-sunxi] Re: [PATCH] sunxi: add support for Banana Pi M2 Zero board

2017-11-01 Thread Chen-Yu Tsai
On Wed, Nov 1, 2017 at 9:37 PM, Jagan Teki wrote: > On Wed, Nov 1, 2017 at 6:58 PM, Icenowy Zheng wrote: >> 在 2017-11-01 21:21,Jagan Teki 写道: >>> >>> On Wed, Nov 1, 2017 at 6:22 PM, Icenowy Zheng wrote: Banana Pi M2 Zero is a board by Sinovoip with Allwinner H2+ SoC, 16-bit 512MiB

Re: [U-Boot] [linux-sunxi] Re: [PATCH] sunxi: add support for Banana Pi M2 Zero board

2017-11-01 Thread Jagan Teki
On Wed, Nov 1, 2017 at 6:58 PM, Icenowy Zheng wrote: > 在 2017-11-01 21:21,Jagan Teki 写道: >> >> On Wed, Nov 1, 2017 at 6:22 PM, Icenowy Zheng wrote: >>> >>> Banana Pi M2 Zero is a board by Sinovoip with Allwinner H2+ SoC, 16-bit >>> 512MiB DDR3 memory, a MicroSD slot, two MicroUSB ports (one OTG a

Re: [U-Boot] [linux-sunxi] Re: [PATCH] sunxi: add support for Banana Pi M2 Zero board

2017-11-01 Thread Icenowy Zheng
在 2017-11-01 21:21,Jagan Teki 写道: On Wed, Nov 1, 2017 at 6:22 PM, Icenowy Zheng wrote: Banana Pi M2 Zero is a board by Sinovoip with Allwinner H2+ SoC, 16-bit 512MiB DDR3 memory, a MicroSD slot, two MicroUSB ports (one OTG and one powering-only) and a miniHDMI port. Add support for it. Sign

Re: [U-Boot] [PATCH] sunxi: add support for Banana Pi M2 Zero board

2017-11-01 Thread Jagan Teki
On Wed, Nov 1, 2017 at 6:22 PM, Icenowy Zheng wrote: > Banana Pi M2 Zero is a board by Sinovoip with Allwinner H2+ SoC, 16-bit > 512MiB DDR3 memory, a MicroSD slot, two MicroUSB ports (one OTG and one > powering-only) and a miniHDMI port. > > Add support for it. > > Signed-off-by: Icenowy Zheng >

[U-Boot] [PATCH] sunxi: add support for Banana Pi M2 Zero board

2017-11-01 Thread Icenowy Zheng
Banana Pi M2 Zero is a board by Sinovoip with Allwinner H2+ SoC, 16-bit 512MiB DDR3 memory, a MicroSD slot, two MicroUSB ports (one OTG and one powering-only) and a miniHDMI port. Add support for it. Signed-off-by: Icenowy Zheng --- arch/arm/dts/Makefile | 1 + arch/

Re: [U-Boot] [PATCH 1/4] arm64: ls1043ardb: Add sd_bootcmd for distro fallback in case of sdboot

2017-11-01 Thread Shengzhou Liu
> -Original Message- > From: Mingkai Hu > Sent: Wednesday, November 01, 2017 7:14 PM > To: York Sun > Cc: Shengzhou Liu ; u-boot@lists.denx.de > Subject: RE: [U-Boot] [PATCH 1/4] arm64: ls1043ardb: Add sd_bootcmd for > distro fallback in case of sdboot > > > > > -Original Message--

Re: [U-Boot] [PATCH 1/4] arm64: ls1043ardb: Add sd_bootcmd for distro fallback in case of sdboot

2017-11-01 Thread Mingkai Hu
> -Original Message- > From: York Sun > Sent: Tuesday, October 31, 2017 2:45 AM > To: Mingkai Hu > Cc: Shengzhou Liu ; u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH 1/4] arm64: ls1043ardb: Add sd_bootcmd for > distro fallback in case of sdboot > > On 10/23/2017 01:53 PM, York Sun

Re: [U-Boot] [PATCH v3 1/2] LS1088A_QSPI: SECURE_BOOT: Images validation

2017-11-01 Thread Udit Agarwal
> -Original Message- > From: York Sun > Sent: Tuesday, October 24, 2017 3:04 AM > To: Udit Agarwal ; u-boot@lists.denx.de > Cc: Ruchika Gupta ; Sumit Garg ; > Prabhakar Kushwaha > Subject: Re: [PATCH v3 1/2] LS1088A_QSPI: SECURE_BOOT: Images validation > > On 10/15/2017 10:03 PM, Udit Ag

[U-Boot] [PULL] Please pull u-boot-rockchip

2017-11-01 Thread Dr. Philipp Tomsich
Tom, The rockchip-tree has connected a few minor fixes and defconfig-changes. Please pull. Thanks, Philipp. The following changes since commit 3c1af17c5eebc3718095907c254ae3eb8a3412f8: Merge branch 'master' of git://www.denx.de/git/u-boot-imx (2017-10-31 08:14:53 -0400) are available in th

Re: [U-Boot] About the way to fix platform specific issue in source file xhci.c (U-Boot)

2017-11-01 Thread Bin Meng
Hi Ran, On Wed, Nov 1, 2017 at 4:19 PM, Marek Vasut wrote: > On 11/01/2017 07:22 AM, Ran Wang wrote: >> Hi Marek, >> >>> -Original Message- >>> From: Ran Wang >>> Sent: Wednesday, November 01, 2017 9:05 AM >>> To: Marek Vasut ; Marek Vasut >>> Cc: open list >>> Subject: RE: [U-Boot] Abo

Re: [U-Boot] [PATCH 1/2] common: Generic file system firmware loader

2017-11-01 Thread Marek Vasut
On 11/01/2017 10:18 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Generic firmware loader framework contains some common functionality > which is factored out from splash loader. It is reusable by any > specific driver file system firmware loader. Specific driver file system > fi

Re: [U-Boot] [UBOOT PATCH 1/2] spi: zynqmp_qspi: Add support for ZynqMP qspi driver

2017-11-01 Thread Jagan Teki
On Tue, Oct 31, 2017 at 6:33 PM, Siva Durga Prasad Paladugu wrote: > Hi Jagan, > >> -Original Message- >> From: Jagan Teki [mailto:jagannadh.t...@gmail.com] >> Sent: Tuesday, October 31, 2017 3:01 PM >> To: Siva Durga Prasad Paladugu >> Cc: u-boot@lists.denx.de; Liam Beguin >> Subject: R

[U-Boot] [PATCH 2/2] common: Convert splash FS loader to use generic FS firmware loader

2017-11-01 Thread tien . fong . chee
From: Tien Fong Chee Convert splash file system loader portion to use generic file system firmware loader. The rest of files which use splash loader would be converted to use generic file system firmware loader. Signed-off-by: Tien Fong Chee --- board/compulab/cm_fx6/cm_fx6.c | 17 ++-- board

[U-Boot] [PATCH 1/2] common: Generic file system firmware loader

2017-11-01 Thread tien . fong . chee
From: Tien Fong Chee Generic firmware loader framework contains some common functionality which is factored out from splash loader. It is reusable by any specific driver file system firmware loader. Specific driver file system firmware loader handling can be defined with both weak function fsload

[U-Boot] [PATCH 0/2] Creating generic file system firmware loader

2017-11-01 Thread tien . fong . chee
From: Tien Fong Chee Factoring out common file system loader functionality from splash loader as generic file system firmware loader. Convert splash file system loader portion and its dependency files to use generic file system firmware loader. The generic file system firmware loader supports fil

Re: [U-Boot] [linux-sunxi] Re: [PATCH] sunxi: set the default CPUx frequency of H5 to 816MHz

2017-11-01 Thread Jagan Teki
On Wed, Nov 1, 2017 at 7:40 AM, Ondřej Jirman wrote: > Hi, > > Icenowy Zheng píše v St 01. 11. 2017 v 08:31 +0800: >> >> And according to the Orange Pi PC2 and Prime schematics, they both >> start at 1.1V. (The Prime schematics even says "For H5 adjust >> VDD-CPUX to 1.1V). >> > > Orange Pi PC2 st

Re: [U-Boot] [PATCH v2 1/5] SPL: fix printing of image name

2017-11-01 Thread André Draszik
Hi, On Tue, 2017-10-03 at 16:55 +0100, André Draszik wrote: > From: André Draszik > > The maximum length of the name of the image is > obviously not sizeof(), which is just the > length of a pointer, but IH_NMLEN. > > fixes: 62cf11c0921a90c6bd62344f4bc069668e6c698c > ("SPL: Limit image name pr

Re: [U-Boot] About the way to fix platform specific issue in source file xhci.c (U-Boot)

2017-11-01 Thread Marek Vasut
On 11/01/2017 07:22 AM, Ran Wang wrote: > Hi Marek, > >> -Original Message- >> From: Ran Wang >> Sent: Wednesday, November 01, 2017 9:05 AM >> To: Marek Vasut ; Marek Vasut >> Cc: open list >> Subject: RE: [U-Boot] About the way to fix platform specific issue in source >> file xhci.c (U-

[U-Boot] [PATCH 05/13] efi_loader: reimplement LocateDevicePath

2017-11-01 Thread Heinrich Schuchardt
The current implementation of efi_locate_device_path does not match the UEFI specification. It completely ignores the protocol parameters. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 106 ++ 1 file changed, 76 insertions(+), 30 d

[U-Boot] [PATCH 07/13] efi_loader: efi_disk: use efi_add_protocol

2017-11-01 Thread Heinrich Schuchardt
Use efi_add_protocol to install protocols. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_disk.c | 39 +++ 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/lib/efi_loader/efi_disk.c b/lib/efi_loader/efi_disk.c index c6f0d732c1..1d6cf3

[U-Boot] [PATCH 08/13] efi_loader: efi_net: use efi_add_protocol

2017-11-01 Thread Heinrich Schuchardt
Use efi_add_protocol to add protocols. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_net.c | 34 -- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/lib/efi_loader/efi_net.c b/lib/efi_loader/efi_net.c index a7b101e830..8b2f682351 100644

[U-Boot] [PATCH 10/13] efi_loader: simplify efi_open_protocol

2017-11-01 Thread Heinrich Schuchardt
Use function efi_search_protocol. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 36 ++-- 1 file changed, 6 insertions(+), 30 deletions(-) diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index 7457d54739..2b3db16

[U-Boot] [PATCH 00/13] manage protocols in a linked list

2017-11-01 Thread Heinrich Schuchardt
Up to now the protocols of an EFI handle where contained in an array of fixed size. With the patch series the protocols are managed in a linked list. This both saves memory and gives more flexibility. The LocateDevicePath boot service is implemented according to the UEFI specification. A unit tes

[U-Boot] [PATCH 11/13] efi_loader: simplify find_obj

2017-11-01 Thread Heinrich Schuchardt
Use function efi_search_protocol. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_device_path.c | 43 ++-- 1 file changed, 19 insertions(+), 24 deletions(-) diff --git a/lib/efi_loader/efi_device_path.c b/lib/efi_loader/efi_device_path.c index 02487

[U-Boot] [PATCH 09/13] efi_loader: efi_gop: use efi_add_protocol

2017-11-01 Thread Heinrich Schuchardt
Use efi_add_protocol to add protocol. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_gop.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/lib/efi_loader/efi_gop.c b/lib/efi_loader/efi_gop.c index 737037..7b74d6ef33 100644 --- a/lib/efi_loader/

[U-Boot] [PATCH 12/13] efi_loader: manage protocols in a linked list

2017-11-01 Thread Heinrich Schuchardt
Signed-off-by: Heinrich Schuchardt --- include/efi_loader.h | 6 ++- lib/efi_loader/efi_boottime.c | 107 -- lib/efi_loader/efi_disk.c | 1 + lib/efi_loader/efi_gop.c | 1 + lib/efi_loader/efi_net.c | 1 + 5 files changed, 58

[U-Boot] [PATCH 04/13] efi_loader: fix efi_convert_device_node_to_text

2017-11-01 Thread Heinrich Schuchardt
We need to implement to different functions for the EFI_DEVICE_PATH_TO_TEXT_PROTOCOL: ConvertDeviceNodeToText ConvertDevicePathToText A recent patch screwed up efi_convert_device_node_to_text to expect a device path and not a node. The patch makes both service functions work again. efi_convert_d

[U-Boot] [PATCH 02/13] efi_loader: size of media device path node represenation

2017-11-01 Thread Heinrich Schuchardt
In the format specifier we want to specify the maximum width in case an ending \0 is missing. So slen must be used as precision and not as field width. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_device_path_to_text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --g

[U-Boot] [PATCH 06/13] efi_selftest: test EFI_DEVICE_PATH_TO_TEXT_PROTOCOL

2017-11-01 Thread Heinrich Schuchardt
Provide a test for the EFI_DEVICE_PATH_TO_TEXT_PROTOCOL protocol. Signed-off-by: Heinrich Schuchardt --- lib/efi_selftest/Makefile | 3 + lib/efi_selftest/efi_selftest_devicepath.c | 340 + 2 files changed, 343 insertions(+) create mode 100644 lib/

[U-Boot] [PATCH 1/1] efi_loader: manage protocols in a linked list

2017-11-01 Thread Heinrich Schuchardt
Signed-off-by: Heinrich Schuchardt --- include/efi_loader.h | 6 ++- lib/efi_loader/efi_boottime.c | 107 -- lib/efi_loader/efi_disk.c | 1 + lib/efi_loader/efi_gop.c | 1 + lib/efi_loader/efi_net.c | 1 + 5 files changed, 58

[U-Boot] [PATCH 03/13] efi_loader: efi_dp_str should print path not node

2017-11-01 Thread Heinrich Schuchardt
efi_dp_str is meant to print a device path and not a device node. The old coding only worked because efi_convert_device_node_to_text was screwed up to expect paths instead of nodes. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_device_path_to_text.c | 13 ++--- 1 file change

[U-Boot] [PATCH 01/13] efi_loader: efi_bootmgr: do not make hidden assignments

2017-11-01 Thread Heinrich Schuchardt
Assignments should not be made in the middle of nowhere. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_bootmgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/efi_loader/efi_bootmgr.c b/lib/efi_loader/efi_bootmgr.c index 857d88a879..d8d0e495f7 100644 ---

[U-Boot] [PATCH 13/13] efi_selftest: compile without special compiler flags

2017-11-01 Thread Heinrich Schuchardt
As the selftest is not compiled as an EFI binary we do not need special compiler flags. This avoids the checkarmreloc error on vexpress_ca15_tc2. Signed-off-by: Heinrich Schuchardt --- lib/efi_selftest/Makefile | 25 - 1 file changed, 25 deletions(-) diff --git a/lib/ef