Re: [U-Boot] [PATCH] arm, at91: add axm extensions

2015-08-18 Thread Andreas Bießmann
Hi Heiko, sorry for the late reply! This patch does not cleanly apply ... and some comments below follow. On 06/15/2015 02:21 PM, Heiko Schocher wrote: add extensions for the axm board: - power on LED on power up - press both recovery buttons on power up to enter recovery mode - detect

Re: [U-Boot] [PATCH] corvus, dfu: add dfu support

2015-08-18 Thread Andreas Bießmann
Hi Heiko, again sorry for the late reply! On 06/15/2015 02:25 PM, Heiko Schocher wrote: add support for DFU on the corvus board. Signed-off-by: Heiko Schocher h...@denx.de --- board/siemens/corvus/board.c | 21 + include/configs/corvus.h | 29

[U-Boot] [PATCH V6] sf: Add clear flag status register operation support

2015-08-18 Thread Zhiqiang Hou
From: Hou Zhiqiang b48...@freescale.com The clear flag status register operation was required by Micron SPI flash chips, which support FSR. And if an error bit of FSR have been set, it must be cleared by the clear FSR operation. Signed-off-by: Hou Zhiqiang b48...@freescale.com Signed-off-by:

Re: [U-Boot] [PATCH] sf: Read status and flag status code cleanup

2015-08-18 Thread Jagan Teki
On 18 August 2015 at 09:05, Zhiqiang Hou b48...@freescale.com wrote: From: Hou Zhiqiang b48...@freescale.com It doesn't make sense to compare a 'u8' element with Zero. Signed-off-by: Hou Zhiqiang b48...@freescale.com Reviewed-by: Jagan Teki jt...@openedev.com --- drivers/mtd/spi/sf_ops.c

Re: [U-Boot] [PATCH 3/4] arm: at91: pmc: replace the constant with a define in at91_pmc.h

2015-08-18 Thread Andreas Bießmann
On 08/13/2015 03:43 PM, Erik van Luijk wrote: To enable the clocks on the at91 boards a constant (0x4) is used. This is replaced with a define in at91_pmc.h (1 2). Signed-off-by: Erik van Luijk evanlu...@interact.nl Reviewed-by: Andreas Bießmann andreas.de...@gmail.com ---

Re: [U-Boot] [PATCH 2/3] sunxi: Switch to using malloc_simple for the spl

2015-08-18 Thread Ian Campbell
On Mon, 2015-08-17 at 18:08 +0200, Hans de Goede wrote: common/dlmalloc.c is quite big, both in .text and .data usage. E.g. for a Mele_M9 sun6i board build this reduces .text from 0x4214 to 0x3b94 bytes, and .data from 0x54c to 0x144 bytes. Signed-off-by: Hans de Goede

Re: [U-Boot] [PATCH v2 3/7] sf: Make BAR discovery, as spi_flash_read_bar

2015-08-18 Thread Jagan Teki
On 18 August 2015 at 13:16, Bin Meng bmeng...@gmail.com wrote: Hi Jagan, On Mon, Aug 17, 2015 at 6:32 PM, Jagan Teki jt...@openedev.com wrote: Add spi_flash_read_bar function for reading bar and discovering bar commands at probe time. Signed-off-by: Jagan Teki jt...@openedev.com Cc: Michal

Re: [U-Boot] [PATCH V6] sf: Add clear flag status register operation support

2015-08-18 Thread Jagan Teki
On 18 August 2015 at 14:31, Zhiqiang Hou b48...@freescale.com wrote: From: Hou Zhiqiang b48...@freescale.com The clear flag status register operation was required by Micron SPI flash chips, which support FSR. And if an error bit of FSR have been set, it must be cleared by the clear FSR

Re: [U-Boot] [PATCH] taurus: board updates

