Re: [U-Boot] [PATCH] net: eth_designware: select PHYLIB in Kconfig

2015-12-07 Thread Pavel Machek
On Sun 2015-12-06 21:19:56, Thomas Chou wrote: > Select PHYLIB in drivers/net/Kconfig. And remove CONFIG_PHYLIB > from legacy board header files. > > This fixed the warnings when both ALTERA_TSE and ETH_DESIGNWARE > are selected. > Acked-by: Pavel Machek Tested-by: Pavel Machek Thanks!

Re: [U-Boot] [PATCH 002/159] arm: mx6: Reduce SPL malloc pool size

2015-12-07 Thread Stefano Babic
Hi Lin, On 07/12/2015 04:04, Lin Huang wrote: > From: Marek Vasut > > Using 50 MiB malloc pool in SPL is nonsense. Since the caches are not > enabled in SPL, it takes 2 seconds to init the pool and has no obvious > benefit. Reduce the size to 1 MiB. > > Signed-off-by: Marek Vasut > Cc: Stefano

Re: [U-Boot] [PATCH] usb: xhci: Fix vendor command error if the request type is USB_REQ_SET_ADDRESS or USB_REQ_SET_CONFIGURATION.

2015-12-07 Thread Joe Culler
Hi Anand, I have a odroid-xu4, but it doesn't detect the rtl8153: U-Boot 2016.01-rc1-00441-g75507d5-dirty (Dec 07 2015 - 15:46:09 +0800) for ODROID-XU3 CPU: Exynos5422 @ 800 MHz Model: Odroid XU3 based on EXYNOS5422 Board: Odroid XU3 based on EXYNOS5422 Type: xu4 DRAM: 2 GiB __of_translate_a

Re: [U-Boot] [PATCH 1/1] fsl_qspi: Pet the watchdog while reading/writing

2015-12-07 Thread Alexander Stein
On Friday 04 December 2015 12:10:47, York Sun wrote: > > On 12/03/2015 05:56 PM, Wang Huan-B18965 wrote: > >> On 12/03/2015 01:49 AM, Wang Huan-B18965 wrote: > >> > >> > >> > > The actual command which results in a watchdog reset is 'sf read > 0x8104 0x20 0x40'. Please

Re: [U-Boot] [PATCH 1/1] fsl_qspi: Pet the watchdog while reading/writing

2015-12-07 Thread Alexander Stein
Hi Fabio, On Friday 04 December 2015 18:54:15, Fabio Estevam wrote: > On Wed, Nov 4, 2015 at 6:19 AM, Alexander Stein > wrote: > > When reading a large blob. e.g. a linux kernel (several MiBs) a watchdog > > timeout might occur meanwhile. So pet the watchdog while operating on > > the flash. > >

Re: [U-Boot] [PATCH] usb: xhci: Fix vendor command error if the request type is USB_REQ_SET_ADDRESS or USB_REQ_SET_CONFIGURATION.

2015-12-07 Thread Joe Culler
Oops, please ignore this message. The rtl8153 is detected :) On Mon, Dec 7, 2015 at 4:16 PM, Joe Culler wrote: > Hi Anand, > > I have a odroid-xu4, but it doesn't detect the rtl8153: > > U-Boot 2016.01-rc1-00441-g75507d5-dirty (Dec 07 2015 - 15:46:09 +0800) for > ODROID-XU3 > > CPU: Exynos542

Re: [U-Boot] [PATCH 4/6] arm: socfpga: Switch CONFIG_HOSTNAME to CONFIG_SYS_BOARD

2015-12-07 Thread Marek Vasut
On Monday, December 07, 2015 at 07:25:31 AM, Chin Liang See wrote: > On Sat, 2015-12-05 at 21:44 +0100, Marek Vasut wrote: > > We already have the CONFIG_SYS_BOARD variable, which defines the name > > of the board. The value in CONFIG_HOSTNAME is exactly the same and is > > thus just a duplicity, s

Re: [U-Boot] [PATCH v5 2/3] cfi_flash: convert to driver model

2015-12-07 Thread Thomas Chou
Hi Jagan, On 2015年12月06日 23:03, Jagan Teki wrote: On 6 December 2015 at 19:05, Thomas Chou wrote: Hi Jagan, On 2015年12月06日 21:10, Jagan Teki wrote: This probing is not specific to CFI flash. It will probe all flash variants of MTD uclass. This is something I'm unclear, suppose if I need

[U-Boot] [GIT PULL] Zynq changes

2015-12-07 Thread Michal Simek
Hi Tom, please pull these changes. It is moving GEM to DM and fixes problems with SPL. The last three patches are fixing MANUAL_RELOC and enabling SPL_SIMPLE_BUS by default. Thanks, Michal The following changes since commit 75507d5d5496a691aecb731f87d4d8d5cdf62b77: am33xx: Update serial pdata

[U-Boot] [PATCH 5/5] armv8/ls1043aqds: change core frequency to 1600MHz

2015-12-07 Thread Mingkai Hu
For SD boot and NAND boot. Signed-off-by: Mingkai Hu --- board/freescale/ls1043aqds/ls1043aqds_rcw_nand.cfg | 4 ++-- board/freescale/ls1043aqds/ls1043aqds_rcw_sd_ifc.cfg | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/board/freescale/ls1043aqds/ls1043aqds_rcw_nand.cfg

[U-Boot] [PATCH 1/5] armv8/ls1043a: remove print info

2015-12-07 Thread Mingkai Hu
Signed-off-by: Mingkai Hu --- drivers/net/fm/ls1043.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/net/fm/ls1043.c b/drivers/net/fm/ls1043.c index cf2cc95..93ba318 100644 --- a/drivers/net/fm/ls1043.c +++ b/drivers/net/fm/ls1043.c @@ -54,11 +54,8 @@ phy_inte

[U-Boot] [PATCH 3/5] armv8/ls1043a: Implement workaround for PEX erratum A009929

