Re: [U-Boot] [PATCH] ARMv8: fix bug for flush data cache by set/way

2014-04-01 Thread Leo Yan
hi David, I have checked the ARMv8's Architecture Reference Manual DDI0487A_a_armv8_arm.pdf chapter "C4.4.1 DC CISW, Data or unified Cache line Clean and Invalidate by Set/Way", u can see the description as below: SetWay, bits [31:4] Contains two fields: • Way, bits[31:32-A], the number of th

Re: [U-Boot] [PATCH] ARMv8: fix bug for flush data cache by set/way

2014-04-01 Thread Leo Yan
hi David, On 04/01/2014 11:25 AM, feng...@phytium.com.cn wrote: hi Leo, Please reference ARMv8-TRM, the associativity field does not have to be a power of 2. I made the same mistake with you previously and scott identify this. *发件人:* Leo Yan *发送时间:* ‎2014‎年

Re: [U-Boot] [PATCH v3 13/13] common: fixed linker-list example

2014-04-01 Thread Lukasz Majewski
Hi Marek, > On Monday, March 31, 2014 at 05:49:12 PM, Mateusz Zalega wrote: > > Change-Id: Id1bab29ec026d83f7e811ba82802aad33f77bea0 Yes, definitely :-). Those Change-Ids are a PITA. > > You samsung guys need to fix your mailers ... and you need to learn > to write commit messages. > > > Sign

Re: [U-Boot] [PATCH 1/1] imx-common: cpu: add fdt_file environment variable

2014-04-01 Thread Marek Vasut
On Monday, March 31, 2014 at 11:09:14 PM, Troy Kisky wrote: > On 3/31/2014 12:47 PM, Marek Vasut wrote: > > On Monday, March 31, 2014 at 09:38:02 PM, Otavio Salvador wrote: > >> On Mon, Mar 31, 2014 at 4:22 PM, Marek Vasut wrote: > >>> On Monday, March 31, 2014 at 08:36:55 PM, Troy Kisky wrote: >

Re: [U-Boot] [PATCH 2/3] dfu: add static alt num count in dfu_config_entities()

2014-04-01 Thread Lukasz Majewski
Hi Marek, > On Tuesday, April 01, 2014 at 08:47:05 AM, Przemyslaw Marczak wrote: > > Hello, > > This code was applied to u-boot-samsung few weeks ago. > > Please do NOT top-post. Why did it arrive in the ML yesterday ? It was mine over-zeal :-). Sorry for confusion. > > > On 03/31/2014 11:15 A

Re: [U-Boot] [PATCH 1/2] arm: mxs: Adjust the load address of U-Boot and SPL for HAB

2014-04-01 Thread Stefano Babic
On 05/03/2014 20:01, Marek Vasut wrote: > When using HAB, there are additional special requirements on the placement of > U-Boot and the U-Boot SPL in memory. To fullfill these, this patch moves the > U-Boot binary a little further from the begining of the DRAM, so the HAB CST > and IVT can be plac

[U-Boot] [PATCH v2] powerpc: mpc8xx: delete an unused source file

2014-04-01 Thread Masahiro Yamada
References to the wireless keyboard should also be removed from README.console. Signed-off-by: Masahiro Yamada Cc: Wolfgang Denk --- Changes in v2: - Fix README.console as Wolfgang suggested arch/powerpc/cpu/mpc8xx/wlkbd.c | 20 doc/README.console | 2 +-

Re: [U-Boot] [PATCH] ARM: mxs: Add OCOTP driver

2014-04-01 Thread Stefano Babic
On 06/03/2014 01:52, Marek Vasut wrote: > Add yet another OCOTP driver for this i.MX family. This time, it's a driver > for > the OCOTP variant found in the i.MX23 and i.MX28. This version of OCOTP is too > different from the i.MX6 one that I could not use the mxc_ocotp.c driver > without > makin

Re: [U-Boot] [PATCH 2/2] arm: mxs: Add support for generating signed BootStream

2014-04-01 Thread Stefano Babic
On 05/03/2014 20:01, Marek Vasut wrote: > This patch adds the groundwork for generating signed BootStream, which > can be used by the HAB library in i.MX28. We are adding a new target, > u-boot-signed.sb , since the process for generating regular non-signed > BootStream is much easier. Moreover, th

Re: [U-Boot] [PATCH] powerpc: mpc8xx: delete an unused source file

2014-04-01 Thread Masahiro Yamada
Hi Wolfgang, On Tue, 01 Apr 2014 08:37:21 +0200 Wolfgang Denk wrote: > Dear Masahiro, > > In message <1396238924-12140-1-git-send-email-yamad...@jp.panasonic.com> you > wrote: > > Signed-off-by: Masahiro Yamada > > Cc: Wolfgang Denk > > --- > > arch/powerpc/cpu/mpc8xx/wlkbd.c | 20 -

Re: [U-Boot] [PATCH] ARM: mx6: Disable PCIe on SABRE Lite/Nitrogen6x

2014-04-01 Thread Stefano Babic
On 22/03/2014 16:17, Eric Nelson wrote: > Use of PCIe on SABRE Lite and Nitrogen6x boards > is atypical and requires the use of custom daughter > boards. > > Use in U-Boot is even rarer, so this patch removes it from > the standard configuration. > > Signed-off-by: Eric Nelson > --- Applied to

Re: [U-Boot] [PATCH 0/4] vybrid/tower fixes and enhancements

2014-04-01 Thread Stefan Agner
Am 2014-03-11 18:43, schrieb ste...@agner.ch: > From: Stefan Agner > > This patch series addresses several fixes and enhancements for the > vybrid tower. *Bump*, could we get an Ack on this? Sorry about the missing thread/references, somehow my git format-patch was misconfigured. _

