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 karl.aps...@dornerworks.com 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

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

[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 haikun.w...@freescale.com --- arch/arm/dts/ls1021a-qds.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[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

[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

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 prabha...@freescale.com --- arch/arm/imx-common/cpu.c

[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 bhuvanchandra...@toradex.com --- 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 +

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

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

2015-05-18 Thread Bhuvanchandra DV
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com --- 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 ---

[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

Re: [U-Boot] [PATCH] arc: gitignore: ignore ARC DTBs

2015-05-18 Thread Alexey Brodkin
Hello Masahiro-san, On Thu, 2015-05-14 at 18:59 +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com --- arch/arc/dts/.gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 arch/arc/dts/.gitignore diff --git a/arch/arc/dts/.gitignore

[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

[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 bhuvanchandra...@toradex.com --- 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

[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 maitysancha...@gmail.com 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

[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 s...@denx.de Cc: Eric Nelson eric.nel...@boundarydevices.com Cc: Heiko Schocher h...@denx.de Cc: Nikita Kiryanov nik...@compulab.co.il Cc: Jon Nettleton jon.nettle...@gmail.com Cc: Jason

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

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 properly

Re: [U-Boot] [PATCH 1/4] usb: USB download gadget and functions config options coherent naming

2015-05-18 Thread Lukasz Majewski
Hi Paul, This introduces a coherent scheme for naming USB download gadget and functions config options. The download USB gadget config option is moved to CONFIG_USB_GADGET_DOWNLOAD for better consistency with other gadgets and each function's config option is moved to a CONFIG_USB_FUNCTION_

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

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 Kocialkowski

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

2015-05-18 Thread Bhuvanchandra DV
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com --- 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

[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 bhuvanchandra...@toradex.com --- arch/arm/dts/Makefile

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

2015-05-18 Thread Bhuvanchandra DV
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com --- 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 +++

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

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

2015-05-18 Thread Bhuvanchandra DV
From: Sanchayan Maity maitysancha...@gmail.com 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 maitysancha...@gmail.com --- drivers/usb/host/ehci-vf.c | 8 1 file changed, 8 insertions(+)

[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 bhuvanchandra...@toradex.com --- arch/arm/include/asm/arch-vf610/iomux-vf610.h | 49 ++

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 b51...@freescale.com 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 thar...@gateworks.com wrote: Yes, that sounds like the best approach. What were your thoughts on

[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

[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

[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

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

2015-05-18 Thread Stefan Roese
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 values correctly to e.g. set this string value test output\n.

[U-Boot] Status of squashsfs support

2015-05-18 Thread leszek Hanusz
Hi, I was wondering what is the status of the squashfs support in u-boot ? The wiki page http://elinux.org/Squashfs_filesystem_support_for_u-boot is linking to a mail indicating that support for squashfs version 3 exists but the link is broken ? Anything new ? Best Regards, Leszek

[U-Boot] [PATCH v3 4/4] autoboot.c: Add feature to stop autobooting via SHA256 encrypted password

2015-05-18 Thread Stefan Roese
This patch adds the feature to only stop the autobooting, and therefor boot into the U-Boot prompt, when the input string / password matches a values that is encypted via a SHA256 hash and saved in the environment. This feature is enabled by defined these config options:

[U-Boot] [PATCH v3 0/4] Add SHA256 encrypted stop string for autobooting

2015-05-18 Thread Stefan Roese
The main task for this patch series is to add the new feature to abort autobooting via a SHA256 encrypted password. For this, some of the old autobooting related config macros have been moved to Kconfig. This was a bit more complicated, since Kconfig currently apparently doesn't support using

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

2015-05-18 Thread Alexey Brodkin
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: git://git.denx.de/u-boot-arc.git for you to fetch changes up to

[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 haikun.w...@freescale.com --- Changes in v3: - Remove CONFIG_SPI_FLASH_ATMEL - IS_ENABLED(CONFIG_XXX) is only work with

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

2015-05-18 Thread Haikun Wang
From: Haikun Wang haikun.w...@freescale.com 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 haikun.w...@freescale.com Change-Id:

[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 thar...@gateworks.com --- drivers/thermal/imx_thermal.c | 29 +++-- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git

[U-Boot] [PATCH v3 2/4] autoboot.c: Remove CONFIG_AUTOBOOT_STOP_STR2 and CONFIG_AUTOBOOT_DELAY_STR2

2015-05-18 Thread Stefan Roese
These defines for a 2nd autoboot stop and delay string are nearly unused. Only sc3 defines CONFIG_AUTOBOOT_DELAY_STR2. And a patch to remove this most likely unmaintained board is also posted to the list. By removing these defines the code will become cleaner and moving the remaining compile

[U-Boot] [PATCH v3 3/4] autoboot.c: Move config options to Kconfig

2015-05-18 Thread Stefan Roese
This patch moves the following config options to Kconfig: CONFIG_AUTOBOOT_KEYED CONFIG_AUTOBOOT_PROMPT CONFIG_AUTOBOOT_DELAY_STR CONFIG_AUTOBOOT_STOP_STR AUTOBOOT_KEYED_CTRLC Signed-off-by: Stefan Roese s...@denx.de Reviewed-by: Simon Glass s...@chromium.org Cc: Masahiro Yamada

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

2015-05-18 Thread Tim Harvey
Signed-off-by: Tim Harvey thar...@gateworks.com --- 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 ---

[U-Boot] [PATCH 02/20] armv8/ls2085ardb: add hwconfig setting for eSDHC

2015-05-18 Thread Prabhakar Kushwaha
From: Yangbo Lu yangbo...@freescale.com Add hwconfig setting for eSDHC since it shares some pins with other IP block. Signed-off-by: Yangbo Lu yangbo...@freescale.com Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com --- board/freescale/ls2085ardb/ls2085ardb.c | 36

[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

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 yamada.masah...@socionext.com 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

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 karl.aps...@dornerworks.com wrote: The FIT config now supports a tag named loadables: which is a comma separated list. Users can add any number of images to

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 maitysancha...@gmail.com 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 maitysancha...@gmail.com Acked-by:

[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

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

[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 kevin.sm...@elecsyscorp.com Acked-by: Stefan Roese s...@denx.de --- 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 ---

[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 kevin.sm...@elecsyscorp.com Acked-by: Stefan Roese s...@denx.de ---

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

2015-05-18 Thread Kevin Smith
From: Stefan Roese s...@denx.de 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 s...@denx.de Tested-by: Kevin Smith kevin.sm...@elecsyscorp.com --- arch/arm/mach-mvebu/cpu.c | 8 1 file changed, 8

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 yamada.masah...@socionext.com 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] [PATCH] net/fm: Update FMan Compatibels

2015-05-18 Thread Igal . Liberman
From: Igal Liberman igal.liber...@freescale.com 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:

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 haikun.w...@freescale.com --- Changes in v3: - Remove

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 maitysancha...@gmail.com Add a weak function board_ehci_hcd_init which can be used by the board file for board specific initialisation.

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 maitysancha...@gmail.com Add a weak function board_ehci_hcd_init

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

2015-05-18 Thread dinguyen
From: Dinh Nguyen dingu...@opensource.altera.com 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):

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

2015-05-18 Thread dinguyen
From: Dinh Nguyen dingu...@opensource.altera.com 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

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

2015-05-18 Thread dinguyen
From: Dinh Nguyen dingu...@opensource.altera.com Enable the Altera SDRAM driver for the SoCFPGA platform. Signed-off-by: Dinh Nguyen dingu...@opensource.altera.com --- include/configs/socfpga_common.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/configs/socfpga_common.h

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 p.marc...@samsung.com wrote: Hello Simon, On 05/15/2015 03:55 PM, Simon Glass wrote: On 13 May 2015 at 05:38, Przemyslaw Marczak p.marc...@samsung.com wrote: Hello Simon, This patchset fixes the build issues. It changes the last

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 karl.aps...@dornerworks.com wrote: From: Karl Apsite karl.aps...@dornerworks.com 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

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 swar...@wwwdotorg.org wrote: On 05/13/2015 07:56 AM, Simon Glass wrote: Hi Stephen, On 25 February 2015 at 16:31, Stephen Warren swar...@wwwdotorg.org wrote: On 02/17/2015 03:29 PM, Simon Glass wrote: We need to match the device tree

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

2015-05-18 Thread Karl Apsite
From: Karl Apsite karl.aps...@dornerworks.com 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

[U-Boot] [PATCH v3 3/4] Combine bootm_find_thing 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_findthing, so removing the

[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

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

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

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)

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

2015-05-18 Thread Karl Apsite
From: Karl Apsite karl.aps...@dornerworks.com 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 karl.aps...@dornerworks.com --- Changes in v3: - Moved the commit that adds the test to

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 alexey.brod...@synopsys.com 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) {

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 karl.aps...@dornerworks.com wrote: From: Karl Apsite karl.aps...@dornerworks.com Added a trimmed down instance of boot_get_thing() to satisfy the minimum requierments of the added feature. The function follows the normal patterns set by other

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 bmeng...@gmail.com wrote: Eliminate the following build warning in atapi_inquiry(): warning: assignment from incompatible pointer type [enabled by default] Signed-off-by: Bin Meng bmeng...@gmail.com --- Changes in v2: - Correct the typo of 'Eliminate'

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 bmeng...@gmail.com 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 bmeng...@gmail.com --- Changes in v2: None

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 bmeng...@gmail.com wrote: The legacy IDE device has a BAR4 (Bus Master Interface BAR) which needs to be configured. Signed-off-by: Bin Meng bmeng...@gmail.com --- drivers/pci/pci_auto.c | 14 -- 1 file changed, 14 deletions(-) I

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

2015-05-18 Thread Simon Glass
On 15 May 2015 at 15:13, Karl Apsite karl.aps...@dornerworks.com 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

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 bmeng...@gmail.com wrote: Remove the '#undef DEBUG' in pci_auto.c so that we can enable debug message output via '-DDEBUG'. Signed-off-by: Bin Meng bmeng...@gmail.com --- Changes in v2: - Commit meessage minor update drivers/pci/pci_auto.c | 1 - 1

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 bmeng...@gmail.com 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

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 code cause

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 it?

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 address offset bytes Signed-off-by: Daniel Kochmański dkochman...@turtle-solutions.eu

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 joe.hershber...@ni.com: 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

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 DataFlash:

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 joe.hershber...@ni.com: 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 joe.hershber...@ni.com --- Changes in v4: None Changes in v3: None

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 joe.hershber...@ni.com: 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

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 yamada.masah...@socionext.com: 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

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

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 haikun.w...@freescale.com --- arch/arm/dts/ls1021a-qds.dts | 2 +-

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 joe.hershber...@ni.com: This gives a basic idea about progress. Signed-off-by: Joe Hershberger joe.hershber...@ni.com Good idea! -- Best Regards Masahiro Yamada ___ U-Boot mailing list

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 joe.hershber...@ni.com: 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

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 joe.hershber...@ni.com: 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 joe.hershber...@ni.com --- Changes in

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 joe.hershber...@ni.com: This is helpful to re-attempt to move failed boards from a previous run without starting over. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v4: None Changes in v3: -Fixed command line options order

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 s...@chromium.org: Hi Masahiro, On 15 May 2015 at 22:58, Masahiro Yamada yamada.masah...@socionext.com wrote: Hi Joe, (added Simon) 2015-05-16 4:52 GMT+09:00 Joe Hershberger joe.hershber...@gmail.com: Hi Masahiro-san, On Fri, May 15,

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 thar...@gateworks.com 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

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] 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 for

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 s...@chromium.org wrote: Hi Bin, On 4 May 2015 at 00:27, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Tue, Apr 28, 2015 at 10:05 PM, Simon Glass s...@chromium.org wrote: Hi Bin, On 27 April 2015 at 00:16, Bin Meng

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 joe.hershber...@ni.com: 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 joe.hershber...@ni.com --- Changes in v4: None Changes in v3: -New

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 Schwarz

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 joe.hershber...@ni.com: 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 joe.hershber...@ni.com --- Changes in v4: -New for

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 s...@chromium.org wrote: Hi Bin, On Sat, May 16, 2015 at 9:33 AM, Bin Meng bmeng...@gmail.com wrote: The legacy IDE device has a BAR4 (Bus Master Interface BAR) which needs to be configured.

  1   2   >