[U-Boot] [PATCH v2] mtd/spi: Add MT35XU512ABA1G12 NOR flash support

2017-08-30 Thread Yogesh Gaur
Add MT35XU512ABA1G12 parameters to NOR flash parameters array. The MT35XU512ABA1G12 only supports 1 bit mode and 8 bits. It can't support dual and quad. Supports subsector erase with 4KB granularity, have support of FSR(flag status register) and flash size is 64MB. Signed-off-by: Yogesh Gaur

Re: [U-Boot] ** Can't read Driver Desriptor Block **

2017-08-30 Thread Bin Meng
Hi Heinrich, On Thu, Aug 31, 2017 at 5:19 AM, Heinrich Schuchardt wrote: > On 08/30/2017 06:37 AM, Heinrich Schuchardt wrote: >> >> >> On 08/30/2017 03:54 AM, Bin Meng wrote: >>> Hi Heinrich, >>> >>> On Wed, Aug 30, 2017 at 4:26 AM, Heinrich Schuchardt

Re: [U-Boot] [PATCH v4 1/8] armv8: Add workaround for USB erratum A-009008

2017-08-30 Thread Ran Wang
> -Original Message- > From: York Sun > Sent: Thursday, August 31, 2017 2:07 AM > To: Ran Wang ; open list > Cc: Suresh Gupta ; Sriram Dash > ; Prabhakar Kushwaha > ; Simon

Re: [U-Boot] [PATCH v4 3/8] armv8: Add workaround for USB erratum A-008997

2017-08-30 Thread Ran Wang
Hi York > -Original Message- > From: York Sun > Sent: Thursday, August 31, 2017 2:07 AM > To: Ran Wang ; open list > Cc: Suresh Gupta ; Sriram Dash > ; Prabhakar Kushwaha > ;

Re: [U-Boot] [linux-sunxi] Re: [PATCH 3/4] sunxi: dts: added emac node for nanopi m1

2017-08-30 Thread Chen-Yu Tsai
On Thu, Aug 31, 2017 at 7:10 AM, Philipp Rossak wrote: > > > On 30.08.2017 18:59, Jagan Teki wrote: >> >> On Wed, Aug 30, 2017 at 8:06 PM, Ondřej Jirman wrote: >>> >>> Hi, >>> >>> Jagan Teki píše v St 30. 08. 2017 v 19:48 +0530: On Wed, Aug 30, 2017 at

Re: [U-Boot] tpl build error "width suffixes are invalid in ARM mode"

2017-08-30 Thread Kever Yang
Hi Philipp, Yes, I'm building TPL, the error message gone after I add TPL_SYS_THUMB_BUILD. I still confuse where the build option affects, eg. which Mackfile or config.mk? Thanks, - Kever On 08/30/2017 06:16 PM, Dr. Philipp Tomsich wrote: I just realised that you are building TPL.

Re: [U-Boot] [PATCH v2 3/3] rockchip: evb-rk3399: update document for board bring up

2017-08-30 Thread Kever Yang
Hi Jagan, On 08/30/2017 11:10 PM, Jagan Teki wrote: + Philipp On Mon, Aug 21, 2017 at 6:30 PM, Kever Yang wrote: Since we support ATF in SPL and add script for it, let's make the document up to date. Signed-off-by: Kever Yang Acked-by:

Re: [U-Boot] [linux-sunxi] Re: [PATCH 3/4] sunxi: dts: added emac node for nanopi m1

2017-08-30 Thread Philipp Rossak
On 30.08.2017 18:59, Jagan Teki wrote: On Wed, Aug 30, 2017 at 8:06 PM, Ondřej Jirman wrote: Hi, Jagan Teki píše v St 30. 08. 2017 v 19:48 +0530: On Wed, Aug 30, 2017 at 2:40 PM, Philipp Rossak wrote: Am 30.08.2017 um 08:47 schrieb Jagan Teki: On Wed,

[U-Boot] [PATCH] net: Correct size of NFS buffers

2017-08-30 Thread Joe Hershberger
Reported-by: Coverity (CID: 152888) Signed-off-by: Joe Hershberger --- net/nfs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/nfs.h b/net/nfs.h index 70a1a6d..a773cfb 100644 --- a/net/nfs.h +++ b/net/nfs.h @@ -59,7 +59,7 @@ enum

[U-Boot] [PATCH] net: Remove nfs.h include from bootp.c

2017-08-30 Thread Joe Hershberger
Nothing from this header is used there, so remove it. Signed-off-by: Joe Hershberger --- net/bootp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/net/bootp.c b/net/bootp.c index 73370a1..59bb209 100644 --- a/net/bootp.c +++ b/net/bootp.c @@ -14,7 +14,6 @@

[U-Boot] [PATCH] net: Fix buffer overrun error in netconsole

2017-08-30 Thread Joe Hershberger
Need to not access the byte after the input_buffer. Reported-by: Coverity (CID: 144423) Signed-off-by: Joe Hershberger --- drivers/net/netconsole.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/net/netconsole.c

[U-Boot] [PATCH] imx: imx7d: remove CamelCase from ENET_xMHz macros

2017-08-30 Thread Eric Nelson
Update these macros to use all upper-case to avoid checkpatch warnings: ENET_25MHz, ENET_50MHz, ENET_125MHz, Signed-off-by: Eric Nelson --- arch/arm/include/asm/arch-mx7/clock.h | 6 +++--- arch/arm/mach-imx/mx7/clock.c | 2 +-