Re: [U-Boot] [PATCH] woodburn_sd: Remove CONFIG_BOOT_INTERNAL

2014-04-01 Thread Stefano Babic
On 16/03/2014 22:20, Fabio Estevam wrote: > From: Fabio Estevam > > CONFIG_BOOT_INTERNAL is not used anywhere, so let's remove it. > > Signed-off-by: Fabio Estevam > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic --

Re: [U-Boot] [PATCH 1/2] pci: mx6: Implement power callback

2014-04-01 Thread Stefano Babic
On 23/03/2014 22:45, Marek Vasut wrote: > Implement a callback to toggle the slot power supply. The callback > can be overriden in case some more complex power supply for the slot > was implemented in hardware, yet for the usual case, one can define > a GPIO which toggles the power to the slot. >

Re: [U-Boot] [PATCH V2 2/2] ARM: mx6: Add PCIe on SabreSDP

2014-04-01 Thread Stefano Babic
On 23/03/2014 22:45, Marek Vasut wrote: > Add support for PCIe on MX6 SabreSDP board and enable the support > in the config file. > > Signed-off-by: Marek Vasut > Cc: Stefano Babic > Cc: Fabio Estevam > Cc: Liu Ying > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic --

Re: [U-Boot] [PATCH V2 1/4] arm: mx5: Fix memory slowness on MX53QSB

2014-04-01 Thread Stefano Babic
On 28/03/2014 08:30, Marek Vasut wrote: > Fix memory access slowness on i.MX53 MX53QSB board. Let us inspect the > issue: First of all, the i.MX53 CPU has two memory banks mapped at > 0x7000_ and 0xb000_ and each of those can hold up to 1GiB of > DRAM memory. Notice that the memory area is

Re: [U-Boot] [PATCH V3 2/4] arm: mx5: Avoid hardcoding memory sizes on MX53QSB

2014-04-01 Thread Stefano Babic
On 28/03/2014 08:30, Marek Vasut wrote: > The DRAM size can be easily detected at runtime on i.MX53. Implement > such detection on MX53QSB and adjust the rest of the macros accordingly > to use the detected values. > > An important thing to note here is that we had to override the function > for t

Re: [U-Boot] [PATCH V3 4/4] arm: mx5: Avoid hardcoding memory sizes on M53EVK

2014-04-01 Thread Stefano Babic
On 28/03/2014 08:31, Marek Vasut wrote: > The DRAM size can be easily detected at runtime on i.MX53. Implement > such detection on M53EVK and adjust the rest of the macros accordingly > to use the detected values. > > An important thing to note here is that we had to override the function > for tr

Re: [U-Boot] [PATCH V2 3/4] arm: mx5: Fix memory slowness on M53EVK

2014-04-01 Thread Stefano Babic
On 28/03/2014 08:31, Marek Vasut wrote: > Fix memory access slowness on i.MX53 M53EVK board. Let us inspect the > issue: First of all, the i.MX53 CPU has two memory banks mapped at > 0x7000_ and 0xb000_ and each of those can hold up to 1GiB of > DRAM memory. Notice that the memory area is n

Re: [U-Boot] [PATCH 2/2] arm: mxs: Add serial console support into SPL

2014-04-01 Thread Stefano Babic
On 19/03/2014 02:21, Marek Vasut wrote: > Add support for serial console into the i.MX23/i.MX28 SPL. A full, > uncrippled serial console support comes very helpful when debugging > various spectacular hardware bringup issues early in the process. > Because we do not use SPL framework, but have our

Re: [U-Boot] [PATCH 1/2] arm: mxs: Properly set GD pointer in SPL

2014-04-01 Thread Stefano Babic
On 19/03/2014 02:21, Marek Vasut wrote: > Set the GD pointer in the SPL to a defined symbol so various > functions from U-Boot can be used without adverse side effects. > > Signed-off-by: Marek Vasut > Cc: Stefano Babic > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- =

Re: [U-Boot] [PATCH v4 1/2] RiOTboard: add new board

2014-04-01 Thread Stefano Babic
Hi Eric, On 31/03/2014 22:02, Eric Bénard wrote: > Hi Stefano, > > Le Sun, 30 Mar 2014 18:20:49 +0200, > Stefano Babic a écrit : >> A general remark. I agree by reading the whole thread about checking at >> runtime which is the running board (you do it getting the cpu type). >> >> However, you u

Re: [U-Boot] [PATCH v7] socfpga: Adding Scan Manager driver

2014-04-01 Thread Pavel Machek
Hi! > > Actually socfpga board folder includes code to support both Cyclone V > > and Arria V soc dev kit. > > ok. I expect that you are talking about 2 completely different boards > which are here > > http://www.altera.com/products/devkits/altera/kit-cyclone-v-soc.html > http://www.altera.com/

[U-Boot] [PATCH v12 1/8] libc: move strlcpy() from ether.c to string.c

2014-04-01 Thread Kuo-Jung Su
From: Kuo-Jung Su It would be better to have strlcpy() moved to lib/string.c, so that it could be reused by others without enabling USB Gadget Ethernet. Signed-off-by: Kuo-Jung Su CC: Albert Aribaud CC: Wolfgang Denk Cc: Marek Vasut --- Changes for v12: - Initial commit drivers/usb

[U-Boot] [PATCH v12 0/8] arm: add Faraday SoC platform support

2014-04-01 Thread Kuo-Jung Su
From: Kuo-Jung Su These patches introduce Faraday A369 & Virtual SoC platform support. Here are some public documents for your reference. http://www.faraday-tech.com/html/Product/SoCPlatform/SoCreativeIII.htm http://www.faraday-tech.com/html/documentation/index.html There is also a QEMU

