Re: [U-Boot] [PATCH] spi: xilinx_spi: Add support for Quad mode

2016-07-27 Thread Siva Durga Prasad Paladugu
Hi Jagan, > -Original Message- > From: Jagan Teki [mailto:jagannadh.t...@gmail.com] > Sent: Tuesday, July 26, 2016 11:16 AM > To: Siva Durga Prasad Paladugu > Cc: u-boot@lists.denx.de; Michal Simek ; Siva Durga > Prasad Paladugu ; Michal Simek > Subject: Re: [PATCH] spi: xilinx_spi: Add

Re: [U-Boot] [PATCH] spi: xilinx_spi: Add support for Quad mode

2016-07-27 Thread Jagan Teki
On 27 July 2016 at 12:54, Siva Durga Prasad Paladugu wrote: > Hi Jagan, > >> -Original Message- >> From: Jagan Teki [mailto:jagannadh.t...@gmail.com] >> Sent: Tuesday, July 26, 2016 11:16 AM >> To: Siva Durga Prasad Paladugu >> Cc: u-boot@lists.denx.de; Michal Simek ; Siva Durga >> Prasad

Re: [U-Boot] [PATCH v3 1/3] spi: spi_flash: Dont set quad enable for micron in all cases

2016-07-27 Thread Jagan Teki
On 19 July 2016 at 14:40, Siva Durga Prasad Paladugu wrote: > Dont set quad enable for micron devices in all cases > Setting the quad enable bit in micron expects all other > commands like register reads on quad lines which may > not be supported by some controllers. Hence, dont > set the quad ena

Re: [U-Boot] [PATCH v3 2/3] spi: zynqmp_qspi: Add QSPI driver support for ZynqMP

2016-07-27 Thread Jagan Teki
On 19 July 2016 at 14:40, Siva Durga Prasad Paladugu wrote: > This adds QSPI driver support for ZynqMP platform > This driver supports all spi flash commands in > qspi single mode. > > Signed-off-by: Siva Durga Prasad Paladugu > --- > Changes for v3: > - None > Changes for v2: > - set no_all_quad

Re: [U-Boot] [PATCH v2 0/9] qspi: Add Quad and Dual mode support for Zynq QSPI

2016-07-27 Thread Jagan Teki
On 19 July 2016 at 21:18, Siva Durga Prasad Paladugu wrote: > This series enables the Quad and dual modes support > for zynq. It also contains fixes for issues found > during testing of dual parallel and stacked modes. > > Siva Durga Prasad Paladugu (9): > spi: zynq_qspi: Add quad support for zy

Re: [U-Boot] [PATCH] sunxi: Add defconfig and dts file for the Orange Pi PC Plus SBC

2016-07-27 Thread Ian Campbell
On Wed, 2016-07-27 at 00:28 +0200, Hans de Goede wrote: > There is a new Orange Pi PC *Plus* version available now, > this is an extended version of the regular Orange Pi PC > with sdio wifi and an eMMC. > > The upstream kernel devs have decided that they want a separate > dts for the PC Plus rath

Re: [U-Boot] [PATCH] sunxi: Disable sun8i emac driver

2016-07-27 Thread Ian Campbell
On Wed, 2016-07-27 at 00:28 +0200, Hans de Goede wrote: > Disable the sun8i emac driver for now, there are 2 issues with it: > > 1) It is causing issues with network connectivity under the kernel > driver, > when booting the kernel with v2 of Corentin's sun8i-h3 emac driver, I > get > the connecti

Re: [U-Boot] [PATCH v2 0/9] qspi: Add Quad and Dual mode support for Zynq QSPI

2016-07-27 Thread Siva Durga Prasad Paladugu
Hi Jagan, > -Original Message- > From: Jagan Teki [mailto:jagannadh.t...@gmail.com] > Sent: Wednesday, July 27, 2016 1:47 PM > To: Siva Durga Prasad Paladugu > Cc: u-boot@lists.denx.de; Michal Simek ; Siva Durga > Prasad Paladugu > Subject: Re: [PATCH v2 0/9] qspi: Add Quad and Dual mode

Re: [U-Boot] [PATCH v3 1/3] spi: spi_flash: Dont set quad enable for micron in all cases

2016-07-27 Thread Siva Durga Prasad Paladugu
Hi Jagan, > -Original Message- > From: Jagan Teki [mailto:jagannadh.t...@gmail.com] > Sent: Wednesday, July 27, 2016 1:24 PM > To: Siva Durga Prasad Paladugu > Cc: u-boot@lists.denx.de; Michal Simek ; Siva Durga > Prasad Paladugu > Subject: Re: [PATCH v3 1/3] spi: spi_flash: Dont set qua

Re: [U-Boot] [PATCH v2 0/9] qspi: Add Quad and Dual mode support for Zynq QSPI

2016-07-27 Thread Jagan Teki
On 27 July 2016 at 14:28, Siva Durga Prasad Paladugu wrote: > Hi Jagan, > >> -Original Message- >> From: Jagan Teki [mailto:jagannadh.t...@gmail.com] >> Sent: Wednesday, July 27, 2016 1:47 PM >> To: Siva Durga Prasad Paladugu >> Cc: u-boot@lists.denx.de; Michal Simek ; Siva Durga >> Prasa

Re: [U-Boot] [PATCH v3 1/3] spi: spi_flash: Dont set quad enable for micron in all cases

2016-07-27 Thread Jagan Teki
On 27 July 2016 at 14:31, Siva Durga Prasad Paladugu wrote: > Hi Jagan, > >> -Original Message- >> From: Jagan Teki [mailto:jagannadh.t...@gmail.com] >> Sent: Wednesday, July 27, 2016 1:24 PM >> To: Siva Durga Prasad Paladugu >> Cc: u-boot@lists.denx.de; Michal Simek ; Siva Durga >> Prasa