2015-12-07 Thread Mingkai Hu
Consecutive write transactions from core to PCI express outbound path hangs after 25 to 30 transactions depending on core freq. This erratum enable the mbist clock through COP register setting. Signed-off-by: Mingkai Hu --- arch/arm/cpu/armv8/fsl-layerscape/soc.c| 16

[U-Boot] [PATCH 2/5] armv8/fsl_lsch2: fix DCSR_DCFG address

2015-12-07 Thread Mingkai Hu
Signed-off-by: Mingkai Hu --- arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h b/arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h index 83caa91..3869177 100644 -

[U-Boot] [PATCH 4/5] armv8/ls1043ardb: change core frequency to 1600MHz

2015-12-07 Thread Mingkai Hu
For SD boot and NAND boot. Signed-off-by: Mingkai Hu --- board/freescale/ls1043ardb/ls1043ardb_rcw_nand.cfg | 4 ++-- board/freescale/ls1043ardb/ls1043ardb_rcw_sd.cfg | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/board/freescale/ls1043ardb/ls1043ardb_rcw_nand.cfg b/

Re: [U-Boot] [PATCH] net: eth_designware: select PHYLIB in Kconfig

2015-12-07 Thread Bin Meng
Hi Thomas, On Mon, Dec 7, 2015 at 2:35 PM, Thomas Chou wrote: > Hi Bin, > > On 2015年12月07日 09:50, Bin Meng wrote: >> >> Hi Thomas, >> >> On Sun, Dec 6, 2015 at 9:19 PM, Thomas Chou wrote: >>> >>> Select PHYLIB in drivers/net/Kconfig. And remove CONFIG_PHYLIB >>> from legacy board header files. >

Re: [U-Boot] [PATCH] net: eth_designware: select PHYLIB in Kconfig

2015-12-07 Thread Bin Meng
On Sun, Dec 6, 2015 at 9:19 PM, Thomas Chou wrote: > Select PHYLIB in drivers/net/Kconfig. And remove CONFIG_PHYLIB > from legacy board header files. > > This fixed the warnings when both ALTERA_TSE and ETH_DESIGNWARE > are selected. > > Reported-by: Pavel Machek > Signed-off-by: Thomas Chou > -

Re: [U-Boot] fw_env.config settings for Digilent ZedBoard (Zynq 7020 Soc)

2015-12-07 Thread Anatolij Gustschin
Hi, On Sun, 6 Dec 2015 12:01:08 +1100 "Brendan Simon (eTRIX)" wrote: > Hi, > > I'm using a Digilent ZedBoard with a Xilinx Zynq 7020 SoC. The kernel > is from Analog Devices and is a fork of 4.0.0 (according to the Makefile). > > I am struggling to work out the fw_env.config file required to

[U-Boot] [PATCH] fdt: Change OF_BAD_ADDR to FDT_ADDR_T_NONE

2015-12-07 Thread Bin Meng
Currently OF_BAD_ADDR is always -1ULL. When using OF_BAD_ADDR as the return value of dev_get_addr(), it creates potential size mismatch as dev_get_addr() uses FDT_ADDR_T_NONE as the return value which can be either -1U or -1ULL depending on CONFIG_PHYS_64BIT. Now we change OF_BAD_ADDR to FDT_ADDR_T

Re: [U-Boot] [PATCH] imx_common: check for Serial Downloader in spl_boot_device

2015-12-07 Thread Stefano Babic
Hi Eric, On 05/12/2015 21:13, Eric Nelson wrote: > Hi Stefano, > > On 12/04/2015 02:02 AM, Stefano Babic wrote: >> Check for bmode before reading the boot device >> to check if a serial downloader is started, >> and returns UART if the serial downloader is set, >> letting SPL to wait for an image

Re: [U-Boot] [PATCH 1/7] net: phy: micrel: Configure KSZ9021/KSZ9031 skew from OF

2015-12-07 Thread Chin Liang See
On Sat, 2015-12-05 at 21:41 +0100, Marek Vasut wrote: > Add code to process the KSZ9021/KSZ9031 OF props if they are present > and configure skew registers based on the information from the OF. > This code is only enabled if the DM support for ethernet is also > enabled. > Nice as I noticed the v

Re: [U-Boot] [PATCH 4/6] arm: socfpga: Switch CONFIG_HOSTNAME to CONFIG_SYS_BOARD

2015-12-07 Thread Chin Liang See
On Mon, 2015-12-07 at 09:36 +0100, Marek Vasut wrote: > On Monday, December 07, 2015 at 07:25:31 AM, Chin Liang See wrote: > > On Sat, 2015-12-05 at 21:44 +0100, Marek Vasut wrote: > > > We already have the CONFIG_SYS_BOARD variable, which defines the > > > name > > > of the board. The value in CON

Re: [U-Boot] [PATCH v2 10/26] dm: x86: ivybridge: Convert graphics init to use DM PCI API

2015-12-07 Thread Bin Meng
On Mon, Nov 30, 2015 at 4:17 AM, Simon Glass wrote: > Use the driver-model PCI functions here where possible. For now we have to > search for the device with pci_bus_find_bdf() but at some point we can put > this in a proper driver and avoid this. > > Signed-off-by: Simon Glass > --- > > Changes

[U-Boot] [PATCH] SPI: Fix correct target name for ZynqMP

2015-12-07 Thread Michal Simek
ZynqMP is using different symbol. Use correct one. Signed-off-by: Michal Simek --- drivers/spi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index a0dbd8b640d8..2cdb11025f88 100644 --- a/drivers/spi/Kconfig +++ b/drivers/sp

Re: [U-Boot] u-boot retries with fallback to other images

2015-12-07 Thread Brendan Simon (eTRIX)
Hi Wolfgang, On 7/12/2015 5:23 PM, Wolfgang Denk wrote: > Dear Brendan, > > In message <5663b74e.7000...@etrix.com.au> you wrote: >> Is there any documentation or u-boot support for having a list of boot >> images to try, starting with the first in the list, trying 1, 2 or 3 >> times, then trying