2015-08-18 Thread Andreas Bießmann
Hi Heiko, sorry for the late reply! No real objections with this patch, it just will not apply without the AXM patch (patchwork #484257). Could you please rebase and re-send both? Andreas On 06/15/2015 02:40 PM, Heiko Schocher wrote: taurus changes: - rename at91_spl_board_init to

Re: [U-Boot] [PATCH 2/4] arm: at91: at91sam9m10g45ek/corvus remove useless chip select 1 init

2015-08-18 Thread Andreas Bießmann
Hi Erik, On 08/13/2015 03:43 PM, Erik van Luijk wrote: On these boards the DDR is connected to a dedicated controller and not to chip select 1 of the EBI. from the specs this seems correct. Could I please get a Tested-by, since I do not own one of these boards. Best regards Andreas

Re: [U-Boot] [UBOOT PATCH v5 1/3] x86: Generate a valid ACPI table

2015-08-18 Thread Bin Meng
Hi Saket, On Tue, Aug 18, 2015 at 3:29 AM, Saket Sinha saket.sinh...@gmail.com wrote: Implement write_acpi_table() to create a minimal working ACPI table. This includes writing FACS, XSDT, RSDP, FADT, MCFG, MADT, DSDT SSDT ACPI table entries. Use a Kconfig option GENERATE_ACPI_TABLE to tell

Re: [U-Boot] [UBOOT PATCH v5 3/3] x86: Add DSDT table for supporting ACPI on QEMU

2015-08-18 Thread Bin Meng
Hi Saket, On Tue, Aug 18, 2015 at 3:29 AM, Saket Sinha saket.sinh...@gmail.com wrote: The DSDT table contains a bytecode that is executed by a driver in the kernel. Signed-off-by: Saket Sinha saket.sinh...@gmail.com --- arch/x86/cpu/qemu/Makefile | 2 +-

Re: [U-Boot] [UBOOT PATCH v5 2/3] x86: Add ACPI table support to QEMU

2015-08-18 Thread Bin Meng
Hi Saket, On Tue, Aug 18, 2015 at 3:29 AM, Saket Sinha saket.sinh...@gmail.com wrote: This patch mainly adds ACPI support to QEMU. Verified by booting Linux kernel on QEMU i440FX and Q35. Signed-off-by: Saket Sinha saket.sinh...@gmail.com --- arch/x86/cpu/qemu/Makefile | 1 +

Re: [U-Boot] [PATCH] e1000: support 64bit physical address

2015-08-18 Thread Sergei Temerkhanov
On Tue, Aug 18, 2015 at 7:18 AM, Bin Meng bmeng...@gmail.com wrote: Hi Mingkai, On Mon, Aug 17, 2015 at 2:49 PM, Mingkai Hu mingkai...@freescale.com wrote: Please add a commit message on this change. Signed-off-by: Mingkai Hu mingkai...@freescale.com --- drivers/net/e1000.c | 8

Re: [U-Boot] [PATCH 1/5] arm: spear: Fix booting - relocate vector table to 0 (low-vector)

2015-08-18 Thread Viresh Kumar
On 18-08-15, 09:27, Stefan Roese wrote: Booting SPEAr600 eval board doesn't work with current mainline U-Boot. With this patch the low-vector bit is left to '0'. Resulting in the common relocation of the vectors to 0 (SDRAM) to work correctly. Tested on the SPEAr600 EVB. Signed-off-by:

[U-Boot] Pull request: u-boot-spi/master

2015-08-18 Thread Jagan Teki
Hi Tom, Please pull this PR. thanks! Jagan. The following changes since commit 632093b566569329bc6e5b0893bdca01de905314: Merge git://git.denx.de/u-boot-x86 (2015-08-14 16:27:16 -0400) are available in the git repository at: git://git.denx.de/u-boot-spi.git master for you to fetch

Re: [U-Boot] [PATCH 03/11] arm: tegra: mmc: clean-up include file order

2015-08-18 Thread Marcel Ziswiler
On Mon, 2015-08-17 at 16:14 -0600, Simon Glass wrote: The nice thing about sorting things in groups is that you can see at a glance what is missing. It doesn't make sense to have: asm/aaa.h bbb.c asm/ccc.h since the asm/ includes are quite a different category. But that's not at all

Re: [U-Boot] [UBOOT PATCH v5 0/3] Add ACPI table support

2015-08-18 Thread Bin Meng
Hi Saket, On Tue, Aug 18, 2015 at 9:25 AM, Bin Meng bmeng...@gmail.com wrote: Hi Saket, On Tue, Aug 18, 2015 at 3:29 AM, Saket Sinha saket.sinh...@gmail.com wrote: ACPI(Advanced Configuration and Power Interface), is a Power Management and configuration standard allowing the operating

Re: [U-Boot] [PATCH 3/3] sunxi: sunxi-common.h cleanup

2015-08-18 Thread Ian Campbell
On Mon, 2015-08-17 at 18:08 +0200, Hans de Goede wrote: Move some #define-s around from one #ifdef block to another to reduce the number of #ifdef blocks (note this causes no functional changes even though the conditions are not always exactly the same) and move generic #include statements to

Re: [U-Boot] [PATCH] Revert Align global_data to a 16-byte boundary

2015-08-18 Thread Sergei Temerkhanov
On Tue, Aug 18, 2015 at 3:53 AM, Tom Rini tr...@konsulko.com wrote: On Mon, Aug 17, 2015 at 09:28:44AM -0600, Simon Glass wrote: This causes widespread breakage due to the operation of the low-level code in crt0.S and cro0_64.S for ARM at least. The fix is not complicated but it seems safer

[U-Boot] [PATCH 2/5] arm: spear: Move to common SPL infrastructure

2015-08-18 Thread Stefan Roese
The SPL implementation for SPEAr600 is older than the common SPL infrastructure. This patch now moves the SPEAr600 SPL over to the common SPL code. Tested on the only SPEAr board that currently uses SPL in mainline U-Boot, the x600. Signed-off-by: Stefan Roese s...@denx.de Cc: Viresh Kumar

[U-Boot] [PATCH 5/5] arm: spear: Some changes / updates to the x600 config header

2015-08-18 Thread Stefan Roese
This patch brings the following changes to the x600 board support: - Add USB EHCI support - Add VFAT support for USB key file access - Increase malloc size (for UBI / UBIFS usage) - Enable Thumb mode to save some image space - Remove unreferenced CONFIG_STACKSIZE - Remove unreferenced

[U-Boot] [PATCH 3/5] usb: spear: Add support for both SPEAr600 EHCI controllers

2015-08-18 Thread Stefan Roese
USB EHCI on SPEAr600 has not been tested for a while. The base controller addresses are missing. This patch adds the defines to the header. And adds the missing code. Signed-off-by: Stefan Roese s...@denx.de Cc: Viresh Kumar viresh.ku...@linaro.org Cc: Vipin Kumar vk.vi...@gmail.com Cc: Marek

[U-Boot] [PATCH 1/5] arm: spear: Fix booting - relocate vector table to 0 (low-vector)

2015-08-18 Thread Stefan Roese
Booting SPEAr600 eval board doesn't work with current mainline U-Boot. With this patch the low-vector bit is left to '0'. Resulting in the common relocation of the vectors to 0 (SDRAM) to work correctly. Tested on the SPEAr600 EVB. Signed-off-by: Stefan Roese s...@denx.de Cc: Viresh Kumar

[U-Boot] [PATCH 4/5] arm: spear: Enable caches on SPEAr

2015-08-18 Thread Stefan Roese
The designware ethernet driver supports d-cache now. So there is nothing stopping us now to enable the caches completely on SPEAr. Tested on SPEAr600 x600 board. Signed-off-by: Stefan Roese s...@denx.de Cc: Viresh Kumar viresh.ku...@linaro.org Cc: Vipin Kumar vk.vi...@gmail.com ---

Re: [U-Boot] [PATCH v2 3/7] sf: Make BAR discovery, as spi_flash_read_bar

2015-08-18 Thread Bin Meng
Hi Jagan, On Mon, Aug 17, 2015 at 6:32 PM, Jagan Teki jt...@openedev.com wrote: Add spi_flash_read_bar function for reading bar and discovering bar commands at probe time. Signed-off-by: Jagan Teki jt...@openedev.com Cc: Michal Simek michal.si...@xilinx.com Cc: Siva Durga Prasad Paladugu

Re: [U-Boot] [PATCH v2 5/7] sf: Make flash-flags use for generic usage

2015-08-18 Thread Jagan Teki
Hi Bin, On 18 August 2015 at 13:23, Bin Meng bmeng...@gmail.com wrote: Hi Jagan, On Mon, Aug 17, 2015 at 6:32 PM, Jagan Teki jt...@openedev.com wrote: Use the flash-flags for generic usage, not only for dm-spi-flash, this will be used for future flag additions. Signed-off-by: Jagan Teki

Re: [U-Boot] [PATCH v2 0/7] BAR/wait_ready logic updates

2015-08-18 Thread Bin Meng
Hi Jagan, On Tue, Aug 18, 2015 at 1:22 PM, Jagan Teki jt...@openedev.com wrote: On 18 August 2015 at 10:12, Bin Meng bmeng...@gmail.com wrote: Hi Jagan, On Mon, Aug 17, 2015 at 6:32 PM, Jagan Teki jt...@openedev.com wrote: BAR and spi_flash_cmd_wait_ready are updated to make more module to

Re: [U-Boot] [PATCH v2 5/7] sf: Make flash-flags use for generic usage

2015-08-18 Thread Bin Meng
Hi Jagan, On Mon, Aug 17, 2015 at 6:32 PM, Jagan Teki jt...@openedev.com wrote: Use the flash-flags for generic usage, not only for dm-spi-flash, this will be used for future flag additions. Signed-off-by: Jagan Teki jt...@openedev.com Cc: Bin Meng bmeng...@gmail.com ---

Re: [U-Boot] [PATCH 03/11] arm: tegra: mmc: clean-up include file order

2015-08-18 Thread Marcel Ziswiler
On Mon, 2015-08-17 at 20:55 +, Tom Warren wrote: I have no problem with this sort order. Let me know if you want me to take this in to Tegra or if it should go into u-boot-mmc tree via Panto. I would be OK either way but as Panto has not responded I would be more than grateful if you

Re: [U-Boot] [PATCH 2/4] arm: at91: at91sam9m10g45ek/corvus remove useless chip select 1 init

2015-08-18 Thread Erik van Luijk
Hi Andreas, I tested this commit on my picosam9g45, the design of the primary DDR controller is equal to the at91sam9m10g45ek board. 0x2000 is the memory at CS1 (not initialized/available) 0x7000 is the memory at the primary DDR controller (should work) On the picosam9g45 there is no

[U-Boot] x86: Stuck trying to build a non-qemu EFI payload

2015-08-18 Thread Stoppa, Igor
Hi, I have verified that I can reproduce a workign build of U-Boot as x86-64bit EFI payload for Qemu: I can boot it, interact with various filesystems of both real and emulated disks, etc. Now I would like to build and boot it for a real board, still as EFI payload. The docs/README.efi file

[U-Boot] [PATCH] tftp: adjust settings to be suitable for 100Mbit ethernet

2015-08-18 Thread Pavel Machek
Adjust timouts and retry counts to be suitable for loaded ethernet network. With 5 seconds timeout, 10 retries maximum, tftp is impossible even on local network with single full-speed TCP connection. 100msec timeout should be suitable for most networks tftp is used on, that is local ethernets.

Re: [U-Boot] ARM: atmel: switch to usb ehci for sama5d3 boards

2015-08-18 Thread Andreas Bießmann
Dear Wu, Josh, Josh Wu josh...@atmel.com writes: From: Bo Shen voice.s...@atmel.com As the cache coherence issue in OHCI HCD, when enable I/D cache for sama5d3 SoC, the OHCI can not work properly. So, switch to EHCI, then the USB can work well. Signed-off-by: Bo Shen voice.s...@atmel.com

Re: [U-Boot] at91: corvus: board updates

2015-08-18 Thread Heiko Schocher
Hello Andreas, Am 18.08.2015 um 13:46 schrieb Andreas Bießmann: Dear Heiko Schocher, Heiko Schocher h...@denx.de writes: rename at91_spl_board_init into spl_board_init Signed-off-by: Heiko Schocher h...@denx.de --- board/siemens/corvus/board.c | 2 +- 1 file changed, 1 insertion(+), 1

[U-Boot] [PATCH v4 6/8] armv8: cavium: Add ThunderX 88xx board definition

2015-08-18 Thread Sergey Temerkhanov
This commit adds basic Cavium ThunderX 88xx board definitions and support. Signed-off-by: Sergey Temerkhanov s.temerkha...@gmail.com Signed-off-by: Radha Mohan Chintakuntla rchintakun...@cavium.com --- Changes in v4: - Moved CONFIG_SYS_PROMPT to configs/thunderx_88xx_defconfig - Add proper

[U-Boot] [PATCH v4 7/8] armv8: cavium: Add an implementation of ATF calling functions

2015-08-18 Thread Sergey Temerkhanov
This commit adds functions issuing calls to the product-specific ATF services Signed-off-by: Sergey Temerkhanov s.temerkha...@gmail.com Signed-off-by: Radha Mohan Chintakuntla rchintakun...@cavium.com --- Changes in v4: None Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v4 4/8] armv8: Add psci.h from the Linux kernel

