[U-Boot] [PATCH v2] spl, spl_nor: fix compiler warning

2015-02-06 Thread Heiko Schocher
executing tools/buildman/buildman mpc5xx drops this warning: common/spl/spl_nor.c: In function 'spl_nor_load_image': common/spl/spl_nor.c:26:10: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] fix this. Signed-off-by: Heiko Schocher h...@denx.de

[U-Boot] [PATCH] image: Convert to use fdt_for_each_subnode macro

2015-02-06 Thread Axel Lin
Signed-off-by: Axel Lin axel@ingics.com --- common/image-fit.c | 4 +--- common/image-sig.c | 16 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/common/image-fit.c b/common/image-fit.c index b47d110..778d2a1 100644 --- a/common/image-fit.c +++

Re: [U-Boot] [PATCH 3/6] x86: pci: Add pci ids for Quark SoC

2015-02-06 Thread Simon Glass
On 4 February 2015 at 20:26, Simon Glass s...@chromium.org wrote: On 4 February 2015 at 01:26, Bin Meng bmeng...@gmail.com wrote: Add pci ids for Intel Quark SoC. Signed-off-by: Bin Meng bmeng...@gmail.com --- include/pci_ids.h | 4 1 file changed, 4 insertions(+) Acked-by: Simon

Re: [U-Boot] [PATCH 5/6] x86: Add SD/MMC support to quark/galileo

2015-02-06 Thread Simon Glass
On 4 February 2015 at 20:26, Simon Glass s...@chromium.org wrote: On 4 February 2015 at 01:26, Bin Meng bmeng...@gmail.com wrote: Intel Galileo board has a microSD slot which is routed from Quark SoC SDIO controller. Enable SD/MMC support so that we can use an SD card. Signed-off-by: Bin Meng

Re: [U-Boot] [RFC PATCH v2 8/9] dt-bindings: Add Intel Quark MRC bindings

2015-02-06 Thread Simon Glass
On 5 February 2015 at 08:42, Bin Meng bmeng...@gmail.com wrote: Add standard dt-bindings macros to be used by Intel Quark MRC node. Signed-off-by: Bin Meng bmeng...@gmail.com Acked-by: Simon Glass s...@chromium.org Applied to u-boot-x86, thanks! ___

Re: [U-Boot] [PATCH 2/6] x86: galileo: Add GPIO support

2015-02-06 Thread Simon Glass
On 4 February 2015 at 20:26, Simon Glass s...@chromium.org wrote: On 4 February 2015 at 01:26, Bin Meng bmeng...@gmail.com wrote: Quark SoC has a legacy GPIO block in the legacy bridge (D0:F31), which is just the same one found in other x86 chipset. Since we programmed the GPIO register block

Re: [U-Boot] [RFC PATCH v2 9/9] x86: quark: Call MRC in dram_init()

2015-02-06 Thread Simon Glass
On 5 February 2015 at 22:23, Simon Glass s...@chromium.org wrote: On 5 February 2015 at 08:42, Bin Meng bmeng...@gmail.com wrote: Now that we have added Quark MRC codes, call MRC in dram_init() so that DRAM can be initialized on a Quark based board. Signed-off-by: Bin Meng bmeng...@gmail.com

Re: [U-Boot] [PATCH 4/6] x86: Add SPI support to quark/galileo

2015-02-06 Thread Simon Glass
On 4 February 2015 at 20:26, Simon Glass s...@chromium.org wrote: On 4 February 2015 at 01:26, Bin Meng bmeng...@gmail.com wrote: The Quark SoC contains a legacy SPI controller in the legacy bridge which is ICH7 compatible. Like Tunnel Creek and BayTrail, the BIOS control register offset in

Re: [U-Boot] [PATCH 6/6] x86: Add Intel Galileo instructions in README.x86

2015-02-06 Thread Simon Glass
On 4 February 2015 at 20:26, Simon Glass s...@chromium.org wrote: On 4 February 2015 at 01:26, Bin Meng bmeng...@gmail.com wrote: Add some instructions about building U-Boot for Intel Galileo board. Signed-off-by: Bin Meng bmeng...@gmail.com --- doc/README.x86 | 24

Re: [U-Boot] [PATCH 1/6] x86: quark: Initialize non-standard BARs

2015-02-06 Thread Simon Glass
On 4 February 2015 at 20:26, Simon Glass s...@chromium.org wrote: On 4 February 2015 at 01:26, Bin Meng bmeng...@gmail.com wrote: Quark SoC has some non-standard BARs (excluding PCI standard BARs) which need be initialized with suggested values. This includes GPIO, WDT, RCBA, PCIe ECAM and

Re: [U-Boot] recent tools on FreeBSD

2015-02-06 Thread Andreas Bießmann
Hi, On 06.02.15 20:56, Jeroen Hofstee wrote: Hello Simon, +Andreas, On 06-02-15 04:05, Simon Glass wrote: Hi Jeroen, On 5 February 2015 at 12:51, Jeroen Hofsteejer...@myspectrum.nl wrote: Hello Guilherme, Thanks for commenting on this, On 02/05/15 13:27, Guilherme Maciel Ferreira

Re: [U-Boot] [PATCH] imx: save reset cause in 'reset_cause' environment variable

2015-02-06 Thread Eric Nelson
Hi all, On 02/05/2015 03:58 PM, Eric Nelson wrote: The cause of a reset is generally useful, and shouldn't be blindly cleared in the process of displaying it as a part of the boot announcement. snip diff --git a/arch/arm/imx-common/cpu.c b/arch/arm/imx-common/cpu.c index