Re: [U-Boot] [PATCH V2] imx: mx7: Add support for USB and normal boot modes

2017-08-30 Thread Eric Nelson
Sorry for the spam. I resent this by mistake. On 08/30/2017 03:13 PM, Eric Nelson wrote: This adds support for two additional boot modes on the i.MX7D SoC, which is most useful when doing U-Boot development on this chip. 1. "bmode usb" can be used to force the ROM boot loader's serial 2.

[U-Boot] [PATCH V2] imx: mx7: Add support for USB and normal boot modes

2017-08-30 Thread Eric Nelson
This adds support for two additional boot modes on the i.MX7D SoC, which is most useful when doing U-Boot development on this chip. 1. "bmode usb" can be used to force the ROM boot loader's serial 2. "bmode normal" can be used to revert to the normal boot mode as specified by fuses and

Re: [U-Boot] ** Can't read Driver Desriptor Block **

2017-08-30 Thread Heinrich Schuchardt
On 08/30/2017 06:37 AM, Heinrich Schuchardt wrote: > > > On 08/30/2017 03:54 AM, Bin Meng wrote: >> Hi Heinrich, >> >> On Wed, Aug 30, 2017 at 4:26 AM, Heinrich Schuchardt >> wrote: >>> Hello Simon, >>> >>> U-Boot HEAD qemu-86_defconfig cannot discover an IDE disk with one

Re: [U-Boot] [PATCH 0/2] Board for QEMU's '-machine virt' on ARM

2017-08-30 Thread Peter Robinson
On Wed, Aug 30, 2017 at 9:31 AM, Tuomas Tynkkynen wrote: > Hi, > > Sending this out in a slightly unfinished state to gauge if there's > interest in having this included in U-Boot. Basically this allows > running U-Boot under QEMU's '-machine virt' emulation, thus making

Re: [U-Boot] [PATCH v3 4/5] spl: fit: Support both external and embedded data

2017-08-30 Thread York Sun
On 08/30/2017 10:12 AM, York Sun wrote: > On 08/26/2017 06:39 AM, Simon Glass wrote: >> On 15 August 2017 at 12:14, York Sun wrote: >>> SPL supports U-Boot image in FIT format which has data outside of >>> FIT structure. This adds support for embedded data for normal FIT >>>

Re: [U-Boot] [PATCH v4 3/8] armv8: Add workaround for USB erratum A-008997

2017-08-30 Thread York Sun
On 08/28/2017 02:33 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

Re: [U-Boot] [PATCH v4 1/8] armv8: Add workaround for USB erratum A-009008

2017-08-30 Thread York Sun
On 08/28/2017 02:32 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 v4 2/3] armv8: ls1088ardb: Add support for LS1088ARDB platform

2017-08-30 Thread York Sun
On 08/17/2017 10:44 PM, 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

Re: [U-Boot] [PATCH v3 4/5] spl: fit: Support both external and embedded data

2017-08-30 Thread York Sun
On 08/26/2017 06:39 AM, Simon Glass wrote: > On 15 August 2017 at 12:14, York Sun wrote: >> SPL supports U-Boot image in FIT format which has data outside of >> FIT structure. This adds support for embedded data for normal FIT >> images. >> >> Signed-off-by: York Sun

Re: [U-Boot] [linux-sunxi] Re: [PATCH 3/4] sunxi: dts: added emac node for nanopi m1

2017-08-30 Thread Jagan Teki
On Wed, Aug 30, 2017 at 8:06 PM, Ondřej Jirman wrote: > Hi, > > Jagan Teki píše v St 30. 08. 2017 v 19:48 +0530: >> On Wed, Aug 30, 2017 at 2:40 PM, Philipp Rossak wrote: >> > >> > >> > Am 30.08.2017 um 08:47 schrieb Jagan Teki: >> > > >> > > On Wed, Aug 30, 2017

[U-Boot] [PATCH 2/2] ARM: Add a new arch + board for QEMU's 'virt' machine

2017-08-30 Thread Tuomas Tynkkynen
This board builds an U-Boot binary that is bootable with QEMU's 'virt' machine on ARM. The minimal QEMU command line is: qemu-system-arm -machine virt,highmem=off -bios u-boot.bin (Note that the 'highmem=off' parameter to the 'virt' machine is required for PCI to work in U-Boot.) This

[U-Boot] [PATCH] sunxi: Change SUNXI_GMAC to SUN7I_GMAC in sources

2017-08-30 Thread Lionel Koenig
Hi, I found that in commit-id 4d43d065db3262f9a9918ba72457bf36dfb8e0bb was changing SUNXI_GMAC config to SUN7I_GMAC. However, after that change, the PHY was not initialized correctly on my board (Olimex Olinuxino-A20-Lime2-eMMC). This patch should correct the behavior. However, beeing my first

Re: [U-Boot] [linux-sunxi] Re: [PATCH 3/4] sunxi: dts: added emac node for nanopi m1

2017-08-30 Thread Ondřej Jirman
Hi, Jagan Teki píše v St 30. 08. 2017 v 19:48 +0530: > On Wed, Aug 30, 2017 at 2:40 PM, Philipp Rossak wrote: > > > > > > Am 30.08.2017 um 08:47 schrieb Jagan Teki: > > > > > > On Wed, Aug 30, 2017 at 6:02 AM, Philipp Rossak wrote: > > > > > > > > From:

[U-Boot] [PATCH] cmd: set filesize variable in ubi read