Re: [U-Boot] [PATCH 2/2] arm: mxs: Add serial console support into SPL

2014-04-01 Thread Marek Vasut
On Tuesday, April 01, 2014 at 10:34:38 AM, Stefano Babic wrote: > On 19/03/2014 02:21, Marek Vasut wrote: > > Add support for serial console into the i.MX23/i.MX28 SPL. A full, > > uncrippled serial console support comes very helpful when debugging > > various spectacular hardware bringup issues ea

[U-Boot] [PATCH v12 2/8] arm: add legacy linux clock framework support

2014-04-01 Thread Kuo-Jung Su
From: Kuo-Jung Su This ports the legacy linux clock framework from linux-3.10 (i.e., no common clock support) Please check the list bellow for details: 1. CONFIG_CLKDEV_LOOKUP - Core clock management APIs - clk_get_sys(), clk_put(), clkdev_add(), clkdev_add_table() clkdev_alloc(), cl

[U-Boot] [PATCH v12 4/8] arm: faraday: add FTTMR010 timer suppor

2014-04-01 Thread Kuo-Jung Su
From: Kuo-Jung Su Faraday FTTMR010 is a simple APB device which supports generic timer functions. Signed-off-by: Kuo-Jung Su CC: Albert Aribaud --- Changes for v12: - Rollback to v10. Because we now always have core.[ch] inside arch/arm/cpu/faraday//, so it's no lo

[U-Boot] [PATCH v12 6/8] arm: faraday: add A369 evaluation board support

2014-04-01 Thread Kuo-Jung Su
From: Kuo-Jung Su The A369 is an ARM CPU-based SoC with rich SoC features and convenient FPGA link for building fast system prototyping and mass production. More information about this hardware can be found at: http://www.faraday-tech.com/html/Product/SoCPlatform/SoCreativeIII.htm Signed-off-by

[U-Boot] [PATCH v12 5/8] arm: faraday: add FTPWMTMR010 timer support

2014-04-01 Thread Kuo-Jung Su
From: Kuo-Jung Su Faraday FTPWMTMR010 is a simple APB device which supports both timer and pwm functions. Signed-off-by: Kuo-Jung Su CC: Albert Aribaud --- Changes for v12: - Rollback to v10. Because we now always have core.[ch] inside arch/arm/cpu/faraday//, so it

[U-Boot] [PATCH v12 3/8] arm: add Faraday ARMv5TE platform common libraries

2014-04-01 Thread Kuo-Jung Su
From: Kuo-Jung Su This includes the Faraday ARMv5TE core support and generic clock framework. Here is the list of verified Faraday ARM cores: 1. FA606TE (ARMv5TE, no mmu) 2. FA626TE (ARMv5TE) Signed-off-by: Kuo-Jung Su CC: Albert Aribaud --- Changes for v12: - Add Linux legacy clock

[U-Boot] [PATCH v12 8/8] arm: faraday: add faraday virtual machine support

2014-04-01 Thread Kuo-Jung Su
From: Kuo-Jung Su Faraday Virtual Machine (FVM) is a QEMU based emulator which is designed for early stage software development (i.e., IPL, SPL development). Please check the link bellow for details: https://github.com/dantesu1218/qemu/blob/qemu-1.5.1/hw/arm/faraday_fvm.c Signed-off-by: Kuo-Jun

[U-Boot] [PATCH v12 7/8] arm: faraday: add missing header file for FTSDC021

2014-04-01 Thread Kuo-Jung Su
From: Kuo-Jung Su For the Faraday FTSDC021 (SDHCI) controller driver source is sent out before the patches for Faraday Virtual Machine (FVM) which actually uses this chip. So its header file (ftsdc021.h) has been accidentally removed by commit 3b98b57fa. This patch simply rollback this removal.

Re: [U-Boot] [PATCH v4 1/2] RiOTboard: add new board

2014-04-01 Thread Eric Bénard
Hi Stefano, Le Tue, 01 Apr 2014 10:41:50 +0200, Stefano Babic a écrit : > On 31/03/2014 22:02, Eric Bénard wrote: > > Le Sun, 30 Mar 2014 18:20:49 +0200, > > Stefano Babic a écrit : > >> A general remark. I agree by reading the whole thread about checking at > >> runtime which is the running boa

Re: [U-Boot] [PATCH 3/3] dfu: Introduction of the "dfu_checksum_method" env variable for checksum method setting

2014-04-01 Thread Lukasz Majewski
Hi Tormod, > On Mon, Mar 31, 2014 at 10:44 PM, Lukasz Majewski wrote: > > The DFU 1.1 standard in its appendinx B specifies the DFU suffix. > > It has the crc32 for the whole file, vendorID, device ID and other > > handy fields. > > > > Unfortunately, this part of the standard is not supported nei

Re: [U-Boot] [PATCH 3/3] dfu: Introduction of the "dfu_checksum_method" env variable for checksum method setting

2014-04-01 Thread Lukasz Majewski
Hi Tom, > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 03/31/2014 04:44 PM, Lukasz Majewski wrote: > > On Mon, 31 Mar 2014 14:05:17 -0400 > > Tom Rini wrote: > > > >> On Mon, Mar 31, 2014 at 10:48:49AM +0200, Lukasz Majewski wrote: > >> > >>> Up till now the CRC32 of received data was

Re: [U-Boot] [PATCH v7] socfpga: Adding Scan Manager driver

2014-04-01 Thread Michal Simek
Hi Pavel On 04/01/2014 10:46 AM, Pavel Machek wrote: > Hi! > >>> Actually socfpga board folder includes code to support both Cyclone V >>> and Arria V soc dev kit. >> >> ok. I expect that you are talking about 2 completely different boards >> which are here >> >> http://www.altera.com/products/d