[U-Boot] U-Boot uptime

2015-02-06 Thread Andrew Wozniak
Hi everyone, It has a quite a while since my last post here. Our new project is running U-Boot on a custom Beaglebone board. While running several overnight user-space applications, the board reset and stopped at the U-Boot prompt. We do not yet have any logging but I could monitor and record the

[U-Boot] U-Boot with PXE

2015-02-06 Thread Islam Mukambetov
If there is any u-boot for parallella, with PXE booting? If you have, please, can you send me a link, where i can find sources or u-boot image, and flash it to parallella. -- __ Ислам Мукамбетов ___ U-Boot mailing list

Re: [U-Boot] [RFC PATCH v3 4/7] x86: quark: Add Cache-As-RAM initialization

2015-02-06 Thread Simon Glass
On 4 February 2015 at 08:07, Simon Glass s...@chromium.org wrote: On 2 February 2015 at 07:35, Bin Meng bmeng...@gmail.com wrote: Quark SoC contains an embedded 512KiB SRAM (eSRAM) that is initialized by hardware. eSRAM is the ideal place to be used for Cache-As-RAM (CAR) before system memory

Re: [U-Boot] [RFC PATCH v3 5/7] x86: Add basic Intel Quark processor support

2015-02-06 Thread Simon Glass
On 4 February 2015 at 08:07, Simon Glass s...@chromium.org wrote: On 2 February 2015 at 07:35, Bin Meng bmeng...@gmail.com wrote: Add minimum codes to support Intel Quark SoC. DRAM initialization is not ready yet so a hardcoded gd-ram_size is assigned. Signed-off-by: Bin Meng

Re: [U-Boot] [RFC PATCH v3 3/7] x86: Define macros for pci configuration space access

2015-02-06 Thread Simon Glass
On 4 February 2015 at 08:07, Simon Glass s...@chromium.org wrote: On 2 February 2015 at 07:35, Bin Meng bmeng...@gmail.com wrote: Move PCI_REG_ADDR and PCI_REG_DATA from arch/x86/lib/pci_type1.c to arch/x86/include/asm/pci.h, also define PCI_CFG_EN so that these macros can be used for pci

Re: [U-Boot] [RFC PATCH v3 2/7] x86: quark: Add routines to access message bus registers

2015-02-06 Thread Simon Glass
On 2 February 2015 at 07:35, Bin Meng bmeng...@gmail.com wrote: In the Quark SoC, some chipset commands are accomplished by utilizing the internal message network within the host bridge (D0:F0). Accesses to this network are accomplished by populating the message control register (MCR), Message

Re: [U-Boot] [PATCH] imx: save reset cause in 'reset_cause' environment variable

2015-02-06 Thread Eric Nelson
Hi all, On 02/05/2015 03:57 PM, Eric Nelson wrote: The cause of a reset is generally useful, and shouldn't be blindly cleared in the process of displaying it as a part of the boot announcement. Stash the string representation in the environment variable reset_cause. snip

Re: [U-Boot] recent tools on FreeBSD

2015-02-06 Thread Simon Glass
Hi, On 6 February 2015 at 13:40, Andreas Bießmann andreas.de...@googlemail.com wrote: Hi, On 06.02.15 20:56, Jeroen Hofstee wrote: Hello Simon, +Andreas, On 06-02-15 04:05, Simon Glass wrote: Hi Jeroen, On 5 February 2015 at 12:51, Jeroen Hofsteejer...@myspectrum.nl wrote: Hello

Re: [U-Boot] recent tools on FreeBSD

2015-02-06 Thread Jeroen Hofstee
Hello Simon, +Andreas, On 06-02-15 04:05, Simon Glass wrote: Hi Jeroen, On 5 February 2015 at 12:51, Jeroen Hofsteejer...@myspectrum.nl wrote: Hello Guilherme, Thanks for commenting on this, On 02/05/15 13:27, Guilherme Maciel Ferreira wrote: Hi Jeroen, My apologies, I didn't test the

Re: [U-Boot] [RFC PATCH 6/9] x86: quark: Enable the Memory Reference Code build

2015-02-06 Thread Simon Glass
[snip] I'm happy enough with this. Acked-by: Simon Glass s...@chromium.org Applied to u-boot-x86, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [RFC PATCH v2 5/9] x86: quark: Add System Memory Controller support

2015-02-06 Thread Simon Glass
On 5 February 2015 at 17:52, Simon Glass s...@chromium.org wrote: On 5 February 2015 at 08:42, Bin Meng bmeng...@gmail.com wrote: The codes are actually doing the memory initialization stuff. Signed-off-by: Bin Meng bmeng...@gmail.com --- The most ugly codes I've ever seen ... There are

Re: [U-Boot] [RFC PATCH v3 6/7] x86: Add basic Intel Galileo board support

2015-02-06 Thread Simon Glass
On 2 February 2015 at 07:35, Bin Meng bmeng...@gmail.com wrote: New board/intel/galileo board directory with minimum codes, plus board dts, defconfig and configuration files. Signed-off-by: Bin Meng bmeng...@gmail.com Reviewed-by: Simon Glass s...@chromium.org Acked-by: Simon Glass

Re: [U-Boot] [RFC PATCH v2 2/9] x86: quark: Bypass TSC calibration

