Re: [U-Boot] [PATCH v2] README.scrapyard: add entries for dead board, T4240EMU and sc3

2015-05-18 Thread Masahiro Yamada
Tom, Ping. 2015-05-15 11:51 GMT+09:00 Masahiro Yamada : > Follow-up commit 7fc63cca611b (mpc85xx/T4240EMU: Remove T4240EMU > board), and commit 27e721564591 (ppc4xx: Remove sc3 board), > filling the blank fields. > > Signed-off-by: Masahiro Yamada > --- > > Changes in v2: > - rebased on comm

Re: [U-Boot] [RFC PATCH] tools: get-toolchais: a tool to get cross-tools for all architectures

2015-05-18 Thread Masahiro Yamada
Hi Simon, 2015-05-18 2:50 GMT+09:00 Simon Glass : > Hi Masahiro, > > On 15 May 2015 at 22:58, Masahiro Yamada > wrote: >> Hi Joe, >> (added Simon) >> >> 2015-05-16 4:52 GMT+09:00 Joe Hershberger : >>> Hi Masahiro-san, >>> >>> On Fri, May 15, 2015 at 6:01 AM, Masahiro Yamada >>> wrote: When

Re: [U-Boot] [PATCH v4 02/10] moveconfig: Ignore duplicate configs when moving

2015-05-18 Thread Masahiro Yamada
2015-05-16 6:40 GMT+09:00 Joe Hershberger : > When moving configs, it is important to know what was defined in the > config header even if it duplicates the configs coming from Kconfig. > > This is specifically needed for the case where a config is set to > default 'y' in the Kconfig. This would pr

Re: [U-Boot] [PATCH v4 03/10] moveconfig: Add a parameter to accept a list to build

2015-05-18 Thread Masahiro Yamada
2015-05-16 6:40 GMT+09:00 Joe Hershberger : > This is helpful to re-attempt to move failed boards from a previous run > without starting over. > > Signed-off-by: Joe Hershberger > > --- > > Changes in v4: None > Changes in v3: > -Fixed command line options order (alphabetize) > > Changes in v2: >

Re: [U-Boot] [PATCH v4 10/10] moveconfig: Print status about the processed defconfigs

2015-05-18 Thread Masahiro Yamada
2015-05-16 6:40 GMT+09:00 Joe Hershberger : > This gives a basic idea about progress. > > Signed-off-by: Joe Hershberger > Good idea! -- Best Regards Masahiro Yamada ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u

Re: [U-Boot] [PATCH v4 09/10] moveconfig: Add a switch to enable printing errors

2015-05-18 Thread Masahiro Yamada
2015-05-16 6:40 GMT+09:00 Joe Hershberger : > In some cases the build for the autoconf breaks. This outputs the errors > following the status so that action can be taken without building again > manually. > > Signed-off-by: Joe Hershberger > > --- > > Changes in v4: None > Changes in v3: None > Ch

Re: [U-Boot] [PATCH v4 08/10] moveconfig: Print a message for missing compiler

2015-05-18 Thread Masahiro Yamada
2015-05-16 6:40 GMT+09:00 Joe Hershberger : > A common case for failed builds is a missing compiler. Print a message > for that case to tell the user concisely which compiler was expected > that was not found. > > This patch also has the effect of not printing build errors any longer. > The next pa

Re: [U-Boot] [PATCH v4 07/10] moveconfig: Output a list of failed boards

2015-05-18 Thread Masahiro Yamada
2015-05-16 6:40 GMT+09:00 Joe Hershberger : > If boards fail, output that list to a file so that it can easily be > passed back into moveconfig.py using the -d option. > > Signed-off-by: Joe Hershberger > --- > > Changes in v4: None > Changes in v3: None > Changes in v2: None > > tools/moveconfig

Re: [U-Boot] [PATCH v1 2/4] dm: ls1021aqds: dts: Use "spi_dataflash" driver instead of "spi_flash_std" for DSPI flash

2015-05-18 Thread Wang Haikun
On 5/18/2015 9:28 PM, Haikun Wang wrote: > The type of DSPI flash on ls1021aqds is AT45DB021, it has specail > commands and page-size. > Use the special spi flash driver instead of "spi_flash_std" driver. > > Signed-off-by: Haikun Wang > --- > arch/arm/dts/ls1021a-qds.dts | 2 +- > 1 file chang

Re: [U-Boot] [PATCH v5 1/4] dm: sf: Add Atmel DataFlash spi flash driver

2015-05-18 Thread Wang Haikun
On 5/18/2015 9:28 PM, Haikun Wang wrote: > Atmel DataFlash chips have commands different from common spi > flash commands. > Atmel DataFlash also have special page-size. > This driver add support for accessing Atmel DataFlash. > It is based on the Driver Model. > Example: > => sf probe 1:0 > SPI Da

Re: [U-Boot] [PATCH v3 3/4] arm: ls102xa: Enable Driver Model SPI for ls1021aqds

2015-05-18 Thread Wang Haikun
On 5/19/2015 12:22 AM, Sun York-R58495 wrote: > Haikun, > > On 05/18/2015 06:24 AM, Haikun Wang wrote: >> Enable Driver Model SPI for ls1021aqds board. >> DSPI and QSPI is enabled only when boot from QSPI. >> DSPI and QSPI are compatible under Driver Model SPI. >> >> Signed-off-by: Haikun Wang >>

[U-Boot] Fix fsl_elbc_nand driver

2015-05-18 Thread Andrei Yakimov
This is my best try. I have test it with my old u-boot, but not with master. Do not have a bench for it. This is not very important patch. I do not find any other ONFI user in u-boot. Andrei >From d76b4ae8e866affa15dd9da860574d0600969d57 Mon Sep 17 00:00:00 2001 From: Andrei Yakimov Date: Mon, 1