2015-08-18 Thread Sergey Temerkhanov
This commit adds the psci.h header file from Linux kernel which contains definitions related to the PSCI interface provided by firmware Signed-off-by: Sergey Temerkhanov s.temerkha...@gmail.com Signed-off-by: Radha Mohan Chintakuntla rchintakun...@cavium.com --- Changes in v4: None Changes in

[U-Boot] [PATCH v4 5/8] arm: serial: Add ability to use pre-initialized UARTs

2015-08-18 Thread Sergey Temerkhanov
On some systems, UART initialization is performed before running U-Boot. This commit allows to skip UART re-initializaion on those systems Signed-off-by: Sergey Temerkhanov s.temerkha...@gmail.com Signed-off-by: Radha Mohan Chintakuntla rchintakun...@cavium.com --- Changes in v4: - Fixed build

[U-Boot] [PATCH v4 8/8] armv8: cavium: Get DRAM size from ATF

2015-08-18 Thread Sergey Temerkhanov
Change the dram_init() function on ThunderX to query ATF services for the real installed DRAM size Signed-off-by: Sergey Temerkhanov s.temerkha...@gmail.com Signed-off-by: Radha Mohan Chintakuntla rchintakun...@cavium.com --- Changes in v4: None Changes in v3: None Changes in v2: None