Re: [U-Boot] [PATCH v2 11/26] dm: Convert bios_interrupts to use DM PCI API

2015-12-07 Thread Bin Meng
On Mon, Nov 30, 2015 at 4:17 AM, Simon Glass wrote: > Adjust this code to use driver model for devices where possible. Since > existing users have not been converted the old code must remain. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Drop non-DM PCI code > - Use dm_pci_get_bdf()

Re: [U-Boot] [PATCH v2 12/26] dm: pci: video: Convert video and pci_rom to use DM PCI API

2015-12-07 Thread Bin Meng
On Mon, Nov 30, 2015 at 4:17 AM, Simon Glass wrote: > Adjust these files to use the driver-model PCI API instead of the legacy > functions. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Rename pci_run_vga_bios() to dm_pci_run_vga_bios() > - Require driver model with pci_rom.c > - Us

Re: [U-Boot] [PATCH v2 13/26] dm: x86: pci: Adjust bios_run_on_x86() to use the DM PCI API

2015-12-07 Thread Bin Meng
On Mon, Nov 30, 2015 at 4:17 AM, Simon Glass wrote: > This function should take a struct udevice rather than pci_dev_t. Update it. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > --- > > Changes in v2: None > > arch/x86/lib/bios.c | 3 ++- > drivers/pci/pci_rom.c | 4 ++-- > include/

Re: [U-Boot] [PATCH v2 14/26] dm: pci: Drop the old version of pci_find_device/s()

2015-12-07 Thread Bin Meng
On Mon, Nov 30, 2015 at 4:17 AM, Simon Glass wrote: > Move these functions into the compatibility file so that they are not > available by default. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Move the functions into pci_common.c so they can be used by old code > - Reword the commi

Re: [U-Boot] [PATCH v2 15/26] dm: pci: Drop the old version of pci_find_class()

2015-12-07 Thread Bin Meng
On Mon, Nov 30, 2015 at 4:18 AM, Simon Glass wrote: > Move this function into the compatibility file so that it is not available > by default. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Move the functions into pci_common.c so they can be used by old code > > drivers/pci/pci_comm

Re: [U-Boot] [PATCH v2 18/26] dm: pci: Add driver model API functions for address mapping

2015-12-07 Thread Bin Meng
Hi Simon, On Mon, Nov 30, 2015 at 4:18 AM, Simon Glass wrote: > At present the PCI address map functions use the old API. Add new functions > for this so that drivers can be converted. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Add missing code in dm_pci_phys_to_bus() > - Rename

Re: [U-Boot] [PATCH v2 21/26] dm: ahci: Convert to use new DM PCI API

2015-12-07 Thread Bin Meng
On Mon, Nov 30, 2015 at 4:18 AM, Simon Glass wrote: > Convert this driver to use the new driver model PCI API. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Fix use of 'pdev' instead of 'dev' > - Get the vendor from the PCI parent platdata > - Use pci_bus_find_bdf() > > drivers/blo

Re: [U-Boot] [PATCH v2 23/26] dm: Convert PCI MMC over to use DM PCI API

2015-12-07 Thread Bin Meng
On Mon, Nov 30, 2015 at 4:18 AM, Simon Glass wrote: > At present pci_mmc_init() does not correctly use the PCI function since the > list it passes is not terminated. The array size passed to pci_mmc_init() is > actually not used correctly. Fix this and adjust the pci_mmc_init() to scan > all avail

Re: [U-Boot] fw_env.config settings for Digilent ZedBoard (Zynq 7020 Soc)

2015-12-07 Thread Brendan Simon (eTRIX)
Hi. see inline comments below ... On 7/12/2015 8:35 PM, Anatolij Gustschin wrote: > On Sun, 6 Dec 2015 12:01:08 +1100 > "Brendan Simon (eTRIX)" wrote: > >> Here is info from /proc/mtd and my /etc/fw_env.config. >> >> root@bjs:~# cat >> /proc/mtd

[U-Boot] [PATCH] usb: gadget: f_thor: free the allocated out request buffer

2015-12-07 Thread Michal Simek
From: Siva Durga Prasad Paladugu Fix the memory leak by freeing the allocated out request buffer Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- drivers/usb/gadget/f_thor.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/usb/gadget/f_thor.c b/drivers

Re: [U-Boot] [PATCH] imx_common: check for Serial Downloader in spl_boot_device

2015-12-07 Thread Stefano Babic
Hi Eric, On 07/12/2015 10:55, Stefano Babic wrote: > > I agree with you, in fact it does not work - but I do not see a way to > inform the ROM that next time it should run with USB as boot device. > From the fusemap, I tried to set BOOT_CFG4 as 0x40 ("Reserved for serial > ROM"), and fixing BOO

Re: [U-Boot] [PATCH] usb: udc: Fix warnings on 64-bit builds

2015-12-07 Thread Michal Simek
Hi Marek and Lukasz, On 3.11.2015 11:14, Lukasz Majewski wrote: > Hi Michal, > >> Cast u32 bit value to 64bit before recasting to 64bit pointer to avoid >> pointer from integer cast size mismatch warnings. >> >> Warning log: >> +../drivers/usb/gadget/udc/udc-core.c: In function >> ‘usb_gadget_unm

Re: [U-Boot] [PATCH 4/6] arm: socfpga: Switch CONFIG_HOSTNAME to CONFIG_SYS_BOARD

2015-12-07 Thread Marek Vasut
On Monday, December 07, 2015 at 11:01:24 AM, Chin Liang See wrote: > On Mon, 2015-12-07 at 09:36 +0100, Marek Vasut wrote: > > On Monday, December 07, 2015 at 07:25:31 AM, Chin Liang See wrote: > > > On Sat, 2015-12-05 at 21:44 +0100, Marek Vasut wrote: > > > > We already have the CONFIG_SYS_BOARD

[U-Boot] [PATCH] spi: Add cadence compatible string