Re: [U-Boot] [PATCH 2/2] config.h: clean unused CONFIG_ENV_SPI_* if using driver model

2016-07-27 Thread Qianyu Gong
Hi York, > -Original Message- > From: york sun > Sent: Tuesday, July 26, 2016 12:26 PM > To: Qianyu Gong ; u-boot@lists.denx.de; Prabhakar > Kushwaha ; Mingkai Hu > Cc: Shaohui Xie ; Zhiqiang Hou ; > Wenbin Song > Subject: Re: [PATCH 2/2] config.h: clean unused CONFIG_ENV_SPI_* if using

Re: [U-Boot] [PATCH 4/4] mmc: add workaround for eSDHC erratum A009620

2016-07-27 Thread Yangbo Lu
> -Original Message- > From: york sun > Sent: Tuesday, July 26, 2016 1:38 AM > To: Yangbo Lu; u-boot@lists.denx.de > Subject: Re: [PATCH 4/4] mmc: add workaround for eSDHC erratum A009620 > > On 05/20/2016 03:20 AM, Yangbo Lu wrote: > > Erratum Title: > > Data timeout error not getting set

Re: [U-Boot] [PATCH] mmc: send CMD0 before CMD1 for some MMC cards

2016-07-27 Thread Yangbo Lu
Hi Tom, Could you help to assign this mmc patch reviewing to right person? It seems no one had reviewed it for almost half year. And another my mmc patch also needs to be reviewed. I submitted in May. Please help. http://patchwork.ozlabs.org/patch/624448/ Thank you very much. Best regards, Ya

Re: [U-Boot] [PATCH] mmc: send CMD0 before CMD1 for some MMC cards

2016-07-27 Thread Jaehoon Chung
On 07/27/2016 04:28 PM, Yangbo Lu wrote: > Hi Tom, > > Could you help to assign this mmc patch reviewing to right person? > It seems no one had reviewed it for almost half year. > > And another my mmc patch also needs to be reviewed. > I submitted in May. Please help. > http://patchwork.ozlabs.or

Re: [U-Boot] [PATCH 4/4] mmc: add workaround for eSDHC erratum A009620

2016-07-27 Thread Jaehoon Chung
On 07/27/2016 04:10 PM, Yangbo Lu wrote: >> -Original Message- >> From: york sun >> Sent: Tuesday, July 26, 2016 1:38 AM >> To: Yangbo Lu; u-boot@lists.denx.de >> Subject: Re: [PATCH 4/4] mmc: add workaround for eSDHC erratum A009620 >> >> On 05/20/2016 03:20 AM, Yangbo Lu wrote: >>> Erratu

Re: [U-Boot] [PATCH 1/2] mmc: sdhci: remove the unused argument for sdhci_setup_cfg

2016-07-27 Thread Jaehoon Chung
Hi, On 07/27/2016 10:10 AM, Minkyu Kang wrote: > Hi, > > On 26/07/16 19:06, Jaehoon Chung wrote: >> buswidth isn't used anywhere in sdhci_setup_cfg. >> >> Signed-off-by: Jaehoon Chung >> --- >> drivers/mmc/msm_sdhci.c | 4 ++-- >> drivers/mmc/sdhci.c | 4 ++-- >> drivers/mmc/zynq_sdhci.c

[U-Boot] [PATCH 1/2] mips: Add MIPSfpga platform support

2016-07-27 Thread Zubair Lutfullah Kakakhel
MIPSfpga is an FPGA based dev platform. In a nutshell, its a microAptiv cpu core with lots of Xilinx IP blocks The FPGA dev board used is the Nexys4DDR board by Digilent. For more information, check the Readme file in board/imgtec/xilfpga Signed-off-by: Zubair Lutfullah Kakakhel Reviewed-by: P

[U-Boot] [PATCH 2/2] mips: xilfpga: Add device tree files

2016-07-27 Thread Zubair Lutfullah Kakakhel
Mostly the same as the Kernel upstream device tree file except for - alias for the serial console node - ethernet node as the ethernet stuff isn't upstream on kernel.org yet - uart clock-frequency passed directly in the node Signed-off-by: Zubair Lutfullah Kakakhel Reviewed-by: Paul Burton ---

[U-Boot] [PATCH 0/3] net: emaclite: fixes and enable for MIPS

2016-07-27 Thread Zubair Lutfullah Kakakhel
Hi, This patch series changes the emaclite driver to be slightly more generic and then enables it for the MIPS arch. Regards, ZubairLK Zubair Lutfullah Kakakhel (3): net: emaclite: Use ioremap_nocache net: emaclite: use __raw_readl/writel instead of weird define net: emaclite: Enable drive

[U-Boot] [PATCH 0/2] MIPS: Add MIPSfpga u-boot port

2016-07-27 Thread Zubair Lutfullah Kakakhel
MIPSfpga is an FPGA based dev platform by Imagination Technologies Ltd. DDR is already initialized before u-boot. And the peripherals supported in the u-boot port are an n16550 uart and a xilinx ethernet IP (axi_emaclite) which already have drivers in u-boot. Hence the port is mostly DT + config

[U-Boot] [PATCH 1/3] net: emaclite: Use ioremap_nocache

2016-07-27 Thread Zubair Lutfullah Kakakhel
Virtual to physical mapping isn't necessarily 1:1 for all architectures Using ioremap_nocache allows for the arch code to translate the physical address to a virtual address. Signed-off-by: Zubair Lutfullah Kakakhel Reviewed-by: Paul Burton --- drivers/net/xilinx_emaclite.c | 4 +++- 1 file ch

[U-Boot] [PATCH 3/3] net: emaclite: Enable driver for MIPS

2016-07-27 Thread Zubair Lutfullah Kakakhel
Signed-off-by: Zubair Lutfullah Kakakhel Reviewed-by: Paul Burton --- drivers/net/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 88d8e83..4efb5d6 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -170,7 +170