2015-02-06 Thread Simon Glass
On 5 February 2015 at 08:42, Bin Meng bmeng...@gmail.com wrote: For some unknown reason, the TSC calibration via PIT does not work on Quark. Enable bypassing TSC calibration and override TSC_FREQ_IN_MHZ to 400 per Quark datasheet in the Kconfig. Signed-off-by: Bin Meng bmeng...@gmail.com

Re: [U-Boot] [RFC PATCH v3 7/7] x86: Enable the Intel quark/galileo build

2015-02-06 Thread Simon Glass
On 2 February 2015 at 07:35, Bin Meng bmeng...@gmail.com wrote: Make the Intel quark/galileo support avaiable in Kconfig and Makefile. With this patch, we can generate u-boot.rom for Intel galileo board. Signed-off-by: Bin Meng bmeng...@gmail.com Reviewed-by: Simon Glass s...@chromium.org

Re: [U-Boot] [RFC PATCH v2 3/9] x86: quark: Add Memory Reference Code (MRC) main routines

2015-02-06 Thread Simon Glass
On 5 February 2015 at 17:51, Simon Glass s...@chromium.org wrote: On 5 February 2015 at 08:42, Bin Meng bmeng...@gmail.com wrote: Add the main routines for Quark Memory Reference Code (MRC). Signed-off-by: Bin Meng bmeng...@gmail.com --- The are 24 checkpatch warnings in this patch, which

Re: [U-Boot] [RFC PATCH v2 4/9] x86: quark: Add utility codes needed for MRC

2015-02-06 Thread Simon Glass
On 5 February 2015 at 17:51, Simon Glass s...@chromium.org wrote: Hi Bin, On 5 February 2015 at 08:42, Bin Meng bmeng...@gmail.com wrote: Add various utility codes needed for Quark MRC. Signed-off-by: Bin Meng bmeng...@gmail.com --- There are 12 checkpatch warnings in this patch, which

Re: [U-Boot] [RFC PATCH v2 7/9] fdtdec: Add compatible id and string for Intel Quark MRC

2015-02-06 Thread Simon Glass
On 5 February 2015 at 08:42, Bin Meng bmeng...@gmail.com wrote: Add COMPAT_INTEL_QRK_MRC and intel,quark-mrc so that fdtdec can decode Intel Quark MRC node. Signed-off-by: Bin Meng bmeng...@gmail.com Acked-by: Simon Glass s...@chromium.org Applied to u-boot-x86, thanks!

Re: [U-Boot] [RFC PATCH v2 1/9] x86: Allow overriding TSC_FREQ_IN_MHZ

2015-02-06 Thread Simon Glass
On 5 February 2015 at 08:42, Bin Meng bmeng...@gmail.com wrote: We should allow the value of TSC_FREQ_IN_MHZ to be overridden by the one in arch/cpu/xxx/Kconfig. Signed-off-by: Bin Meng bmeng...@gmail.com Acked-by: Simon Glass s...@chromium.org Applied to u-boot-x86, thanks!

Re: [U-Boot] [PATCH v3 08/12] i2c: s3c24x0: reduce transmission status timeout

2015-02-06 Thread Simon Glass
Hi, On 27 January 2015 at 08:44, Przemyslaw Marczak p.marc...@samsung.com wrote: Hello, On 01/27/2015 04:38 PM, Simon Glass wrote: Hi, On 27 January 2015 at 05:36, Przemyslaw Marczak p.marc...@samsung.com wrote: If no device is connected to I2C bus, the i2c probe command can take a lot

Re: [U-Boot] [PATCH 1/2] bootstage: Fix typos in the comment

2015-02-06 Thread Simon Glass
On 2 February 2015 at 09:19, Simon Glass s...@chromium.org wrote: On 2 February 2015 at 06:25, Bin Meng bmeng...@gmail.com wrote: There are two typos in the comment block in bootstage.h, fix them. Signed-off-by: Bin Meng bmeng...@gmail.com --- include/bootstage.h | 4 ++-- 1 file changed,

Re: [U-Boot] [PATCH 2/2] x86: Use tab instead of space to indent in PCIE_ECAM_BASE

2015-02-06 Thread Simon Glass
On 2 February 2015 at 16:58, Simon Glass s...@chromium.org wrote: On 2 February 2015 at 06:29, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Mon, Feb 2, 2015 at 9:25 PM, Bin Meng bmeng...@gmail.com wrote: Space is used before 'default' in PCIE_ECAM_BASE in arch/x86/Kconfig so it looks

Re: [U-Boot] [PATCH] imx: save reset cause in 'reset_cause' environment variable

2015-02-06 Thread Bill Pringlemeir
On 02/05/2015 03:58 PM, Eric Nelson wrote: The cause of a reset is generally useful, and shouldn't be blindly cleared in the process of displaying it as a part of the boot announcement. snip diff --git a/arch/arm/imx-common/cpu.c b/arch/arm/imx-common/cpu.c index 28ccd29..4a54051 100644

[U-Boot] [PATCH] sandbox: Return '-c command' exit value as sandbox exit code

2015-02-06 Thread Joe Hershberger
When a command is passed into sandbox using the '-c' argument the command is run directly. This is most helpful when running tests (such as test-dm.sh). Previously the exit code was an unused enum. Change it to be the actual return code from the command so that the script calling sandbox can know

Re: [U-Boot] [PATCH RFT v2] gpio: at91: Fix getting address of private data