2015-12-07 Thread Michal Simek
Extend compatible list table for cdns,spi-r1p6 compatible string. Signed-off-by: Michal Simek --- drivers/spi/zynq_spi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/zynq_spi.c b/drivers/spi/zynq_spi.c index 6ed216535578..09ae1be7e987 100644 --- a/drivers/spi/zynq_spi.c +++ b

Re: [U-Boot] [PATCH 4/6] arm: socfpga: Switch CONFIG_HOSTNAME to CONFIG_SYS_BOARD

2015-12-07 Thread Chin Liang See
On Mon, 2015-12-07 at 13:01 +0100, Marek Vasut wrote: > On Monday, December 07, 2015 at 11:01:24 AM, Chin Liang See wrote: > > On Mon, 2015-12-07 at 09:36 +0100, Marek Vasut wrote: > > > On Monday, December 07, 2015 at 07:25:31 AM, Chin Liang See > > > wrote: > > > > On Sat, 2015-12-05 at 21:44 +01

Re: [U-Boot] [PATCH 4/7] arm: socfpga: cyclone5-socdk: Remove Micrel PHY configuration

2015-12-07 Thread Chin Liang See
On Sat, 2015-12-05 at 21:41 +0100, Marek Vasut wrote: > The Micrel PHY configuration is now done from OF, so hard-coding > the configuration into the board file is no longer necessary. > > Signed-off-by: Marek Vasut > Cc: Joe Hershberger > Cc: Chin Liang See > Cc: Dinh Nguyen > --- > board/al

Re: [U-Boot] [PATCH 5/7] arm: socfpga: de0_nano: Remove Micrel PHY configuration

2015-12-07 Thread Chin Liang See
On Sat, 2015-12-05 at 21:41 +0100, Marek Vasut wrote: > The Micrel PHY configuration is now done from OF, so hard-coding > the configuration into the board file is no longer necessary. > > Signed-off-by: Marek Vasut > Cc: Joe Hershberger > Cc: Chin Liang See > Cc: Dinh Nguyen > --- > Review

Re: [U-Boot] [PATCH 6/7] arm: socfpga: sockit: Remove Micrel PHY configuration

2015-12-07 Thread Chin Liang See
On Sat, 2015-12-05 at 21:41 +0100, Marek Vasut wrote: > The Micrel PHY configuration is now done from OF, so hard-coding > the configuration into the board file is no longer necessary. > > Signed-off-by: Marek Vasut > Cc: Joe Hershberger > Cc: Chin Liang See > Cc: Dinh Nguyen > --- > board/te

Re: [U-Boot] [PATCH 7/7] arm: socfpga: socrates: Remove Micrel PHY configuration

2015-12-07 Thread Chin Liang See
On Sat, 2015-12-05 at 21:41 +0100, Marek Vasut wrote: > The Micrel PHY configuration is now done from OF, so hard-coding > the configuration into the board file is no longer necessary. > > Signed-off-by: Marek Vasut > Cc: Joe Hershberger > Cc: Chin Liang See > Cc: Dinh Nguyen > --- > board/eb

Re: [U-Boot] [PATCH 1/7] net: phy: micrel: Configure KSZ9021/KSZ9031 skew from OF

2015-12-07 Thread Marek Vasut
On Monday, December 07, 2015 at 11:00:21 AM, Chin Liang See wrote: > On Sat, 2015-12-05 at 21:41 +0100, Marek Vasut wrote: > > Add code to process the KSZ9021/KSZ9031 OF props if they are present > > and configure skew registers based on the information from the OF. > > This code is only enabled if

Re: [U-Boot] [PATCH 3/7] arm: socfpga: arria5-socdk: Remove Micrel PHY configuration

2015-12-07 Thread Chin Liang See
On Sat, 2015-12-05 at 21:41 +0100, Marek Vasut wrote: > The Micrel PHY configuration is now done from OF, so hard-coding > the configuration into the board file is no longer necessary. > > Signed-off-by: Marek Vasut > Cc: Joe Hershberger > Cc: Chin Liang See > Cc: Dinh Nguyen > --- > board/al

Re: [U-Boot] [PATCH] cgtqmx6eval: Fix defconfig name

2015-12-07 Thread Otavio Salvador
On Wed, Nov 25, 2015 at 9:09 AM, Otavio Salvador wrote: > After the conversion to SPL the defconfig was renamed, so adjust it. > > Signed-off-by: Otavio Salvador Ping? -- Otavio Salvador O.S. Systems http://www.ossystems.com.brhttp://code.ossystems.com.br Mo

Re: [U-Boot] [PATCH 1/7] arm: socfpga: Allow DWC2 UDC probing from OF

2015-12-07 Thread Chin Liang See
On Sat, 2015-12-05 at 21:43 +0100, Marek Vasut wrote: > The USB gadget framework does not support DM yet, so add this bit > to let DWC2 UDC probe from OF on platforms which support it. > > Signed-off-by: Marek Vasut > Cc: Simon Glass > Cc: Chin Liang See > Cc: Dinh Nguyen > Cc: Lukasz Majewski

Re: [U-Boot] [PATCH 2/7] arm: socfpga: arria5-socdk: Probe DWC2 UDC from OF instead of hard-coded data

2015-12-07 Thread Chin Liang See
On Sat, 2015-12-05 at 21:43 +0100, Marek Vasut wrote: > This patch adds the necessary OF alias for the UDC node, which let's > the code locate the DWC2 UDC base address in OF instead of hard > -coding > it into the U-Boot binary. The code is adjusted to use the address > from > OF instead of the ha

Re: [U-Boot] [PATCH 3/7] arm: socfpga: cyclone5-socdk: Probe DWC2 UDC from OF instead of hard-coded data

2015-12-07 Thread Chin Liang See
On Sat, 2015-12-05 at 21:43 +0100, Marek Vasut wrote: > This patch adds the necessary OF alias for the UDC node, which let's > the code locate the DWC2 UDC base address in OF instead of hard > -coding > it into the U-Boot binary. The code is adjusted to use the address > from > OF instead of the ha

Re: [U-Boot] [PATCH 4/7] arm: socfpga: de0_nano: Probe DWC2 UDC from OF instead of hard-coded data