[U-Boot] [PATCH 2/3] net: emaclite: use __raw_readl/writel instead of weird define

2016-07-27 Thread Zubair Lutfullah Kakakhel
out_be32 and in_be32 are actually #defined to little endian writel/readl in arch/microblaze. Just use __raw_writel/readl instead. That is also what is used in the Linux kernel driver for this IP block Tested on MIPSfpga. Can tftp a kernel. Signed-off-by: Zubair Lutfullah Kakakhel Reviewed-by: P

Re: [U-Boot] mmc erase Command and Bad Sectors

2016-07-27 Thread Jaehoon Chung
On 07/26/2016 10:41 PM, Aron L. Phillips wrote: > To whom it may concern: > > I am not sure how this email list works but I am interested in knowing what > exactly does the mmc erase command do? I know it erases the mmc, but in what > manner? Does it clear bad sector marks or for that matter, pl

Re: [U-Boot] [PATCH 7/7] boston: Introduce support for the MIPS Boston development board

2016-07-27 Thread Daniel Schwierzeck
Am 27.07.2016 um 00:24 schrieb Paul Burton: > This patch introduces support for building U-Boot to run on the MIPS > Boston development board. This is a board built around an FPGA & an > Intel EG20T Platform Controller Hub, used largely as part of the > development of new CPUs and their software

[U-Boot] [PATCH] ARM64: zynqmp: Wire up PSCI reset

2016-07-27 Thread Michal Simek
Using PSCI to reset the system. Signed-off-by: Michal Simek --- board/xilinx/zynqmp/zynqmp.c | 5 + 1 file changed, 5 insertions(+) diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index f15dc5d71522..0c5d9979316f 100644 --- a/board/xilinx/zynqmp/zynqmp.c +++ b/boar

Re: [U-Boot] [PATCH 1/3] net: emaclite: Use ioremap_nocache

2016-07-27 Thread Daniel Schwierzeck
Am 27.07.2016 um 13:25 schrieb Zubair Lutfullah Kakakhel: > Virtual to physical mapping isn't necessarily 1:1 for all architectures > > Using ioremap_nocache allows for the arch code to translate the > physical address to a virtual address. > > Signed-off-by: Zubair Lutfullah Kakakhel > Review

Re: [U-Boot] [PATCH 2/2] uniphier: Drop CONFIG_I2C_EEPROM

2016-07-27 Thread Tom Rini
On Wed, Jul 27, 2016 at 03:42:40PM +0900, Masahiro Yamada wrote: [snip] > The tool will show as follows: > > uniphier_ld4_sld8_defconfig > CONFIG_I2C_EEPROM is not defined in Kconfig. Do nothing. > > > This is the message. > > > > - CONFIG_... is not defined in Kconfig. Do nothing. >

Re: [U-Boot] [PATCH 2/2] mips: xilfpga: Add device tree files

2016-07-27 Thread Daniel Schwierzeck
Am 27.07.2016 um 12:51 schrieb Zubair Lutfullah Kakakhel: > Mostly the same as the Kernel upstream device tree file except for > > - alias for the serial console node > - ethernet node as the ethernet stuff isn't upstream on kernel.org yet > - uart clock-frequency passed directly in the node >

Re: [U-Boot] a few questions about saving bootcount in the environment

2016-07-27 Thread Robert P. J. Day
On Tue, 26 Jul 2016, Heiko Schocher wrote: ... snip ... > > it appears that, no matter what, the environment *is* updated > > every single time because of this line in the bootdelay_process() > > routine: > > > >setenv_ulong("bootcount", bootcount); > > > > why? it seems, from the above, that

Re: [U-Boot] [PATCH 2/4] spi: ti_qspi: dra7xx: Add support to use 76.8MHz clock

2016-07-27 Thread Vignesh R
On Wednesday 27 July 2016 12:05 PM, Jagan Teki wrote: > On 25 July 2016 at 15:45, Vignesh R wrote: >> According to AM572x DM SPRS953A, QSPI bus speed can be 76.8MHz, update >> the driver to use the same. >> >> Signed-off-by: Vignesh R >> --- >> drivers/spi/ti_qspi.c | 17 - >>

[U-Boot] should denx wiki page on bootcount mention "failbootcmd"?

2016-07-27 Thread Robert P. J. Day
it would seem that this wiki page: http://www.denx.de/wiki/view/DULG/UBootBootCountLimit could use a fair bit of updating, since it concludes with: "At the moment, the Boot Count Limit feature is available only for MPC8xx, MPC82xx and MPC5200 Power Architecture® processors." which i susp

Re: [U-Boot] [PATCH 1/2] mips: Add MIPSfpga platform support

2016-07-27 Thread Daniel Schwierzeck
Am 27.07.2016 um 12:51 schrieb Zubair Lutfullah Kakakhel: > MIPSfpga is an FPGA based dev platform. > > In a nutshell, its a microAptiv cpu core with lots of Xilinx IP blocks > > The FPGA dev board used is the Nexys4DDR board by Digilent. > > For more information, check the Readme file in boar

Re: [U-Boot] mmc erase Command and Bad Sectors

2016-07-27 Thread Aron L. Phillips
Greetings Jaehoon, No. When I enter into u-boot (when I press the space bar booting the Beaglebone Black) I will see this => From this command prompt, I type mmc dev 1 and it switches to the onboard eMMC chip. If I type mmc erase 0 0x50, it erases 5,242,880 block sectors. I would like to

Re: [U-Boot] [PATCH 7/7] boston: Introduce support for the MIPS Boston development board

2016-07-27 Thread Paul Burton
On 27/07/16 12:37, Daniel Schwierzeck wrote: +#define EXT(field) ((mmcmdiv & field) >> (ffs(field) - 1)) + + in_rate = EXT(BOSTON_PLAT_MMCMDIV_INPUT); + mul = EXT(BOSTON_PLAT_MMCMDIV_MUL); + clk0_div = EXT(BOSTON_PLAT_MMCMDIV_CLK0DIV); + +#undef EXT + + clk0_rate = (in_rat