2015-02-06 Thread Simon Glass
On 2 February 2015 at 17:55, Simon Glass s...@chromium.org wrote: On 30 January 2015 at 23:47, Axel Lin axel@ingics.com wrote: Use dev_get_priv() rather than dev_get_platdata() to get correct address of private data. Signed-off-by: Axel Lin axel@ingics.com --- v2: Fix an obvious

Re: [U-Boot] [PATCH v3 08/12] i2c: s3c24x0: reduce transmission status timeout

2015-02-06 Thread Simon Glass
On 6 February 2015 at 13:48, Simon Glass s...@chromium.org wrote: Hi, On 27 January 2015 at 08:44, Przemyslaw Marczak p.marc...@samsung.com wrote: Hello, On 01/27/2015 04:38 PM, Simon Glass wrote: Hi, On 27 January 2015 at 05:36, Przemyslaw Marczak p.marc...@samsung.com wrote: If no

Re: [U-Boot] [PATCH] gpio: omap: Pass correct argument to _get_gpio_direction()

2015-02-06 Thread Simon Glass
On 2 February 2015 at 17:55, Simon Glass s...@chromium.org wrote: HI Axel, On 31 January 2015 at 07:23, Axel Lin axel@ingics.com wrote: Pass bank rather than bank-base to _get_gpio_direction(). Signed-off-by: Axel Lin axel@ingics.com --- drivers/gpio/omap_gpio.c | 2 +- 1 file

Re: [U-Boot] x86: ACPI support suggestion

2015-02-06 Thread Simon Glass
Hi, On 6 February 2015 at 16:11, Gabriel Huau cont...@huau-gabriel.fr wrote: Hi Simon, On 02/06/2015 03:04 PM, Simon Glass wrote: Hi Gabriel, On 6 February 2015 at 16:01, Gabriel Huau cont...@huau-gabriel.fr wrote: Hi Bin, Actually I was able to try with a quickdirty code the

Re: [U-Boot] [RFC] m68k: generic board

2015-02-06 Thread Angelo Dureghello
On 06/02/2015 17:02, Tom Rini wrote: On Mon, Jan 26, 2015 at 09:39:13AM +, Huan Wang wrote: Hi, Tom, On Thu, Jan 15, 2015 at 04:08:40PM +0100, Angelo Dureghello wrote: Dear all, i would like to post a patch with the m68k generic board support, tested and working here, but of course

Re: [U-Boot] [PATCH][v2] crypto/fsl - Add progressive hashing support using hardware acceleration.

2015-02-06 Thread Simon Glass
Hi, On 6 February 2015 at 05:02, gaurav.r...@freescale.com gaurav.r...@freescale.com wrote: Thanks for your valuable comments. Thanks and Regards, Gaurav Kumar Rana -Original Message- From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass Sent: Friday, February

Re: [U-Boot] [PATCH] RSA depends on DM

2015-02-06 Thread Simon Glass
On 4 February 2015 at 20:26, Simon Glass s...@chromium.org wrote: On 4 February 2015 at 20:16, Chris Kuethe chris.kue...@gmail.com wrote: Discovered while experimenting with signature checking on vexpress which doesn't typically use DM. --- Kconfig | 1 + 1 file changed, 1 insertion(+)

Re: [U-Boot] [PATCH 1/3] dm: Prevent demo hello and demo status segfaults

2015-02-06 Thread Simon Glass
On 3 February 2015 at 12:23, Peter Tyser pty...@xes-inc.com wrote: Hi Simon, On Tue, 2015-02-03 at 13:18 -0600, Peter Tyser wrote: Segfaults can occur when a mandatory argument is not provided to demo hello and demo status. Eg: = demo hello Segmentation fault (core dumped) Add a

Re: [U-Boot] x86: ACPI support suggestion

2015-02-06 Thread Simon Glass
Hi Gabriel, On 6 February 2015 at 16:01, Gabriel Huau cont...@huau-gabriel.fr wrote: Hi Bin, Actually I was able to try with a quickdirty code the integration of the ACPI tables (aml files) and it doesn't seem to be possible. The boot to Linux is working fine, all the ACPI tables are loaded

[U-Boot] Samsung patches

2015-02-06 Thread Simon Glass
Hi, I see quite a few series sitting around to be applied, including the Peach Pi display which is still waiting. Any news please? Thanks, Simon ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH v3 02/12] avr32: rename cpu_init() - arch_cpu_init()

2015-02-06 Thread Andreas Bießmann
Signed-off-by: Andreas Bießmann andreas.de...@googlemail.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: None Changes in v1: None arch/avr32/cpu/cpu.c|2 +- arch/avr32/include/asm/u-boot.h |2 ++ arch/avr32/lib/board.c |2 +-

[U-Boot] [PATCH v3 03/12] avr32: factor out cpu_mmc_init()

2015-02-06 Thread Andreas Bießmann
cpu_mmc_init() is required by the init sequence to have a working MMC interface on avr32. This will not be included in the binary if we omit the avr32 board.c when building the generic board. Signed-off-by: Andreas Bießmann andreas.de...@googlemail.com --- Changes in v3: None Changes in v2:

[U-Boot] [PATCH v3 01/12] avr32: use dlmalloc for DMA buffers

2015-02-06 Thread Andreas Bießmann
Signed-off-by: Andreas Bießmann andreas.de...@googlemail.com --- Changes in v3: None Changes in v2: None Changes in v1: None arch/avr32/include/asm/dma-mapping.h |7 - arch/avr32/lib/board.c | 51 -- include/configs/atngw100.h |