Re: [U-Boot] [PATCH v4 8/8] armv8: cavium: Get DRAM size from ATF

2015-08-18 Thread Jagan Teki
On 18 August 2015 at 17:56, Sergey Temerkhanov s.temerkha...@gmail.com wrote: Change the dram_init() function on ThunderX to query ATF services for the real installed DRAM size Signed-off-by: Sergey Temerkhanov s.temerkha...@gmail.com Signed-off-by: Radha Mohan Chintakuntla

[U-Boot] Odroid XU4 USB Ethernet r8152 support in u-boot.

2015-08-18 Thread Anand Moon
hi Przemyslaw/Lukasz, I would like to know if the support for OdroidXU4 be added in u-boot. Odroid-XU4 is similar to Odroid-XU3 SOC wise. But Odroid -XU4 is having Realtek r8152 1000 giga byte Ethernet card. So how about added the support for this board in u-boot. -Anand Moon

[U-Boot] [RESEND PATCH v6] mtd/nand/ubi: assortment of alignment fixes

2015-08-18 Thread Marcel Ziswiler
From: Marcel Ziswiler marcel.ziswi...@toradex.com Various U-Boot adoptions/extensions to MTD/NAND/UBI did not take buffer alignment into account which led to failures of the following form: ERROR: v7_dcache_inval_range - start address is not aligned - 0x1f7f0108 ERROR: v7_dcache_inval_range -

Re: [U-Boot] [PATCH 5/8] drivers: serial: Add ns16550 compatible pci uart driver

2015-08-18 Thread Simon Glass
Hi Bin, On 17 August 2015 at 20:25, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Tue, Aug 18, 2015 at 10:00 AM, Simon Glass s...@chromium.org wrote: Hi Bin, On 17 August 2015 at 18:20, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Tue, Aug 18, 2015 at 6:14 AM, Simon Glass

Re: [U-Boot] [PATCH 2/2] sunxi: gpio: Add support for the gpio banks which are part of the R-io cluster

2015-08-18 Thread Simon Glass
Hi Hans, On 18 August 2015 at 03:29, Hans de Goede hdego...@redhat.com wrote: Hi, On 18-08-15 00:14, Simon Glass wrote: Hi Hans, On 6 August 2015 at 12:13, Hans de Goede hdego...@redhat.com wrote: sun6i and later have a couple of io-blocks which are shared between the main CPU core and

Re: [U-Boot] [PATCH 1/3] malloc_simple: Allow malloc_simple to be used with non stack RAM

2015-08-18 Thread Simon Glass
Hi Hans, On 18 August 2015 at 03:23, Hans de Goede hdego...@redhat.com wrote: Hi, On 18-08-15 03:59, Simon Glass wrote: Hi Hans, On 17 August 2015 at 10:08, Hans de Goede hdego...@redhat.com wrote: Before this patch malloc_simple would always allocate a chunk of RAM from the stack.

Re: [U-Boot] at91: corvus: board updates

2015-08-18 Thread Andreas Bießmann
Dear Heiko Schocher, Heiko Schocher h...@denx.de writes: rename at91_spl_board_init into spl_board_init Signed-off-by: Heiko Schocher h...@denx.de --- board/siemens/corvus/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) applied to u-boot-atmel/master, thanks! Best regards,

Re: [U-Boot] [PATCH v2] usb: xhci: Fix a potential NULL pointer dereference

2015-08-18 Thread Sergei Temerkhanov
On Sun, Aug 16, 2015 at 7:55 PM, Marek Vasut ma...@denx.de wrote: On Saturday, August 15, 2015 at 12:28:10 AM, Sergei Temerkhanov wrote: On Fri, Aug 14, 2015 at 11:46 PM, Marek Vasut ma...@denx.de wrote: On Friday, August 14, 2015 at 05:14:09 PM, Sergey Temerkhanov wrote: This patch fixes a

[U-Boot] [PATCH v4 1/8] armv8: Add read_mpidr() function

2015-08-18 Thread Sergey Temerkhanov
This patch adds the read_mpidr() function which returns the MPIDR_EL1 register value Signed-off-by: Sergey Temerkhanov s.temerkha...@gmail.com Signed-off-by: Radha Mohan Chintakuntla rchintakun...@cavium.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v4: None Changes in v3: None

Re: [U-Boot] [ELCE 2015][Presentation] Proposal for U-boot Mini Summit presentation

2015-08-18 Thread Simon Glass
Hi Lukasz, On 11 August 2015 at 02:45, Lukasz Majewski l.majew...@samsung.com wrote: Dear All, Please assess if the following presentation is suitable for the 2015 U-boot Mini Summit held at ELCE2015. __Title__ Automated Test System - build blocks __Abstract__ Assuring software