2017-08-30 Thread Holger Dengler
After a successful read of a UBI volume, the variable filesize is set to the number of read bytes. To boot linux with a raw initramfs/initrd, you must specify the exact size of the initramfs/initrd image in boot command. If the initramfs/inird is read from UBI volume, $filesize is required to

[U-Boot] [PATCH 1/2] PCI: Add driver for a 'pci-host-ecam-generic' host controller

2017-08-30 Thread Tuomas Tynkkynen
QEMU emulates such a device with '-machine virt,highmem=off' on ARM. The 'highmem=off' part is required for things to work as the PCI code in U-Boot doesn't seem to support 64-bit BARs. This driver is basically a copy-paste of the Xilinx PCIE driver with the Xilinx-specific bits removed and

[U-Boot] [PATCH 0/2] Board for QEMU's '-machine virt' on ARM

2017-08-30 Thread Tuomas Tynkkynen
Hi, Sending this out in a slightly unfinished state to gauge if there's interest in having this included in U-Boot. Basically this allows running U-Boot under QEMU's '-machine virt' emulation, thus making it possible to boot Linux distros that use the extlinux.conf booting method under '-machine

Re: [U-Boot] setup of PEX_GCLK_RATIO in E500 CPUs(P2010) missing ?

2017-08-30 Thread Joakim Tjernlund
On Wed, 2017-08-30 at 15:25 +, York Sun wrote: > On 08/30/2017 06:05 AM, Joakim Tjernlund wrote: > > On Tue, 2017-08-29 at 17:33 +, York Sun wrote: > > > +Roy Zang to comment on PCIe clock source > > > > > > On 08/29/2017 10:06 AM, Joakim Tjernlund wrote: > > > > On Tue, 2017-08-29 at

Re: [U-Boot] [PATCH v4] spi: fsl_qspi: Add controller busy check before new spi operation

2017-08-30 Thread Jagan Teki
On Wed, Aug 30, 2017 at 8:06 PM, Suresh Gupta wrote: > It is recommended to check either controller is free to take > new spi action. The IP_ACC and AHB_ACC bits indicates that > the controller is busy in IP or AHB mode respectively. > And the BUSY bit indicates that

Re: [U-Boot] setup of PEX_GCLK_RATIO in E500 CPUs(P2010) missing ?

2017-08-30 Thread York Sun
On 08/30/2017 06:05 AM, Joakim Tjernlund wrote: > On Tue, 2017-08-29 at 17:33 +, York Sun wrote: >> +Roy Zang to comment on PCIe clock source >> >> On 08/29/2017 10:06 AM, Joakim Tjernlund wrote: >>> On Tue, 2017-08-29 at 15:43 +, York Sun wrote: On 08/29/2017 06:21 AM, Joakim

Re: [U-Boot] [PATCH v2 3/3] rockchip: evb-rk3399: update document for board bring up

2017-08-30 Thread Jagan Teki
+ Philipp On Mon, Aug 21, 2017 at 6:30 PM, Kever Yang wrote: > Since we support ATF in SPL and add script for it, let's make the > document up to date. > > Signed-off-by: Kever Yang > Acked-by: Philipp Tomsich

[U-Boot] [RFC PATCH v1 0/2] edison: Enable ACPI

2017-08-30 Thread Andy Shevchenko
This RFC series based on discussion [1] to show how we may unleash the powerfulness of ACPI on the board, which initially didn't support it, via U-Boot. The series is highly experimental, though I'm using it on daily basis since my main work on ACPI pin control glue layer. More information is

[U-Boot] [PATCH v1 1/2] x86: tangier: Enable ACPI support for Intel Tangier

2017-08-30 Thread Andy Shevchenko
Intel Tangier SoC is a part of Intel Merrifield platform which doesn't utilize ACPI by default. Here is an attempt to unleash ACPI flexibility power on Intel Merrifield based platforms. The change brings minimum support of the devices that found on Intel Merrifield based end user device.

[U-Boot] [PATCH v1 2/2] x86: edison: Bring ACPI minimal support to the board

2017-08-30 Thread Andy Shevchenko
This board is based on Intel Tangier SoC (Intel Merrifield platform) and may utilize ACPI powerfulness. Bring minimum support by appending initial DSDT table for it. Note, the addresses for generated tables are carefully chosen to avoid any conflicts with existing shadowed BIOS data. The user

[U-Boot] [PATCH v4] spi: fsl_qspi: Add controller busy check before new spi operation

2017-08-30 Thread Suresh Gupta
It is recommended to check either controller is free to take new spi action. The IP_ACC and AHB_ACC bits indicates that the controller is busy in IP or AHB mode respectively. And the BUSY bit indicates that controller is currently busy handling a transaction to an external flash device

Re: [U-Boot] [PATCH v3] spi: fsl_qspi: Add controller busy check before new spi operation

2017-08-30 Thread Jagan Teki
On Wed, Aug 30, 2017 at 8:01 PM, Suresh Gupta wrote: > > >> -Original Message- >> From: Jagan Teki [mailto:jagannadh.t...@gmail.com] >> Sent: Wednesday, August 30, 2017 7:54 PM >> To: Suresh Gupta >> Cc: u-boot@lists.denx.de; York Sun

Re: [U-Boot] [PATCH v3] spi: fsl_qspi: Add controller busy check before new spi operation

2017-08-30 Thread Suresh Gupta
> -Original Message- > From: Jagan Teki [mailto:jagannadh.t...@gmail.com] > Sent: Wednesday, August 30, 2017 7:54 PM > To: Suresh Gupta > Cc: u-boot@lists.denx.de; York Sun > Subject: Re: [PATCH v3] spi: fsl_qspi: Add controller busy check before