Re: [U-Boot] [PATCH 3/4] net: cpsw: Add support to drive gpios for ethernet to be functional

2016-07-27 Thread Vignesh R
On Tuesday 26 July 2016 05:43 PM, Tom Rini wrote: > On Tue, Jul 26, 2016 at 12:07:26PM +0530, R, Vignesh wrote: >> >> >> On 7/25/2016 7:08 PM, Tom Rini wrote: >>> On Mon, Jul 25, 2016 at 06:40:22PM +0530, Vignesh R wrote: >>> On DRA72 EVM, cpsw slaves may be muxed with other modules. This >>

Re: [U-Boot] [RFC PATCH] cmd: gpt: add - partition size parsing

2016-07-27 Thread Julian Scheel
Hi Michael, On 08.06.2016 10:18, Michael Trimarchi wrote: This patch try to parse name=userdata,size=-,uuid=${uuid_gpt_userdata}; gpt mmc write 0 $partitions gpt mmc verify 0 $partitions Signed-off-by: Michael Trimarchi --- cmd/gpt.c | 13 +++-- 1 file changed, 11 insertions(+), 2 de

Re: [U-Boot] [RFC PATCH] cmd: gpt: add - partition size parsing

2016-07-27 Thread Michael Trimarchi
Hi On Wed, Jul 27, 2016 at 2:57 PM, Julian Scheel wrote: > Hi Michael, > > > On 08.06.2016 10:18, Michael Trimarchi wrote: >> >> This patch try to parse name=userdata,size=-,uuid=${uuid_gpt_userdata}; >> >> gpt mmc write 0 $partitions >> gpt mmc verify 0 $partitions >> >> Signed-off-by: Michael T

Re: [U-Boot] [PATCH] cmd: gpt: fix the wrong size parse for the last partition

2016-07-27 Thread Julian Scheel
Hi Michael, all, On 26.07.2016 11:41, Kever Yang wrote: Hi Michael, On 07/26/2016 05:08 PM, Michael Trimarchi wrote: Hi On Tue, Jul 26, 2016 at 10:59 AM, Kever Yang wrote: Hi Michael, On 07/26/2016 04:37 PM, Michael Trimarchi wrote: Hi On Tue, Jul 26, 2016 at 9:56 AM, Kever Yang wrote:

[U-Boot] [PATCH 2/2] ARM64: zynqmp: Define config USB_STORAGE through defconfig

2016-07-27 Thread Michal Simek
Define config USB_STORAGE through defconfig for all Xilinx ZynqMP boards. Signed-off-by: Michal Simek --- configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 1 + configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 1 + configs/xilinx_zynqmp_zcu102_defconfig | 1 + configs/xilinx_zynqmp

[U-Boot] [PATCH 1/2] xilinx: Sync defconfigs with the latest Kconfig layout

2016-07-27 Thread Michal Simek
Update Microblaze, Zynq and ZynqMP defconfigs to reflect latest Kconfig changes. Signed-off-by: Michal Simek --- configs/microblaze-generic_defconfig | 4 ++-- configs/xilinx_zynqmp_ep_defconfig | 8 configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 8 ---

[U-Boot] [PATCH 0/2] Fix gpt write regression

2016-07-27 Thread Julian Scheel
Hi, As pointed out in emails on the threads [U-Boot] [RFC PATCH] cmd: gpt: add - partition size parsing [U-Boot] [PATCH] cmd: gpt: fix the wrong size parse for the last partition it makes no sense to replicate the available size computation from part_efi.c into gpt.c. Furthermore the replication

[U-Boot] [PATCH 2/2] disk: part_efi: Omit size on verify for partitions without size

2016-07-27 Thread Julian Scheel
If a partition was specified to fill the available space using size "-" a verification is not possible as there is no sane reference value to compare against. In this case simply skip the check to avoid printing a meaningless error. Signed-off-by: Julian Scheel --- disk/part_efi.c | 3 ++- 1 fil

[U-Boot] [PATCH 1/2] Revert "cmd: gpt: add - partition size parsing"

2016-07-27 Thread Julian Scheel
Partition size is automatically calculated by part_efi when omitted. Besides this the patch introduced regressions because of faulty maximum size and offset computations. This reverts commit 666362356e1ccc0df91c03b1d3f97939968b9c04. Signed-off-by: Julian Scheel --- cmd/gpt.c | 13 ++---

Re: [U-Boot] Please pull u-boot-sunxi master

2016-07-27 Thread Hans de Goede
Hi, On 27-07-16 04:38, Chen-Yu Tsai wrote: Hi Hans On Wed, Jul 27, 2016 at 6:30 AM, Hans de Goede wrote: Hi Tom, Here is the second sunxi pull-req for v2016.09, this adds some fixes to the h3 ethernet driver and disables it for now as it has too much issues. It also adds 1 new board. The f

Re: [U-Boot] Stepping down as sunxi u-boot custodian

2016-07-27 Thread Jagan Teki
On 27 July 2016 at 04:06, Tom Rini wrote: > On Mon, Jul 25, 2016 at 09:42:27AM +0200, Maxime Ripard wrote: >> On Fri, Jul 15, 2016 at 10:45:34AM +0200, Hans de Goede wrote: >> > Hi, >> > >> > On 04-07-16 14:57, Hans de Goede wrote: >> > >Hi All, >> > > >> > >Between my $dayjob, linux-sunxi, other

Re: [U-Boot] [PATCH] mmc: send CMD0 before CMD1 for some MMC cards

2016-07-27 Thread Ziyuan Xu
On 2016年07月27日 19:15, Jaehoon Chung wrote: On 07/27/2016 04:28 PM, Yangbo Lu wrote: Hi Tom, Could you help to assign this mmc patch reviewing to right person? It seems no one had reviewed it for almost half year. And another my mmc patch also needs to be reviewed. I submitted in May. Please