2015-12-07 Thread Chin Liang See
On Sat, 2015-12-05 at 21:43 +0100, Marek Vasut wrote: > This patch adds the necessary OF alias for the UDC node, which let's > the code locate the DWC2 UDC base address in OF instead of hard > -coding > it into the U-Boot binary. The code is adjusted to use the address > from > OF instead of the ha

Re: [U-Boot] [PATCH 5/7] arm: socfpga: mcvevk: Probe DWC2 UDC from OF instead of hard-coded data

2015-12-07 Thread Chin Liang See
On Sat, 2015-12-05 at 21:43 +0100, Marek Vasut wrote: > This patch adds the necessary OF alias for the UDC node, which let's > the code locate the DWC2 UDC base address in OF instead of hard > -coding > it into the U-Boot binary. The code is adjusted to use the address > from > OF instead of the ha

Re: [U-Boot] [PATCH 6/7] arm: socfpga: sockit: Probe DWC2 UDC from OF instead of hard-coded data

2015-12-07 Thread Chin Liang See
On Sat, 2015-12-05 at 21:43 +0100, Marek Vasut wrote: > This patch adds the necessary OF alias for the UDC node, which let's > the code locate the DWC2 UDC base address in OF instead of hard > -coding > it into the U-Boot binary. The code is adjusted to use the address > from > OF instead of the ha

Re: [U-Boot] [PATCH 7/7] arm: socfpga: socrates: Probe DWC2 UDC from OF instead of hard-coded data

2015-12-07 Thread Chin Liang See
On Sat, 2015-12-05 at 21:43 +0100, Marek Vasut wrote: > This patch adds the necessary OF alias for the UDC node, which let's > the code locate the DWC2 UDC base address in OF instead of hard > -coding > it into the U-Boot binary. The code is adjusted to use the address > from > OF instead of the ha

Re: [U-Boot] [PATCH 5/6] arm: socfpga: Introduce common board code

2015-12-07 Thread Chin Liang See
On Sat, 2015-12-05 at 21:44 +0100, Marek Vasut wrote: > The SoCFPGA has reached a point where every single board code become > the same, since each and every single board is probed equally from > OF. > Move the common board code into arch/arm/mach-socfpga/ . > > Signed-off-by: Marek Vasut > Cc: C

[U-Boot] [PATCH v2] net: eth_designware: select PHYLIB in Kconfig

2015-12-07 Thread Thomas Chou
Select PHYLIB in drivers/net/Kconfig. And remove CONFIG_PHYLIB from legacy board header files. This fixed the warnings when both ALTERA_TSE and ETH_DESIGNWARE are selected. Signed-off-by: Thomas Chou Reported-by: Pavel Machek Acked-by: Chin Liang See Acked-by: Pavel Machek Tested-by: Pavel Ma

Re: [U-Boot] [PATCH] cgtqmx6eval: Fix defconfig name

2015-12-07 Thread Stefano Babic
On 07/12/2015 13:27, Otavio Salvador wrote: > On Wed, Nov 25, 2015 at 9:09 AM, Otavio Salvador > wrote: >> After the conversion to SPL the defconfig was renamed, so adjust it. >> >> Signed-off-by: Otavio Salvador > > Ping? Sorry Otavio, I was sure I have already applied this small patch. I pick

Re: [U-Boot] fw_env.config settings for Digilent ZedBoard (Zynq 7020 Soc)

2015-12-07 Thread Anatolij Gustschin
On Mon, 7 Dec 2015 22:38:53 +1100 "Brendan Simon (eTRIX)" wrote: ... > I finally tried mtd0 and found env vars :) > I updated /etc/fw_env.config to the following and now fw_printenv works > and no crc errors are reported. Yay :) > > /dev/mtd0 0xE 0x2

Re: [U-Boot] [PATCH 6/6] arm: socfpga: Drop the board boilerplate

2015-12-07 Thread Chin Liang See
On Sat, 2015-12-05 at 21:44 +0100, Marek Vasut wrote: > Drop all the common board code, since it is not completely useless. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguyen > --- > board/altera/arria5-socdk/socfpga.c | 56 - > -- > board/a

Re: [U-Boot] [PATCH 1/2] usb: gadget: s3c_udc_otg: fixed max packet size check for ep_in in high speed

2015-12-07 Thread Lukasz Majewski
Hi Frank, > In current fastboot frame, both full and high speed use 'fs_ep_in', > but fs_ep_in.wMaxPacketSize is configurated 64 bytes as default, Because 64 bytes is the smallest possible packet size. > I do not understand why high speed TX max packet size is also set as > 64 bytes, According

Re: [U-Boot] [PATCH] mkimage : Fix generating multi and script images