Re: [U-Boot] [PATCH v12 1/8] libc: move strlcpy() from ether.c to string.c

2014-04-01 Thread Marek Vasut
On Tuesday, April 01, 2014 at 10:46:52 AM, Kuo-Jung Su wrote: > From: Kuo-Jung Su > > It would be better to have strlcpy() moved to lib/string.c, > so that it could be reused by others without enabling > USB Gadget Ethernet. > > Signed-off-by: Kuo-Jung Su > CC: Albert Aribaud > CC: Wolfgang De

Re: [U-Boot] [PATCH 3/3] dfu: Introduction of the "dfu_checksum_method" env variable for checksum method setting

2014-04-01 Thread Stefan Schmidt
Hello. On Tue, 2014-04-01 at 11:00, Lukasz Majewski wrote: > Hi Tormod, > > > On Mon, Mar 31, 2014 at 10:44 PM, Lukasz Majewski wrote: > > > The DFU 1.1 standard in its appendinx B specifies the DFU suffix. > > > It has the crc32 for the whole file, vendorID, device ID and other > > > handy field

Re: [U-Boot] [PATCH] ARMv8: fix bug for flush data cache by set/way

2014-04-01 Thread FengHua
> -Original Messages- > From: "Leo Yan" > Sent Time: 2014-03-31 09:11:47 (Monday) > To: u-boot@lists.denx.de, "David Feng" , "Scott Wood" > > Cc: "Leo Yan" > Subject: [PATCH] ARMv8: fix bug for flush data cache by set/way > > When flush the d$ with set/way instruction, it need calcu

Re: [U-Boot] [PATCH v2] powerpc: mpc8xx: delete an unused source file

2014-04-01 Thread Wolfgang Denk
Dear Masahiro Yamada, In message <1396340113-5952-1-git-send-email-yamad...@jp.panasonic.com> you wrote: > References to the wireless keyboard should also be removed > from README.console. Acked-by: Wolfgang Denk thanks a lot! Best regards, Wolfgang Denk -- DENX Software Engineering GmbH,

Re: [U-Boot] [PATCH 3/3] dfu: Introduction of the "dfu_checksum_method" env variable for checksum method setting

2014-04-01 Thread Lukasz Majewski
Hi Stefan, > Hello. > > On Tue, 2014-04-01 at 11:00, Lukasz Majewski wrote: > > Hi Tormod, > > > > > On Mon, Mar 31, 2014 at 10:44 PM, Lukasz Majewski wrote: > > > > The DFU 1.1 standard in its appendinx B specifies the DFU > > > > suffix. It has the crc32 for the whole file, vendorID, device >

Re: [U-Boot] [PATCH v7] socfpga: Adding Scan Manager driver

2014-04-01 Thread Steffen Trumtrar
Hi! On Tue, Apr 01, 2014 at 11:07:45AM +0200, Michal Simek wrote: > Hi Pavel > > On 04/01/2014 10:46 AM, Pavel Machek wrote: > > Hi! > > > >>> Actually socfpga board folder includes code to support both Cyclone V > >>> and Arria V soc dev kit. > >> > >> ok. I expect that you are talking about 2

[U-Boot] [PATCH 1/4] [PATCH] spi: Add ST33ZP24 SPI TPM support

2014-04-01 Thread Jean-Luc BLANC
This driver add support to STMicroelectronics ST33ZP24 SPI TPM. Signed-off-by: Jean-Luc BLANC --- README | 12 + drivers/tpm/Makefile |1 + drivers/tpm/tpm_spi_stm_st33.c | 671 3 files changed, 684 insertions(+)

[U-Boot] tpm: Add ST33ZP24 TPM SPI & SPI drivers

2014-04-01 Thread Jean-Luc BLANC
Hello, This set of patch offer ST33ZP24 TPM support to U-Boot. There is SPI and I2C driver. Best Regards, Jean-Luc BLANC TPM Application STMicroelectronics ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 1/4] [PATCH] spi: Add ST33ZP24 SPI TPM support

2014-04-01 Thread Jean-Luc BLANC
This driver add support to STMicroelectronics ST33ZP24 SPI TPM. Signed-off-by: Jean-Luc BLANC --- README | 12 + drivers/tpm/Makefile |1 + drivers/tpm/tpm_spi_stm_st33.c | 671 3 files changed, 684 insertions(+)

[U-Boot] [PATCH 2/4] spi: ST33ZP24 SPI: Patch driver to support 2 TPMs

2014-04-01 Thread Jean-Luc BLANC
In order to support 2 SPI TPMs on same platform, add spi_select() to tpm command set. Selection is done at driver level to keep compatibility with standard tpm commands. --- README | 13 common/cmd_tpm.c | 31 driv

[U-Boot] tpm: Add ST33ZP24 TPM SPI & SPI drivers

2014-04-01 Thread Jean-Luc BLANC
This set of patch offer ST33ZP24 TPM support to U-Boot. There is SPI and I2C driver. Best Regards, Jean-Luc BLANC TPM Application STMicroelectronics ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 3/4] spi: ST33ZP24 SPI: Patch driver to support hash in locality 4

2014-04-01 Thread Jean-Luc BLANC
Add the support of direct hash function in locality 4. hash_loc4() command added in TPM command set. Signed-off-by: Jean-Luc BLANC --- README |4 common/cmd_tpm.c | 32 drivers/tpm/tpm_spi_stm_st33.c | 18 +++

[U-Boot] [PATCH 2/4] spi: ST33ZP24 SPI: Patch driver to support 2 TPMs

2014-04-01 Thread Jean-Luc BLANC
In order to support 2 SPI TPMs on same platform, add spi_select() to tpm command set. Selection is done at driver level to keep compatibility with standard tpm commands. --- README | 13 common/cmd_tpm.c | 31 driv

