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 wrote: > This patch mainly adds ACPI support to QEMU. > Verified by booting Linux kernel on QEMU i440FX and Q35. > > Signed-off-by: Saket Sinha > --- > > arch/x86/cpu/qemu/Makefile | 1 + > arch/x86/cpu/qemu/acpi.c | 179 >

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 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 U-Boot whether we

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 wrote: > The DSDT table contains a bytecode that is executed by a driver in the kernel. > > Signed-off-by: Saket Sinha > --- > > arch/x86/cpu/qemu/Makefile | 2 +- > arch/x86/cpu/qemu/acpi/cpu-hotplug.asl | 78 +++ > arch

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 wrote: > Hi Saket, > > On Tue, Aug 18, 2015 at 3:29 AM, Saket Sinha wrote: >> >> ACPI(Advanced Configuration and Power Interface), is a Power Management and >> configuration standard allowing the operating system to control the amount of >> pow

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 wrote: > On 18 August 2015 at 10:12, Bin Meng wrote: >> Hi Jagan, >> >> On Mon, Aug 17, 2015 at 6:32 PM, Jagan Teki wrote: >>> BAR and spi_flash_cmd_wait_ready are updated to make more >>> module to add new status checks. >>> >>> Changes for

[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 Cc: Viresh Kumar Cc: Vipin Kumar --- arch/arm/cpu/arm926ejs/spear/cpu.c | 10 ++ 1 file changed

[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 Cc: Viresh Kumar Cc: Vipin 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 CONFIG_SPL_N

[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 Cc: Viresh Kumar Cc: Vipin Kumar Cc: Marek Vasut --- arch/arm/cpu/arm926ejs/spear/cpu.c |

[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 Cc: Viresh Kumar Cc: Vipin Kumar -

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-

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 wrote: > Add spi_flash_read_bar function for reading bar and discovering > bar commands at probe time. > > Signed-off-by: Jagan Teki > Cc: Michal Simek > Cc: Siva Durga Prasad Paladugu > --- > drivers/mtd/spi/sf_probe.c | 54 > +++

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 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 > Cc: Bin Meng > --- > drivers/mtd/spi/sf_internal.h | 4 > drivers/mtd/spi/sf_pro

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 > Reviewed-

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

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: > > > > > > since the asm/ includes are quite a different category. But that's not at all what I proposed.

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 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 wrote: > Hi Jagan, > > On Mon, Aug 17, 2015 at 6:32 PM, Jagan Teki wrote: >> Add spi_flash_read_bar function for reading bar and discovering >> bar commands at probe time. >> >> Signed-off-by: Jagan Teki >> Cc: Michal Simek >> 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 wrote: > Hi Jagan, > > On Mon, Aug 17, 2015 at 6:32 PM, Jagan Teki 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 >> Cc: Bin Meng >> --- >>

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 wrote: > Hi Mingkai, > > On Mon, Aug 17, 2015 at 2:49 PM, Mingkai Hu wrote: > > Please add a commit message on this change. > >> Signed-off-by: Mingkai Hu >> --- >> drivers/net/e1000.c | 8 >> 1 file changed, 4 insertions(+), 4 deletions(-) >>

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 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 to revert

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

2015-08-18 Thread Zhiqiang Hou
From: Hou Zhiqiang 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 Signed-off-by: Mingkai.Hu --- Tested on T1042RDB board. V6

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 > - dete

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 spl_board

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 3:10 PM, Bin Meng wrote: > Hi Saket, > > On Tue, Aug 18, 2015 at 9:25 AM, Bin Meng wrote: >> Hi Saket, >> >> On Tue, Aug 18, 2015 at 3:29 AM, Saket Sinha wrote: >>> >>> ACPI(Advanced Configuration and Power Interface), is a Power Management and >>> configuratio

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

2015-08-18 Thread Hans de Goede
Hi, On 18-08-15 03:59, Simon Glass wrote: Hi Hans, On 17 August 2015 at 10:08, Hans de Goede wrote: Before this patch malloc_simple would always allocate a chunk of RAM from the stack. This commit adds a CONFIG_SYS_MALLOC_F_BASE define, which when set directly specifies the memory address to

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 wrote: > From: Hou Zhiqiang > > It doesn't make sense to compare a 'u8' element with Zero. > > Signed-off-by: Hou Zhiqiang Reviewed-by: Jagan Teki > --- > drivers/mtd/spi/sf_ops.c | 10 ++ > 1 file changed, 2 insertions(+), 8 deletions(-) > >

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 Hans de Goede
Hi, On 18-08-15 00:14, Simon Glass wrote: Hi Hans, On 6 August 2015 at 12:13, Hans de Goede wrote: sun6i and later have a couple of io-blocks which are shared between the main CPU core and the "R" cpu which is small embedded cpu which can be active while the main system is suspended. These g

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 wrote: > From: Hou Zhiqiang > > 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

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 > > Si

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 Reviewed-by: Andreas Bießmann > --- > arch/arm/mach-at91/include/mach/at91_pmc.h |

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 > --- > > board/siemens/corvus/board.c | 21 + > include/configs/corvus.h | 29 +

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

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

2015-08-18 Thread Andreas Bießmann
Dear "Wu, Josh", Josh Wu writes: >From: Bo Shen > >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 >[rebase to mainline] >Signed-off-by: Josh Wu >--- > >

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

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

[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: http://lists.denx

[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 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 - stop address is not aligned -

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 ASA

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 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 wrote: >> > On Friday, August 14, 2015 at 05:14:09 PM, Sergey Temerkhanov wrote: >> >> This patch fixes a potential NULL po

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 writes: rename at91_spl_board_init into spl_board_init Signed-off-by: Heiko Schocher --- board/siemens/corvus/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) applied to u-boot

[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 Signed-off-by: Radha Mohan Chintakuntla Reviewed-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/include/asm/system.h | 11

[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 Signed-off-by: Radha Mohan Chintakuntla --- Changes in v4: - Moved CONFIG_SYS_PROMPT to configs/thunderx_88xx_defconfig - Add proper DM_SERIAL definitions Changes in v3: - Fixed format

[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 Signed-off-by: Radha Mohan Chintakuntla --- Changes in v4: None Changes in v3: None Changes in v2: None board/cavium/thunderx/Makefile | 2 +- board/cavium/thunderx/atf.c | 3

[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 Signed-off-by: Radha Mohan Chintakuntla --- Changes in v4: None Changes in v3: None Changes in v2: None board/cavium/thunderx/Makefile | 2 +- board/cavium/t

[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 Signed-off-by: Radha Mohan Chintakuntla --- Changes in v4: None Changes in v3: None Changes in v2: None include/linux/psci.

[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 Signed-off-by: Radha Mohan Chintakuntla --- Changes in v4: - Fixed build warnings - Moved to DM_SERIAL Changes in v3: -

[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. Ti

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

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 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 quality and avo

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 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: >> >> >> >> >> >> since the asm/ includ

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 wrote: > On Tue, Aug 18, 2015 at 3:53 AM, Tom Rini 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 AR

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 wrote: > Hi Simon, > > On Tue, Aug 18, 2015 at 10:00 AM, Simon Glass wrote: >> Hi Bin, >> >> On 17 August 2015 at 18:20, Bin Meng wrote: >>> Hi Simon, >>> >>> On Tue, Aug 18, 2015 at 6:14 AM, Simon Glass wrote: Hi Bin, On 15 August 20

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 wrote: > Hi, > > > On 18-08-15 03:59, Simon Glass wrote: >> >> Hi Hans, >> >> On 17 August 2015 at 10:08, Hans de Goede wrote: >>> >>> Before this patch malloc_simple would always allocate a chunk of RAM from >>> the stack. This commit adds a CO

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 wrote: > Hi, > > > On 18-08-15 00:14, Simon Glass wrote: >> >> Hi Hans, >> >> On 6 August 2015 at 12:13, Hans de Goede wrote: >>> >>> sun6i and later have a couple of io-blocks which are shared between the >>> main CPU core and the "R" cpu which

[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 sta

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 wrote: > Change the dram_init() function on ThunderX to query ATF services for > the real installed DRAM size > > Signed-off-by: Sergey Temerkhanov > Signed-off-by: Radha Mohan Chintakuntla > --- > > Changes in v4: None > Changes in v3: None > Chang

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 writes: >>> rename at91_spl_board_init into spl_board_init >>> >>> Signed-off-by: Heiko Schocher >>> --- >>> >>> board/sieme

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 writes: >> From: Bo Shen >> >> 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. >> >> Sig

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

2015-08-18 Thread Heiko Schocher
Hello Andreas, Am 18.08.2015 um 15:02 schrieb 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 writes: rename at91_spl_board_init into spl_board_init Signed-off-by

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

2015-08-18 Thread rnd4
From: Andrea Scian MAX6373 is a simple WDT which is programmed its configuration pins and reset via another pin, which is usually connected to a GPIO Signed-off-by: Andrea Scian --- Changes for v2: - add Kconfig support drivers/watchdog/Kconfig | 17 + drivers

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

2015-08-18 Thread Michael Trimarchi
Hi On Tue, Aug 18, 2015 at 3:22 PM, wrote: > From: Andrea Scian > > MAX6373 is a simple WDT which is programmed its configuration pins > and reset via another pin, which is usually connected to a GPIO > > Signed-off-by: Andrea Scian > --- > > Changes for v2: > - add Kconfig support > >

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

2015-08-18 Thread Heiko Schocher
taurus changes: - rename at91_spl_board_init to spl_board_init fixes problems with recovery button and nand erase sector 0 - adapt CONFIG_SPL_MAX_SIZE and CONFIG_SPL_BSS_MAX_SIZE - add CONFIG_AT91_HW_WDT_TIMEOUT 15 - CONFIG_SF_DEFAULT_MODE SPI_MODE_3 not mode 0 Signed-off-by: Heiko Schocher ---

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

2015-08-18 Thread Heiko Schocher
add support for DFU on the corvus board. Signed-off-by: Heiko Schocher --- Changes in v2: - rebase to 0d339cf9a969f0c249713d3697e735184f1bd955 - fix changes introduced through commit: 01acd6abbdd5: usb: USB download gadget and functions config options coherent naming board/siemens/corvus/bo

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

2015-08-18 Thread Heiko Schocher
add extensions for the axm board: - power on LED on power up - press both recovery buttons on power up to enter recovery mode - detect 64 MiB and 128 MiB ramsize - PHY rest at reboot because of ATMEL bug - use siemens update concept - add axm default environment - set CONFIG_SPL_MAX_SIZE to 15k

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

2015-08-18 Thread Simon Glass
Hi Marcel, On 18 August 2015 at 05:06, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > 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

[U-Boot] [PATCH v4 0/8] This patch series adds support for Cavium ThunderX 88xx SoC family

2015-08-18 Thread Sergey Temerkhanov
(http://cavium.com/ThunderX_ARM_Processors.html) Changes in v4: - Use ALIGN macro for address alignment - Document FW calls - Fixed build warnings - Moved to DM_SERIAL - Moved CONFIG_SYS_PROMPT to configs/thunderx_88xx_defconfig - Add proper DM_SERIAL definitions Changes in v3: - Reduced code dup

Re: [U-Boot] [PATCH 0/2] arm: Move all boards over to generic board

2015-08-18 Thread Pavel Machek
On Thu 2015-08-13 15:19:16, Simon Glass wrote: > All arm boards should have been converted to generic board by now. It is > time to either remove the non-generic boards, or force-convert them to > generic board. > > This series takes the latter approach, which may break a few boards, but > most sh

[U-Boot] [PATCH v4 3/8] armv8: Add Secure Monitor/Hypervisor Call (SMC/HVC) infrastructure

2015-08-18 Thread Sergey Temerkhanov
This commit adds functions issuing calls to secure monitor or hypervisore. This allows using services such as Power State Coordination Interface (PSCI) provided by firmware, e.g. ARM Trusted Firmware (ATF) The SMC call can destroy all registers declared temporary by the calling conventions. The cl

[U-Boot] [PATCH v4 2/8] armv8: New MMU setup code allowing to use 48+ bits PA/VA

2015-08-18 Thread Sergey Temerkhanov
This patch adds code which sets up 2-level page tables on ARM64 thus extending available VA space. CPUs implementing 64k translation granule are able to use direct PA-VA mapping of the whole 48 bit address space. It also adds the ability to reset the SCTRL register at the very beginning of executio

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

2015-08-18 Thread Marek Vasut
On Tuesday, August 18, 2015 at 02:16:12 PM, Sergei Temerkhanov wrote: > On Sun, Aug 16, 2015 at 7:55 PM, Marek Vasut 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 wrote: > >> > On Friday, August 14, 2015 at 05:

[U-Boot] [PATCH v2] at91: corvus: board updates

2015-08-18 Thread Heiko Schocher
rename at91_spl_board_init into spl_board_init Signed-off-by: Heiko Schocher --- Changes in v2: - rebase to 0d339cf9a969f0c249713d3697e735184f1bd955 - use SZ_xM defines board/siemens/corvus/board.c | 2 +- include/configs/corvus.h | 22 +++--- 2 files changed, 12 insertion

[U-Boot] [PATCH] ARM: rpi: Add CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG support

2015-08-18 Thread Guillaume GARDET
Add CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG support to set 'board_rev' and 'board_name' envs. Signed-off-by: Guillaume GARDET Cc: Stephen Warren --- board/raspberrypi/rpi/rpi.c | 6 ++ include/configs/rpi-common.h | 1 + 2 files changed, 7 insertions(+) diff --git a/board/raspberrypi/rpi/

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

2015-08-18 Thread Sergei Temerkhanov
On Tue, Aug 18, 2015 at 3:59 PM, Jagan Teki wrote: > On 18 August 2015 at 17:56, Sergey Temerkhanov > wrote: >> Change the dram_init() function on ThunderX to query ATF services for >> the real installed DRAM size >> >> Signed-off-by: Sergey Temerkhanov >> Signed-off-by: Radha Mohan Chintakuntl

Re: [U-Boot] [PATCH v4 4/6] net: e1000: Add Kconfig options

2015-08-18 Thread Joe Hershberger
Hi Simon, On Mon, Aug 17, 2015 at 6:27 PM, Simon Glass wrote: > Add Kconfig options in preparation for moving boards to use Kconfig. > > Signed-off-by: Simon Glass > --- > > Changes in v4: None > Changes in v3: > - Drop CONFIG_E1000_FALLBACK_MAC option > > Changes in v2: > - Move the Kconfig add

Re: [U-Boot] [PATCH v4 5/6] Tidy up some defconfig files

2015-08-18 Thread Joe Hershberger
Hi Simon, On Mon, Aug 17, 2015 at 6:27 PM, Simon Glass wrote: > Several files are out of order. This means that when the moveconfig tool > moves CONFIG options to Kconfig it generates a large diff. To avoid this, > reorder the files first. > > Signed-off-by: Simon Glass Acked-by: Joe Hershberge

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 19:39, Sergei Temerkhanov wrote: > On Tue, Aug 18, 2015 at 3:59 PM, Jagan Teki wrote: >> On 18 August 2015 at 17:56, Sergey Temerkhanov >> wrote: >>> Change the dram_init() function on ThunderX to query ATF services for >>> the real installed DRAM size >>> >>> Signed-off-by

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

2015-08-18 Thread Marcel Ziswiler
On Tue, 2015-08-18 at 06:44 -0600, Simon Glass wrote: > > diff --git a/include/common.h b/include/common.h > > index c48e5bc..c12f402 100644 > > --- a/include/common.h > > +++ b/include/common.h > > @@ -1060,6 +1060,15 @@ int cpu_release(int nr, int argc, char * > > const argv[]); > > #define DEF

Re: [U-Boot] please pull u-boot-samsung master

2015-08-18 Thread Tom Rini
On Tue, Aug 18, 2015 at 11:22:51AM +0900, Minkyu Kang wrote: > Dear Tom, > > 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: > > > http://git.denx.de

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

2015-08-18 Thread Tom Rini
On Tue, Aug 18, 2015 at 12:08:17PM +0530, Jagan Teki wrote: > 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 gi

Re: [U-Boot] [PATCH v3 1/9] doc: dfu: tftp: README entry for TFTP extension of DFU

2015-08-18 Thread Joe Hershberger
Hi Lukasz, On Thu, Aug 13, 2015 at 6:02 PM, Lukasz Majewski wrote: > Documentation file for DFU extension. With this functionality it is now > possible to transfer FIT images with firmware updates via TFTP and use > DFU backend for storing them. > > Signed-off-by: Lukasz Majewski > Reviewed-by:

Re: [U-Boot] [PATCH v3 2/9] net: tftp: Move tftp.h file from ./net to ./include/net

2015-08-18 Thread Joe Hershberger
Hi Lukasz, On Thu, Aug 13, 2015 at 6:02 PM, Lukasz Majewski wrote: > This change gives the ability to reuse the header file by other > subsystems (like e.g. dfu). > > Without this change compilation error emerges for the legacy update.c file. > > Signed-off-by: Lukasz Majewski Acked-by: Joe He

Re: [U-Boot] [PATCH v3 5/9] dfu: tftp: update: Add dfu_write_from_mem_addr() function

2015-08-18 Thread Joe Hershberger
Hi Lukasz, On Thu, Aug 13, 2015 at 6:02 PM, Lukasz Majewski wrote: > This function allows writing via DFU data stored from fixed buffer address > (like e.g. loadaddr env variable). > > Such predefined buffers are used in the update_tftp() code. In fact this > function is a wrapper on the dfu_writ

Re: [U-Boot] [PATCH v3 9/9] dfu: tftp: Kconfig: Enable DFU_TFTP support on the am335x_boneblack_defconfig

2015-08-18 Thread Joe Hershberger
Hi Lukasz, On Thu, Aug 13, 2015 at 6:02 PM, Lukasz Majewski wrote: > This commit enables support for DFU_TFTP on the am335x bone black device. > > Signed-off-by: Lukasz Majewski > > --- > Changes for v3: > - New patch > --- > configs/am335x_boneblack_defconfig | 1 + > 1 file changed, 1 inserti

Re: [U-Boot] [PATCH v3 8/9] dfu: tftp: Kconfig: Add Kconfig entry for dfu tftp feature

2015-08-18 Thread Joe Hershberger
Hi Lukasz, On Thu, Aug 13, 2015 at 6:02 PM, Lukasz Majewski wrote: > The dfu tftp feature can be now enabled via Kconfig. This > commit provides necessary code for it. > > Signed-off-by: Lukasz Majewski > --- > Changes for v3: > - New patch > --- > drivers/dfu/Kconfig | 10 ++ > 1 file

Re: [U-Boot] [PATCH v3 7/9] dfu: command: Extend "dfu" command to handle receiving data via TFTP

2015-08-18 Thread Joe Hershberger
Hi Lukasz, On Thu, Aug 13, 2015 at 6:02 PM, Lukasz Majewski wrote: > The "dfu" command has been extended to support transfers via TFTP protocol. > > Signed-off-by: Lukasz Majewski > Reviewed-by: Simon Glass Acked-by: Joe Hershberger ___ U-Boot maili

Re: [U-Boot] [PATCH v1] arm: omap5: Add AMP boot support for OMAP5

2015-08-18 Thread Tom Rini
On Thu, Aug 06, 2015 at 06:45:20PM +0530, Bharat Gohil wrote: > This command uses AMP boot mode to boot the omap5 device. > it is used to run two different software on each dedicated > core without using hypervisor. > A typical example is: Core0 uses Linux or Android and Core1 > uses QNX or bareme

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 06:45, Simon Glass wrote: > Hi Hans, > > On 18 August 2015 at 03:23, Hans de Goede wrote: >> Hi, >> >> >> On 18-08-15 03:59, Simon Glass wrote: >>> >>> Hi Hans, >>> >>> On 17 August 2015 at 10:08, Hans de Goede wrote: Before this patch malloc_simple would

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

2015-08-18 Thread Scott Wood
On Tue, 2015-08-18 at 06:44 -0600, Simon Glass wrote: > Hi Marcel, > > On 18 August 2015 at 05:06, Marcel Ziswiler wrote: > > > > diff --git a/include/common.h b/include/common.h > > index c48e5bc..c12f402 100644 > > --- a/include/common.h > > +++ b/include/common.h > > @@ -1060,6 +1060,15 @@ in

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

2015-08-18 Thread Simon Glass
Hi, On 18 August 2015 at 09:49, Scott Wood wrote: > On Tue, 2015-08-18 at 06:44 -0600, Simon Glass wrote: >> Hi Marcel, >> >> On 18 August 2015 at 05:06, Marcel Ziswiler wrote: >> > >> > diff --git a/include/common.h b/include/common.h >> > index c48e5bc..c12f402 100644 >> > --- a/include/common

[U-Boot] [v2] net/fman: Support both new and legacy FMan Compatibles

2015-08-18 Thread Igal . Liberman
From: Igal Liberman Recently the FMan Port and MAC compatibles were changed. This patch aligns the FMan Port and MAC compatibles to the new FMan device tree binding document. The FMan device tree binding document can be found in the Linux kernel: ./Documentation/devicetree/bindings/powerpc/fsl/f

[U-Boot] [PATCH v1 1/1] lib/display_options: Fix print_freq

2015-08-18 Thread Suriyan Ramasami
Build without CONFIG_SPL_SERIAL_SUPPORT does not print the cpu freq. I have seen this in the odroid U3 board, where on boot one sees this: CPU: Exynos4412 @ GHz instead of: CPU: Exynos4412 @ 1 GHz I am assuming that this change was done to get rid of compiler warnings related to unused variab

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 > Cc: Tero Kristo > Cc: Nishanth Menon > Signed-off-by: Kishon Vijay Abraham

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

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 > > Updated the LPC32xx I2C driver to support > the OTG I2C that is part of the USB module. > > Signed-off-by: Sylvain Lemieux > Acked-by: Marek Vasut Applied to u-boot/master, thanks! -- Tom

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 > > 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 layout is mat

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 > > 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 legacy driver w

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 > > 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 header file missi

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 > Reviewed-by: Tom Rini > Reviewed-by: Simon Glass Applied to u-boot/master, tha

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(

  1   2   >