[U-Boot] [PATCH v3 06/12] avr32: use generic gd-start_addr_sp

2015-02-06 Thread Andreas Bießmann
Before avr32 had an extra storage for stack end to have a nice stack printout on exception. Remove this extra storage and use generic gd-start_addr_sp instead. Signed-off-by: Andreas Bießmann andreas.de...@googlemail.com --- Changes in v3: - new in v3 Changes in v2: None Changes in v1: None

[U-Boot] [PATCH v3 05/12] avr32: convert to dram_init()

2015-02-06 Thread Andreas Bießmann
Signed-off-by: Andreas Bießmann andreas.de...@googlemail.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: - new since v1 Changes in v1: None arch/avr32/include/asm/u-boot.h |1 + arch/avr32/lib/Makefile |1 +

[U-Boot] [PATCH v3 11/12] grasshopper: enable generic board

2015-02-06 Thread Andreas Bießmann
Signed-off-by: Andreas Bießmann andreas.de...@googlemail.com --- Changes in v3: None Changes in v2: None Changes in v1: None include/configs/grasshopper.h |4 1 file changed, 4 insertions(+) diff --git a/include/configs/grasshopper.h b/include/configs/grasshopper.h index

Re: [U-Boot] x86: ACPI support suggestion

2015-02-06 Thread Gabriel Huau
Hi Bin, Actually I was able to try with a quickdirty code the integration of the ACPI tables (aml files) and it doesn't seem to be possible. The boot to Linux is working fine, all the ACPI tables are loaded correctly, but the system is unstable and it seems to have some issue with the

Re: [U-Boot] x86: ACPI support suggestion

2015-02-06 Thread Gabriel Huau
Hi Simon, On 02/06/2015 03:04 PM, Simon Glass wrote: Hi Gabriel, On 6 February 2015 at 16:01, Gabriel Huau cont...@huau-gabriel.fr wrote: Hi Bin, Actually I was able to try with a quickdirty code the integration of the ACPI tables (aml files) and it doesn't seem to be possible. The boot to

[U-Boot] [PATCH v3 12/12] atstk1002: enable generic board

2015-02-06 Thread Andreas Bießmann
Signed-off-by: Andreas Bießmann andreas.de...@googlemail.com --- Changes in v3: None Changes in v2: None Changes in v1: - new since RFC include/configs/atstk1002.h |4 1 file changed, 4 insertions(+) diff --git a/include/configs/atstk1002.h b/include/configs/atstk1002.h index

Re: [U-Boot] [PATCH] crypto/fsl - Add progressive hashing support using hardware acceleration.

2015-02-06 Thread Simon Glass
Hi Ruchika, On 5 February 2015 at 04:20, Ruchika Gupta ruchika.gu...@freescale.com wrote: Hi Simon, [snip] diff --git a/drivers/crypto/fsl/fsl_hash.c b/drivers/crypto/fsl/fsl_hash.c index d77f257..1681705 100644 --- a/drivers/crypto/fsl/fsl_hash.c +++ b/drivers/crypto/fsl/fsl_hash.c

Re: [U-Boot] [PATCH v3 09/12] common/board_r: allocate bootparams

2015-02-06 Thread Simon Glass
Hi Andreas, On 6 February 2015 at 15:06, Andreas Bießmann andreas.de...@googlemail.com wrote: Signed-off-by: Andreas Bießmann andreas.de...@googlemail.com Reviewed-by: Simon Glass s...@chromium.org If you re-issue this for any other reason, please add a commit message... --- Changes in v3:

Re: [U-Boot] [PATCH v2 15/19] dm: sunxi: Move driver model CONFIGs to Kconfig

2015-02-06 Thread Ian Campbell
On Thu, 2015-02-05 at 21:41 -0700, Simon Glass wrote: Remove driver model CONFIGs from the board config headers and use Kconfig instead. Signed-off-by: Simon Glass s...@chromium.org Acked-by: Ian Campbell i...@hellion.org.uk I assume you'll take this via the dm tree along with the rest of

Re: [U-Boot] [RFC PATCH v2 5/8] net: Add basic driver model support to Ethernet stack

2015-02-06 Thread Simon Glass
Hi Joe, On 2 February 2015 at 17:38, Joe Hershberger joe.hershber...@ni.com wrote: First just add support for MAC drivers. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v2: -Updated comments -Removed extra parentheses -Changed eth_uclass_priv local var names to be

Re: [U-Boot] [RFC PATCH v2 7/8] net: Add ARP and PING response to sandbox driver

2015-02-06 Thread Simon Glass
On 2 February 2015 at 17:38, Joe Hershberger joe.hershber...@ni.com wrote: The sandbox driver will now generate response traffic to exercise the ping command even when no network exists. This allows the basic data pathways of the DM to be tested. Signed-off-by: Joe Hershberger

Re: [U-Boot] [RFC PATCH v2 4/8] net: Refactor in preparation for driver model

2015-02-06 Thread Simon Glass
On 2 February 2015 at 17:38, Joe Hershberger joe.hershber...@ni.com wrote: Move some things around and organize things so that the driver model implementation will fit in more easily. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v2: None include/net.h | 63

Re: [U-Boot] [RFC PATCH v2 6/8] net: Add network support to sandbox