Re: [U-Boot] [PATCH v3] spi: fsl_qspi: Add controller busy check before new spi operation

2017-08-30 Thread Jagan Teki
On Wed, Aug 30, 2017 at 2:00 PM, Suresh Gupta wrote: > It is recommended to check either controller is free to take > new spi action. The IP_ACC and AHB_ACC bits indicates that > the controller is busy in IP or AHB mode respectively. > And the BUSY bit indicates that

Re: [U-Boot] [PATCH 3/4] sunxi: dts: added emac node for nanopi m1

2017-08-30 Thread Jagan Teki
On Wed, Aug 30, 2017 at 2:40 PM, Philipp Rossak wrote: > > > Am 30.08.2017 um 08:47 schrieb Jagan Teki: >> >> On Wed, Aug 30, 2017 at 6:02 AM, Philipp Rossak wrote: >>> >>> From: Philipp Rossak >>> >>> The sun8i emac hardware is present

[U-Boot] [PATCH V2] imx: mx7: Add support for USB and normal boot modes

2017-08-30 Thread Eric Nelson
This adds support for two additional boot modes on the i.MX7D SoC, which is most useful when doing U-Boot development on this chip. 1. "bmode usb" can be used to force the ROM boot loader's serial 2. "bmode normal" can be used to revert to the normal boot mode as specified by fuses and

Re: [U-Boot] [PATCH] imx: mx7: Add support for USB boot mode

2017-08-30 Thread Eric Nelson
Hi Troy, On 08/29/2017 11:55 AM, Troy Kisky wrote: On 8/29/2017 7:37 AM, Eric Nelson wrote: Hi Troy, On 08/28/2017 09:42 AM, Troy Kisky wrote: On 8/27/2017 3:04 PM, Eric Nelson wrote: This adds support for USB boot mode on the i.MX7D SoC, which is most useful when doing U-Boot development

Re: [U-Boot] [PATCH v3 2/8] sf: describe all SPI flash commands with 'struct spi_flash_command'

2017-08-30 Thread Jagan Teki
On Tue, Jul 25, 2017 at 12:30 PM, Wenyou Yang wrote: > From: Cyrille Pitchen > > Now that the SPI sub-system API has been extended with > 'struct spi_flash_command' and spi_is_flash_command_supported() / > spi_exec_flash_command() functions,

Re: [U-Boot] [PATCH v3 8/8] sf: add driver for Atmel QSPI controller

2017-08-30 Thread Jagan Teki
On Tue, Jul 25, 2017 at 12:31 PM, Wenyou Yang wrote: > From: Cyrille Pitchen > > This patch adds support to the Atmel Quad SPI controller. So, this is SPI flash driver not Generic SPI - the problem with these were resides at drivers/spi is

Re: [U-Boot] [PATCH v3 1/8] spi: add support of SPI flash commands

2017-08-30 Thread Jagan Teki
On Tue, Jul 25, 2017 at 12:30 PM, Wenyou Yang wrote: > From: Cyrille Pitchen > > This patch introduces 'struct spi_flash_command' and functions > spi_is_flash_command_supported() / spi_exec_flash_command(). > Answer for why this shouldn't be

Re: [U-Boot] [PATCH] libfdt: Initialize the stack variable

2017-08-30 Thread J. William Campbell
On 8/29/2017 10:15 PM, tien.fong.c...@intel.com wrote: From: Tien Fong Chee Report Coverity log: The code uses a variable that has not been initialized, leading to unpredictable or unintended results. Reported-by: Coverity (CID: 60519) Signed-off-by: Tien Fong Chee

Re: [U-Boot] [PATCH v3 0/8] sf: improve support of (Q)SPI flash memories

2017-08-30 Thread Jagan Teki
Hi Bin, On Wed, Aug 30, 2017 at 1:17 PM, Bin Meng wrote: > Hi Jagan, > > On Wed, Aug 30, 2017 at 2:30 PM, Jagan Teki wrote: >> Hi Bin, >> >> On Wed, Aug 30, 2017 at 11:11 AM, Bin Meng wrote: >>> On Wed, Aug 30, 2017 at 1:27 PM,

Re: [U-Boot] setup of PEX_GCLK_RATIO in E500 CPUs(P2010) missing ?

2017-08-30 Thread Joakim Tjernlund
On Tue, 2017-08-29 at 17:33 +, York Sun wrote: > +Roy Zang to comment on PCIe clock source > > On 08/29/2017 10:06 AM, Joakim Tjernlund wrote: > > On Tue, 2017-08-29 at 15:43 +, York Sun wrote: > > > On 08/29/2017 06:21 AM, Joakim Tjernlund wrote: > > > > On Tue, 2017-08-29 at 12:47

Re: [U-Boot] [PATCH] x86: theadorable-x86-common: Remove "ip=dhcp" from default environment

2017-08-30 Thread Bin Meng
On Wed, Aug 30, 2017 at 3:40 PM, Stefan Roese wrote: > Without ethernet cable plugged, "ip=dhcp" leads to a complete hangup in > Linux booting and the system does not boot into userland at all. Since > its not required to have an active network connection on these board, > lets

[U-Boot] [PATCH 3/4] armv7: ls1021atwr: Add sd_bootcmd for distro fallback in case of sdboot