Re: [U-Boot] [PATCH v4 06/10] moveconfig: Remove probable debug print

2015-05-18 Thread Masahiro Yamada
Hi Joe 2015-05-16 6:40 GMT+09:00 Joe Hershberger : > This print seems to be redundant and unformatted compared to the next > few lines, so remove it. > > Signed-off-by: Joe Hershberger > --- > > Changes in v4: None > Changes in v3: None > Changes in v2: None > > tools/moveconfig.py | 1 - > 1 fi

Re: [U-Boot] [PATCH v4 04/10] moveconfig: Add a switch to only cleanup headers

2015-05-18 Thread Masahiro Yamada
Hi Joe, 2015-05-16 6:40 GMT+09:00 Joe Hershberger : > In some case you may want to only cleanup the headers. Make it possible > without waiting for all boards to compile. > > Signed-off-by: Joe Hershberger > > --- > > Changes in v4: None > Changes in v3: > -New for version 3 > > Changes in v2: No

Re: [U-Boot] [PATCH 3/3] x86: quark: Implement PIRQ routing

2015-05-18 Thread Bin Meng
Hi Simon, On Tue, May 5, 2015 at 10:05 AM, Simon Glass wrote: > Hi Bin, > > On 4 May 2015 at 00:27, Bin Meng wrote: >> >> Hi Simon, >> >> On Tue, Apr 28, 2015 at 10:05 PM, Simon Glass wrote: >> > Hi Bin, >> > >> > On 27 April 2015 at 00:16, Bin Meng wrote: >> >> Intel Quark SoC has the same in

Re: [U-Boot] [PATCH v4 01/10] moveconfig: Always run savedefconfig on the moved config

2015-05-18 Thread Masahiro Yamada
Hi Joe, 2015-05-16 6:40 GMT+09:00 Joe Hershberger : > This will ensure that the order of the defconfig entries will always > match that of the Kconfig files. After one slightly painful (but > still early in the process) pass over all boards, this should keep > the defconfigs clean from here on. >

Re: [U-Boot] [PATCH v4 05/10] moveconfig: Cleanup headers in arch and board

2015-05-18 Thread Masahiro Yamada
Hi Joe, 2015-05-16 6:40 GMT+09:00 Joe Hershberger : > Some config.h files live in arch and board directories. They will need > to be cleaned up as well, so run the same filters there. > > Signed-off-by: Joe Hershberger > > --- > > Changes in v4: > -New for version 4 > > Changes in v3: None > Cha

Re: [U-Boot] [PATCH v2 2/6] pci: Do not skip legacy IDE device configuration

2015-05-18 Thread Bin Meng
Hi Simon, Reply this thread to the v2 patch. On Tue, May 19, 2015 at 5:39 AM, Simon Glass wrote: > Hi Bin, > On Sat, May 16, 2015 at 9:33 AM, Bin Meng wrote: >> The legacy IDE device has a BAR4 (Bus Master Interface BAR) which >> needs to be configured. >> >> Signed-off-by: Bin Meng >> >> ---

Re: [U-Boot] [Patch v3 0/4] imx: mx6: use OTP for teperature grade info

2015-05-18 Thread Peng Fan
Hi Tim, On Mon, May 18, 2015 at 06:56:43AM -0700, Tim Harvey wrote: >Use Temperature grade info in OTP/eFUSE for thermal management and display of >thermal data. > >Cc: Stefan Roese >Cc: Eric Nelson >Cc: Heiko Schocher >Cc: Nikita Kiryanov >Cc: Jon Nettleton >Cc: Jason Liu >Cc: Ye Li >Cc: F

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

2015-05-18 Thread Tom Rini
On Mon, May 18, 2015 at 12:30:32PM +, Alexey Brodkin wrote: > Hi Tom, > > The following changes since commit 3bfe3ce2a6e3b04da1d04dbc0520dcc26e17f98a: > > MAINTAINERS, git-mailrc: Update Jagan's name and e-mail (2015-05-16 > 07:34:26 -0400) > > are available in the git repository at: >

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

2015-05-18 Thread Tom Rini
On Mon, May 18, 2015 at 08:52:00PM +0900, Minkyu Kang wrote: > Dear Tom, > > The following changes since commit 905e8f9e53766e606bd4a0ed46d804889e613f32: > > Prepare v2015.07-rc1 (2015-05-05 19:52:15 -0400) > > are available in the git repository at: > > http://git.denx.de/u-boot-samsung

Re: [U-Boot] [PATCH 5/5] nand: sunxi: And a20_nandread command utilizing spl nand read driver

2015-05-18 Thread Scott Wood
On Wed, 2015-04-29 at 17:03 +0200, Daniel Kochmański wrote: > This patch adds a20_nandread command. It is simple function utilizing > function from SPL nand driver `nand_spl_load_image`. > > Usage: a20_nandread > > Signed-off-by: Daniel Kochmański > Cc: Ian Campbell > Cc: Hans De Goede > --

Re: [U-Boot] [PATCH 2/5] nand: sunxi: Add support for booting from internal NAND memory

2015-05-18 Thread Scott Wood
On Wed, 2015-04-29 at 17:02 +0200, Daniel Kochmański wrote: > Adds minimal DMA NAND driver for booting from NAND internal > memory. New config option SPL_NAND_SUPPORT is created for sunxi board, > which enables introduced driver and sets ENV_IS_NOWHERE (instead of > ENV_IS_IN_MMC). > > NAND driver

Re: [U-Boot] [PATCH 4/5] nand: sunxi: Add multiimage preload option

2015-05-18 Thread Scott Wood
On Wed, 2015-04-29 at 17:03 +0200, Daniel Kochmański wrote: > Patch adds support in spl_nand for preloading multiimage before > loading u-boot into memory. It might be used in example to put in > memory single image containing boot script, kernel and device > tree. Why can't the main U-Boot load i