[U-Boot] [PATCH 4/4] i2c: Add ST33ZP24 I2C TPM support

2014-04-01 Thread Jean-Luc BLANC
This driver add support to STMicroelectronics ST33ZP24 I2C TPM. Signed-off-by: Jean-Luc BLANC --- README |7 + drivers/tpm/tpm_i2c_stm_st33.c | 659 2 files changed, 666 insertions(+) create mode 100644 drivers/tpm/tpm_i2c_st

Re: [U-Boot] Xilinx Zed Board resets with Master

2014-04-01 Thread Michal Simek
Hi Tim, On 03/28/2014 04:20 PM, Tim Sander wrote: > Hi Michal >> On 03/27/2014 05:32 PM, Tim Sander wrote: >>> Hi Michal >>> >>> Am Donnerstag, 27. März 2014, 14:17:41 schrieb Michal Simek: Please check and may be you can try u-boot-dtb.elf. >>> >>> Mh, don't know how to create t

Re: [U-Boot] ahci: Fix cache align error messages

2014-04-01 Thread Roger Quadros
Hi Eli, On 04/01/2014 04:09 PM, Eli Nidam wrote: > Hi Roger, > > In u-boot I tried to run twice the command “scsi init” and on the second time > it’s hung,, > after debug I found the patch ahci: Fix cache align error messages > replace the malloc with ALLOC_CACHE_ALIGN_BUFFER. > And remove the

Re: [U-Boot] ahci: Fix cache align error messages

2014-04-01 Thread Eli Nidam
Hi Roger, I used the definition CONFIG_SYS_DCACHE_OFF (in our u-boot the cache is off) For this reason I didn't get this message. Thanks Eli -Original Message- From: Roger Quadros [mailto:rog...@ti.com] Sent: Tuesday, April 01, 2014 4:41 PM To: Eli Nidam; Rini, Tom Cc: ane...@ti.com;

[U-Boot] [PATCH v5 2/6] lib: uuid: code refactor for proper maintain between uuid bin and string

2014-04-01 Thread Przemyslaw Marczak
Changes in lib/uuid.c to: - uuid_str_to_bin() - uuid_bin_to_str() New parameter is added to specify input/output string format in listed functions This change allows easy recognize which UUID type is or should be stored in given string array. Binary data of UUID and GUID is always stored in big e

[U-Boot] [PATCH v5 3/6] lib: uuid: add functions to generate UUID version 4

2014-04-01 Thread Przemyslaw Marczak
This patch adds support to generate UUID (Universally Unique Identifier) in version 4 based on RFC4122, which is randomly. Source: https://www.ietf.org/rfc/rfc4122.txt Changes: - new configs: - CONFIG_LIB_UUID for compile lib/uuid.c - CONFIG_RANDOM_UUID for functions gen_rand_uuid() and gen_r

[U-Boot] [PATCH v5 4/6] new commands: uuid and guid - generate random unique identifier

2014-04-01 Thread Przemyslaw Marczak
Those commands basis on implementation of random UUID generator version 4 which is described in RFC4122. The same algorithm is used for generation both ids but string representation is different as below. char: 0914 19 24 36 ---- UUID

[U-Boot] [PATCH v5 5/6] cmd:gpt: randomly generate each partition uuid if undefined

2014-04-01 Thread Przemyslaw Marczak
Changes: - randomly generate partition uuid if any is undefined and CONFIG_RAND_UUID is defined - print debug info about set/unset/generated uuid - update doc/README.gpt Signed-off-by: Przemyslaw Marczak Acked-by: Lukasz Majewski Cc: Piotr Wilczek Cc: Tom Rini Cc: Stephen Warren Cc: Lukasz

[U-Boot] [PATCH v5 6/6] trats/trats2: enable CONFIG_RANDOM_UUID

2014-04-01 Thread Przemyslaw Marczak
This change enables automatically uuid generation by command gpt. In case of updating partitions layout user don't need to care about generate uuid manually. Signed-off-by: Przemyslaw Marczak Cc: Minkyu Kang Cc: Piotr Wilczek Cc: Stephen Warren Cc: Lukasz Majewski Cc: tr...@ti.com --- Chang

[U-Boot] [PATCH] ahci: Fix data abort on multiple scsi resets.

2014-04-01 Thread Roger Quadros
Commit 2faf5fb82ed6 introduced a regression that causes a data abort when running scsi init followed by scsi reset. There are 2 problems with the original commit 1) ALLOC_CACHE_ALIGN_BUFFER() allocates memory on the stack but is assigned to ataid[port] and used by other functions. 2) The function

[U-Boot] [PATCH v5 1/6] part_efi: move uuid<->string conversion functions into lib/uuid.c

2014-04-01 Thread Przemyslaw Marczak
This commit introduces cleanup for uuid library. Changes: - move uuid<->string conversion functions into lib/uuid.c so they can be used by code outside part_efi.c. - rename uuid_string() to uuid_bin_to_str() for consistency with existing uuid_str_to_bin() - add an error return code to uuid_str_

Re: [U-Boot] [PATCH] axs101 - increase EEPROM page write delay from 32 to 64 msec

2014-04-01 Thread Alexey Brodkin
Hi Tom, On Mon, 2014-03-24 at 17:27 +0400, Alexey Brodkin wrote: > With 32 milliseconds delay on some boards EEMPROM got written inconsistently. > With 64 msec all of our existig boards show properly written EEPROM. > > Cc: Tom Rini > > Signed-off-by: Alexey Brodkin > --- > include/configs/ax

[U-Boot] [PATCH] axs101: bump DDR size from 256 to 512 Mb