2015-02-06 Thread Simon Glass
On 2 February 2015 at 17:38, Joe Hershberger joe.hershber...@ni.com wrote: Add basic network support to sandbox which includes a network driver. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v2: -Change printfs to debug in sandbox driver -Remove unused priv struct

Re: [U-Boot] [PATCH v2] image: Convert to use fdt_for_each_subnode macro

2015-02-06 Thread Simon Glass
On 6 February 2015 at 18:12, Axel Lin axel@ingics.com wrote: Use fdt_for_each_subnode macro to simplify the code a bit. Signed-off-by: Axel Lin axel@ingics.com --- v2: Update commit log common/image-fit.c | 4 +--- common/image-sig.c | 16 2 files changed, 5

Re: [U-Boot] [RFC PATCH v2 8/8] net: Add actual networking support to sandbox's driver

2015-02-06 Thread Simon Glass
Hi Joe, On 2 February 2015 at 17:38, Joe Hershberger joe.hershber...@ni.com wrote: This doesn't build right now Is this intended to connect sandbox to the real network? Very interesting if so. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v2: -Added the raw packet

[U-Boot] [PATCH v3 04/12] avr32: rename mmu.h definitions

2015-02-06 Thread Andreas Bießmann
Prefix mmu.h PAGE_xxx definitions with MMU_ in order to prevent a naming conflict with other definitions. Signed-off-by: Andreas Bießmann andreas.de...@googlemail.com --- Changes in v3: None Changes in v2: None Changes in v1: - new since RFC arch/avr32/cpu/at32ap700x/mmu.c |8

Re: [U-Boot] [PATCH v2 18/19] dm: socfpga: Move driver model CONFIGs to Kconfig

2015-02-06 Thread Dinh Nguyen
Hi Simon, On 02/05/2015 10:41 PM, Simon Glass wrote: Remove driver model CONFIGs from the board config headers and use Kconfig instead. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None configs/socfpga_socrates_defconfig | 3 +++ include/configs/socfpga_common.h

Re: [U-Boot] [PATCH sunxi-tools] WIP: fel: Add a command for loading U-Boot SPL binaries in eGON format

2015-02-06 Thread Siarhei Siamashka
:) Anyway, now I have finally pushed a supposedly properly working implementation to the following github branch: https://github.com/ssvb/sunxi-tools/commits/20150206-fel-large-spl-support Yes, we can handle most of this stuff with Hans. But some communication with you is still needed

Re: [U-Boot] [PATCH v2 18/19] dm: socfpga: Move driver model CONFIGs to Kconfig

2015-02-06 Thread Simon Glass
Hi Dinh, On 6 February 2015 at 16:36, Dinh Nguyen dingu...@opensource.altera.com wrote: Hi Simon, On 02/05/2015 10:41 PM, Simon Glass wrote: Remove driver model CONFIGs from the board config headers and use Kconfig instead. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2:

[U-Boot] [PATCH v2] image: Convert to use fdt_for_each_subnode macro

2015-02-06 Thread Axel Lin
Use fdt_for_each_subnode macro to simplify the code a bit. Signed-off-by: Axel Lin axel@ingics.com --- v2: Update commit log common/image-fit.c | 4 +--- common/image-sig.c | 16 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/common/image-fit.c

Re: [U-Boot] [RFC PATCH v2 2/8] net: Rename helper function to be more clear

2015-02-06 Thread Simon Glass
On 2 February 2015 at 17:38, Joe Hershberger joe.hershber...@ni.com wrote: Make it clear that the helper is checking the addr, not setting it. Signed-off-by: Joe Hershberger joe.hershber...@ni.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v2: None net/eth.c | 13

Re: [U-Boot] [RFC PATCH v2 1/8] net: Provide a function to get the current MAC address

2015-02-06 Thread Simon Glass
Hi Joe, On 2 February 2015 at 17:38, Joe Hershberger joe.hershber...@ni.com wrote: The current implementation exposes the eth_device struct to code that needs to access the MAC address. Add a wrapper function for this to abstract away the pointer for this operation. Signed-off-by: Joe

Re: [U-Boot] [RFC PATCH v2 3/8] net: Remove unneeded extern in net.h

2015-02-06 Thread Simon Glass
On 2 February 2015 at 17:38, Joe Hershberger joe.hershber...@ni.com wrote: Many of the functions in net.h were preceded extern needlessly. Removing them to limit the number of checkpatch.pl complaints. Signed-off-by: Joe Hershberger joe.hershber...@ni.com I think you dropped my tag on these?

Re: [U-Boot] [PATCH sunxi-tools] WIP: fel: Add a command for loading U-Boot SPL binaries in eGON format

2015-02-06 Thread Siarhei Siamashka
fully working solution tomorrow to replace this proof-of-concept patch. Cool, thanks for your work on this. https://github.com/ssvb/sunxi-tools/commits/20150206-fel-large-spl-support All of this seems to work very nicely. Now I can, for example, even boot regular old SD-card based SPL files

Re: [U-Boot] [PATCH v2 11/22] x86: Move common FSP code into a common location

2015-02-06 Thread Simon Glass
On 28 January 2015 at 16:44, Simon Glass s...@chromium.org wrote: On 27 January 2015 at 21:13, Simon Glass s...@chromium.org wrote: Signed-off-by: Simon Glass s...@chromium.org Reviewed-by: Bin Meng bmeng...@gmail.com Tested-by: Bin Meng bmeng...@gmail.com --- Changes in v2: None Applied

Re: [U-Boot] [RFC PATCH v3 1/7] x86: Add header files for Intel Quark SoC defines