Re: [U-Boot] [PATCH 3/5] nand: sunxi: Add secondary U-Boot offset on second syndrome partition

2015-05-18 Thread Scott Wood
On Wed, 2015-04-29 at 17:02 +0200, Daniel Kochmański wrote: > diff --git a/common/spl/spl_nand.c b/common/spl/spl_nand.c > index 9d59fbb..7c44de1 100644 > --- a/common/spl/spl_nand.c > +++ b/common/spl/spl_nand.c > @@ -2,6 +2,9 @@ > * Copyright (C) 2011 > * Corscience GmbH & Co. KG - Simon Schw

Re: [U-Boot] [PATCH 19/19] imx: ventana: config: enable Falcon mode

2015-05-18 Thread Fabio Estevam
Hi Tim, On Fri, May 8, 2015 at 10:28 PM, Tim Harvey wrote: > Falcon mode entails the SPL booting the OS directly instead of U-Boot. I would like to give this a try, but I am not sure where the dtb should be placed in the SD card. Or are you combining the dtb and zImage into a single binary? Do

Re: [U-Boot] fsl_elbc_nand bug

2015-05-18 Thread Scott Wood
On Mon, 2015-05-18 at 15:10 -0700, Andrei Yakimov wrote: > I will try, It will take a while due to I am not working with > latest code. I do have a chip with first 2 parameter blocks > corrupted. So I can test it. I can not send it to Linux - > I am not subscribed to any Linux mailing lists. Yo

[U-Boot] [PATCH v3 4/4] add test for two 'loadables'

2015-05-18 Thread Karl Apsite
From: Karl Apsite Nothing too fancy. A simple test that attmpts to load two loadables and verify that they are properly unpacked in the u-boot sandbox. Signed-off-by: Karl Apsite --- Changes in v3: - Moved the commit that adds the test to the end of patch-stack test/image/test-fit.py | 73 ++

[U-Boot] [PATCH v3 1/4] mkimage will now report information about loadable

2015-05-18 Thread Karl Apsite
From: Karl Apsite Added FIT_LOADABLE_PROP, so the user can identify an optional entry named "loadables" in their .its configuration. "loadables" is a comma separated list in the .its Documentation can be found in doc/uImage.FIT/source_file_format.txt and doc/uImage.

[U-Boot] [PATCH v3 3/4] Combine bootm_find_ functions together

2015-05-18 Thread Karl Apsite
bootm_find_ramdisk_fdt() renamed to bootm_find_images() for readability. The function bootm_find_ramdisk_fdt() appears to be a simple wrapper for bootm_find_ramdisk(), bootm_find_fdt(), and now bootm_find_loadables(). I didn't see any other callers entering a bootm_find, so removing the wrapper, a

[U-Boot] [PATCH v3 2/4] add boot_get_loadables() to load listed images

2015-05-18 Thread Karl Apsite
From: Karl Apsite Added a trimmed down instance of boot_get_() to satisfy the minimum requierments of the added feature. The function follows the normal patterns set by other boot_get's, which should make it a bit easier to combine them all together into one boot_get_image() function in a later

[U-Boot] [PATCH v3 0/4] New tag for Flattened Image Trees (FIT) - Booting Xen from a FIT.

2015-05-18 Thread Karl Apsite
The FIT config now supports a tag named "loadables:" which is a comma separated list. Users can add any number of images to the list, and u-boot will move the selected binaries to their listed load_addresses. This allows u-boot to boot xen from using an FIT configuration. Xen expects a kernel to

Re: [U-Boot] fsl_elbc_nand bug

2015-05-18 Thread Andrei Yakimov
I will try, It will take a while due to I am not working with latest code. I do have a chip with first 2 parameter blocks corrupted. So I can test it. I can not send it to Linux - I am not subscribed to any Linux mailing lists. As of patch structure: 1) separate READID and PARAM command. 2) RE

Re: [U-Boot] [PATCH v5 1/4] dm: sf: Add Atmel DataFlash spi flash driver

2015-05-18 Thread Simon Glass
On 18 May 2015 at 07:24, Haikun Wang wrote: > Atmel DataFlash chips have commands different from common spi > flash commands. > Atmel DataFlash also have special page-size. > This driver add support for accessing Atmel DataFlash. > It is based on the Driver Model. > Example: > => sf probe 1:0 > SP

Re: [U-Boot] [PATCH 18/20] Add Chrome OS config header

2015-05-18 Thread Simon Glass
Hi Stephen, On 15 May 2015 at 09:27, Stephen Warren wrote: > On 05/13/2015 07:19 AM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 25 February 2015 at 16:28, Stephen Warren >> wrote: >>> >>> >>> On 02/17/2015 03:29 PM, Simon Glass wrote: From: Doug Anderson This header

Re: [U-Boot] [PATCH v1 2/4] dm: ls1021aqds: dts: Use "spi_dataflash" driver instead of "spi_flash_std" for DSPI flash

2015-05-18 Thread Simon Glass
On 18 May 2015 at 07:24, Haikun Wang wrote: > The type of DSPI flash on ls1021aqds is AT45DB021, it has specail > commands and page-size. > Use the special spi flash driver instead of "spi_flash_std" driver. > > Signed-off-by: Haikun Wang > --- > arch/arm/dts/ls1021a-qds.dts | 2 +- > 1 file cha

Re: [U-Boot] [PATCH v3 1/4] Kconfig: Enable usage of escape char '\' in string values

2015-05-18 Thread Simon Glass
On 18 May 2015 at 06:08, Stefan Roese wrote: > I might have missed something, but I failed to use the escape char '\' > in strings. To pass a printf format string like "foo %d bar\n" via > Kconfig to the code. > > Right now its not possible to use the escape character '\' in Kconfig > string value

Re: [U-Boot] [PATCH v2 6/6] x86: qemu: Add ATA/SATA support