Re: [U-Boot] Stepping down as sunxi u-boot custodian

2016-07-27 Thread Tom Rini
On Wed, Jul 27, 2016 at 06:58:24PM +0530, Jagan Teki wrote: > On 27 July 2016 at 04:06, Tom Rini wrote: > > On Mon, Jul 25, 2016 at 09:42:27AM +0200, Maxime Ripard wrote: > >> On Fri, Jul 15, 2016 at 10:45:34AM +0200, Hans de Goede wrote: > >> > Hi, > >> > > >> > On 04-07-16 14:57, Hans de Goede w

Re: [U-Boot] [RFC PATCH v2 1/5] spl: dfu: add dfu support in SPL

2016-07-27 Thread B, Ravi
Hi Tom Missed this thread to reply. >> index ef12f9f..ed3e295 100644 >> --- a/Kconfig >> +++ b/Kconfig >> @@ -336,6 +336,33 @@ config SPL_FIT_IMAGE_POST_PROCESS >>injected into the FIT creation (i.e. the blobs would have been pre- >>processed before being added to the FIT image).

[U-Boot] [PATCH 1/2] board: tbs2910: always enable usbkbd

2016-07-27 Thread Soeren Moch
'usb start' is much faster now, so always enable usb keyboard Signed-off-by: Soeren Moch --- Cc: Stefano Babic Cc: u-boot@lists.denx.de --- include/configs/tbs2910.h | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/include/configs/tbs2910.h b/include/configs/tbs

Re: [U-Boot] [PATCH 3/7] pci: xilinx: Add a driver for Xilinx AXI to PCIe bridge

2016-07-27 Thread Paul Burton
On 27/07/16 00:43, Simon Glass wrote: Hi Paul, On 26 July 2016 at 16:24, Paul Burton wrote: This patch adds a driver for the Xilinx AXI bridge for PCI express, an IP block which can be used on some generations of Xilinx FPGAs. This is mostly a case of implementing PCIe ECAM specification, but

[U-Boot] [PATCH 2/2] board: tbs2910: fix HDMI pre-console buffer

2016-07-27 Thread Soeren Moch
HDMI output must be enabled very early to also enable the pre-console buffer Signed-off-by: Soeren Moch --- Cc: Stefano Babic Cc: u-boot@lists.denx.de --- include/configs/tbs2910.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/configs/tbs2910.h b/include/configs

[U-Boot] [PATCH v2 00/10] MIPS Boston Development Board Support

2016-07-27 Thread Paul Burton
This series introduces initial support for the MIPS Boston, and FPGA based development board & successor to the older Malta board. Further peripheral work is needed but this introduces the basics. This can be tested in a currently out-of-tree QEMU port if desired, which can be found in the boston

[U-Boot] [PATCH v2 01/10] serial: ns16550: Support clocks via phandle

2016-07-27 Thread Paul Burton
Previously ns16550 compatible UARTs probed via device tree have needed their device tree nodes to contain a clock-frequency property. An alternative to this commonly used with Linux is to reference a clock via a phandle. This patch allows U-Boot to support that, retrieving the clock frequency by pr

[U-Boot] [PATCH v2 03/10] pci: xilinx: Add a driver for Xilinx AXI to PCIe bridge

2016-07-27 Thread Paul Burton
This patch adds a driver for the Xilinx AXI bridge for PCI express, an IP block which can be used on some generations of Xilinx FPGAs. This is mostly a case of implementing PCIe ECAM specification, but with some quirks about what devices are valid to access. Signed-off-by: Paul Burton Reviewed-by

[U-Boot] [PATCH v2 02/10] dt-bindings: Add interrupt-controller/mips-gic.h header

2016-07-27 Thread Paul Burton
Import a copy of the dt-bindings/interrupt-controller/mips-gic.h header from Linux, such that we can use device trees which include it without modification. Signed-off-by: Paul Burton --- Changes in v2: None include/dt-bindings/interrupt-controller/mips-gic.h | 9 + 1 file changed, 9 i

[U-Boot] [PATCH v2 06/10] net: pch_gbe: Make 64 bit safe

2016-07-27 Thread Paul Burton
The pch_gbe driver previously casted pointers to & from unsigned 32 bit integers in many locations. This breaks the driver on 64 bit systems, producing streams of compiler warnings about mismatched pointer & integer sizes and then failing to keep track of addresses correctly at runtime. Fix the dr

[U-Boot] [PATCH v2 05/10] net: pch_gbe: Use dm_pci_map_bar to discover MMIO base

2016-07-27 Thread Paul Burton
Reading the PCI BAR & converting the result to a physical address is not safe across all architectures. For example on MIPS the virtual:physical mapping is not 1:1, so we cannot directly make use of the physical address. Use the more generic BAR-mapping function dm_pci_map_bar to discover the MMIO

[U-Boot] [PATCH v2 04/10] pci: Flip condition for detecting non-PCI parent devices

2016-07-27 Thread Paul Burton
In pci_uclass_pre_probe an attempt is made to detect whether the parent of a device is a PCI device and that the device is thus a bridge. This was being done by checking whether the parent of the device is of the UCLASS_ROOT class. This causes problems if the PCI controller is a child of some other

[U-Boot] [PATCH v2 07/10] dm: regmap: Implement simple regmap_read & regmap_write

2016-07-27 Thread Paul Burton
The regmap_read & regmap_write functions were previously declared in regmap.h but not implemented anywhere. The regmap implementation & commit message of 6f98b7504f70 ("dm: Add support for register maps (regmap)") indicate that only memory mapped accesses are supported for now, so providing simple

[U-Boot] [PATCH v2 08/10] dm: syscon: Provide a generic syscon driver