2017-08-30 Thread Shengzhou Liu
Signed-off-by: Shengzhou Liu --- include/configs/ls1021atwr.h | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h index 0e5b004868..45fb94a889 100644 --- a/include/configs/ls1021atwr.h

[U-Boot] [PATCH 2/4] arm64: ls1046ardb: Add sd_bootcmd for distro fallback in case of sdboot

2017-08-30 Thread Shengzhou Liu
Signed-off-by: Shengzhou Liu --- include/configs/ls1046a_common.h | 8 +++- include/configs/ls1046ardb.h | 6 ++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/include/configs/ls1046a_common.h b/include/configs/ls1046a_common.h index

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

2017-08-30 Thread Shengzhou Liu
Signed-off-by: Shengzhou Liu --- include/configs/ls2080ardb.h | 17 + 1 file changed, 17 insertions(+) diff --git a/include/configs/ls2080ardb.h b/include/configs/ls2080ardb.h index b309d79586..9458fda173 100644 --- a/include/configs/ls2080ardb.h +++

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

2017-08-30 Thread Shengzhou Liu
Signed-off-by: Shengzhou Liu --- include/configs/ls1043a_common.h | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/include/configs/ls1043a_common.h b/include/configs/ls1043a_common.h index f064d5c24a..976c031574 100644 ---

Re: [U-Boot] DA850evm SPI Flash Partitions between Linux and U-boot are Inconsistent

2017-08-30 Thread Adam Ford
On Wed, Aug 30, 2017 at 12:30 AM, Sekhar Nori wrote: > On Wednesday 30 August 2017 08:07 AM, Adam Ford wrote: >> On Tue, Aug 29, 2017 at 8:05 AM, Adam Ford wrote: >>> On Tue, Aug 29, 2017 at 6:41 AM, Sekhar Nori wrote: On Tuesday 29

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

2017-08-30 Thread Stefano Babic
Hi Tom, please pull from u-boot-imx, thanks ! The following changes since commit 90ae53ce1ae665a1b43ecf5ccafc339839392427: fastboot: Ensure we treat CONFIG_FASTBOOT_BUF_ADDR as long (2017-08-22 08:20:02 -0400) are available in the git repository at: git://www.denx.de/git/u-boot-imx.git

Re: [U-Boot] tpl build error "width suffixes are invalid in ARM mode"

2017-08-30 Thread Dr. Philipp Tomsich
I just realised that you are building TPL. For this you will need a TPL_SYS_THUMB_BUILD symbol now (with the CONFIG_IS_ENABLED knowing about the difference between TPL and SPL). Here’s the test output from my commandline: ptomsich@android:~/rk3399-spl/u-boot$

Re: [U-Boot] [PATCH 1/2] i.MX6Q: spl: Fix falcon to use dram_init_banksize

2017-08-30 Thread Stefano Babic
Hi Jagan, On 29/08/2017 11:09, Jagan Teki wrote: > Hi Stefano, > > On Mon, Aug 28, 2017 at 4:45 PM, Jagan Teki wrote: >> From: Jagan Teki >> >> Memory dt node update introduced by spl_fixup_fdt() in below >> commit was making DDR

Re: [U-Boot] [PATCH v2 00/16] dtoc: Add support for 64-bit addresses

2017-08-30 Thread Dr. Philipp Tomsich
> On 30 Aug 2017, at 11:37, Simon Glass wrote: > > Hi Philipp, > > On 30 August 2017 at 04:31, Dr. Philipp Tomsich > wrote: >> Simon, >> >> I should be able to give this a test drive on the RK3368 by the end of the >> week. >> For

Re: [U-Boot] [PATCH v2 00/16] dtoc: Add support for 64-bit addresses

2017-08-30 Thread Simon Glass
Hi Philipp, On 30 August 2017 at 04:31, Dr. Philipp Tomsich wrote: > Simon, > > I should be able to give this a test drive on the RK3368 by the end of the > week. > For the RK3399 our board uses full OF_CONTROL, so I won’t really exercise > this there. > >

Re: [U-Boot] [PATCH 00/23] efi_loader implement missing functions

2017-08-30 Thread Simon Glass
Hi Heinrich, On 30 August 2017 at 06:03, Heinrich Schuchardt wrote: > > > On 08/29/2017 10:38 PM, Alexander Graf wrote: >> >> >>> Am 29.08.2017 um 22:16 schrieb Simon Glass : >>> >>> Hi, >>> On 29 August 2017 at 22:16, Rob Clark

Re: [U-Boot] tpl build error "width suffixes are invalid in ARM mode"

2017-08-30 Thread Kever Yang
Philipp, On 08/30/2017 04:59 PM, Dr. Philipp Tomsich wrote: Kever, I took a quick look and this seems to be an issue with CONFIG macros. This is failing, because the assembly (after preprocessing) requests regular ARM mode and supplies Thumb mnemonics (e.g. nop.w). The trigger seems to be

Re: [U-Boot] [PATCH 05/19] arm: socfpga: Enhance FPGA program support with at least 4 byte data

2017-08-30 Thread Marek Vasut
On 08/30/2017 10:24 AM, Chee, Tien Fong wrote: > On Sel, 2017-08-29 at 13:58 +0200, Marek Vasut wrote: >> On 08/29/2017 12:45 PM, tien.fong.c...@intel.com wrote: >>> >>> From: Tien Fong Chee >>> >>> This patch enables FPGA program with minimum 4 byte data size. >> What

Re: [U-Boot] [PATCH 07/19] arm: socfpga: Add DRAM bank size initialization function