2014-04-01 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin --- include/configs/axs101.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/axs101.h b/include/configs/axs101.h index 8d03110..c22d6d0 100644 --- a/include/configs/axs101.h +++ b/include/configs/axs101.h @@ -16,7 +16,7 @@ #de

Re: [U-Boot] why not enable ICache in vexpress_aemv8a.h

2014-04-01 Thread York Sun
On 03/30/2014 11:30 PM, tiger...@via-alliance.com wrote: > Hi, fenghua: > I found you defined these marcoes in vexpress_aemv8a.h : > #define CONFIG_SYS_DCACHE_OFF > #define CONFIG_SYS_ICACHE_OFF > > Most ARMv7 platform will enable Icache to make code run faster. > So, why not turn on Icache on ARM

Re: [U-Boot] pull request for u-boot-tegra/master info ARM/master

2014-04-01 Thread Stephen Warren
On 03/26/2014 04:37 PM, Tom Warren wrote: > Albert, > > Please pull u-boot-tegra/master into ARM/master. Thanks! ... > Stephen Warren (1): > ARM: tegra: make all I2C ports open-drain I'd really like this change to make it into 2014.04. Can it please be pulled? _

[U-Boot] [PATCH v2 1/2] lsxl: use 64bit for LBA48 to support 4 TB drives

2014-04-01 Thread Michael Walle
Cc: Prafulla Wadaskar Signed-off-by: Michael Walle --- Changes v2: - none --- include/configs/lsxl.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/lsxl.h b/include/configs/lsxl.h index 2ae8a27..4ad5eb8 100644 --- a/include/configs/lsxl.h +++ b/include/configs/lsxl.h @@

[U-Boot] [PATCH v2 2/2] lsxl: rework boot scripts

2014-04-01 Thread Michael Walle
Move addresses for kernel, ramdisk and fdt blob to own variables. Add dtb blob loading to all existing boot scripts, dtb filenames were taken from vanilla kernel. Introduce new boot script bootcmd_legacy, which only loads a kernel and a ramdisk. Make this the default boot script. This should also r

Re: [U-Boot] [PATCH v3 8/9] spi: davinci: add support for multiple bus and chip select

2014-04-01 Thread Karicheri, Muralidharan
>-Original Message- >From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On >Behalf Of >Karicheri, Muralidharan >Sent: Monday, March 31, 2014 4:10 PM >To: Jagan Teki >Cc: Rini, Tom; u-boot@lists.denx.de; Chang, Rex >Subject: Re: [U-Boot] [PATCH v3 8/9] spi: davinci: ad

[U-Boot] [PATCH v5 3/9] arm: add support for arch timer

2014-04-01 Thread Murali Karicheri
From: Vitaly Andrianov This patch add basic support for the architecture timer found on recent ARMv7 based SoCs. Signed-off-by: Vitaly Andrianov Signed-off-by: Murali Karicheri Acked-by: Tom Rini --- arch/arm/lib/Makefile |1 + arch/arm/lib/arch_timer.c | 58 +++

[U-Boot] [PATCH v5 9/9] k2hk-evm: add configuration for spi1 and spi2 support

2014-04-01 Thread Murali Karicheri
currently only spi0 is enabled on k2hk evm. This configuration update is needed to enable spi1 and spi2. Signed-off-by: Murali Karicheri Acked-by: Tom Rini --- include/configs/k2hk_evm.h |9 + 1 file changed, 9 insertions(+) diff --git a/include/configs/k2hk_evm.h b/include/configs

[U-Boot] [PATCH v5 5/9] i2c, davinci: move i2c_defs.h to the drivers/i2c directory

2014-04-01 Thread Murali Karicheri
This patch moves the davinci i2c_defs.h file to drivers.i2c directory. It will allow to reuse the davinci_i2c driver for TI Keystone2 SOCs. Not used "git mv" command to move the file because small part of it with definitions specific for Davinci SOCs has to remain in the arch/arm/include/asm/arch-

[U-Boot] [PATCH v5 4/9] NAND: DaVinci: allow forced disable of subpage writes

2014-04-01 Thread Murali Karicheri
This patch introduces a configurable mechanism to disable subpage writes in the DaVinci NAND driver. Signed-off-by: Vitaly Andrianov Signed-off-by: Murali Karicheri Acked-by: Tom Rini --- README |5 + drivers/mtd/nand/davinci_nand.c |3 +++ 2 files changed,

[U-Boot] [PATCH v5 1/9] fdt: call ft_board_setup_ex() at the end of image_setup_libfdt()

2014-04-01 Thread Murali Karicheri
From: Vitaly Andrianov The keystone2 SOC requires to fix all 32 bit aliased addresses to their 36 physical format. This has to happen after all fdt nodes are added or modified. Signed-off-by: Vitaly Andrianov Signed-off-by: Murali Karicheri Acked-by: Tom Rini --- common/image-fdt.c|5

[U-Boot] [PATCH v5 0/9] Add support for keystone2 SoC and K2HK EVM

2014-04-01 Thread Murali Karicheri
This patch set add support for Keystone2 SoC and K2HK EVM. Change history: v5 - Rebased to v2014.04-rc3 - Replaced reg_rmw() with clrsetbits_le32() - i2c Makefile update to add davinci_i2c sorted - simplified spi_cs_is_valid() in davinci_spi driver

[U-Boot] [PATCH v5 8/9] spi: davinci: add support for multiple bus and chip select

2014-04-01 Thread Murali Karicheri
Currently davinci spi driver supports only bus 0 cs 0. This patch allows driver to support bus 1 and bus 2 with configurable number of chip selects. Also defaults are selected in a way to avoid regression on other platforms that uses davinci spi driver and has only one spi bus. Signed-off-by: Rex

[U-Boot] [PATCH v5 6/9] i2c, davinci: convert driver to new mutlibus/mutliadapter framework