2016-07-27 Thread Paul Burton
Provide a trivial syscon driver matching the generic "syscon" compatible string, allowing for simple system controllers to be used without a custom driver just as in Linux. Signed-off-by: Paul Burton --- Changes in v2: - New patch drivers/core/syscon-uclass.c | 11 +++ 1 file changed,

[U-Boot] [PATCH v2 09/10] clk: boston: Providea simple driver for Boston board clocks

2016-07-27 Thread Paul Burton
Add a simple driver for the clocks provided by the MIPS Boston development board. The system provides information about 2 clocks whose rates are fixed by the bitfile flashed in the boards FPGA, and this driver simply reads the rates of these 2 clocks. Signed-off-by: Paul Burton --- Changes in v

[U-Boot] [PATCH v2 10/10] boston: Introduce support for the MIPS Boston development board

2016-07-27 Thread Paul Burton
This patch introduces support for building U-Boot to run on the MIPS Boston development board. This is a board built around an FPGA & an Intel EG20T Platform Controller Hub, used largely as part of the development of new CPUs and their software support. It is essentially the successor to the older

Re: [U-Boot] [PATCH] board: ls1012afrdm: overwrite CONFIG_EXTRA_ENV_SETTINGS

2016-07-27 Thread york sun
On 07/19/2016 01:36 AM, Prabhakar Kushwaha wrote: > LS1012AFRDM has 512MB of DDR. > So update Kernel load address as 0x9600 instead of default > 0xa000. > > Signed-off-by: Prabhakar Kushwaha > --- > include/configs/ls1012afrdm.h | 16 > 1 file changed, 16 insertions(+) >

Re: [U-Boot] [PATCH 4/4] mmc: add workaround for eSDHC erratum A009620

2016-07-27 Thread york sun
On 07/27/2016 12:10 AM, Yangbo Lu wrote: >> -Original Message- >> From: york sun >> Sent: Tuesday, July 26, 2016 1:38 AM >> To: Yangbo Lu; u-boot@lists.denx.de >> Subject: Re: [PATCH 4/4] mmc: add workaround for eSDHC erratum A009620 >> >> On 05/20/2016 03:20 AM, Yangbo Lu wrote: >>> Erratu

Re: [U-Boot] [RFC PATCH v2 1/5] spl: dfu: add dfu support in SPL