2017-08-30 Thread Marek Vasut
On 08/30/2017 10:36 AM, Chee, Tien Fong wrote: > On Sel, 2017-08-29 at 13:59 +0200, Marek Vasut wrote: >> On 08/29/2017 12:45 PM, tien.fong.c...@intel.com wrote: >>> >>> From: Tien Fong Chee >>> >>> Add function for both multiple DRAM bank and single DRAM bank size >>>

Re: [U-Boot] [PATCH 04/19] arm: socfpga: Add FPGA loadfs command support

2017-08-30 Thread Marek Vasut
On 08/30/2017 10:18 AM, Chee, Tien Fong wrote: > On Sel, 2017-08-29 at 13:57 +0200, Marek Vasut wrote: >> On 08/29/2017 12:45 PM, tien.fong.c...@intel.com wrote: >>> >>> From: Tien Fong Chee >>> >>> This patch enables FPGA loadfs command support to U-boot console. >>>

Re: [U-Boot] [PATCH 03/19] arm: socfpga: Add driver for flash to program FPGA

2017-08-30 Thread Marek Vasut
On 08/30/2017 10:05 AM, Chee, Tien Fong wrote: > On Sel, 2017-08-29 at 13:55 +0200, Marek Vasut wrote: >> On 08/29/2017 12:45 PM, tien.fong.c...@intel.com wrote: >>> >>> From: Tien Fong Chee >>> >>> This driver handles FPGA program operation from flash loading >>> RBF to

Re: [U-Boot] [PATCH 01/19] configs: Add FPGA loadfs config for Arria 10

2017-08-30 Thread Marek Vasut
On 08/30/2017 07:59 AM, Chee, Tien Fong wrote: > On Sel, 2017-08-29 at 13:51 +0200, Marek Vasut wrote: >> On 08/29/2017 12:45 PM, tien.fong.c...@intel.com wrote: >>> >>> From: Tien Fong Chee >>> >>> This config allow FPGA design loaded from FAT fs to FPGA manager. >>>

Re: [U-Boot] [PATCH 3/4] sunxi: dts: added emac node for nanopi m1

2017-08-30 Thread Philipp Rossak
Am 30.08.2017 um 08:47 schrieb Jagan Teki: On Wed, Aug 30, 2017 at 6:02 AM, Philipp Rossak wrote: From: Philipp Rossak The sun8i emac hardware is present on the Nanopi M1. It uses the internal PHY. Signed-off-by: Philipp Rossak ---

Re: [U-Boot] tpl build error "width suffixes are invalid in ARM mode"

2017-08-30 Thread Dr. Philipp Tomsich
Kever, I took a quick look and this seems to be an issue with CONFIG macros. This is failing, because the assembly (after preprocessing) requests regular ARM mode and supplies Thumb mnemonics (e.g. nop.w). The trigger seems to be the following CONFIG_IS_ENABLED check in arch/arm/lib/memcpy.S:

Re: [U-Boot] [u-boot-release] [PATCH 2/3] armv8: ls1088a: SPL size reduction

2017-08-30 Thread Sumit Garg
< snip > > >> On 08/29/2017 12:02 AM, Sumit Garg wrote: > >>> Using changes in this patch we were able to reduce approx 8k size of > >>> u-boot-spl.bin image. Following is breif description of changes to > >>> reduce SPL size: > >>> 1. Changes in board/freescale/ls1088a/Makefile to remove > >>>

Re: [U-Boot] [PATCH 07/19] arm: socfpga: Add DRAM bank size initialization function

2017-08-30 Thread Chee, Tien Fong
On Sel, 2017-08-29 at 13:59 +0200, Marek Vasut wrote: > On 08/29/2017 12:45 PM, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > Add function for both multiple DRAM bank and single DRAM bank size > > initialization. This common functionality could

[U-Boot] tpl build error "width suffixes are invalid in ARM mode"

2017-08-30 Thread Kever Yang
Hi I get build error when I try to enable TPL for a new armv7 chip, the error happen when I build arch/arm/lib/memcpy.S, the file can pass the build for SPL but failed in TPL build, the log is here: The build can success if I remove the '-DCONFIT_TPL_BUILD' in red, any people can help on

[U-Boot] [PATCH v3] spi: fsl_qspi: Add controller busy check before new spi operation

2017-08-30 Thread Suresh Gupta
It is recommended to check either controller is free to take new spi action. The IP_ACC and AHB_ACC bits indicates that the controller is busy in IP or AHB mode respectively. And the BUSY bit indicates that controller is currently busy handling a transaction to an external flash device

Re: [U-Boot] [PATCH 06/19] arm: socfpga: Rename the gen5 sdram driver to more specific name

2017-08-30 Thread Chee, Tien Fong
On Sel, 2017-08-29 at 13:59 +0200, Marek Vasut wrote: > On 08/29/2017 12:45 PM, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > Current sdram driver is only applied to gen5 device, hence it is > > better > > to rename sdram driver to more specific

Re: [U-Boot] [PATCH 05/19] arm: socfpga: Enhance FPGA program support with at least 4 byte data

2017-08-30 Thread Chee, Tien Fong
On Sel, 2017-08-29 at 13:58 +0200, Marek Vasut wrote: > On 08/29/2017 12:45 PM, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > This patch enables FPGA program with minimum 4 byte data size. > What does that mean ? Expand the description, it's

Re: [U-Boot] [PATCH 04/19] arm: socfpga: Add FPGA loadfs command support