Re: [U-Boot] [PATCH 03/11] arm: tegra: mmc: clean-up include file order

2015-08-18 Thread Simon Glass
Hi Marcel, On 18 August 2015 at 02:11, Marcel Ziswiler mar...@ziswiler.com wrote: On Mon, 2015-08-17 at 16:14 -0600, Simon Glass wrote: The nice thing about sorting things in groups is that you can see at a glance what is missing. It doesn't make sense to have: asm/aaa.h bbb.c asm/ccc.h

Re: [U-Boot] [PATCH] Revert Align global_data to a 16-byte boundary

2015-08-18 Thread Simon Glass
Hi Sergei, On 18 August 2015 at 02:49, Sergei Temerkhanov s.temerkha...@gmail.com wrote: On Tue, Aug 18, 2015 at 3:53 AM, Tom Rini tr...@konsulko.com wrote: On Mon, Aug 17, 2015 at 09:28:44AM -0600, Simon Glass wrote: This causes widespread breakage due to the operation of the low-level code

Re: [U-Boot] ARM: atmel: switch to usb ehci for sama5d3 boards

2015-08-18 Thread Andreas Bießmann
Hi Josh, On 08/18/2015 01:46 PM, Andreas Bießmann wrote: Dear Wu, Josh, Josh Wu josh...@atmel.com writes: From: Bo Shen voice.s...@atmel.com As the cache coherence issue in OHCI HCD, when enable I/D cache for sama5d3 SoC, the OHCI can not work properly. So, switch to EHCI, then the USB

Re: [U-Boot] Odroid XU4 USB Ethernet r8152 support in u-boot.

2015-08-18 Thread Przemyslaw Marczak
Hello Anand, On 08/18/2015 12:26 PM, Anand Moon wrote: hi Przemyslaw/Lukasz, I would like to know if the support for OdroidXU4 be added in u-boot. Odroid-XU4 is similar to Odroid-XU3 SOC wise. But Odroid -XU4 is having Realtek r8152 1000 giga byte Ethernet card. So how about added the support

[U-Boot] USB keyboard does not work on DWC2 controller (on Raspberry Pi B)

2015-08-18 Thread Guillaume Gardet
Hi Stephen, I want to add USB keyboard support to raspberry pi but I get the following error when I do 'usb start' with a keyboard plugged-in: unable to get device descriptor (error=-22) Ethernet chip and mass storage devices are found. I found this thread from February:

Re: [U-Boot] [PATCH] arm, at91: add axm extensions

2015-08-18 Thread Heiko Schocher
Hello Andreas, Am 18.08.2015 um 11:10 schrieb Andreas Bießmann: Hi Heiko, sorry for the late reply! This patch does not cleanly apply ... and some comments below follow. I have rebased version against current head, so I can easy repost this (and the taurus patch). I work in your comments

Re: [U-Boot] at91: corvus: board updates

2015-08-18 Thread Andreas Bießmann
Hi Heiko, On 08/18/2015 02:19 PM, Heiko Schocher wrote: Hello Andreas, Am 18.08.2015 um 13:46 schrieb Andreas Bießmann: Dear Heiko Schocher, Heiko Schocher h...@denx.de writes: rename at91_spl_board_init into spl_board_init Signed-off-by: Heiko Schocher h...@denx.de ---

Re: [U-Boot] [PATCH 1/5] Make RBTREE selectable by Kconfig

2015-08-18 Thread Joe Hershberger
Hi Lars, On Tue, Aug 11, 2015 at 2:29 PM, Joe Hershberger joe.hershber...@gmail.com wrote: Hi Lars, On Tue, Jul 28, 2015 at 11:01 AM, Joe Hershberger joe.hershber...@gmail.com wrote: Hi Lars, On Tue, Jul 28, 2015 at 3:25 AM, Lars Poeschel poesc...@lemonage.de wrote: Hi Joe, On Wed, Jun

Re: [U-Boot] [U-Boot, v3, 04/15] spl: move SPL driver entries to driver/Makefile

2015-08-18 Thread Tom Rini
On Wed, Aug 12, 2015 at 07:31:44AM +0900, Masahiro Yamada wrote: Just preparing for upcoming cleaning. The board-specific linker script board/vpac270/u-boot-spl.lds has been touched to avoid build error. It does not change the size of spl/u-boot-spl.bin for this board, so it should be OK.

Re: [U-Boot] [U-Boot, 1/6] ARM: OMAP5: Add support for disabling clocks in uboot

2015-08-18 Thread Tom Rini
On Mon, Aug 10, 2015 at 04:58:33PM +0530, Kishon Vijay Abraham I wrote: Add do_disable_clocks() to disable clock domains and module clocks. These clocks are enabled using do_enable_clocks(). Cc: Roger Quadros rog...@ti.com Cc: Tero Kristo t-kri...@ti.com Cc: Nishanth Menon n...@ti.com

Re: [U-Boot] lpc32xx: move common SLC NAND defines to arch/config.h

2015-08-18 Thread Tom Rini
On Tue, Aug 11, 2015 at 07:57:09PM +0300, Vladimir Zapolskiy wrote: A number of LPC32xx SLC NAND defines is dictated by controller hardware limits and OOB layout is defined by operating system, the definitions are common for all users. Since those macro are used in out of NAND SLC driver code

Re: [U-Boot] [U-Boot, v3, 11/15] led: unify obj-$(CONFIG_LED) and obj-$(CONFIG_SPL_LED) entries

2015-08-18 Thread Tom Rini
On Wed, Aug 12, 2015 at 07:31:51AM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com Reviewed-by: Tom Rini tr...@konsulko.com Reviewed-by: Stefano Babic sba...@denx.de Reviewed-by: Simon Glass s...@chromium.org Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot, v3, 10/15] led: rename CONFIG_SPL_LED_SUPPORT to CONFIG_SPL_LED