2015-02-06 Thread Simon Glass
On 4 February 2015 at 08:07, Simon Glass s...@chromium.org wrote: On 2 February 2015 at 07:35, Bin Meng bmeng...@gmail.com wrote: device.h for integrated pci devices' bdf on Quark SoC and quark.h for various memory-mapped and i/o-mapped base addresses within SoC. Signed-off-by: Bin Meng

[U-Boot] [u-boot 00/40] dra7xx: am43xx: add dwc3 gadget driver support and enable dfu

2015-02-06 Thread Kishon Vijay Abraham I
This patch series ports dwc3 gadget driver from linux kernel (3.19-rc1) to u-boot. Changes from RFC: *) A patch has been added to copy the driver from linux kernel to u-boot and then it's modfied to make it work in u-boot. This will help to understand the changes that's been done to make

[U-Boot] [u-boot 02/40] ARM: AM43xx: Enable clocks for USB OTGSS and USB PHY

2015-02-06 Thread Kishon Vijay Abraham I
Enabled clocks for dwc3 controller and USB PHY present in AM43xx. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/cpu/armv7/am33xx/clock_am43xx.c | 12 +++ arch/arm/include/asm/arch-am33xx/cpu.h | 22 ++--

[U-Boot] [u-boot 20/40] include: dwc3-uboot: add a structure for populating platform data

2015-02-06 Thread Kishon Vijay Abraham I
Added a structure to populate dwc3 core platform data. The board file should populate these platform data before invoking dwc3 driver. This will be removed once we have dwc3 driver adapted to use the driver model. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- include/dwc3-uboot.h |

[U-Boot] [u-boot 35/40] common: cmd_dfu: invoke board_usb_cleanup() for cleaning up

2015-02-06 Thread Kishon Vijay Abraham I
Invoked board_usb_cleanup for cleaning up initialized USB. It will be invoked if the user enterts ctrl-C. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- common/cmd_dfu.c |1 + common/usb.c |7 +++ 2 files changed, 8 insertions(+) diff --git a/common/cmd_dfu.c

Re: [U-Boot] [PATCH v2] armv8/vexpress64: make multientry conditional

2015-02-06 Thread Linus Walleij
On Wed, Feb 4, 2015 at 3:38 PM, FengHua feng...@phytium.com.cn wrote: config TARGET_LS2085A_SIMU bool Support ls2085a_simu select ARM64 + select ARMV8_MULTIENTRY VEXPRESS_AEMV8A and VEXPRESS_AEMV8A_SEMI are defaultly single entry? Yes. That means we always has ATF

[U-Boot] [u-boot 16/40] include: asm: types: add resource_size_t type

2015-02-06 Thread Kishon Vijay Abraham I
Added resource_size_t type in order to get rid of the following compilation error whiel building dwc3 gadget. include/linux/ioport.h:19:2: error: unknown type name ‘resource_size_t’ Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/include/asm/types.h |1 + 1 file changed, 1

[U-Boot] [u-boot 26/40] usb: dwc3: dwc3-omap: change probe and remove to uboot init and uboot exit code

2015-02-06 Thread Kishon Vijay Abraham I
Removed probe and remove that are specific to linux and replaced it with uboot init and uboot exit. These functions will be invoked from boardfile. This will change once we have dwc3-omap driver adapted to use the uboot driver model. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com ---

[U-Boot] [u-boot 34/40] usb: gadget: defer setting maxpacket till -setup()

2015-02-06 Thread Kishon Vijay Abraham I
Taken from linux kernel with commit commit 765f5b830e547229bb752e7b232ee83e2b3d49d5 Author: Sebastian Andrzej Siewior bige...@linutronix.de Date: Thu Jun 23 14:26:11 2011 +0200 usb: gadget: defer setting maxpacket till -setup() Signed-off-by: Kishon Vijay Abraham I kis...@ti.com ---

[U-Boot] [u-boot 23/40] dwc3: core: added an API to invoke irq handlers

2015-02-06 Thread Kishon Vijay Abraham I
Since interrupt support is not present in u-boot, added an API to handle the interrupts in dwc3 core. This API can be polled to handle the interrupts. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/dwc3/core.c | 21 + include/dwc3-uboot.h|1 + 2

[U-Boot] [u-boot 17/40] usb: dwc3: ep0: make dwc3 ep0 build in uboot

2015-02-06 Thread Kishon Vijay Abraham I
*) Changed the included header files to that used in u-boot. *) added dwc3_ep_event_string() used in ep0.c *) Fixed other misc warnings Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/dwc3/core.h | 24 drivers/usb/dwc3/ep0.c | 14

[U-Boot] [u-boot 01/40] ARM: DRA7: Enable clocks for USB OTGSS and USB PHY

2015-02-06 Thread Kishon Vijay Abraham I
Enabled clocks for dwc3 controller and USB PHY present in DRA7. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/cpu/armv7/omap5/hw_data.c | 14 ++ arch/arm/cpu/armv7/omap5/prcm-regs.c | 10 +- arch/arm/include/asm/omap_common.h |4 ++-- 3 files

[U-Boot] [u-boot 33/40] usb: dwc3: Makefile: Make dwc3 driver compile in u-boot

2015-02-06 Thread Kishon Vijay Abraham I
Now that the entire dwc3 driver is adapted to compile with uboot build, modify the Makefiles so that the dwc3 driver can be built. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- Makefile|2 ++ drivers/usb/dwc3/Makefile | 35