2016-07-27 Thread Tom Rini
On Wed, Jul 27, 2016 at 02:04:24PM +, B, Ravi wrote: > Hi Tom > > Missed this thread to reply. > > >> index ef12f9f..ed3e295 100644 > >> --- a/Kconfig > >> +++ b/Kconfig > >> @@ -336,6 +336,33 @@ config SPL_FIT_IMAGE_POST_PROCESS > >> injected into the FIT creation (i.e. the blobs would

Re: [U-Boot] Stepping down as sunxi u-boot custodian

2016-07-27 Thread Jagan Teki
On 27 July 2016 at 19:28, Tom Rini wrote: > On Wed, Jul 27, 2016 at 06:58:24PM +0530, Jagan Teki wrote: >> On 27 July 2016 at 04:06, Tom Rini wrote: >> > On Mon, Jul 25, 2016 at 09:42:27AM +0200, Maxime Ripard wrote: >> >> On Fri, Jul 15, 2016 at 10:45:34AM +0200, Hans de Goede wrote: >> >> > Hi,

[U-Boot] [PATCH 2/4] sunxi: Ensure that the NIC specific bytes of the mac are not all 0

2016-07-27 Thread Hans de Goede
On 2 of my H3 boards bytes 13-15 of the SID are all 0 leading to the NIC specific bytes of the mac all being 0, which leads to the boards not getting an ipv6 address from the dhcp server. This commits adds a check to ensure this does not happen. Cc: Chen-Yu Tsai Cc: Corentin LABBE Cc: Amit Sing

[U-Boot] [PATCH 1/4] net: sun8i_emac: Fix DMA alignment issues with the rx / tx buffers

2016-07-27 Thread Hans de Goede
This fixes the following CACHE warnings when using sun8i_emac: => dhcp BOOTP broadcast 1 BOOTP broadcast 2 CACHE: Misaligned operation at range [7bf594a8, 7bf59628] BOOTP broadcast 3 CACHE: Misaligned operation at range [7bf59c90, 7bf59e10] CACHE: Misaligned operation at range [7bf5a478, 7bf5a5f8]

[U-Boot] [PATCH 4/4] sunxi: Re-enable h3 emac support

2016-07-27 Thread Hans de Goede
With the recent bug fixes for the sun8i_emac driver all known issues are resolved, so we can re-enable the driver. While at it, also enable the emac on the Orange Pi One. Cc: Chen-Yu Tsai Cc: Corentin LABBE Cc: Amit Singh Tomar Signed-off-by: Hans de Goede --- arch/arm/dts/sun8i-h3-orangepi-

[U-Boot] [PATCH 3/4] sun8i: On H3 Use word 1 instead of word 3 from the SID

2016-07-27 Thread Hans de Goede
It seems that bytes 13-14 of the SID / bytes 1-2 from word 3 of the SID are always 0 on H3 making it a poor candidate to use as source for the serialnr / mac-address, switch to word1 which seems to be more random. Cc: Chen-Yu Tsai Cc: Corentin LABBE Cc: Amit Singh Tomar Signed-off-by: Hans de G

Re: [U-Boot] [PATCH 1/2] board: ls1043ardb: move sec_init to board_init

2016-07-27 Thread york sun
On 02/23/2016 01:32 AM, Aneesh Bansal wrote: > sec_init() which was earlier called in misc_init_r() > is now done in board_init() before PPA init as SEC > block will be used during PPA image validation. > > Signed-off-by: Aneesh Bansal > --- > The patchset is dependent on > http://patchwork.ozlabs

Re: [U-Boot] [PATCH 2/2] config.h: clean unused CONFIG_ENV_SPI_* if using driver model

2016-07-27 Thread york sun
On 07/27/2016 03:00 AM, Qianyu Gong wrote: > > Hi York, > >> -Original Message- >> From: york sun >> Sent: Tuesday, July 26, 2016 12:26 PM >> To: Qianyu Gong ; u-boot@lists.denx.de; Prabhakar >> Kushwaha ; Mingkai Hu >> Cc: Shaohui Xie ; Zhiqiang Hou ; >> Wenbin Song >> Subject: Re: [PATC

[U-Boot] Network boot fallback usage/features

2016-07-27 Thread Dragan Isakovic
Hello, I'm about to use U-Boot for an embedded project. I need a fallback strategy if the network boot (no matter what exactly) fails e.g. no server reached after a timeout period. In this case it should boot an linux image from flash memory. The U-Boot docs say nothing about that... _

Re: [U-Boot] a few questions about saving bootcount in the environment

2016-07-27 Thread Heiko Schocher
Hello Robert, Am 27.07.2016 um 14:03 schrieb Robert P. J. Day: On Tue, 26 Jul 2016, Heiko Schocher wrote: ... snip ... it appears that, no matter what, the environment *is* updated every single time because of this line in the bootdelay_process() routine: setenv_ulong("bootcount", bootco

[U-Boot] Network boot fallback usage/features

2016-07-27 Thread Dragan Isakovic
Hello, I'm about to use U-Boot for an embedded project. I need a fallback strategy if the network boot (no matter what exactly) fails e.g. no server reached after a timeout period. In this case it should boot an linux image from flash memory. The U-Boot docs say nothing about that... ___

[U-Boot] Network boot fallback usage/features

2016-07-27 Thread Dragan Isakovic
Hello, I'm about to use U-Boot for an embedded project. I need a fallback strategy if the network boot (no matter what exactly) fails e.g. no server reached after a timeout period. In this case it should boot an linux image from flash memory. The U-Boot docs say nothing about that... ___

Re: [U-Boot] [PATCH 1/4] net: sun8i_emac: Fix DMA alignment issues with the rx / tx buffers

2016-07-27 Thread Amit Tomer
Hello, > index 7c088c3..877859c 100644 > --- a/drivers/net/sun8i_emac.c > +++ b/drivers/net/sun8i_emac.c > @@ -32,7 +32,8 @@ > > #define CONFIG_TX_DESCR_NUM32 > #define CONFIG_RX_DESCR_NUM32 > -#define CONFIG_ETH_BUFSIZE 2024 > +#define CONFIG_ETH_BUFSIZE 2048 > +#define CONFIG_E

[U-Boot] [PATCH] common: image: Add support for post-processing of images

2016-07-27 Thread Andreas Dannenberg
This commit allows injecting a board/platform/device-specific post- processing function into the FIT image data loading process, which can include modifying the size and altering the starting source address of an image data artifact. This might be desired to do things like strip headers or footers

Re: [U-Boot] [PATCH v2 2/4] usb: dwc3: Add helper functions to enable snooping and burst settings

2016-07-27 Thread york sun
On 07/03/2016 09:37 PM, Rajesh Bhagat wrote: > > > Will take care in v3. > Did you send v3 patch set? York ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2] splash: Introduce default_splash_locations

2016-07-27 Thread Anatolij Gustschin
On Tue, 26 Jul 2016 08:52:52 +0200 Anatolij Gustschin ag...@denx.de wrote: > From: Alexey Brodkin > > This change introduces default_splash_locations which > simplifies splash recovery from the first partition of > USB/MMC/SATA drive. > > Given usual mapping of the first partition of external m

Re: [U-Boot] Stepping down as sunxi u-boot custodian

2016-07-27 Thread Maxime Ripard
On Wed, Jul 27, 2016 at 09:31:25PM +0530, Jagan Teki wrote: > >> >> FWIW, if anyone is interested in taking over, I'm can help with the > >> >> load if needed. > >> > > >> > I would also be quite happy to see a joint custodian setup similar to > >> > how some of the Linux Kernel trees are handled,

Re: [U-Boot] [PATCH 1/4] net: sun8i_emac: Fix DMA alignment issues with the rx / tx buffers

2016-07-27 Thread Ian Campbell
On Wed, 2016-07-27 at 18:10 +0200, Hans de Goede wrote: > This fixes the following CACHE warnings when using sun8i_emac: > > => dhcp > BOOTP broadcast 1 > BOOTP broadcast 2 > CACHE: Misaligned operation at range [7bf594a8, 7bf59628] > BOOTP broadcast 3 > CACHE: Misaligned operation at range [7bf59

Re: [U-Boot] [PATCH 2/4] sunxi: Ensure that the NIC specific bytes of the mac are not all 0

2016-07-27 Thread Ian Campbell
On Wed, 2016-07-27 at 18:10 +0200, Hans de Goede wrote: > On 2 of my H3 boards bytes 13-15 of the SID are all 0 leading to > the NIC specific bytes of the mac all being 0, which leads to the > boards not getting an ipv6 address from the dhcp server. > > This commits adds a check to ensure this doe

Re: [U-Boot] [PATCH 4/4] sunxi: Re-enable h3 emac support

2016-07-27 Thread Ian Campbell
On Wed, 2016-07-27 at 18:10 +0200, Hans de Goede wrote: > With the recent bug fixes for the sun8i_emac driver all known issues > are resolved, so we can re-enable the driver. > > While at it, also enable the emac on the Orange Pi One. > > Cc: Chen-Yu Tsai > Cc: Corentin LABBE > Cc: Amit Singh T

Re: [U-Boot] [PATCH 3/4] sun8i: On H3 Use word 1 instead of word 3 from the SID

2016-07-27 Thread Ian Campbell
On Wed, 2016-07-27 at 18:10 +0200, Hans de Goede wrote: > It seems that bytes 13-14 of the SID / bytes 1-2 from word 3 of the > SID > are always 0 on H3 making it a poor candidate to use as source for > the > serialnr / mac-address, switch to word1 which seems to be more > random. > > Cc: Chen-Yu

Re: [U-Boot] [PATCH 3/4] sun8i: On H3 Use word 1 instead of word 3 from the SID

2016-07-27 Thread Siarhei Siamashka
Hello Hans, On Wed, 27 Jul 2016 18:10:34 +0200 Hans de Goede wrote: > It seems that bytes 13-14 of the SID / bytes 1-2 from word 3 of the SID > are always 0 on H3 making it a poor candidate to use as source for the > serialnr / mac-address, switch to word1 which seems to be more random. > > Cc:

Re: [U-Boot] [PATCH 1/2] net: fm: fix spi flash probe for using driver model

2016-07-27 Thread york sun
On 07/20/2016 03:51 AM, Gong Qianyu wrote: > The current code would always use the speed and mode set by > CONFIG_ENV_SPI_MAX_HZ and CONFIG_ENV_SPI_MODE. But if using > SPI driver model it should get the values from DT. > > Signed-off-by: Gong Qianyu > --- > drivers/net/fm/fm.c | 10 ++ >

[U-Boot] Please pull: u-boot-video/master

2016-07-27 Thread Anatolij Gustschin
Hi Tom, On Mon, 25 Jul 2016 17:46:31 -0400 Tom Rini tr...@konsulko.com wrote: ... > Hey, good catch. Anatolij, please fix and re-submit, thanks! sandbox build fixed now, here is updated pull request: The following changes since commit 19ce924ff914f315dc2fdf79f357825c513aed6e: Prepare v2016.0

Re: [U-Boot] Stepping down as sunxi u-boot custodian

2016-07-27 Thread Tom Rini
On Wed, Jul 27, 2016 at 08:10:08PM +0200, Maxime Ripard wrote: > On Wed, Jul 27, 2016 at 09:31:25PM +0530, Jagan Teki wrote: > > >> >> FWIW, if anyone is interested in taking over, I'm can help with the > > >> >> load if needed. > > >> > > > >> > I would also be quite happy to see a joint custodian

Re: [U-Boot] [PATCH v2 10/10] boston: Introduce support for the MIPS Boston development board

2016-07-27 Thread Daniel Schwierzeck
Am 27.07.2016 um 16:26 schrieb Paul Burton: > This patch introduces support for building U-Boot to run on the MIPS > Boston development board. This is a board built around an FPGA & an > Intel EG20T Platform Controller Hub, used largely as part of the > development of new CPUs and their software

Re: [U-Boot] [PATCH 0/5] usb: fsl: Add code to use CONFIG_DM_USB

2016-07-27 Thread york sun
On 07/21/2016 04:45 AM, Marek Vasut wrote: > On 07/21/2016 10:02 AM, Rajesh Bhagat wrote: >> Hi All, >> >> Any Comments? > > York, please check this. Passed compiling tests on powerpc and arm platforms. York > >>> -Original Message- >>> From: Rajesh Bhagat [mailto:rajesh.bha...@nxp.com]

[U-Boot] [PATCH 5/9] clock: add Tegra186 clock driver

2016-07-27 Thread Stephen Warren
From: Stephen Warren In Tegra186, on-SoC clocks are manipulated using IPC requests to the BPMP (Boot and Power Management Processor). This change implements a driver that does that. A tegra/ sub-directory is created to follow the existing pattern. It is unconditionally selected by CONFIG_TEGRA186

[U-Boot] [PATCH 2/9] ARM: tegra: add BPMP DT bindings

2016-07-27 Thread Stephen Warren
From: Stephen Warren The Tegra BPMP (Boot and Power Management Processor) is a separate auxiliary CPU embedded into Tegra to perform power management work, and controls related features such as clocks, resets, power domains, PMIC I2C bus, etc. These bindings dictate how to represent the BPMP in d

[U-Boot] [PATCH 3/9] ARM: tegra: add BPMP and dependencies to Tegra186 DT

2016-07-27 Thread Stephen Warren
From: Stephen Warren This adds the DT content that's needed to allow board DTs to enable use of BPMP, clocks, resets, GPIOs, eMMC, and SD cards. Signed-off-by: Stephen Warren --- arch/arm/dts/tegra186.dtsi | 55 -- 1 file changed, 53 insertions(+), 2

[U-Boot] [PATCH 4/9] misc: add Tegra BPMP driver

2016-07-27 Thread Stephen Warren
From: Stephen Warren The Tegra BPMP (Boot and Power Management Processor) is a separate auxiliary CPU embedded into Tegra to perform power management work, and controls related features such as clocks, resets, power domains, PMIC I2C bus, etc. This driver provides the core low-level communication

[U-Boot] [PATCH 1/9] ARM: tegra: adapt to latest HSP DT binding

2016-07-27 Thread Stephen Warren
From: Stephen Warren The DT binding for the Tegra186 HSP module apparently wasn't quite final when I posted initial U-Boot support for it. Add the final DT binding doc and adapt all code and DT files to match it. Signed-off-by: Stephen Warren --- arch/arm/dts/tegra186.dtsi

[U-Boot] [PATCH 6/9] reset: add Tegra186 reset driver

2016-07-27 Thread Stephen Warren
From: Stephen Warren In Tegra186, on-SoC reset signals are manipulated using IPC requests to the BPMP (Boot and Power Management Processor). This change implements a driver that does that. It is unconditionally selected by CONFIG_TEGRA186 since virtually any Tegra186 build of U-Boot will need the

[U-Boot] [PATCH 7/9] power domain: add Tegra186 driver

2016-07-27 Thread Stephen Warren
From: Stephen Warren In Tegra186, SoC power domains are manipulated using IPC requests to the BPMP (Boot and Power Management Processor). This change implements a driver that does that. Signed-off-by: Stephen Warren --- drivers/power/domain/Kconfig | 7 +++ drivers/power/domai

  1   2   >