2017-08-30 Thread Chee, Tien Fong
On Sel, 2017-08-29 at 13:57 +0200, Marek Vasut wrote: > On 08/29/2017 12:45 PM, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > This patch enables FPGA loadfs command support to U-boot console. > > > > Signed-off-by: Tien Fong Chee

[U-Boot] Please pull u-boot-marvell/master

2017-08-30 Thread Stefan Roese
Hi Tom, please pull this last minute fix from Chris, which is needed to get SPI NOR working on current master. Thanks, Stefan The following changes since commit 8b3cec7da18645eda7f7cd0b65ee9f2dac573409: mtdparts: Fix uninitialized scalar usage (2017-08-26 16:59:24 -0400) are available in

Re: [U-Boot] [PATCH 03/19] arm: socfpga: Add driver for flash to program FPGA

2017-08-30 Thread Chee, Tien Fong
On Sel, 2017-08-29 at 13:55 +0200, Marek Vasut wrote: > On 08/29/2017 12:45 PM, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > This driver handles FPGA program operation from flash loading > > RBF to memory and then to program FPGA. > > > >

Re: [U-Boot] [PATCH] ARM: mvebu: add "spi-flash" compatible string

2017-08-30 Thread Stefan Roese
On 30.08.2017 08:37, Jagan Teki wrote: On Tue, Aug 29, 2017 at 2:07 PM, Chris Packham wrote: U-boots spi-nor support is currently considered a work in progress. For now to avoid issues it is necessary to add a "spi-flash" compatible string. Eventually the

Re: [U-Boot] [PATCH 00/23] efi_loader implement missing functions