2015-08-18 Thread Tom Rini
On Wed, Aug 12, 2015 at 07:31:50AM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com Reviewed-by: Tom Rini tr...@konsulko.com Reviewed-by: Simon Glass s...@chromium.org Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] [U-Boot, v3, 12/15] dm: drop CONFIG_DM_DEVICE_REMOVE from uncmd list

2015-08-18 Thread Tom Rini
On Wed, Aug 12, 2015 at 07:31:52AM +0900, Masahiro Yamada wrote: We do not want to compile the DM remove code for SPL. Currently, we undef it in include/config_uncmd_spl.h (for C files) and in scripts/Makefile.uncmd_spl (for Makefiles). This is really ugly. This commit demonstrates how we

Re: [U-Boot] [U-Boot, v3, 07/15] clk: unify obj-$(CONFIG_CLK) and obj-$(CONFIG_SPL_CLK) entries

2015-08-18 Thread Tom Rini
On Wed, Aug 12, 2015 at 07:31:47AM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com Reviewed-by: Tom Rini tr...@konsulko.com Reviewed-by: Stefano Babic sba...@denx.de Reviewed-by: Simon Glass s...@chromium.org Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot, v3, 09/15] ram: unify obj-$(CONFIG_RAM) and obj-$(CONFIG_SPL_RAM) entries

2015-08-18 Thread Tom Rini
On Wed, Aug 12, 2015 at 07:31:49AM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com Reviewed-by: Tom Rini tr...@konsulko.com Reviewed-by: Simon Glass s...@chromium.org Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] [PATCH 2/3] LS102XA:workaround:disable priorities within DDR

2015-08-18 Thread York Sun
On 08/13/2015 11:54 PM, Yuan Yao wrote: EDDRTQCFG Registers are Integration Strap values which controls performance parameters for DDR Controller. The bit 25 is used to disable priorities within DDR since DDR are connected backwards on silicon Rev2.0. Signed-off-by: Yuan Yao

Re: [U-Boot] [U-Boot,v4,4/5] i2c: lpc32xx: add support for OTG I2C

2015-08-18 Thread Tom Rini
On Tue, Aug 04, 2015 at 05:04:41PM -0400, slemieux.t...@gmail.com wrote: From: Sylvain Lemieux slemi...@tycoint.com Updated the LPC32xx I2C driver to support the OTG I2C that is part of the USB module. Signed-off-by: Sylvain Lemieux slemi...@tycoint.com Acked-by: Marek Vasut

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

2015-08-18 Thread York Sun
On 08/13/2015 11:54 PM, Yuan Yao wrote: For LS1021A Rev2.0 have already fixed the snoop silicon issue, So enable snoop requests and DVM message requests for all the slave insterfaces. Signed-off-by: Yuan Yao yao.y...@freescale.com --- board/freescale/ls1021aqds/ls1021aqds.c | 8 +++-

Re: [U-Boot] [PATCH 1/5] Make RBTREE selectable by Kconfig

2015-08-18 Thread Tom Rini
On Tue, Aug 18, 2015 at 01:47:20PM -0500, Joe Hershberger wrote: Hi Lars, On Tue, Aug 11, 2015 at 2:29 PM, Joe Hershberger joe.hershber...@gmail.com wrote: Hi Lars, On Tue, Jul 28, 2015 at 11:01 AM, Joe Hershberger joe.hershber...@gmail.com wrote: Hi Lars, On Tue, Jul 28, 2015

Re: [U-Boot] i2c: lpc32xx: correct sanity check for requested bus speed

2015-08-18 Thread Tom Rini
On Wed, Aug 12, 2015 at 08:22:13PM +0300, Vladimir Zapolskiy wrote: LPC32xx has 3 I2C bus controllers, 2 of them are used as generic ones and their parent clock is HCLK and CLK_HI/CLK_LO registers are 10 bit wide. This means that if HCLK is 104MHz, then minimal configurable I2C clock speed is

Re: [U-Boot] [PATCH 0/3] nand: Sync with Linux v4.1

2015-08-18 Thread Tom Rini
On Wed, Aug 05, 2015 at 01:45:45AM +0200, Stefan Roese wrote: On 04.08.2015 20:26, Scott Wood wrote: On Tue, 2015-08-04 at 14:39 +0200, Stefan Roese wrote: I've used these patches while porting the pxa3xx_nand driver for the Marvell Armada XP / 38x SoC's to current U-Boot. And have found no

Re: [U-Boot] lpc32xx: add common USB OHCI defines for all LPC32xx boards

2015-08-18 Thread Tom Rini
On Wed, Aug 12, 2015 at 08:32:08PM +0300, Vladimir Zapolskiy wrote: The change adds a number of macro definitions used by USB OHCI driver, if CONFIG_USB_OHCI_LPC32XX is selected from a board config file. Signed-off-by: Vladimir Zapolskiy v...@mleia.com Tested-by: Sylvain Lemieux

Re: [U-Boot] [U-Boot, v3, 14/15] of: flip CONFIG_SPL_DISABLE_OF_CONTROL into CONFIG_SPL_OF_CONTROL

2015-08-18 Thread Tom Rini
On Wed, Aug 12, 2015 at 07:31:54AM +0900, Masahiro Yamada wrote: As we discussed a couple of times, negative CONFIG options make our life difficult; CONFIG_SYS_NO_FLASH, CONFIG_SYS_DCACHE_OFF, ... and here is another one. Now, there are three boards enabling OF_CONTROL on SPL: -

Re: [U-Boot] [U-Boot,v3,13/15] fdtdec: fix OF_CONTROL switch