[U-Boot] [u-boot 28/40] usb: dwc3: dwc3-omap: add interrupt status API to check for interrupts

2015-02-06 Thread Kishon Vijay Abraham I
Added an API to check for interrupt status. This API is generally called from board file to check for interrupt status. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/dwc3/dwc3-omap.c | 20 include/dwc3-omap-uboot.h|1 + 2 files changed, 21

[U-Boot] [u-boot 31/40] usb: dwc3: ep0: preparation for implementing chained TRB

2015-02-06 Thread Kishon Vijay Abraham I
No functional change. Modified few things so that there are no code duplication while implementing chained TRB. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/dwc3/ep0.c | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git

[U-Boot] [u-boot 32/40] usb: dwc3: Add chained TRB support for ep0

2015-02-06 Thread Kishon Vijay Abraham I
dwc3 can do only max packet aligned transfers. So in case request length is not max packet aligned and is bigger than DWC3_EP0_BOUNCE_SIZE two chained TRBs is required to handle the transfer. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/dwc3/ep0.c| 72

Re: [U-Boot] relocation on freescale mx35 doesn't work after update to 2015.01

2015-02-06 Thread Priebe, Sebastian
Hello Albert, thanks for your answer. I tried to look up some information in the iMX35 reference manual but couldn't find anything. It doesn't say anything about the exception vectors. Can you point me at any direction where to look for information? What is the consequence of skipping the

Re: [U-Boot] relocation on freescale mx35 doesn't work after update to 2015.01

2015-02-06 Thread Albert ARIBAUD
Hello Sebastian, Cc:ing Stefano since he's the i.MX custodian. On Fri, 6 Feb 2015 09:38:17 +, Priebe, Sebastian sebastian.pri...@cadcon.de wrote: Hello Albert, thanks for your answer. I tried to look up some information in the iMX35 reference manual but couldn't find anything. It

[U-Boot] [u-boot 38/40] board: ti: AM43xx: added USB initializtion code

2015-02-06 Thread Kishon Vijay Abraham I
Implemented board_usb_init(), board_usb_cleanup() and usb_gadget_handle_interrupts() in am43xx board file that can be invoked by various gadget drivers. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/include/asm/arch-am33xx/hardware_am43xx.h |9 ++ board/ti/am43xx/board.c

[U-Boot] [u-boot 40/40] usb: modify usb_gadget_handle_interrupts to take controller index

2015-02-06 Thread Kishon Vijay Abraham I
Since we support multiple dwc3 controllers to be existent at the same time, in order to handle the interrupts of a particular dwc3 controller usb_gadget_handle_interrutps should take controller index as an argument. Hence the API of usb_gadget_handle_interrupts is modified to take controller

[U-Boot] [u-boot 39/40] include: configs: Enable DWC3 and DFU in AM43xx

2015-02-06 Thread Kishon Vijay Abraham I
Enabled dwc3, dwc3-omap and PHY for dwc3 are enabled. Also enabled support for DFU. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- include/configs/am43xx_evm.h | 61 +- 1 file changed, 60 insertions(+), 1 deletion(-) diff --git

[U-Boot] [u-boot 36/40] board: ti: DRA7: added USB initializtion code

2015-02-06 Thread Kishon Vijay Abraham I
Implemented board_usb_init(), board_usb_cleanup() and usb_gadget_handle_interrupts() in dra7xx board file that can be invoked by various gadget drivers. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/include/asm/arch-omap5/omap.h | 12 board/ti/dra7xx/evm.c

[U-Boot] [u-boot 27/40] dwc3: dwc3-omap: add support for multiple dwc3-omap controllers

2015-02-06 Thread Kishon Vijay Abraham I
Added support for multiple dwc3 omap controllers. This gives uboot the capability to control multiple dwc3 omap controllers. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/dwc3/dwc3-omap.c | 26 -- include/dwc3-omap-uboot.h|3 ++- 2 files

[U-Boot] [u-boot 30/40] dwc3: flush the buffers before using it

2015-02-06 Thread Kishon Vijay Abraham I
In the linux kernel, non cacheable buffers are used. However in uboot since there are no APIs to allocate non cacheable memory, all the buffers should be flushed before using it. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/dwc3/core.c |7 +++

[U-Boot] [u-boot 37/40] include: configs: Enable DWC3 and DFU in DRA7xx

2015-02-06 Thread Kishon Vijay Abraham I
Enabled dwc3, dwc3-omap and PHY for dwc3 are enabled. Also enabled support for DFU. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- include/configs/dra7xx_evm.h | 63 + include/configs/ti_omap5_common.h |5 +++ 2 files changed, 68

[U-Boot] [u-boot 10/40] usb: dwc3: remove trace_* APIs from dwc3 driver

2015-02-06 Thread Kishon Vijay Abraham I
Removed most of the trace_* APIs from dwc3 driver since tracepoints are not supported in u-boot. Replaced some of the trace_* API with dev_dbg/dev/vdbg. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/dwc3/Makefile |5 +--- drivers/usb/dwc3/ep0.c| 70

[U-Boot] [u-boot 09/40] usb: dwc3: Modify the file headers to u-boot format

2015-02-06 Thread Kishon Vijay Abraham I
Modified the file header to the format that is used in u-boot. Also included in the header, the commit in linux kernel from which each of these files are added. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/dwc3/core.c | 15 +-- drivers/usb/dwc3/core.h

  1   2   >