2017-08-30 Thread Leif Lindholm
On Wed, Aug 30, 2017 at 12:03:16AM +0200, Heinrich Schuchardt wrote: > On 08/29/2017 10:38 PM, Alexander Graf wrote: > >> Am 29.08.2017 um 22:16 schrieb Simon Glass : > >> That seems more useful long term than re-inventing comprehensive UEFI > >> test suite. (Also,

[U-Boot] [PATCH] arm: mvebu: Remove theadorable_defconfig

2017-08-30 Thread Stefan Roese
Currently, we support 2 "theadorable" MVEBU build targets. One with a stripped down configuration (theadorable) and one with a full blown configuration (theadorable_debug), including PCI, ethernet etc. When we introduced these configs, the plan was to remove the debug version at some point. But

Re: [U-Boot] [PATCH v3 0/8] sf: improve support of (Q)SPI flash memories

2017-08-30 Thread Bin Meng
Hi Jagan, On Wed, Aug 30, 2017 at 2:30 PM, Jagan Teki wrote: > Hi Bin, > > On Wed, Aug 30, 2017 at 11:11 AM, Bin Meng wrote: >> On Wed, Aug 30, 2017 at 1:27 PM, Yang, Wenyou >> wrote: >>> >>> >>> On 2017/8/30 11:43, Bin

[U-Boot] [PATCH] x86: theadorable-x86-common: Remove "ip=dhcp" from default environment

2017-08-30 Thread Stefan Roese
Without ethernet cable plugged, "ip=dhcp" leads to a complete hangup in Linux booting and the system does not boot into userland at all. Since its not required to have an active network connection on these board, lets remove this statement from the default environment. Signed-off-by: Stefan Roese

Re: [U-Boot] [PATCH v2] spi: fsl_qspi: Add controller busy check before new spi operation

2017-08-30 Thread Jagan Teki
On Wed, Aug 30, 2017 at 12:23 PM, Suresh Gupta wrote: > > >> -Original Message- >> From: Jagan Teki [mailto:jagannadh.t...@gmail.com] >> Sent: Tuesday, August 29, 2017 11:08 PM >> To: Suresh Gupta >> Cc: u-boot@lists.denx.de; York Sun

Re: [U-Boot] [PATCH v2] spi: fsl_qspi: Add controller busy check before new spi operation

2017-08-30 Thread Suresh Gupta
> -Original Message- > From: Jagan Teki [mailto:jagannadh.t...@gmail.com] > Sent: Tuesday, August 29, 2017 11:08 PM > To: Suresh Gupta > Cc: u-boot@lists.denx.de; York Sun > Subject: Re: [PATCH v2] spi: fsl_qspi: Add controller busy check before

Re: [U-Boot] [PATCH 3/4] sunxi: dts: added emac node for nanopi m1

2017-08-30 Thread Jagan Teki
On Wed, Aug 30, 2017 at 6:02 AM, Philipp Rossak wrote: > From: Philipp Rossak > > The sun8i emac hardware is present on the Nanopi M1. > It uses the internal PHY. > > Signed-off-by: Philipp Rossak > --- >

Re: [U-Boot] ** Can't read Driver Desriptor Block **

2017-08-30 Thread Lothar Waßmann
Hi, On Wed, 30 Aug 2017 14:34:18 +0800 Simon Glass wrote: > Hi, > > On 30 August 2017 at 09:54, Bin Meng wrote: > > Hi Heinrich, > > > > On Wed, Aug 30, 2017 at 4:26 AM, Heinrich Schuchardt > > wrote: > >> Hello Simon, > >> > >> U-Boot HEAD

Re: [U-Boot] [PATCH] ARM: mvebu: add "spi-flash" compatible string

2017-08-30 Thread Jagan Teki
On Tue, Aug 29, 2017 at 2:07 PM, Chris Packham wrote: > U-boots spi-nor support is currently considered a work in progress. For > now to avoid issues it is necessary to add a "spi-flash" compatible > string. Eventually the "jedec,spi-nor" will be sufficient when the core

Re: [U-Boot] ** Can't read Driver Desriptor Block **

2017-08-30 Thread Simon Glass
Hi, On 30 August 2017 at 09:54, Bin Meng wrote: > Hi Heinrich, > > On Wed, Aug 30, 2017 at 4:26 AM, Heinrich Schuchardt > wrote: >> Hello Simon, >> >> U-Boot HEAD qemu-86_defconfig cannot discover an IDE disk with one FAT >> partition in

Re: [U-Boot] [PATCH v3 0/8] sf: improve support of (Q)SPI flash memories

2017-08-30 Thread Jagan Teki
Hi Wenyou Yang, On Wed, Aug 30, 2017 at 7:28 AM, Yang, Wenyou wrote: > Hi Jagan, > > > On 2017/8/26 14:34, Jagan Teki wrote: >> >> Hi, >> >> Thanks for the changes. >> >> On Tue, Jul 25, 2017 at 12:30 PM, Wenyou Yang >> wrote: >>> >>> This

Re: [U-Boot] [PATCH v3 0/8] sf: improve support of (Q)SPI flash memories

2017-08-30 Thread Jagan Teki
Hi Bin, On Wed, Aug 30, 2017 at 11:11 AM, Bin Meng wrote: > On Wed, Aug 30, 2017 at 1:27 PM, Yang, Wenyou > wrote: >> >> >> On 2017/8/30 11:43, Bin Meng wrote: >>> >>> On Wed, Aug 30, 2017 at 11:25 AM, Yang, Wenyou >>>

[U-Boot] [PATCH V4 10/12] board: freescale: common: add pfuze dm code

2017-08-30 Thread Peng Fan
Add pfuze dm code, this code does the same thing as pfuze.c, but only effects when CONFIG_$(SPL_)DM_PMIC_PFUZE100 enabled. Signed-off-by: Peng Fan Cc: York Sun Cc: Jaehoon Chung Cc: Stefano Babic --- V2->V4: none

[U-Boot] [PATCH V4 07/12] imx: mx6sabresd: enable SPL FIT

2017-08-30 Thread Peng Fan
Enable SPL FIT. Now DM drivers are not enabled, so boards boot as before with only the difference that loading dtb. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam --- V2->V4: none configs/mx6sabresd_defconfig | 7 ++-

[U-Boot] [PATCH V4 05/12] imx: introduce mkimage_fit.sh

2017-08-30 Thread Peng Fan
Introduce mkimage_fit.sh which is modifed from board/sunxi/mksunxi_fit_atf.sh. ATF is dropped and modified for arm32 arch. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam --- V2->V4: none arch/arm/mach-imx/mkimage_fit.sh |

[U-Boot] [PATCH V4 06/12] imx: mx6sabresd: implement board_fit_config_name_match

2017-08-30 Thread Peng Fan
Implement board_fit_config_name_match. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam --- V2->V4: none board/freescale/mx6sabresd/mx6sabresd.c | 13 + 1 file changed, 13 insertions(+) diff --git

[U-Boot] [PATCH V4 11/12] imx: mx6sabresd: enable dm drivers

2017-08-30 Thread Peng Fan
Enable DM MMC/I2C/PMIC/GPIO/REGULATOR. Signed-off-by: Peng Fan Cc: Fabio Estevam Cc: Stefano Babic --- V2->V4: none board/freescale/mx6sabresd/mx6sabresd.c | 326 +--- configs/mx6sabresd_defconfig

[U-Boot] [PATCH V4 09/12] power: pmic.h: include dm/ofnode.h

2017-08-30 Thread Peng Fan
Include dm/ofnode.h. Signed-off-by: Peng Fan Reviewed-by: Simon Glass Cc: Stefano Babic --- V2: none V3: add r-b tag V4: none include/power/pmic.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/power/pmic.h

[U-Boot] [PATCH V4 12/12] imx: mx6sabresd: update README

2017-08-30 Thread Peng Fan
Update README since we use FIT now. Signed-off-by: Peng Fan Cc: Fabio Estevam Cc: Stefano Babic --- V2->V4: none board/freescale/mx6sabresd/README | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git

[U-Boot] [PATCH V4 08/12] mmc: fsl_esdhc: switch to use CONFIG_IS_ENABLED

2017-08-30 Thread Peng Fan
Switch to use CONFIG_IS_ENABLED. Signed-off-by: Peng Fan Cc: Jaehoon Chung Cc: Stefano Babic --- V2->V4: none drivers/mmc/fsl_esdhc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/fsl_esdhc.c

[U-Boot] [PATCH V4 04/12] Makefile: build FIT image if CONFIG_SPL_FIT_GENERATOR defined

2017-08-30 Thread Peng Fan
Build FIT image if CONFIG_SPL_FIT_GENERATOR defined. Signed-off-by: Peng Fan Cc: Simon Glass Cc: Masahiro Yamada Cc: Bin Meng Cc: Andre Przywara Cc: "Cooper Jr., Franklin"

[U-Boot] [PATCH V4 03/12] power: pmic/regulator allow dm be omited by SPL

2017-08-30 Thread Peng Fan
Allow the dm driver be omited by SPL. Signed-off-by: Peng Fan Reviewed-by: Simon Glass Cc: Jaehoon Chung Cc: Keerthy Cc: Minkyu Kang Cc: Stefan Agner Cc: Hou

  1   2   >