2015-08-18 Thread Tom Rini
On Wed, Aug 12, 2015 at 07:31:53AM +0900, Masahiro Yamada wrote: There is no case where defined(SPL_DISABLE_OF_CONTROL) is true. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com Reviewed-by: Tom Rini tr...@konsulko.com Reviewed-by: Simon Glass s...@chromium.org Applied to

Re: [U-Boot] [PATCH 03/11] arm: tegra: mmc: clean-up include file order

2015-08-18 Thread Tom Warren
-Original Message- From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass Sent: Tuesday, August 18, 2015 5:44 AM To: Marcel Ziswiler Cc: U-Boot Mailing List; Tom Warren; Pantelis Antoniou; Tom Rini; Albert Aribaud; Stephen Warren Subject: Re: [PATCH 03/11] arm:

Re: [U-Boot] [PATCH v2] arm/ls2085a: Add sata support on qds and rdb board

2015-08-18 Thread York Sun
On 08/17/2015 02:42 AM, yuantian.t...@freescale.com wrote: From: Tang Yuantian yuantian.t...@freescale.com Freescale ARM-based Layerscape LS2085A contain a SATA controller which comply with the serial ATA 3.0 specification and the AHCI 1.3 specification. This patch adds SATA feature on

Re: [U-Boot] [U-Boot,v6,1/5] dma: lpc32xx: add DMA driver

2015-08-18 Thread Tom Rini
On Mon, Aug 10, 2015 at 08:16:31AM -0400, slemieux.t...@gmail.com wrote: From: Sylvain Lemieux slemi...@tycoint.com Incorporate DMA driver from legacy LPCLinux NXP BSP. The files taken from the legacy patch are: - lpc32xx DMA driver - lpc3250 header file DMA registers definition. The

Re: [U-Boot] fs-test.sh: minor fixes

2015-08-18 Thread Tom Rini
On Mon, Aug 10, 2015 at 10:45:14PM -0600, Stephen Warren wrote: - Re-direct stderr into the log files, so any errors U-Boot emits are visible in the logs. This is relevant if the reset shell command attempts to report that it's not supported on the sandbox board. - Fix test_fs_nonfs() to

Re: [U-Boot] [U-Boot, v3, 02/15] kbuild: add a makefile macro useful with per-image config options

2015-08-18 Thread Tom Rini
On Wed, Aug 12, 2015 at 07:31:42AM +0900, Masahiro Yamada wrote: Commit e02ee2548afe (kconfig: switch to single .config configuration) made the configuration itself pretty simple, instead, we lost the way to systematically enable/disable config options for each image independently. Our

Re: [U-Boot] [U-Boot, v7, 2/5] nand: lpc32xx: add hardware ECC support

2015-08-18 Thread Tom Rini
On Thu, Aug 13, 2015 at 03:40:20PM -0400, slemieux.t...@gmail.com wrote: From: Sylvain Lemieux slemi...@tycoint.com Incorporate NAND SLC hardware ECC support from legacy LPCLinux NXP BSP. The code taken from the legacy patch is: - lpc32xx SLC NAND driver (hardware ECC support) - lpc3250

Re: [U-Boot] [U-Boot, v7, 3/5] nand: lpc32xx: add ECC layout for small page NAND

2015-08-18 Thread Tom Rini
On Thu, Aug 13, 2015 at 03:40:21PM -0400, slemieux.t...@gmail.com wrote: From: Sylvain Lemieux slemi...@tycoint.com Incorporate ECC layout for small page NAND from legacy LPCLinux NXP BSP. The code taken from the legacy patch is: - lpc32xx SLC NAND driver (ECC layout for small page) This

Re: [U-Boot] [U-Boot, v3, 01/15] kbuild: fixdep: optimize code slightly

2015-08-18 Thread Tom Rini
On Wed, Aug 12, 2015 at 07:31:41AM +0900, Masahiro Yamada wrote: If the target string matches CONFIG_, move the pointer p forward. This saves several 7-chars adjustments. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com Reviewed-by: Tom Rini tr...@konsulko.com Reviewed-by:

Re: [U-Boot] [PATCH v2] arm/ls1021a: Add sata support on qds and twr board

2015-08-18 Thread York Sun
On 08/17/2015 02:42 AM, yuantian.t...@freescale.com wrote: From: Tang Yuantian yuantian.t...@freescale.com Freescale ARM-based Layerscape LS102xA contain a SATA controller which comply with the serial ATA 3.0 specification and the AHCI 1.3 specification. This patch adds SATA feature on

Re: [U-Boot] [U-Boot, v3, 08/15] ram: rename CONFIG_SPL_RAM_SUPPORT to CONFIG_SPL_RAM

2015-08-18 Thread Tom Rini
On Wed, Aug 12, 2015 at 07:31:48AM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com Reviewed-by: Tom Rini tr...@konsulko.com Reviewed-by: Simon Glass s...@chromium.org Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] [U-Boot,v7,5/5] usb: lpc32xx: add host USB driver

2015-08-18 Thread Tom Rini
On Thu, Aug 13, 2015 at 03:40:22PM -0400, slemieux.t...@gmail.com wrote: From: Sylvain Lemieux slemi...@tycoint.com Incorporate USB driver from legacy LPCLinux NXP BSP. The files taken from the legacy patch are: - lpc32xx USB driver - lpc3250 header file USB registers definition. The

Re: [U-Boot] [U-Boot, v3, 05/15] dm: unify obj-$(CONFIG_DM) and obj-$(CONFIG_SPL_DM) entries

2015-08-18 Thread Tom Rini
On Wed, Aug 12, 2015 at 07:31:45AM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com Reviewed-by: Tom Rini tr...@konsulko.com Reviewed-by: Simon Glass s...@chromium.org Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] [U-Boot, v3, 06/15] clk: rename CONFIG_SPL_CLK_SUPPORT to CONFIG_SPL_CLK