2014-04-01 Thread Murali Karicheri
From: Vitaly Andrianov - add davinci driver to new multibus/multiadpater support - adapted all config files, which uses this driver Signed-off-by: Vitaly Andrianov Signed-off-by: Murali Karicheri --- arch/arm/cpu/arm926ejs/davinci/dm355.c |2 +- arch/arm/cpu/arm926ejs/davinci/dm3

[U-Boot] [PATCH v5 2/9] tools: mkimage: add support for gpimage format

2014-04-01 Thread Murali Karicheri
This patch add support for gpimage format as a preparatory patch for porting u-boot for keystone2 devices and is based on omapimage format. It re-uses gph header to store the size and loadaddr as done in omapimage.c Signed-off-by: Vitaly Andrianov Signed-off-by: Murali Karicheri Acked-by: Tom Ri

[U-Boot] [PATCH v4 1/2] keystone2: add keystone multicore navigator driver

2014-04-01 Thread Murali Karicheri
From: Vitaly Andrianov Multicore navigator consists of Network Coprocessor (NetCP) and Queue Manager sub system. More details on the hardware can be obtained from the following links:- Network Coprocessor: http://www.ti.com/lit/pdf/sprugz6 Multicore Navigator: http://www.ti.com/lit/pdf/sprugr9

[U-Boot] [PATCH v4 2/2] keystone2: net: add keystone ethernet driver

2014-04-01 Thread Murali Karicheri
Ethernet driver configures the CPSW, SGMI and Phy and uses the the Navigator APIs. The driver supports 4 Ethernet ports and can work with only one port at a time. Port configurations are defined in board.c. Signed-off-by: Vitaly Andrianov Signed-off-by: Murali Karicheri Signed-off-by: WingMan K

[U-Boot] [PATCH v4 0/2] Add keystone network driver

2014-04-01 Thread Murali Karicheri
This patch set add support for keystone network driver. Change history: v4 - replaced reg_rmw() with clrsetbits_le32() and similar for clr/set functions v3 - Review comments against the previous version except phylib support. I have

Re: [U-Boot] pull request for u-boot-tegra/master info ARM/master

2014-04-01 Thread Albert ARIBAUD
Hi Stephen, On Tue, 01 Apr 2014 10:33:20 -0600, Stephen Warren wrote: > On 03/26/2014 04:37 PM, Tom Warren wrote: > > Albert, > > > > Please pull u-boot-tegra/master into ARM/master. Thanks! > ... > > Stephen Warren (1): > > ARM: tegra: make all I2C ports open-drain > > I'd really like t

Re: [U-Boot] pull request for u-boot-tegra/master info ARM/master

2014-04-01 Thread Albert ARIBAUD
Hi Tom, On Wed, 26 Mar 2014 15:37:07 -0700, Tom Warren wrote: > Albert, > > Please pull u-boot-tegra/master into ARM/master. Thanks! > > ./MAKEALL -s tegra AOK, checkpatch.pl is clean, and ./MAKEALL -a arm only > shows failures that were already present in ARM/master. > > The following change

[U-Boot] [PATCH] drivers/ddr: Fix klockworks warnings

2014-04-01 Thread York Sun
This is a possible out of bounds error, caught by Klockworks. Adding check before using as array index. Klockworks also gives warning when pre-compiling conditions should be used instead of runtime. Signed-off-by: York Sun --- drivers/ddr/fsl/ctrl_regs.c |8 ++-- drivers/ddr/fsl/main.c

Re: [U-Boot] [PATCH 7/10] driver/mtd/spi:Read 8KB data chunk during u-boot load in SPL

2014-04-01 Thread Scott Wood
On Mon, 2014-03-31 at 15:34 +0530, Prabhakar Kushwaha wrote: > SPI driver perform its operation(read/write) on 64KB buffer chunk for data > greater than 64KB. This buffer chunk is allocated from system heap. > > During SPL boot, 768KB of data is read from SPI flash. > Here, heap size may not be su

Re: [U-Boot] [PATCH 5/10] common/env: Point default environment for GD

2014-04-01 Thread Scott Wood
On Mon, 2014-03-31 at 15:34 +0530, Prabhakar Kushwaha wrote: > GD(Global Data) structure has pointer to environment variable array. > but, it always point to default_environment assuming it is running from > final location. > > So update GD pointer with env variable array during SPL boot. > > Sig

Re: [U-Boot] [PATCH 6/10] driver/ifc: define nand_spl_load_image() for SPL

2014-04-01 Thread Scott Wood
On Mon, 2014-03-31 at 15:34 +0530, Prabhakar Kushwaha wrote: > nand_spl_load_image() can also be used for non TPL framework. > > Signed-off-by: Prabhakar Kushwaha > --- > drivers/mtd/nand/fsl_ifc_spl.c |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/mtd/n

Re: [U-Boot] [PATCH 8/10] Makefile: Add support of RAMBOOT_SPLPBL

2014-04-01 Thread Scott Wood
On Mon, 2014-03-31 at 15:35 +0530, Prabhakar Kushwaha wrote: > Objective of this target to have concatenate binary having > - SPL binary in PBL command format > - U-boot binary > > Signed-off-by: Prabhakar Kushwaha > --- > Makefile | 19 +++ > README |4 > 2 files

Re: [U-Boot] NAND SPL on imx6

2014-04-01 Thread Otavio Salvador
Hello Tim, On Thu, Mar 27, 2014 at 2:56 PM, Tim Harvey wrote: > On Mon, Mar 10, 2014 at 11:40 AM, Stefano Babic wrote: >> On 07/03/2014 13:36, Andy Ng wrote: >>> Dear colleagues, >>> >>> Has anyone tried to build NAND SPL support on imx6. Does it work? >>> >> >> SPL support is not yet done for i