2015-05-18 Thread Simon Glass
On 15 May 2015 at 19:33, Bin Meng wrote: > Enable legacy IDE support on the pc target and AHCI support on the > q35 target. Default configuration is to support the pc target. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: None > > include/configs/qemu-x86.h | 26 +

Re: [U-Boot] [PATCH v2 5/6] x86: Add CONFIG_LBA48 and remove CONFIG_ATAPI in x86-common.h

2015-05-18 Thread Simon Glass
On 15 May 2015 at 19:33, Bin Meng wrote: > Enable CONFIG_LBA48 to support large disks. CONFIG_ATAPI is only needed > by cmd_ide.c which is not common for modern x86 targets, hence remove it. > > Signed-off-by: Bin Meng > --- > > Changes in v2: None > > include/configs/x86-common.h | 5 + > 1

Re: [U-Boot] [PATCH v2 4/6] cmd_ide: Eliminate build warnings in atapi_inquiry()

2015-05-18 Thread Simon Glass
On 15 May 2015 at 19:33, Bin Meng wrote: > Eliminate the following build warning in atapi_inquiry(): > "warning: assignment from incompatible pointer type [enabled by default]" > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - Correct the typo of 'Eliminate' in the commit message > >

Re: [U-Boot] [PATCH 2/6] pci: Do not skip legacy IDE device configutation

2015-05-18 Thread Simon Glass
Hi Bin, On 15 May 2015 at 09:40, Bin Meng wrote: > The legacy IDE device has a BAR4 (Bus Master Interface BAR) which > needs to be configured. > > Signed-off-by: Bin Meng > --- > > drivers/pci/pci_auto.c | 14 -- > 1 file changed, 14 deletions(-) I don't see how this code change re

Re: [U-Boot] [PATCH v2 4/4] Combine bootm_find_ functions together

2015-05-18 Thread Simon Glass
On 15 May 2015 at 15:13, Karl Apsite wrote: > bootm_find_ramdisk_fdt() renamed to bootm_find_images() for readability. > > The function bootm_find_ramdisk_fdt() appears to be a simple wrapper for > bootm_find_ramdisk(), bootm_find_fdt(), and now bootm_find_loadables(). > I didn't see any other cal

Re: [U-Boot] [PATCH v2 1/6] pci: Allow debug message output in pci_auto.c

2015-05-18 Thread Simon Glass
On 15 May 2015 at 19:33, Bin Meng wrote: > Remove the '#undef DEBUG' in pci_auto.c so that we can enable debug > message output via '-DDEBUG'. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - Commit meessage minor update > > drivers/pci/pci_auto.c | 1 - > 1 file changed, 1 deletion(-)

Re: [U-Boot] [PATCH v2 3/6] drivers: block: Remove the ata_piix driver

2015-05-18 Thread Simon Glass
On 15 May 2015 at 19:33, Bin Meng wrote: > This driver was originally added to support the native IDE mode for > Intel chipset, however it has some bugs like not supporting ATAPI > devices, endianness issue, or even broken build when CONFIG_LAB48. > Given no board is using this driver as of today,

Re: [U-Boot] [PATCH v2 3/4] add boot_get_loadables() to load listed images

2015-05-18 Thread Simon Glass
Hi Karl, On 15 May 2015 at 15:13, Karl Apsite wrote: > From: Karl Apsite > > Added a trimmed down instance of boot_get_() to satisfy the > minimum requierments of the added feature. The function follows the > normal patterns set by other boot_get's, which should make it a > bit easier to combin

Re: [U-Boot] [PATCH v2 2/4] mkimage will now report information about loadable