2015-12-07 Thread Simon Glass
Hi Philippe, On 7 December 2015 at 01:02, Philippe De Swert wrote: > Hi Simon, > > On 07/12/15 06:31, Simon Glass wrote: > > > - dfd = open(params.datafile, O_RDONLY | O_BINARY); > - if (dfd < 0) { > - fprintf(stderr, "%s: Can't open %s: %s\n", > -

[U-Boot] Samsung I2C driver

2015-12-07 Thread Simon Glass
Hi Przemyslaw, At present this driver has a few implementations and supports non-device-tree and non-driver model. From I can see the odroid and perhaps one other platform need conversion and then all of this old stuff can be removed. Do you have any plans to look at this? Regards, Simon

Re: [U-Boot] [PATCH v8 00/14] sf: Tuning spi-flash layer

2015-12-07 Thread Jagan Teki
Hi Bin, On 7 December 2015 at 00:04, Jagan Teki wrote: > This series bypasses MTD changes from previous series[1][2] and > entire series tunned spi-flash layer for better code handling. > > Changes in v8: > - Rebase to master > - PATCH v8 12/14, 13/14, 14/14 added newly. > > Changes in v7: > - Re

[U-Boot] [PATCH V2 1/7] net: phy: micrel: Configure KSZ9021/KSZ9031 skew from OF

2015-12-07 Thread Marek Vasut
Add code to process the KSZ9021/KSZ9031 OF props if they are present and configure skew registers based on the information from the OF. This code is only enabled if the DM support for ethernet is also enabled. Signed-off-by: Marek Vasut Cc: Joe Hershberger Cc: Chin Liang See Cc: Dinh Nguyen --

Re: [U-Boot] [PATCH 5/6] arm: socfpga: Introduce common board code

2015-12-07 Thread Marek Vasut
On Monday, December 07, 2015 at 01:53:48 PM, Chin Liang See wrote: [...] > > diff --git a/arch/arm/mach-socfpga/board.c b/arch/arm/mach > > -socfpga/board.c > > new file mode 100644 > > index 000..a41d089 > > --- /dev/null > > +++ b/arch/arm/mach-socfpga/board.c > > I am thinking this can go

Re: [U-Boot] [PATCH 6/6] arm: socfpga: Drop the board boilerplate

2015-12-07 Thread Marek Vasut
On Monday, December 07, 2015 at 01:56:23 PM, Chin Liang See wrote: > On Sat, 2015-12-05 at 21:44 +0100, Marek Vasut wrote: > > Drop all the common board code, since it is not completely useless. > > > > Signed-off-by: Marek Vasut > > Cc: Chin Liang See > > Cc: Dinh Nguyen > > --- > > > > boar

[U-Boot] [PATCH] CONFIG_NEEDS_MANUAL_RELOC: Fix warnings when not set

2015-12-07 Thread Tom Rini
Now that we may compile (but not link) code calling fixup_cmdtable when this is not set, we need to always have the declaration available. We should also make sure that anyone calling the function includes as that's where the function declaration is. Signed-off-by: Tom Rini --- common/board_r.

[U-Boot] [PATCH] x86: Fix PCI UART compatible string for crownbay and galileo

2015-12-07 Thread Bin Meng
With recent ns16550 driver changes, we only changed the legacy UART (at I/O port 0x3f8) compatible string, but forgot to change the PCI UART compatible string. Now fix it. Signed-off-by: Bin Meng --- arch/x86/dts/crownbay.dts | 8 arch/x86/dts/galileo.dts | 2 +- 2 files changed, 5 in

Re: [U-Boot] [PATCH v2 09/26] dm: serial: Convert ns16550 driver to use driver model PCI API

2015-12-07 Thread Bin Meng
On Mon, Nov 30, 2015 at 4:17 AM, Simon Glass wrote: > Use the driver model version of the function to find the BAR. This updates > the fdtdec function, of which ns16550 is the only user. > > The fdtdec_get_pci_bdf() function is dropped for several reasons: > - with driver model we should use 'stru

Re: [U-Boot] [PATCH 6/6] arm: socfpga: Drop the board boilerplate

2015-12-07 Thread Chin Liang See
On Mon, 2015-12-07 at 14:22 +0100, Marek Vasut wrote: > On Monday, December 07, 2015 at 01:56:23 PM, Chin Liang See wrote: > > On Sat, 2015-12-05 at 21:44 +0100, Marek Vasut wrote: > > > Drop all the common board code, since it is not completely > > > useless. > > > > > > Signed-off-by: Marek Vasu

Re: [U-Boot] [PATCH 5/6] arm: socfpga: Introduce common board code

2015-12-07 Thread Chin Liang See
On Mon, 2015-12-07 at 14:23 +0100, Marek Vasut wrote: > On Monday, December 07, 2015 at 01:53:48 PM, Chin Liang See wrote: > > [...] > > > > diff --git a/arch/arm/mach-socfpga/board.c b/arch/arm/mach > > > -socfpga/board.c > > > new file mode 100644 > > > index 000..a41d089 > > > --- /dev/nul

[U-Boot] [PATCH] CONFIG_NEEDS_MANUAL_RELOC: Fix warnings when not set

2015-12-07 Thread Tom Rini
Now that we may compile (but not link) code calling fixup_cmdtable when this is not set, we need to always have the declaration available. We should also make sure that anyone calling the function includes as that's where the function declaration is. Signed-off-by: Tom Rini --- Changes in v2:

Re: [U-Boot] [PATCH V2 1/7] net: phy: micrel: Configure KSZ9021/KSZ9031 skew from OF

2015-12-07 Thread Chin Liang See
On Mon, 2015-12-07 at 14:18 +0100, Marek Vasut wrote: > Add code to process the KSZ9021/KSZ9031 OF props if they are present > and configure skew registers based on the information from the OF. > This code is only enabled if the DM support for ethernet is also > enabled. > > Signed-off-by: Marek V

Re: [U-Boot] [PATCH v2] mx6sxsabresd: Fix Ethernet PHY reset sequence

2015-12-07 Thread Stefano Babic
On 04/12/2015 14:13, Fabio Estevam wrote: > Hi Stefano, > > On Mon, Nov 23, 2015 at 4:18 PM, Fabio Estevam wrote: >> From: Fabio Estevam >> >> Since commit 59370f3fcd1350 ("net: phy: delay only if reset handler is >> registered") Ethernet is no longer functional. >> >> This commit does not have

Re: [U-Boot] [PATCH] mx6cuboxi: use load instead of fatload

2015-12-07 Thread Stefano Babic
On 14/11/2015 19:25, Thomas Bechtold wrote: > From: Thomas Bechtold > > That way the FS can also be ext2/3/4 . > --- > include/configs/mx6cuboxi.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/include/configs/mx6cuboxi.h b/include/configs/mx6cuboxi.h > index 6e8

Re: [U-Boot] [PATCH] imx: mx7: enable CONFIG_FSL_CLK

2015-12-07 Thread Stefano Babic
On 29/10/2015 08:59, Peng Fan wrote: > This commit "677f970bc62a661690b3431543d5a5d5e682ba70" introduce a new > macro "CONFIG_FSL_CLK" that get_clocks() should not be limited by ESDHC. > > But that patch missed to enable it for i.MX7. THis patch enables > CONFIG_FSL_CLK to let get_clocks work. >

Re: [U-Boot] [PATCH] imx: mx6: add missing return value

2015-12-07 Thread Stefano Babic
On 30/11/2015 02:46, Peng Fan wrote: > Hi Jeroen, > On Sun, Nov 29, 2015 at 06:30:34PM +0100, Jeroen Hofstee wrote: >> cc: Peng Fan >> Signed-off-by: Jeroen Hofstee >> --- >> not tested ;) >> >> arch/arm/cpu/armv7/mx6/clock.c | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/arch/arm/c

Re: [U-Boot] Samsung I2C driver

2015-12-07 Thread Przemyslaw Marczak
Hello Simon, On 12/07/2015 02:07 PM, Simon Glass wrote: Hi Przemyslaw, At present this driver has a few implementations and supports non-device-tree and non-driver model. From I can see the odroid and perhaps one other platform need conversion and then all of this old stuff can be removed. Do y

Re: [U-Boot] [PATCH] imx: mx6: fix reg base address when runtime usage

2015-12-07 Thread Stefano Babic
On 30/11/2015 09:04, Peng Fan wrote: > Should use parenthese to wrap the macro definition, otherwise > we will encounter error like the following: > > " > if (base_addr != LCDIF1_BASE_ADDR) { > puts("Wrong LCD interface!\n"); > return -EINVAL; > } > " > > Without this patch, we will alway

Re: [U-Boot] [PATCH V2] ARM: imx: fsl_esdhc: fix usage of low 4 bits of sysctl register

2015-12-07 Thread Stefano Babic
On 04/12/2015 20:32, Eric Nelson wrote: > The low four bits of the SYSCTL register are reserved on the USDHC > controller on i.MX6 and i.MX7 processors, but are used for clocking > operations on earlier models. > > Guard against their usage by hiding the bit mask macros on those > processors. > >

Re: [U-Boot] [PATCH] imx_common: check for Serial Downloader in spl_boot_device

2015-12-07 Thread Eric Nelson
Hi Stefano, On 12/07/2015 02:55 AM, Stefano Babic wrote: > Hi Eric, > > On 05/12/2015 21:13, Eric Nelson wrote: >> Hi Stefano, >> >> On 12/04/2015 02:02 AM, Stefano Babic wrote: >>> Check for bmode before reading the boot device >>> to check if a serial downloader is started, >>> and returns UART

Re: [U-Boot] [PATCH 5/6] arm: socfpga: Introduce common board code

2015-12-07 Thread Marek Vasut
On Monday, December 07, 2015 at 02:32:04 PM, Chin Liang See wrote: > On Mon, 2015-12-07 at 14:23 +0100, Marek Vasut wrote: > > On Monday, December 07, 2015 at 01:53:48 PM, Chin Liang See wrote: > > > > [...] > > > > > > diff --git a/arch/arm/mach-socfpga/board.c b/arch/arm/mach > > > > -socfpga/b

Re: [U-Boot] [PATCH] imx_common: check for Serial Downloader in spl_boot_device

2015-12-07 Thread Stefano Babic
Hi Eric, On 07/12/2015 15:08, Eric Nelson wrote: >> I agree with you, in fact it does not work - but I do not see a way to >> inform the ROM that next time it should run with USB as boot device. >> From the fusemap, I tried to set BOOT_CFG4 as 0x40 ("Reserved for serial >> ROM"), and fixing BOOT

Re: [U-Boot] [PATCH 5/6] arm: socfpga: Introduce common board code

2015-12-07 Thread Chin Liang See
On Mon, 2015-12-07 at 15:23 +0100, Marek Vasut wrote: > On Monday, December 07, 2015 at 02:32:04 PM, Chin Liang See wrote: > > On Mon, 2015-12-07 at 14:23 +0100, Marek Vasut wrote: > > > On Monday, December 07, 2015 at 01:53:48 PM, Chin Liang See > > > wrote: > > > > > > [...] > > > > > > > > dif

Re: [U-Boot] mmc erase fails from U-Boot command line

2015-12-07 Thread Eric Nelson
Hi Fabio, On 12/06/2015 05:21 PM, Fabio Estevam wrote: > Hi Eric, > > On Fri, Dec 4, 2015 at 8:42 PM, Eric Nelson wrote: > >> I've figured out a way to repeat this on my machine. >> >> If I write 0xff's to the eMMC blocks, then issue an erase for the same, >> I get the problem with each MMC_ERA

Re: [U-Boot] [PATCH 5/6] arm: socfpga: Introduce common board code

2015-12-07 Thread Marek Vasut
On Monday, December 07, 2015 at 03:29:16 PM, Chin Liang See wrote: > On Mon, 2015-12-07 at 15:23 +0100, Marek Vasut wrote: > > On Monday, December 07, 2015 at 02:32:04 PM, Chin Liang See wrote: > > > On Mon, 2015-12-07 at 14:23 +0100, Marek Vasut wrote: > > > > On Monday, December 07, 2015 at 01:53

Re: [U-Boot] [PATCH] arm: socfpga: Fix cache configuration

2015-12-07 Thread Chin Liang See
On Thu, 2015-12-03 at 17:22 +0100, Marek Vasut wrote: > On Thursday, December 03, 2015 at 05:11:23 PM, Chin Liang See wrote: > > [...] > > > > I have another board where I cannot use UBI on QSPI NOR and > > > reverting > > > this > > > patch magically fixes things. > > > > I was testing this too

Re: [U-Boot] [PATCH] arm: socfpga: Fix cache configuration

2015-12-07 Thread Marek Vasut
On Monday, December 07, 2015 at 03:37:17 PM, Chin Liang See wrote: > On Thu, 2015-12-03 at 17:22 +0100, Marek Vasut wrote: > > On Thursday, December 03, 2015 at 05:11:23 PM, Chin Liang See wrote: > > > > [...] > > > > > > I have another board where I cannot use UBI on QSPI NOR and > > > > reverti

Re: [U-Boot] [PATCH] arm: socfpga: Fix cache configuration

2015-12-07 Thread Chin Liang See
On Mon, 2015-12-07 at 15:44 +0100, Marek Vasut wrote: > On Monday, December 07, 2015 at 03:37:17 PM, Chin Liang See wrote: > > On Thu, 2015-12-03 at 17:22 +0100, Marek Vasut wrote: > > > On Thursday, December 03, 2015 at 05:11:23 PM, Chin Liang See > > > wrote: > > > > > > [...] > > > > > > > > I

[U-Boot] [PATCH] mmc: update MMC_ERASE argument to match Linux kernel.

2015-12-07 Thread Eric Nelson
Table 41 of the JEDEC standard for eMMC says that bit 31 of the command argument is obsolete when issuing the ERASE command (CMD38) on page 115 of this document: http://www.jedec.org/sites/default/files/docs/jesd84-B45.pdf The SD Card Association Physical Layer Simplified Specification als

Re: [U-Boot] [PATCH 5/6] arm: socfpga: Introduce common board code

2015-12-07 Thread Chin Liang See
On Mon, 2015-12-07 at 15:37 +0100, Marek Vasut wrote: > On Monday, December 07, 2015 at 03:29:16 PM, Chin Liang See wrote: > > On Mon, 2015-12-07 at 15:23 +0100, Marek Vasut wrote: > > > On Monday, December 07, 2015 at 02:32:04 PM, Chin Liang See > > > wrote: > > > > On Mon, 2015-12-07 at 14:23 +01

Re: [U-Boot] [PATCH] spi: Add cadence compatible string

2015-12-07 Thread Jagan Teki
On 7 December 2015 at 17:36, Michal Simek wrote: > Extend compatible list table for cdns,spi-r1p6 compatible string. > > Signed-off-by: Michal Simek > --- Applied to u-boot-spi/master thanks! -- Jagan. ___ U-Boot mailing list U-Boot@lists.denx.de htt

Re: [U-Boot] [PATCH] SPI: Fix correct target name for ZynqMP

2015-12-07 Thread Jagan Teki
On 7 December 2015 at 16:03, Michal Simek wrote: > ZynqMP is using different symbol. > Use correct one. > > Signed-off-by: Michal Simek > --- Applied to u-boot-spi/master thanks! -- Jagan. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.den

Re: [U-Boot] [PATCH v5] arm: Add sata support on Layerscape ARMv8 board

2015-12-07 Thread York Sun
On 12/06/2015 07:09 PM, Tang Yuantian-B29983 wrote: > Hi York, > > Please see explanation inline. > >> -Original Message- >> From: York Sun [mailto:york...@freescale.com] >> Sent: Saturday, December 05, 2015 1:25 AM >> To: Tang Yuantian-B29983 >> Cc: u-boot@lists.denx.de; si...@writeme

Re: [U-Boot] [PATCH 3/5] Data type defined for pointer addresses

2015-12-07 Thread York Sun
Guys, Please comment on this new typedef. I am not comfortable to accept it. On 11/18/2015 09:41 PM, Aneesh Bansal wrote: > A new data type uintptr_t has been defined for creating > pointers (32 or 64 bit depending on Core) from 32 bit variables > storing the address. > If a 32 bit variable (u32)

Re: [U-Boot] [PATCH 3/5] ls102xa: Enable snoop and DVM message requests.

2015-12-07 Thread York Sun
On 12/04/2015 10:59 PM, Yuan Yao wrote: > Signed-off-by: Yuan Yao > --- > > arch/arm/cpu/armv7/ls102xa/soc.c | 8 +++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/cpu/armv7/ls102xa/soc.c > b/arch/arm/cpu/armv7/ls102xa/soc.c > index 6036473..97ba6d5 100644 >

[U-Boot] [PATCH] mkimage: Fix generating multi and script images again

2015-12-07 Thread Marek Vasut
Seems 6ae6e160 broke creating multi and script type images and even building of mkimage itself. There are two problems with that patch. First is that expression (!(x == 0) || !(x == 1)) is always true for unsigned int x. The expression must use AND (&&) not OR (||) to be correct. Second is the co

Re: [U-Boot] [PATCH 3/5] Data type defined for pointer addresses

2015-12-07 Thread Bansal Aneesh
It is required because the variable is 32 bit in length and it must be typecasted to a pointer before passing to some functions. The pointer length is 64 bit on 64 bit cores and 32 bit on 32 bit cores. So if I have (u8*)csf_hdr_addr, a warning is given on 64 bit cores like ARMv8 on LS1043. Thus

Re: [U-Boot] [PATCH 3/5] Data type defined for pointer addresses

2015-12-07 Thread Tom Rini
On Mon, Dec 07, 2015 at 08:50:28AM -0800, York Sun wrote: > Guys, > > Please comment on this new typedef. I am not comfortable to accept it. > > On 11/18/2015 09:41 PM, Aneesh Bansal wrote: > > A new data type uintptr_t has been defined for creating > > pointers (32 or 64 bit depending on Core) f

Re: [U-Boot] [PATCH 3/5] Data type defined for pointer addresses

2015-12-07 Thread Scott Wood
On Mon, 2015-12-07 at 12:08 -0500, Tom Rini wrote: > On Mon, Dec 07, 2015 at 08:50:28AM -0800, York Sun wrote: > > Guys, > > > > Please comment on this new typedef. I am not comfortable to accept it. > > > > On 11/18/2015 09:41 PM, Aneesh Bansal wrote: > > > A new data type uintptr_t has been def

Re: [U-Boot] ns16550: change reg-shift property default to zero

2015-12-07 Thread Stephen Warren
On 12/06/2015 03:07 PM, Tom Rini wrote: On Sun, Nov 29, 2015 at 02:01:03PM +0800, Thomas Chou wrote: Change reg-shift property default to zero. When the integer property is missing, it should be taken as zero. This is consistent to Linux drivers/tty/serial/of_serial.c. It's not generally true

  1   2   3   >