2015-08-18 Thread Tom Rini
On Wed, Aug 12, 2015 at 07:31:46AM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com Reviewed-by: Tom Rini tr...@konsulko.com Reviewed-by: Stefano Babic sba...@denx.de Reviewed-by: Simon Glass s...@chromium.org Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot, v3, 03/15] linux/kconfig.h: add CPP macros useful for per-image config options

2015-08-18 Thread Tom Rini
On Wed, Aug 12, 2015 at 07:31:43AM +0900, Masahiro Yamada wrote: The previous commit introduced a useful macro used in makefiles, in order to reference to different variables (CONFIG_... or CONFIG_SPL_...) depending on the build context. Per-image config option control is a PITA in C

Re: [U-Boot] [PATCH] arm: socfpga: Do not enable gmac1 in Cyclone V dtsi

2015-08-18 Thread Dinh Nguyen
On 8/10/15 6:03 PM, Marek Vasut wrote: The GMAC which is enabled is purely board property, so do not enable arbitrary GMAC in DT include files. Same goes for PHY mode, which is again a board property. The CycloneV SoCDK does this correctly, but SoCrates doesn't. This bug never manifested

Re: [U-Boot] [PATCH] arm: socfpga: Make the DT mmc node consistent

2015-08-18 Thread Marek Vasut
On Tuesday, August 18, 2015 at 10:30:15 PM, Dinh Nguyen wrote: On 8/10/15 6:02 PM, Marek Vasut wrote: The socfpga_cyclone5.dtsi has an mmc0 node, socrates has mmc node. This makes aliases not very usable, so make everything into mmc0. Moreover, zap the useless mmc alias while at this.

Re: [U-Boot] [PATCH] arm: socfpga: Fix delay in freeze controller

2015-08-18 Thread Marek Vasut
On Tuesday, August 18, 2015 at 10:27:29 PM, Dinh Nguyen wrote: On 8/10/15 6:00 PM, Marek Vasut wrote: Based on observation, this udelay(20) was apparently too high and caused subsequent failure to calibrate DDR when U-Boot was compiled with certain toolchains. Lowering this delay fixed the

Re: [U-Boot] [PATCH 0/8] arm: socfpga: Board cleanup

2015-08-18 Thread Marek Vasut
On Tuesday, August 18, 2015 at 10:44:24 PM, Dinh Nguyen wrote: On 8/12/15 3:08 PM, Marek Vasut wrote: On Tuesday, August 11, 2015 at 01:10:38 AM, Marek Vasut wrote: This series cleans up the QTS-generated header files and cleans up the SoCDK support such that they fit into the framework

[U-Boot] [PATCH] net: e1000: Support 64-bit physical address

2015-08-18 Thread York Sun
From: Mingkai Hu mingkai...@freescale.com High 32-bit address is needed when u-boot runs in 64-bit space. Tested on armv8-based LS2085ARDB. Signed-off-by: Mingkai Hu mingkai...@freescale.com Signed-off-by: York Sun york...@freescale.com --- drivers/net/e1000.c |8 1 file changed,

[U-Boot] [PATCH] powerpc: convert selected boards to generic board structure

2015-08-18 Thread York Sun
Convert MPC8540ADS, MPC8541CDS, MPC8544CDS, MPC8548CDS, MPC8555CDS, MPC8560ADS, MPC8568MDS, MPC8569MDS, MPC8610HPCD to use generic board structure. Signed-off-by: York Sun york...@freescale.com --- include/configs/MPC8540ADS.h |3 +++ include/configs/MPC8541CDS.h |3 +++

Re: [U-Boot] [PATCH 2/2] ddr: altera: Repair uninited variable

2015-08-18 Thread Dinh Nguyen
On 8/10/15 5:59 PM, Marek Vasut wrote: Fix the following problem: drivers/ddr/altera/sequencer.c: In function 'sdram_calibration_full': drivers/ddr/altera/sequencer.c:1943:25: warning: 'found_failing_read' may be used uninitialized in this function [-Wmaybe-uninitialized] if

Re: [U-Boot] [PATCH 0/8] arm: socfpga: Board cleanup

2015-08-18 Thread Dinh Nguyen
On 8/12/15 3:08 PM, Marek Vasut wrote: On Tuesday, August 11, 2015 at 01:10:38 AM, Marek Vasut wrote: This series cleans up the QTS-generated header files and cleans up the SoCDK support such that they fit into the framework just like any other SoCFPGA boards. Marek Vasut (8): arm:

Re: [U-Boot] [PATCH v2] drivers: watchdog: add MAX6373 WDT support

2015-08-18 Thread Andrea Scian
Il 18/08/2015 15:33, Michael Trimarchi ha scritto: Hi On Tue, Aug 18, 2015 at 3:22 PM, r...@dave-tech.it wrote: From: Andrea Scian andrea.sc...@dave.eu MAX6373 is a simple WDT which is programmed its configuration pins and reset via another pin, which is usually connected to a GPIO

Re: [U-Boot] [PATCH] arm: socfpga: Fix delay in clock manager

2015-08-18 Thread Dinh Nguyen
On 8/10/15 6:00 PM, Marek Vasut wrote: This code claims it needs to wait 7us, yet it uses get_timer() function which operates with millisecond granularity. Use timer_get_us() instead, which operates with microsecond granularity. Signed-off-by: Marek Vasut ma...@denx.de ---

Re: [U-Boot] [PATCH] arm: socfpga: Make the DT mmc node consistent

2015-08-18 Thread Dinh Nguyen
On 8/10/15 6:02 PM, Marek Vasut wrote: The socfpga_cyclone5.dtsi has an mmc0 node, socrates has mmc node. This makes aliases not very usable, so make everything into mmc0. Moreover, zap the useless mmc alias while at this. Signed-off-by: Marek Vasut ma...@denx.de ---

  1   2   >