2015-05-18 Thread Simon Glass
Hi Karl, On 15 May 2015 at 15:13, Karl Apsite wrote: > From: Karl Apsite > > Added FIT_LOADABLE_PROP, so the user can identify an optional entry > named "loadables" in their .its configuration. "loadables" is a comma > separated list in the .its > > example configuration: > config@1 { > desc

Re: [U-Boot] [PATCH v2 1/4] add test for two 'loadables'

2015-05-18 Thread Simon Glass
On 15 May 2015 at 15:13, Karl Apsite wrote: > > From: Karl Apsite > > A simple test that attmpts to load two loadables and verify that they > are properly unpacked in the u-boot sandbox. > > Signed-off-by: Karl Apsite > --- > > test/image/test-fit.py | 73 >

Re: [U-Boot] [PATCH 20/20] tegra: config: nyan-big: Add options required by Chrome OS boot

2015-05-18 Thread Simon Glass
Hi Stephen, On 15 May 2015 at 09:34, Stephen Warren wrote: > On 05/13/2015 07:56 AM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 25 February 2015 at 16:31, Stephen Warren >> wrote: >>> >>> On 02/17/2015 03:29 PM, Simon Glass wrote: We need to match the device tree in the FIT wit

Re: [U-Boot] fsl_elbc_nand bug

2015-05-18 Thread Scott Wood
On Fri, 2015-05-15 at 14:48 -0700, Andrei Yakimov wrote: > Hi, > I just found, if NAND ONFI parameter page first copy is > bad, u-boot will never read extra copes: > > fsl_elbc_nand.c: > 342 out_be32(&lbc->fbcr, 256); > 343 ctrl->read_bytes = 256; > > this

Re: [U-Boot] pritnf() in arch_cpu_init()

2015-05-18 Thread Simon Glass
Hi Alexey, On 18 May 2015 at 04:41, Alexey Brodkin wrote: > Hi Simon, > > I was looking at how to output error message from very early init and > found IMHO senseless code in "arch/x86/cpu/coreboot/coreboot.c": > >8-- > int arch_cpu_init(void) > { > int ret

Re: [U-Boot] [PATCH V2 00/13] PMIC/REGULATOR cleanup and Sandbox tests

2015-05-18 Thread Simon Glass
Hi Przemyslaw, On 15 May 2015 at 10:21, Przemyslaw Marczak wrote: > Hello Simon, > > > On 05/15/2015 03:55 PM, Simon Glass wrote: >> >> On 13 May 2015 at 05:38, Przemyslaw Marczak wrote: >>> >>> Hello Simon, >>> >>> This patchset fixes the build issues. It changes the last three >>> top commits

[U-Boot] [PATCHv3 3/3] arm: socfpga: enable the Altera SDRAM controller driver

2015-05-18 Thread dinguyen
From: Dinh Nguyen Enable the Altera SDRAM driver for the SoCFPGA platform. Signed-off-by: Dinh Nguyen --- include/configs/socfpga_common.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h index cae744d..9b52050 100644

[U-Boot] [PATCHv3 1/3] driver/ddr/altera: Add DDR driver for Altera's SDRAM controller

2015-05-18 Thread dinguyen
From: Dinh Nguyen This patch enables the SDRAM controller that is used on Altera's SoCFPGA family. This patch configures the SDRAM controller based on a configuration file that is generated from the Quartus tool, sdram_config.h. Signed-off-by: Dinh Nguyen --- v2: clean up from comments from Pav

[U-Boot] [PATCHv3 0/3] drivers/ddr/altera: Add the DDR controller driver for SoCFPGA

2015-05-18 Thread dinguyen
From: Dinh Nguyen Hi, This is V3 of patch series that adds the DDR controller driver for Altera's SoCFPGA platform. V3: - Clean up to address comments from Marek for the calibration portion. V2: - Clean up to address comments from Pavel Thanks, Dinh Nguyen (3): driver/ddr/altera: Add DDR d

Re: [U-Boot] [PATCH 10/11] usb: ehci-vf: Add weak function for board specific initialisation

2015-05-18 Thread Marek Vasut
On Monday, May 18, 2015 at 08:52:59 PM, maitysancha...@gmail.com wrote: > Hello Marek, Hi! > On 15-05-18 19:09:58, Marek Vasut wrote: > > On Monday, May 18, 2015 at 03:06:28 PM, Bhuvanchandra DV wrote: > > > From: Sanchayan Maity > > > > > > Add a weak function board_ehci_hcd_init which can be

Re: [U-Boot] [PATCH 10/11] usb: ehci-vf: Add weak function for board specific initialisation

2015-05-18 Thread maitysanchayan
Hello Marek, On 15-05-18 19:09:58, Marek Vasut wrote: > On Monday, May 18, 2015 at 03:06:28 PM, Bhuvanchandra DV wrote: > > From: Sanchayan Maity > > > > Add a weak function board_ehci_hcd_init which can be used by the board > > file for board specific initialisation. > > > > Signed-off-by: San

Re: [U-Boot] [PATCH v2 0/4] New tag for Flattened Image Trees (FIT) - Booting Xen from a FIT.

2015-05-18 Thread Karl Apsite
Hi Simon, On 05/18/2015 11:28 AM, Simon Glass wrote: > +Tom in case he has a comment > > Hi Karl, > > On 15 May 2015 at 15:13, Karl Apsite wrote: >> >> The FIT config now supports a tag named "loadables:" which is a >> comma separated list. Users can add any number of images to the list, >> an

Re: [U-Boot] [PATCH 10/11] usb: ehci-vf: Add weak function for board specific initialisation

2015-05-18 Thread Marek Vasut
On Monday, May 18, 2015 at 03:06:28 PM, Bhuvanchandra DV wrote: > From: Sanchayan Maity > > Add a weak function board_ehci_hcd_init which can be used by the board > file for board specific initialisation. > > Signed-off-by: Sanchayan Maity Acked-by: Marek Vasut What I do not like is that you

Re: [U-Boot] [PATCH v3 1/2] ARM: zynq: add separate configuration for ZC702 and ZC706

2015-05-18 Thread Joe Hershberger
Hi Masahiro-san, On Mon, May 18, 2015 at 1:31 AM, Masahiro Yamada wrote: > Prior to this commit, ZC702 and ZC706 shared the same configuration > and were built as follows: > > ZC702: make zynq_zc70x_defconfig && make > ZC706: make zynq_zc70x_defconfig && make DEVICE_TREE=zynq-zc706 > > This commi

Re: [U-Boot] [PATCH v3 2/2] ARM: zynq: add default ps7_init_gpl.c/h for Zed, MicroZed, ZC70x

2015-05-18 Thread Joe Hershberger
Hi Masahiro-san On Mon, May 18, 2015 at 1:31 AM, Masahiro Yamada wrote: > Due to licensing issues, the files ps7_init.c/h are not able to be > distributed with U-Boot source code. Recent Xilinx tools also > provide the GPL variants (ps7_init_gpl.c/h), compatible with U-Boot > license. > > Prior

Re: [U-Boot] [PATCH v3 3/4] arm: ls102xa: Enable Driver Model SPI for ls1021aqds

2015-05-18 Thread York Sun
Haikun, On 05/18/2015 06:24 AM, Haikun Wang wrote: > Enable Driver Model SPI for ls1021aqds board. > DSPI and QSPI is enabled only when boot from QSPI. > DSPI and QSPI are compatible under Driver Model SPI. > > Signed-off-by: Haikun Wang > --- > Changes in v3: > - Remove CONFIG_SPI_FLASH_ATMEL >

[U-Boot] [PATCH] net/fm: Update FMan Compatibels

2015-05-18 Thread Igal . Liberman
From: Igal Liberman During FMan upstreaming, the FMan Port and MAC compatibles changed. This patch aligns the FMan Port and MAC compatibles to the FMan device tree binding document. The FMan device tree binding document can be found in the Linux kernel: ./Documentation/devicetree/bindings/powerp

[U-Boot] [PATCH v3 3/4] mv-common.h: Include support for device trees

2015-05-18 Thread Kevin Smith
Signed-off-by: Kevin Smith Acked-by: Stefan Roese --- include/configs/mv-common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/mv-common.h b/include/configs/mv-common.h index 51436da..4039b71 100644 --- a/include/configs/mv-common.h +++ b/include/configs/mv-common.h @@ -

[U-Boot] [PATCH v3 4/4] db-88f6820-gp.h: Load data blobs into lower memory

2015-05-18 Thread Kevin Smith
By default on this platform, u-boot loads data into high memory in the range of 0x7Fxx, which generates a data abort when the kernel tries to read it. Config the u-boot environment to load the device tree and initrd image into lower memory to make them accessible to the kernel. Signed-off-by:

[U-Boot] [PATCH v3 2/4] arm: mvebu: Update CBAR with SOC regs base

2015-05-18 Thread Kevin Smith
SMP-enabled Linux kernels read the CBAR register in CP15 to find the address of the SCU registers. After remapping internal registers, also update the CBAR so the kernel can find them. Signed-off-by: Kevin Smith Acked-by: Stefan Roese --- arch/arm/mach-mvebu/cpu.c | 7 +++ 1 file changed,

[U-Boot] [PATCH v3 1/4] arm: mvebu: Disable L2 cache before enabling d-cache

2015-05-18 Thread Kevin Smith
From: Stefan Roese L2 cache may still be enabled by the BootROM. We need to first disable it before enabling d-cache support. Signed-off-by: Stefan Roese Tested-by: Kevin Smith --- arch/arm/mach-mvebu/cpu.c | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/mach-mvebu/cpu.c

[U-Boot] [PATCH v3 0/4] arm: mvebu: Allow DB-88F6820-GP to boot Linux

2015-05-18 Thread Kevin Smith
Changes needed to allow the DB-88F6820-GP development board to successfully boot a Linux kernel. Changes in v3: - Correct coding-style errors - Correct config macro style error - Add acked-by lines Kevin Smith (3): arm: mvebu: Update CBAR with SOC regs base mv-common.h: Include support for de

[U-Boot] [PATCH] odroid: dts: cleanup of MAX77686 regulators

2015-05-18 Thread Przemyslaw Marczak
This commit cleanup MAX77686 regulator node by: - remove the sub-nodes of unconnected regulators - remove the "regulator-compatible" properties of all regulators This prevents printing init errors for the regulators, with duplicated name strings. Signed-off-by: Przemyslaw Marczak Cc: Minkyu Kang

Re: [U-Boot] [PATCH v2 0/4] New tag for Flattened Image Trees (FIT) - Booting Xen from a FIT.

2015-05-18 Thread Simon Glass
+Tom in case he has a comment Hi Karl, On 15 May 2015 at 15:13, Karl Apsite wrote: > > The FIT config now supports a tag named "loadables:" which is a > comma separated list. Users can add any number of images to the list, > and u-boot will move the selected binaries to their listed > load_addr

Re: [U-Boot] [PATCH] arm/imx-common: Fix warning 'get_reset_cause' defined but not used

2015-05-18 Thread Eric Nelson
Hi Prabhakar, On 05/18/2015 04:43 AM, Prabhakar Kushwaha wrote: > Fix below warning > arch/arm/imx-common/cpu.c:29:14: warning: ‘get_reset_cause’ defined but > not used > static char *get_reset_cause(void) > > Signed-off-by: Prabhakar Kushwaha > --- > arch/arm/imx-common/cpu.c | 2 ++ > 1 file

[U-Boot] [PATCH] arm: mx6: ddr: set fast-exit on DDR3 if pd_fast_exit specified

2015-05-18 Thread Tim Harvey
Commit fa8b7d66f49f0c7bd41467fe78f6488d8af6976a introduced fast-exit support to the MMDC however enabling it on the DDR3 got missed. Make sure we enable it on the DDR3 as well. Gateworks uses Micron memory as well as Winbond in MX6. We have found in testing that we need to enable fast-exit for Win

[U-Boot] [Patch v3 1/4] mx6: add OTP bank1 registers

2015-05-18 Thread Tim Harvey
Signed-off-by: Tim Harvey --- arch/arm/include/asm/arch-mx6/imx-regs.h | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/include/asm/arch-mx6/imx-regs.h b/arch/arm/include/asm/arch-mx6/imx-regs.h index 9a4ad8b..35bb005 100644 --- a/arch/arm/include/asm/arch-mx6/im

[U-Boot] [PATCH v3 2/2] imx: mx6: display max cpu frequency in print_cpuinfo()

2015-05-18 Thread Tim Harvey
Display the max CPU frequency as well as the current running CPU frequency if the max CPU frequency is available and differs from the current CPU frequency. Before: CPU: Freescale i.MX6Q rev1.2 at 792 MHz After - using an 800MHz IMX6DL (running at its max) CPU: Freescale i.MX6DL rev1.1 at 792

[U-Boot] [PATCH v3 0/2] imx: mx6: use OTP for freq grade

2015-05-18 Thread Tim Harvey
use CPU frequency grade in print_cpuinfo() -- v3: - fix typo in a commit message - add tested-by v2: - split into two series: 1 for CPU frequency, other for Temperature grade Tim Harvey (2): imx: mx6: add get_cpu_speed_grade_hz func to return MHz speed grade from OTP imx: mx6: display m

[U-Boot] [PATCH v3 1/2] imx: mx6: add get_cpu_speed_grade_hz func to return MHz speed grade from OTP

2015-05-18 Thread Tim Harvey
The IMX6 has four different speed grades determined by eFUSE SPEED_GRADING indicated by OCOTP_CFG3[17:16] which is at 0x440 in the Fusemap Description Table. Return this frequency so that it can be used elsewhere. Note that the IMX6SDLRM and the IMX6SXRM do not indicate this in the their Fusemap D

[U-Boot] [Patch v3 4/4] thermal: imx_thermal: use CPU temperature grade for trip points

2015-05-18 Thread Tim Harvey
Replace the hard-coded values for min/max/passive with values derived from the CPU temperature grade. Signed-off-by: Tim Harvey --- drivers/thermal/imx_thermal.c | 29 +++-- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/drivers/thermal/imx_thermal.c b/dr

[U-Boot] [Patch v3 2/4] imx: mx6: add get_cpu_temp_grade to obtain cpu temperature grade from OTP

2015-05-18 Thread Tim Harvey
The MX6 has a temperature grade defined by OCOTP_MEM0[7:6] which is at 0x480 in the Fusemap Description Table in the reference manual. Return this value as well as min/max temperature based on the value. Note that the IMX6SDLRM and the IMX6SXRM do not indicate this in the their Fusemap Description

[U-Boot] [Patch v3 3/4] imx: mx6: add display of CPU temperature grade in print_cpuinfo()

2015-05-18 Thread Tim Harvey
When CONFIG_IMX6_THERMAL is defined print the CPU temperature grade info along with the current temperature. Before: CPU: Temperature 42 C After: CPU: Automotive temperature grade (-40C to 125C) at 42C CPU: Industrial temperature grade (-40C to 105C) at 42C CPU: Extended Commercial te

[U-Boot] [PATCH] arc: significant cache rework

2015-05-18 Thread Alexey Brodkin
[1] Align cache management functions to those in Linux kernel. I.e.: a) Use the same functions for all cache ops (D$ Inv/Flush) b) Split cache ops in 3 sub-functions: "before", "lineloop" and "after". That way we may re-use "before" and "after" functions for region and full cache ops. [2

[U-Boot] [Patch v3 0/4] imx: mx6: use OTP for teperature grade info

2015-05-18 Thread Tim Harvey
Use Temperature grade info in OTP/eFUSE for thermal management and display of thermal data. Cc: Stefan Roese Cc: Eric Nelson Cc: Heiko Schocher Cc: Nikita Kiryanov Cc: Jon Nettleton Cc: Jason Liu Cc: Ye Li Cc: Fabio Estevam Cc: Christian Gmeiner Cc: Markus Niebel Cc: Peng Fan Signed-off

[U-Boot] [PATCH 03/11] colibri_vf: Add pinmux entries for GPIOs

2015-05-18 Thread Bhuvanchandra DV
Inorder to use the pins as GPIO, apart from setting the alt-function, pinmuxing need to be done, this patch adds pinmux entries of few GPIOs. Signed-off-by: Bhuvanchandra DV --- arch/arm/include/asm/arch-vf610/iomux-vf610.h | 49 ++ board/toradex/colibri_vf/colibri_vf.c

Re: [U-Boot] [PATCH v2 3/4] imx: mx6: add display of CPU temperature grade in print_cpuinfo()

2015-05-18 Thread Tim Harvey
On Sun, May 17, 2015 at 5:11 PM, Peng Fan wrote: > Hi Fabio, > > On Fri, May 15, 2015 at 10:36:09AM -0300, Fabio Estevam wrote: >>Hi Tim, >> >>On Fri, May 15, 2015 at 10:31 AM, Tim Harvey wrote: >> >>> Yes, that sounds like the best approach. What were your thoughts on >>> enabling the second CPU

[U-Boot] [PATCH v3 4/4] arm: ls102xa: Enable Driver Model SPI for ls1021atwr

2015-05-18 Thread Haikun Wang
From: Haikun Wang Enable Driver Model SPI for ls1021atwr board. DSPI and QSPI only be enabled when boot from QSPI. DSPI and QSPI are compatible under Driver Model SPI. Signed-off-by: Haikun Wang Change-Id: I6342807da7725ae8b678952117c8758c75a61d3d Reviewed-on: http://git.am.freescale.net:8181/3

[U-Boot] [PATCH v3 3/4] arm: ls102xa: Enable Driver Model SPI for ls1021aqds

2015-05-18 Thread Haikun Wang
Enable Driver Model SPI for ls1021aqds board. DSPI and QSPI is enabled only when boot from QSPI. DSPI and QSPI are compatible under Driver Model SPI. Signed-off-by: Haikun Wang --- Changes in v3: - Remove CONFIG_SPI_FLASH_ATMEL - IS_ENABLED(CONFIG_XXX) is only work with configure option in Kconfi

[U-Boot] [PATCH v5 1/4] dm: sf: Add Atmel DataFlash spi flash driver

2015-05-18 Thread Haikun Wang
Atmel DataFlash chips have commands different from common spi flash commands. Atmel DataFlash also have special page-size. This driver add support for accessing Atmel DataFlash. It is based on the Driver Model. Example: => sf probe 1:0 SPI DataFlash: Detected AT45DB021B with page size 264 Bytes, er

[U-Boot] [PATCH v1 2/4] dm: ls1021aqds: dts: Use "spi_dataflash" driver instead of "spi_flash_std" for DSPI flash

2015-05-18 Thread Haikun Wang
The type of DSPI flash on ls1021aqds is AT45DB021, it has specail commands and page-size. Use the special spi flash driver instead of "spi_flash_std" driver. Signed-off-by: Haikun Wang --- arch/arm/dts/ls1021a-qds.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/d

[U-Boot] [PATCH 11/11] colibri_vf: Enable board specific USB initialisation for USB pen gpio

2015-05-18 Thread Bhuvanchandra DV
From: Sanchayan Maity Add IOMUX for the pad used as USB pen. This needs to be driven low for the Iris and Viola boards where it is pulled up high by default. This is required for the USB host functionality to work on these boards. Use the board specific weak initialisation function, to drive the

[U-Boot] [PATCH 06/11] arm: vf610: Add iomux support for DSPI

2015-05-18 Thread Bhuvanchandra DV
Add iomux definitions for DSPI second instance. Signed-off-by: Bhuvanchandra DV --- arch/arm/include/asm/arch-vf610/iomux-vf610.h | 9 + board/toradex/colibri_vf/colibri_vf.c | 21 + 2 files changed, 30 insertions(+) diff --git a/arch/arm/include/asm/arch-vf

[U-Boot] [PATCH 01/11] dm: gpio: uclass: Add flag to control sequence numbering

2015-05-18 Thread Bhuvanchandra DV
Like SPI and I2C few GPIO controllers also have multiple chip instances. This patch adds the flag 'DM_UC_FLAG_SEQ_ALIAS' in gpio_uclass driver to control device sequence numbering. By defalut the dev->r_seq for gpio_uclass will alwalys returns -1, which leads the gpio driver probe failure when usin

[U-Boot] [PATCH 05/11] arm: vf610: Add clock support for DSPI

2015-05-18 Thread Bhuvanchandra DV
Signed-off-by: Bhuvanchandra DV --- arch/arm/cpu/armv7/vf610/generic.c | 7 +++ arch/arm/include/asm/arch-vf610/clock.h| 1 + arch/arm/include/asm/arch-vf610/crm_regs.h | 4 3 files changed, 12 insertions(+) diff --git a/arch/arm/cpu/armv7/vf610/generic.c b/arch/arm/cpu/arm

[U-Boot] [PATCH 08/11] colibri-vf: Enable SPI support

2015-05-18 Thread Bhuvanchandra DV
Signed-off-by: Bhuvanchandra DV --- include/configs/colibri_vf.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h index 42555fb..25a9bf9 100644 --- a/include/configs/colibri_vf.h +++ b/include/configs/colibri_vf.h @@ -273

[U-Boot] [PATCH 09/11] colibri_vf: Add separate defconfig for device tree support

2015-05-18 Thread Bhuvanchandra DV
Most of the drivers available for Vybrid are not yet converted to OF model to use device tree model, only few drivers like SPI and GPIO drivers use device trees. Add separate defconfig for who needs to use device tree model. Later this can be integrated to single defconfig. Signed-off-by: Bhuvanch

[U-Boot] [PATCH 10/11] usb: ehci-vf: Add weak function for board specific initialisation

2015-05-18 Thread Bhuvanchandra DV
From: Sanchayan Maity Add a weak function board_ehci_hcd_init which can be used by the board file for board specific initialisation. Signed-off-by: Sanchayan Maity --- drivers/usb/host/ehci-vf.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/usb/host/ehci-vf.c b/drivers/us

[U-Boot] [PATCH 07/11] vf610: dts: Add device tree support

2015-05-18 Thread Bhuvanchandra DV
Add device tree files for Freescale Vybrid platform and Toradex Colibri VF50, VF61 modules. Device tree files are taken from upstream Kernel. Removed the stuff which are not used/supported yet in U-Boot. Signed-off-by: Bhuvanchandra DV --- arch/arm/dts/Makefile | 3 ++ arch/arm/dts/vf

[U-Boot] [PATCH 04/11] colibri_vf: Enable GPIO support

2015-05-18 Thread Bhuvanchandra DV
Signed-off-by: Bhuvanchandra DV --- configs/colibri_vf_defconfig | 1 + include/configs/colibri_vf.h | 5 + 2 files changed, 6 insertions(+) diff --git a/configs/colibri_vf_defconfig b/configs/colibri_vf_defconfig index 0df337c..a527086 100644 --- a/configs/colibri_vf_defconfig +++ b/configs

[U-Boot] [PATCH 00/11] Add GPIO driver for Freescale Vybrid platform

2015-05-18 Thread Bhuvanchandra DV
This patch-set adds GPIO driver, DSPI and device tree support for Freescale Vybrid platform and Toradex Colibri Vybrid VF50, VF61 modules. Following cases are tested with Vybrid GPIO driver: - with DM, without DT - with DM and DT Both the above cases were tested on Toradex Colibri Vybrid VF50, VF6

[U-Boot] [PATCH 02/11] dm: gpio: vf610: Add GPIO driver support

2015-05-18 Thread Bhuvanchandra DV
Add GPIO driver support to Freescale VF610 Signed-off-by: Bhuvanchandra DV --- arch/arm/imx-common/iomux-v3.c | 26 + arch/arm/include/asm/arch-vf610/gpio.h | 29 + arch/arm/include/asm/arch-vf610/imx-regs.h | 5 + arch/arm/include/asm/imx-common/iomux-v3.h | 6 + d

Re: [U-Boot] [PATCH 4/4] usb: gadget: Weak board_usb_init/cleanup definitions in USB download gadget code

2015-05-18 Thread Lukasz Majewski
Hi Paul, > Weak versions of board_usb_init and board_usb_cleanup are defined in > common USB host code, but it is also used for USB device gadgets, so > we also need a weak definition of it when there is no USB host > enabled. Both weak definitions do not conflict. > > Signed-off-by: Paul Kocialk

Re: [U-Boot] [PATCH 3/4] usb: board_usb_init and board_usb_cleanup calls in the fastboot command

2015-05-18 Thread Lukasz Majewski
Hi Paul, > Each USB download function command calls board_usb_init before > registering the USB gadget and board_usb_cleanup after de-registering > it. On devices currently using fasboot, musb-new is usually > initialized earlier, but some other boards might need the > board_usb_init call to prope

Re: [U-Boot] [PATCH 2/4] usb: Fastboot function config for better consistency with other functions

2015-05-18 Thread Lukasz Majewski
Hi Paul, > USB download gadget functions such as thor and dfu have a separate > config option for the USB gadget part of the code, independent from > the command part. This switches the fastboot USB gadget to the same > scheme, for better consistency. > > Signed-off-by: Paul Kocialkowski > --- >

  1   2   >