Re: [U-Boot] [PATCH 9/10] board/b4qds:Add support of 2 stage NAND boot-loader

2014-04-01 Thread Scott Wood
On Mon, 2014-03-31 at 15:35 +0530, Prabhakar Kushwaha wrote: > +void board_init_f(ulong bootflag) > +{ > + u32 plat_ratio, sys_clk, uart_clk; > + ccsr_gur_t *gur = (void *)CONFIG_SYS_MPC85xx_GUTS_ADDR; > + > + /* Memcpy existing GD at CONFIG_SPL_GD_ADDR */ > + memcpy((void *)CONFIG_

Re: [U-Boot] pull request for u-boot-tegra/master info ARM/master

2014-04-01 Thread Tom Warren
Thanks, Albert! Another PR with Stefan and Stephen's latest Tegra changes should be ready before the end of the week. Tom On Tue, Apr 1, 2014 at 1:11 PM, Albert ARIBAUD wrote: > Hi Tom, > > On Wed, 26 Mar 2014 15:37:07 -0700, Tom Warren > wrote: > > > Albert, > > > > Please pull u-boot-tegra/

Re: [U-Boot] pull request for u-boot-tegra/master info ARM/master

2014-04-01 Thread Stephen Warren
On 04/01/2014 04:26 PM, Tom Warren wrote: > Thanks, Albert! > > Another PR with Stefan and Stephen's latest Tegra changes should be ready > before the end of the week. Well, those other patches (of mine at least) are probably for the next release, so a PR to Albert probably isn't needed before 20

Re: [U-Boot] why not enable ICache in vexpress_aemv8a.h

2014-04-01 Thread TigerLiu
Hi, York: Thanks a lot! I have noted your recent patch about ARMv8 cache flush. Best wishes, ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v5 6/6] trats/trats2: enable CONFIG_RANDOM_UUID

2014-04-01 Thread Minkyu Kang
On 01/04/14 23:30, Przemyslaw Marczak wrote: > This change enables automatically uuid generation by command gpt. > In case of updating partitions layout user don't need to care about > generate uuid manually. > > Signed-off-by: Przemyslaw Marczak > Cc: Minkyu Kang > Cc: Piotr Wilczek > Cc: Step

Re: [U-Boot] [PATCH 7/10] driver/mtd/spi:Read 8KB data chunk during u-boot load in SPL

2014-04-01 Thread Prabhakar Kushwaha
On 4/2/2014 3:32 AM, Scott Wood wrote: On Mon, 2014-03-31 at 15:34 +0530, Prabhakar Kushwaha wrote: SPI driver perform its operation(read/write) on 64KB buffer chunk for data greater than 64KB. This buffer chunk is allocated from system heap. During SPL boot, 768KB of data is read from SPI fla

Re: [U-Boot] [PATCH 5/10] common/env: Point default environment for GD

2014-04-01 Thread Prabhakar Kushwaha
On 4/2/2014 3:34 AM, Scott Wood wrote: On Mon, 2014-03-31 at 15:34 +0530, Prabhakar Kushwaha wrote: GD(Global Data) structure has pointer to environment variable array. but, it always point to default_environment assuming it is running from final location. So update GD pointer with env variabl

Re: [U-Boot] [PATCH 8/10] Makefile: Add support of RAMBOOT_SPLPBL

2014-04-01 Thread Prabhakar Kushwaha
On 4/2/2014 3:35 AM, Scott Wood wrote: On Mon, 2014-03-31 at 15:35 +0530, Prabhakar Kushwaha wrote: Objective of this target to have concatenate binary having - SPL binary in PBL command format - U-boot binary Signed-off-by: Prabhakar Kushwaha --- Makefile | 19 +++ R

Re: [U-Boot] [PATCH 9/10] board/b4qds:Add support of 2 stage NAND boot-loader

2014-04-01 Thread Prabhakar Kushwaha
On 4/2/2014 3:42 AM, Scott Wood wrote: On Mon, 2014-03-31 at 15:35 +0530, Prabhakar Kushwaha wrote: +void board_init_f(ulong bootflag) +{ + u32 plat_ratio, sys_clk, uart_clk; + ccsr_gur_t *gur = (void *)CONFIG_SYS_MPC85xx_GUTS_ADDR; + + /* Memcpy existing GD at CONFIG_SPL_GD_A

[U-Boot] [PATCH 0/2] Add workaround for Cortex-A9 errata

2014-04-01 Thread nitin.garg
From: Nitin Garg These patches implement workaround for 2 Cortex-A9 erratas. Nitin Garg (2): ARM: Add workaround for Cortex-A9 errata 794072 ARM: Add workaround for Cortex-A9 errata 761320 README |2 ++ arch/arm/cpu/armv7/start.S | 10 ++ 2 files changed,

[U-Boot] [PATCH 1/2] ARM: Add workaround for Cortex-A9 errata 794072

2014-04-01 Thread nitin.garg
From: Nitin Garg A short loop including a DMB instruction might cause a denial of service on another processor which executes a CP15 broadcast operation. Exists on r1, r2, r3, r4 revisions. Signed-off-by: Nitin Garg --- README |1 + arch/arm/cpu/armv7/start.S |5 +++

[U-Boot] [PATCH 2/2] ARM: Add workaround for Cortex-A9 errata 761320

2014-04-01 Thread nitin.garg
From: Nitin Garg Full cache line writes to the same memory region from at least two processors might deadlock the processor. Exists on r1, r2, r3 revisions. Signed-off-by: Nitin Garg --- README |1 + arch/arm/cpu/armv7/start.S |5 + 2 files changed, 6 insertions

  1   2   >