Re: [U-Boot] [PATCH V4 1/3] eMMC: add support for operations in RPMB partition

2014-04-23 Thread Wolfgang Denk
Dear Pierre Aubert, In message <1398321641-7113-2-git-send-email-p.aub...@staubli.com> you wrote: > This patch adds functions for read, write and authentication > key programming for the Replay Protected Memory Block partition > in the eMMC. > > Changes in V2: > - use ALLOC_CACHE_ALIGN_BUFFER in

[U-Boot] [PATCH V4 3/3] eMMC: cmd_mmc.c adds the 'rpmb' sub-command for the 'mmc' command

2014-04-23 Thread Pierre Aubert
This sub-command adds support for the RPMB partition of an eMMC: * mmc rpmb key Programs the authentication key in the eMMC This key can not be overwritten. * mmc rpmb read <#count> [address of key] Reads <#count> blocks of 256 bytes in the RPMB partition beginning at block number . If t

[U-Boot] [PATCH V4 2/3] Add the function 'confirm_yesno' for interactive

2014-04-23 Thread Pierre Aubert
User's confirmation is asked in different commands. This commit adds a function for such confirmation. Signed-off-by: Pierre Aubert --- common/cmd_fuse.c | 11 ++- common/cmd_nand.c | 16 +--- common/cmd_otp.c | 18 +++--- common/console.c | 28 +

[U-Boot] [PATCH V4 0/3] eMMC: support for Read Protected Memory Block (RPMB)

2014-04-23 Thread Pierre Aubert
This serie of patches adds some functions and a sub-command of 'mmc' for programming the authentication key and for reading and writing the RPMB partition of an eMMC according to the JEDEC standard No. 64-A441 The sub-command rpmb is enabled by the flag CONFIG_SUPPORT_EMMC_RPMB defined in the b

[U-Boot] [PATCH V4 1/3] eMMC: add support for operations in RPMB partition

2014-04-23 Thread Pierre Aubert
This patch adds functions for read, write and authentication key programming for the Replay Protected Memory Block partition in the eMMC. Changes in V2: - use ALLOC_CACHE_ALIGN_BUFFER in rpmb.c instead of a static buffer for the RPMB frames. Signed-off-by: Pierre Aubert CC: Pantelis Antoniou

Re: [U-Boot] [PATCH] powerpc: Increase u-boot size for selected boards

2014-04-23 Thread Dirk Eibach
NAK for dlvision, io, iocon and neo. Flash partition layout does not allow changing CONFIG_SYS_TEXT_BASE. I will try to come up with a different solution for these boards. Cheers Dirk 2014-04-23 23:36 GMT+02:00 York Sun : > These boards have compiling error with latest change in u-boot. The image

Re: [U-Boot] [RFC PATCH 1/2] mkimage: add atmelimage

2014-04-23 Thread Andreas Bießmann
Hi Bo, On 24.04.14 05:09, Bo Shen wrote: > Hi Andreas, > > On 04/23/2014 10:29 PM, Andreas Bießmann wrote: >> +static void atmel_set_header(void *ptr, struct stat *sbuf, int ifd, >> +struct image_tool_params *params) >> +{ >> +/* just save the image size into 6'th interrupt ve

Re: [U-Boot] [PATCH 07/11] MX6: use macro building for MX6Q/MX6DL iomux regs

2014-04-23 Thread Tim Harvey
On Wed, Apr 23, 2014 at 10:07 AM, Stefano Babic wrote: > Hi Tim, hi Nikita, > > On 10/04/2014 16:08, Nikita Kiryanov wrote: > >>> The cfg files are currently all written to use the IOMUX register >>> names as MX6_ (no Q vs DL) so that a single cfg file can be used for a >>> build-time configurati

[U-Boot] [PATCH 02/11] Do not apply: tools: add genkconfig

2014-04-23 Thread Masahiro Yamada
Do not apply this patch to the main line What is this tool? -- This tool converts boards.cfg to defconfig and Kconfig files. It automatically generates - arch/${ARCH}/Kconfig - board/Kconfig

[U-Boot] [PATCH 10/11] kbuild: remove CONFIG_SPL/CONFIG_TPL definition in config headers

2014-04-23 Thread Masahiro Yamada
CONFIG_SPL and CONFIG_TPL are defined in Kconfig. Remove the redundant definition in config headers. Signed-off-by: Masahiro Yamada --- include/configs/BSC9131RDB.h | 1 - include/configs/BSC9132QDS.h | 1 - include/configs/C29XPCIE.h | 2 -- include/configs/MPC

[U-Boot] [PATCH 07/11] MAKEALL: adjust for Kconfig

2014-04-23 Thread Masahiro Yamada
Use "make _defconfig" instead of "make _config". WARNING This adjustment is not enough. MAKEALL should parse defconfig files instead of boards.cfg. This commit has not got this rework done yet. Signed-off-by: Masahiro Yamada --- MAKEALL | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(

[U-Boot] [PATCH 09/11] kconfig: delete redundant CONFIG_${ARCH} definition

2014-04-23 Thread Masahiro Yamada
CONFIG_${ARCH} is defined by Kconfig. Signed-off-by: Masahiro Yamada --- arch/arc/config.mk | 2 +- arch/arm/config.mk | 2 +- arch/avr32/config.mk | 1 - arch/blackfin/config.mk | 1 - arch/m68k/config.mk | 2 +-

[U-Boot] [PATCH 05/11] include: define CONFIG_SPL and CONFIG_TPL as 1

2014-04-23 Thread Masahiro Yamada
We are about to switch to Kconfig in the next commit. But there are something to get done beforehand. In Kconfig, include/generated/autoconf.h defines boolean CONFIG macros as 1. CONFIG_SPL and CONFIG_TPL, if defined, must be defined as 1. Otherwise, when switching to Kconfig, the build log would

[U-Boot] [PATCH 11/11] kconfig: remove old script

2014-04-23 Thread Masahiro Yamada
mkconfig is no longer used in Kconfig. Signed-off-by: Masahiro Yamada --- mkconfig | 192 --- 1 file changed, 192 deletions(-) delete mode 100755 mkconfig diff --git a/mkconfig b/mkconfig deleted file mode 100755 index cd911a9..0

[U-Boot] [PATCH 06/11] kconfig: switch to Kconfig

2014-04-23 Thread Masahiro Yamada
This commit enables Kconfig. Going forward, we use Kconfig for board configuration. mkconfig will never be used. Nor will include/config.mk be generated. Kconfig must be adjusted for U-Boot because our situation is a little more complicated than Linux Kernel. We have to generate 3 images at most:

[U-Boot] [PATCH 04/11] kconfig: add basic Kconfig files

2014-04-23 Thread Masahiro Yamada
This commit adds more Kconfig files, which were written by hand. Signed-off-by: Masahiro Yamada --- Kconfig | 47 +++ arch/Kconfig | 66 2 files changed, 113 insertions(+) create mode 1006

[U-Boot] [PATCH 08/11] buildman: adjust for Kconfig

2014-04-23 Thread Masahiro Yamada
Use "make _defconfig" instead of "make _config". WARNING This adjustment is not enough. MAKEALL should parse defconfig files instead of boards.cfg. This commit has not got this rework done yet. Signed-off-by: Masahiro Yamada --- tools/buildman/board.py | 2 +- tools/buildman/builder.py | 6 +

Re: [U-Boot] [PATCH 10/11] ventana: auto-configure for IMX6Q vs IMX6DL

2014-04-23 Thread Tim Harvey
On Wed, Apr 23, 2014 at 10:31 AM, Stefano Babic wrote: > > On 03/04/2014 08:01, Tim Harvey wrote: > > use the new iomux function and a macro to create a multi-dimensional array > > of iomux values without duplicating the defintions. > > > > Signed-off-by: Tim Harvey > > --- > > board/gateworks/g

[U-Boot] [Port] Ecounter a problem while Compiling uboot with android toolchain

2014-04-23 Thread liu tao
Hi all, When I commpile uboot with android toolchain, I encounter a problem: "u-boot contains unexpected relocations:make V=132 R_ARM_RELATIVE" Below is my steps: # arm-linux-androideabi-gcc -v Using built-in specs. COLLECT_GCC=arm-linux-androideabi-gcc COLLECT_LTO_WRAPPER=/home/lt

[U-Boot] [PATCH v2] powerpc/t208x: enable errata A006261, A006593, A006379

2014-04-23 Thread Shengzhou Liu
Enable errata A006261, A006593, A006379 for T208x. Additionally enable CONFIG_CMD_ERRATA for T2080RDB. Signed-off-by: Shengzhou Liu --- v2: rebase to latest 'master', and update has_erratum_a006261. arch/powerpc/include/asm/config_mpc85xx.h | 3 +++ arch/powerpc/include/asm/fsl_errata.h | 3

[U-Boot] [PATCH 4/4] ARM: atmel: at91sam9x5ek: convert to generic board

2014-04-23 Thread Bo Shen
Enable CONFIG_SYS_GENERIC_BOARD, so that we get rid of the following warning on boot: "Warning: Your board does not use generic board. Please read doc/README.generic-board and take action. Boards not upgraded by the late 2014 may break or be removed." Signed-off-by: Bo Shen --- include/configs

[U-Boot] [PATCH 2/4] ARM: atmel: sama5d3_xplained: convert to generic board

2014-04-23 Thread Bo Shen
Enable CONFIG_SYS_GENERIC_BOARD, so that we get rid of the following warning on boot: "Warning: Your board does not use generic board. Please read doc/README.generic-board and take action. Boards not upgraded by the late 2014 may break or be removed." Signed-off-by: Bo Shen --- include/configs

[U-Boot] [PATCH 3/4] ARM: atmel: at91sam9m10g45ek: convert to generic board

2014-04-23 Thread Bo Shen
Enable CONFIG_SYS_GENERIC_BOARD, so that we get rid of the following warning on boot: "Warning: Your board does not use generic board. Please read doc/README.generic-board and take action. Boards not upgraded by the late 2014 may break or be removed." Signed-off-by: Bo Shen --- include/configs

[U-Boot] [PATCH 1/4] ARM: atmel: sama5d3xek: convert to generic board

2014-04-23 Thread Bo Shen
Enable CONFIG_SYS_GENERIC_BOARD, so that we get rid of the following warning on boot: "Warning: Your board does not use generic board. Please read doc/README.generic-board and take action. Boards not upgraded by the late 2014 may break or be removed." Signed-off-by: Bo Shen --- include/configs

[U-Boot] tps6586x: staticize funtions

2014-04-23 Thread Manish Badarkhe
Make funtions static which are locally used in file. Signed-off-by: Manish Badarkhe --- :100644 100644 704c243... d29d969... M drivers/power/tps6586x.c drivers/power/tps6586x.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/power/tps6586x.c b/drivers/power/tp

Re: [U-Boot] [RFC PATCH 2/2] arm:at91: enable ROM loadable atmel image

2014-04-23 Thread Bo Shen
Hi Andreas, On 04/23/2014 10:29 PM, Andreas Bießmann wrote: For sama5d3xek we need to modify the SPL image for correct detection by ROM code. Signed-off-by: Andreas Bießmann For whole series, Tested-by: Bo Shen --- arch/arm/cpu/armv7/at91/config.mk | 10 ++ spl/Makefile

Re: [U-Boot] [RFC PATCH 1/2] mkimage: add atmelimage

2014-04-23 Thread Bo Shen
Hi Andreas, On 04/23/2014 10:29 PM, Andreas Bießmann wrote: +static void atmel_set_header(void *ptr, struct stat *sbuf, int ifd, + struct image_tool_params *params) +{ + /* just save the image size into 6'th interrupt vector */ + uint32_t *ints = (uint32

Re: [U-Boot] [RFC PATCH 0/2] Add atmel ROM code image

2014-04-23 Thread Bo Shen
Hi Andreas, Thanks for your work. On 04/23/2014 10:29 PM, Andreas Bießmann wrote: This series add atmelimage support to mkimage. An atmelimage is a quite dumb image type cause it has no real header. The file is mostly unmodified but the 6'th ARM vector gets replaced by the image size to load.

Re: [U-Boot] [PATCH] sandbox: move source files from board/ to arch/sandbox/

2014-04-23 Thread Masahiro Yamada
Hi Simon, On Wed, 23 Apr 2014 09:04:20 -0600 Simon Glass wrote: > Hi Masahiro, > > On 21 April 2014 19:00, Masahiro Yamada wrote: > > Hi Simon, > > > > > > On Mon, 21 Apr 2014 15:02:20 -0600 > > Simon Glass wrote: > > > >> Hi Masahiro, > >> > >> On 21 April 2014 03:39, Masahiro Yamada wrote:

Re: [U-Boot] [RFC PATCH 1/3] env: drop CONFIG_ENV_VARS_UBOOT_CONFIG support

2014-04-23 Thread Masahiro Yamada
Hi Stephen, On Wed, 23 Apr 2014 10:08:49 -0600 Stephen Warren wrote: > On 04/23/2014 06:03 AM, Masahiro Yamada wrote: > > On Tue, 22 Apr 2014 14:13:44 +0200 > > Wolfgang Denk wrote: > >> In message <1398159826-29398-2-git-send-email-yamad...@jp.panasonic.com> > >> you wrote: > >>> CONFIG_ENV_V

Re: [U-Boot] [RFC PATCH 1/3] env: drop CONFIG_ENV_VARS_UBOOT_CONFIG support

2014-04-23 Thread Masahiro Yamada
Hi Wolfgang, On Wed, 23 Apr 2014 21:13:44 +0200 Wolfgang Denk wrote: > Dear Masahiro, > > In message <20140423210335.18ee.aa925...@jp.panasonic.com> you wrote: > > > > > Finally, I don't see what your replacement code would be to create the > > > set of environment settigns - and I think thes

Re: [U-Boot] [PATCH v2 0/9] Refactoring and Endian bug fixes of fdt_support

2014-04-23 Thread Masahiro Yamada
Hi Jerry Van Baren, On Fri, 18 Apr 2014 17:40:56 +0900 Masahiro Yamada wrote: > > > Masahiro Yamada (9): > fdt_support: delete unnecessary DECLARE_GLOBAL_DATA_PTR > fdt_support: refactor with fdt_find_or_add_subnode helper func > fdt_support: delete force argument of fdt_initrd() > f

[U-Boot] [GIT PULL] u-boot-mpc83xx: add support for the ids8313 board

2014-04-23 Thread Kim Phillips
Hi Tom, Please pull support for the ids8313 board: The following changes since commit adcdeacc3eda1e5949e54062aa99c299e12483be: Merge branch 'master' of git://git.denx.de/u-boot-mips (2014-04-23 11:07:11 -0400) are available in the git repository at: git://git.denx.de/u-boot-mpc83xx.git

[U-Boot] Please pull u-boot-mpc85xx master

2014-04-23 Thread York Sun
Tom, The following changes since commit b149c4c399b111cec1ff7505ca9fabbeeb4fe394: ARM:tegra20: Remove aes debug prints (2014-04-18 16:14:17 -0400) are available in the git repository at: git://git.denx.de/u-boot-mpc85xx.git master for you to fetch changes up to 08ad9b068afb8842df4cd559c327

Re: [U-Boot] [PATCH 1/2] mpc85xx: Add deep sleep support on T1040QDS

2014-04-23 Thread York Sun
On 04/17/2014 12:33 AM, Tang Yuantian wrote: > From: Tang Yuantian > > Add deep sleep support on T1040QDS platform. > > Signed-off-by: Tang Yuantian > --- Applied to u-boot-mpc85xx/master, thanks. York ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH] mpc85xx: Add deep sleep support on T104xRDB

2014-04-23 Thread York Sun
On 04/17/2014 12:33 AM, Tang Yuantian wrote: > From: Tang Yuantian > > Add deep sleep support on T104xRDB platforms. > > Signed-off-by: Tang Yuantian > --- Applied to u-boot-mpc85xx/master, thanks. York ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 1/2 v2] mpc85xx: Add support for the supplement configuration unit register

2014-04-23 Thread York Sun
On 03/26/2014 01:08 AM, Tang Yuantian wrote: > From: Tang Yuantian > > The supplement configuration unit (SCFG) provides chip-specific > configuration and status registers for the device. It is the chip > defined module for extending the device configuration unit (DCFG) > module. It provides a se

Re: [U-Boot] [PATCH v4] mpc85xx/t104x: Add deep sleep framework support

2014-04-23 Thread York Sun
On 04/17/2014 12:33 AM, Tang Yuantian wrote: > From: Tang Yuantian > > When T104x soc wakes up from deep sleep, control is passed to the > primary core that starts executing uboot. After re-initialized some > IP blocks, like DDRC, kernel will take responsibility to continue > to restore environme

Re: [U-Boot] [PATCH] ar8031: modify the config func of ar8031 to ar8021_config

2014-04-23 Thread York Sun
On 04/20/2014 07:29 PM, Zhao Qiang wrote: > ar8031 has the same config steps with ar8021, so change its > config func to ar8021_config instead of genphy_config. > > Signed-off-by: Zhao Qiang > --- Applied to u-boot-mpc85xx/master, thanks. York ___ U

Re: [U-Boot] [PATCH 2/3 v2] board/t208xrdb: Add support of 2-stage NAND/SPI/SD boot

2014-04-23 Thread York Sun
On 04/18/2014 01:43 AM, Shengzhou Liu wrote: > Add support of 2-stage NAND/SPI/SD boot loader using SPL framework. > PBL initializes the internal CPC-SRAM and copy SPL(160K) to it, > SPL further initializes DDR using SPD and environment and copy > u-boot(768K) from SPI/SD/NAND to DDR, finally SPL t

Re: [U-Boot] [PATCH 1/3 v2] board/t208xqds: Add support of 2-stage NAND/SPI/SD boot

2014-04-23 Thread York Sun
On 04/18/2014 01:43 AM, Shengzhou Liu wrote: > Add support of 2-stage NAND/SPI/SD boot loader using SPL framework. > PBL initializes the internal CPC-SRAM and copy SPL(160K) to it, > SPL further initializes DDR using SPD and environment and copy > u-boot(768 KB) from SPI/SD/NAND to DDR, finally SPL

Re: [U-Boot] [PATCH 3/3 v2] board/t2080rdb: some update for t2080rdb

2014-04-23 Thread York Sun
On 04/18/2014 01:43 AM, Shengzhou Liu wrote: > - update readme. > - add CONFIG_SYS_CORTINA_FW_IN_* for loading Cortina PHY CS4315 > ucode from NOR/NAND/SPI/SD/REMOTE. > - update cpld vbank with SW3[5:7]=000 as default vbank0 instead of > previous SW3[5:7]=111 as default vbank. > - fix CONFIG_SY

Re: [U-Boot] [PATCH][v2] powerpc/mpc85xx: Add Differential SYSCLK config support T1040

2014-04-23 Thread York Sun
On 04/15/2014 02:14 AM, Nikhil Badola wrote: > Adds support for clock sourcing from sysclk(100MHz) for usb > on T104xRDB and T1040QDS. This requires changing reference divisor > and multiplication factor to derive usb clock from sysclk. > > Signed-off-by: Nikhil Badola > --- > Dependency on

Re: [U-Boot] [PATCH] powerpc/85xx: Enhance get_sys_info() to check clocking mode

2014-04-23 Thread York Sun
On 04/14/2014 11:04 PM, Vijay Rai wrote: > T1040 and it's variants provide "Single Oscillator Source" Reference Clock > Mode. > > In this mode, single onboard oscillator(DIFF_SYSCLK) can provide the > reference clock > (100MHz) to the following PLLs: > • Platform PLL > • Core PLLs > • USB PLL >

Re: [U-Boot] [PATCH] powerpc/t1040rdb: added a break in switch case

2014-04-23 Thread York Sun
On 04/10/2014 09:12 PM, shh@gmail.com wrote: > From: Shaohui Xie > > There should be a break for case PHY_INTERFACE_MODE_SGMII, otherwise it > will fall into case PHY_INTERFACE_MODE_RGMII. > > Signed-off-by: Shaohui Xie > --- Applied to u-boot-mpc85xx/master, thanks. York __

Re: [U-Boot] [PATCH] Powerpc/mpc8536DS: Increase SPI/SD uboot Image size to 768K

2014-04-23 Thread York Sun
On 04/09/2014 08:16 PM, Haijun Zhang wrote: > u-boot binary size for Freescale mpc8536DS platforms is 512KB. > This has been reached to upper limit of the platforms and causig > linker error. So increase the u-boot binary size to 768KB. > > Signed-off-by: Haijun Zhang > --- Applied to u-boot-mpc

Re: [U-Boot] [Patch v2] drivers/ddr: Fix possible out of bounds error

2014-04-23 Thread York Sun
On 04/16/2014 06:31 PM, York Sun wrote: > This is a theoretical possible out of bounds error in DDR driver. Adding > check before using array index. Also change some runtime conditions to > pre-compiling conditions. > > Signed-off-by: York Sun > --- > Change log: > v2: Revise subject and commit

Re: [U-Boot] [PATCH] net/phy: Fix PHY id for VSC8514

2014-04-23 Thread York Sun
On 03/26/2014 09:13 AM, Codrin Ciubotariu wrote: > In the current Datasheet for VSC8514 there is a mistake, saying that > the PHY id is 0x70570. The real value in the identifier registers is > 0x70670. Linux PHY driver uses 0x70670 also. > > Signed-off-by: Codrin Ciubotariu > Cc: York Sun > ---

Re: [U-Boot] [PATCH] powerpc/85xx: Fix e6500 L2 cache stash IDs

2014-04-23 Thread York Sun
On 03/26/2014 06:30 PM, Scott Wood wrote: > The value written to L2CSR1 didn't match the value written to the > device tree. > > Signed-off-by: Scott Wood > --- Applied to u-boot-mpc85xx/master, thanks. York ___ U-Boot mailing list U-Boot@lists.denx

Re: [U-Boot] [PATCH] driver/fsl_ifc: Add a function to finalize CS0 address binding

2014-04-23 Thread York Sun
On 03/19/2014 01:52 PM, York Sun wrote: > For fsl-lsch3 NOR flash boot, IFC CS0 needs to be binded with address > within 32-bit at fist. After u-boot relocates to DDR, CS0 can be binded > to higher address to support large space. > > Signed-off-by: York Sun > CC: Prabhakar Kushwaha > --- Applie

Re: [U-Boot] [PATCH] fsl/usb: Fix phy type for Second USB controller

2014-04-23 Thread York Sun
On 12/18/2013 09:38 PM, Nikhil Badola wrote: > Set correct phy_type value for second USB controller. > This is required for supporting SOCs having 2 USB controllers > working simultaneously, one with UTMI phy and other with ULPI phy > > Signed-off-by: Nikhil Badola > --- Applied to u-boot-mpc85

Re: [U-Boot] [PATCH 3/4] powerpc/mpc85xx: SECURE BOOT- Add secure boot target for T2080QDS

2014-04-23 Thread York Sun
On 03/18/2014 11:10 AM, Aneesh Bansal wrote: > Secure Boot Target is added for T2080QDS > Changes: > For Secure boot, CPC is configured as SRAM and used as house > keeping area which needs to be disabled. > So CONFIG_SYS_CPC_REINIT_F is defined for CONFIG_T2080QDS. > > Signed-off-by: Aneesh Bansal

Re: [U-Boot] [PATCH 4/4] powerpc/mpc85xx: SECURE BOOT- Add secure boot target for T1040QDS and T1040RDB

2014-04-23 Thread York Sun
On 03/18/2014 11:11 AM, Aneesh Bansal wrote: > Secure Boot Target is added for T1040QDS and T1040RDB > Changes: > For Secure boot, CPC is configured as SRAM and used as house > keeping area which needs to be disabled. > So CONFIG_SYS_CPC_REINIT_F is defined for CONFIG_T1040QDS and > CONFIG_T1040RDB

Re: [U-Boot] [PATCH 2/4] powerpc/mpc85xx: SECURE BOOT- Add secure boot target for T4240QDS and T4160QDS

2014-04-23 Thread York Sun
On 03/18/2014 11:10 AM, Aneesh Bansal wrote: > Secure Boot Target is added for T4240QDS and T4160QDS > Changes: > For Secure boot, CPC is configured as SRAM and used as house > keeping area which needs to be disabled. > So CONFIG_SYS_CPC_REINIT_F is defined for CONFIG_T4240QDS. > > Signed-off-by:

Re: [U-Boot] [PATCH 1/4][v7] powerpc/mpc85xx: SECURE BOOT- Add secure boot target for B4860QDS

2014-04-23 Thread York Sun
On 03/18/2014 11:10 AM, Aneesh Bansal wrote: > Changes: > 1. L2 cache is being invalidated by Boot ROM code for e6500 core. >So removing the invalidation from start.S > 2. Clear the LAW and corresponding configuration for CPC. Boot ROM >code uses it as hosekeeping area. > 3. For Secure boot

Re: [U-Boot] [PATCH] powerpc/mpc85xx: SECURE BOOT- Add NAND secure boot target for BSC9132QDS

2014-04-23 Thread York Sun
On 03/12/2014 09:30 AM, Aneesh Bansal wrote: > In case of secure boot from NAND, the DDR is initialized by the > BootROM using the config words (CF_WORDS) in the CF_HEADER > and u-boot image is copied from NAND to DDR by the BootROM. > So, CONFIG_SYS_RAMBOOT has been defined for Secure Boot from NA

Re: [U-Boot] [PATCH] powerpc/mpc85xx: SECURE BOOT- Add secure boot target for BSC9132QDS

2014-04-23 Thread York Sun
On 03/11/2014 11:37 AM, Aneesh Bansal wrote: > Add NOR, SPI and SD secure boot targets for BSC9132QDS. > > Changes: > - Debug TLB entry is not required for Secure Boot Target. > > Signed-off-by: Aneesh Bansal > --- Applied to u-boot-mpc85xx/master, thanks. York __

Re: [U-Boot] [PATCH][v2] powerpc/mpc8xxx: SECURE BOOT- Disable law 0 for non PBL platforms

2014-04-23 Thread York Sun
On 03/11/2014 10:51 AM, Aneesh Bansal wrote: > ISBC creates a LAW 0 entry for non PBL platforms, which is not > disabled before transferring the control to uboot. > The LAW 0 entry has to be disabled. > > Signed-off-by: Aneesh Bansal > --- Applied to u-boot-mpc85xx/master, thanks. York __

Re: [U-Boot] [PATCH 2/3] powerpc/p1010rdb: SECURE BOOT- enable workaround for IFC errata A003399

2014-04-23 Thread York Sun
On 01/20/2014 01:27 AM, Aneesh Bansal wrote: > The workaround for IFC errata A003399 was not enabled > in case of secure boot. So, secure boot from NOR was not > working. > > Signed-off-by: Aneesh Bansal > --- Applied to u-boot-mpc85xx/master, thanks. York

Re: [U-Boot] [PATCH][v2] powerpc/p1010rdb: SECURE BOOT enabled for NAND

2014-04-23 Thread York Sun
On 03/07/2014 05:42 AM, Aneesh Bansal wrote: > In case of secure boot from NAND, the DDR is initialized by the > BootROM using the config words (CF_WORDS) in the CF_HEADER > and u-boot image is copied from NAND to DDR by the BootROM. > So, CONFIG_SYS_RAMBOOT has been defined for Secure Boot from NA

Re: [U-Boot] [PATCH v7 3/3] T1040QDS/U-QE: Add u-qe support to t1040qds

2014-04-23 Thread York Sun
On 03/21/2014 01:21 AM, Zhao Qiang wrote: > Add u-qe support for t1040qds > > Signed-off-by: Zhao Qiang > --- > Changes for v2: > - modify CONFIG_SYS_QE_FMAN_FW_ADDR to CONFIG_SYS_FMAN_FW_ADDR and > CONFIG_SYS_QE_FW_ADDR > Changes for v3: > - use CONFIG_U_QE instead of CONFIG_PPC_T10

Re: [U-Boot] [PATCH] t1040rdb/qe: add QE support for T1040RDB

2014-04-23 Thread York Sun
On 03/13/2014 07:11 PM, Zhao Qiang wrote: > add CONFIG_QE, CONFIG_U_QE and CONFIG_SYS_QE_FW_ADDR into > "include/configs/T1040RDB.h" > > Signed-off-by: Zhao Qiang > --- Applied to u-boot-mpc85xx/master, thanks. York ___ U-Boot mailing list U-Boot@li

Re: [U-Boot] [PATCH v7 2/3] QE/U-QE: Add U-QE support

2014-04-23 Thread York Sun
On 03/21/2014 01:21 AM, Zhao Qiang wrote: > Modify code to adapt to both u-qe and qe. > > U_QE is a kind of cutted QE. > the differences between U_QE and QE > 1. UCC: U_QE supports 2 UCCs while QE supports up to 8 UCCs. > 2. IMMR: have different immr base addr. > 3. iopin: U_QE d

Re: [U-Boot] [PATCH v7 1/3] QE/FMAN: modify CONFIG_SYS_QE_FMAN_FW_ADDR to CONFIG_SYS_FMAN_FW_ADDR and CONFIG_SYS_QE_FW_ADDR

2014-04-23 Thread York Sun
On 03/21/2014 01:21 AM, Zhao Qiang wrote: > CONFIG_SYS_QE_FMAN_FW_ADDR is used to both Fman and QE for microcode address. > Now using CONFIG_SYS_FMAN_FW_ADDR for Fman microcode address, > and CONFIG_SYS_QE_FW_ADDR for QE microcode address. > > Signed-off-by: Zhao Qiang > --- > Changes for v2: >

Re: [U-Boot] [u-boot-release] [PATCH][v5] board/t104xrdb: Add support of CPLD

2014-04-23 Thread York Sun
On 04/03/2014 04:20 AM, Prabhakar Kushwaha wrote: > T1040RDB and T1042RDB_PI has CPLD. Here CPLD controls board mux/features. > > This support of CPLD includes > - files and register defintion > - Commands to swtich alternate bank and default bank > > Signed-off-by: Prabhakar Kushwaha > --- >

Re: [U-Boot] [PATCH v2] powerpc/cpu/mpc85xx: Add MAC address for layer 2 switch

2014-04-23 Thread York Sun
On 03/28/2014 09:57 AM, Codrin Ciubotariu wrote: > T1040RDB and T1040QDS boards have an integrated l2 switch. > The switch needs a MAC address for Layer 2 protocols > (MSTP, LLDP, LACP, etc). Setting a MAC address on l2switchaddr will add > a MAC in device-tree, under node l2switch. > > Signed-off

Re: [U-Boot] [PATCH] powerpc/T1040: add mtdparts suppport for T104xRDB and T1040QDS

2014-04-23 Thread York Sun
On 04/02/2014 04:56 AM, Prabhakar Kushwaha wrote: > We use dynamical mtdparts partition instead of directly puting > mtd partitions nodes in device tree. > > Signed-off-by: Prabhakar Kushwaha > --- Applied to u-boot-mpc85xx/master, thanks. York ___

Re: [U-Boot] [U-BOOT] [PATCH v3] powerpc/t104xrdb: Unification of T104xRDB header files

2014-04-23 Thread York Sun
On 03/30/2014 11:16 PM, Vijay Rai wrote: > T1040RDB, T1042RDB header files are very similar so merged into new header > file T104xRDB. > T104xRDB header file can support both T1040RDB and T1042RDB_PI header. > > Patch makes following changes > -Update Boards.cfg file for T1040RDB and T1042RDB_PI

Re: [U-Boot] [PATCH 1/2 v2] powerpc/T208xQDS: add mtdparts suppport

2014-04-23 Thread York Sun
On 04/01/2014 11:28 PM, Shengzhou Liu wrote: > We use dynamical mtdparts partition instead of directly puting > mtd partitions nodes in device tree. > > Signed-off-by: Shengzhou Liu > --- > v2: update nand name to u64. > Applied to u-boot-mpc85xx/master, thanks. York _

Re: [U-Boot] [PATCH 2/2 v2] powerpc/T208xRDB: add mtdparts suppport

2014-04-23 Thread York Sun
On 04/01/2014 11:28 PM, Shengzhou Liu wrote: > We use dynamical mtdparts partition instead of directly puting > mtd partitions nodes in device tree. > > Signed-off-by: Shengzhou Liu > --- > v2: update nand name to u64. Applied to u-boot-mpc85xx/master, thanks. York ___

Re: [U-Boot] [PATCH][v2] driver/net/fm/memac_phy: Initialize mdio_clock for SoCs wih FMANv3

2014-04-23 Thread York Sun
On 04/07/2014 10:25 PM, Priyanka Jain wrote: > MDIO clock needs to be initialized in u-boot code for SoCs > having FMAN-v3(v3H or v3L) controller due to below reasons > > -On SoCs that have FMAN-v3H like B4860, default value of > MDIO_CLK_DIV bits in mdio_stat(mdio_cfg) register generates > mdio

Re: [U-Boot] [PATCH] fsl/usb: Increase TXFIFOTHRESH value for usb write in T4 Rev 2.0

2014-04-23 Thread York Sun
On 04/06/2014 08:16 PM, Nikhil Badola wrote: > Increase TXFIFOTHRES field value in TXFILLTUNING register of usb for T4 Rev > 2.0. > This decreases data burst rate with which data packets are posted from the TX > latency FIFO to compensate for latencies in DDR pipeline during DMA. > This avoids Tx

Re: [U-Boot] [PATCH] driver/mmc: fix compile warnings

2014-04-23 Thread York Sun
On 03/31/2014 03:02 AM, Prabhakar Kushwaha wrote: > Fix following compile warnings > fsl_esdhc_spl.c: In function 'mmc_boot': > fsl_esdhc_spl.c:35:10: warning: unused variable 'byte_num' [-Wunused-variable] > fsl_esdhc_spl.c:35:7: warning: unused variable 'i' [-Wunused-variable] > fsl_esdhc_spl.c:3

Re: [U-Boot] powerpc/t208xqds: fix nor chip selection when nand boot

2014-04-23 Thread York Sun
On 03/12/2014 07:19 PM, Shengzhou Liu wrote: > NOR flash is on CS1 instead of CS2 when NAND boot. > So correct NOR chip selection to CS1 from CS2. > > Signed-off-by: Shengzhou Liu > > --- Applied to u-boot-mpc85xx/master, thanks. York ___ U-Boot ma

Re: [U-Boot] [PATCH][v2] board/b4860qds:Slow MDC clock to comply IEEE specs in PBI config

2014-04-23 Thread York Sun
On 03/08/2014 03:15 AM, Prabhakar Kushwaha wrote: > The MDC generate by default value of MDIO_CLK_DIV is too high i.e. higher > than 2.5 MHZ. It violates the IEEE specs. > > So Slow MDC clock to comply IEEE specs > > Signed-off-by: Prabhakar Kushwaha > --- > Changes for v2: Update commit messag

Re: [U-Boot] [PATCH] fsl/usb: Workaround for USB erratum-A007075

2014-04-23 Thread York Sun
On 02/26/2014 04:13 AM, Nikhil Badola wrote: > Put a delay of 5 millisecond after reset so that ULPI phy > gets enough time to come out of reset. Erratum A007075 applies > to following SOCs and their variants, if any > P1010 rev 1.0 > B4860 rev 1.0, 2.0 > P4080 rev 2.0, 3.0

Re: [U-Boot] [PATCH 2/2] mpc85xx/T1040QDS_D4: Add DDR4 support

2014-04-23 Thread York Sun
On 03/27/2014 05:54 PM, York Sun wrote: > T1040QDS_D4 is a variant of T1040QDS, with additional circuit to support > DDR4 memory. > > Signed-off-by: York Sun > --- Applied to u-boot-mpc85xx/master. York ___ U-Boot mailing list U-Boot@lists.denx.de h

Re: [U-Boot] [PATCH 1/2] driver/ddr/fsl: Add DDR4 support to Freescale DDR driver

2014-04-23 Thread York Sun
On 03/27/2014 05:54 PM, York Sun wrote: > Mostly reusing DDR3 driver, this patch adds DDR4 SPD handling, register > calculation and programming. > > Signed-off-by: York Sun > --- Applied to u-boot-mpc85xx/master. York ___ U-Boot mailing list U-Boot@

Re: [U-Boot] [PATCH] powerpc/mpc85xx:Update FM1 clock select and shift for B4420

2014-04-23 Thread York Sun
On 04/20/2014 10:17 PM, Prabhakar Kushwaha wrote: > B4420 is a personality of B4860. > It should have same FM1_CLK_SEK and FM1_CLK_SHIFT as B4860 > > Signed-off-by: Prabhakar Kushwaha > --- Applied to u-boot-mpc85xx/master, thanks. York ___ U-Boot m

Re: [U-Boot] [PATCH] board/t1042rdb_pi: Disable CONFIG_QE and CONFIG_U_QE

2014-04-23 Thread York Sun
On 04/20/2014 10:17 PM, Prabhakar Kushwaha wrote: > T1042RDB_PI board does not have QE connector. > > So disable CONFIG_QE and CONFIG_U_QE for T1042RDB_PI > > Signed-off-by: Prabhakar Kushwaha > --- Applied to u-boot-mpc85xx/master, thanks. York __

Re: [U-Boot] [PATCH 2/2] powerpc/mpc85xx:Update MONITOR_LEN for 768KB u-boot size

2014-04-23 Thread York Sun
On 03/31/2014 03:01 AM, Prabhakar Kushwaha wrote: > U-boot binary size has been increased from 512KB to 768KB. > > So update CONFIG_SYS_MONITOR_LEN to reflect the same. > > Signed-off-by: Prabhakar Kushwaha > --- > include/configs/B4860QDS.h |2 +- > include/configs/BSC9131RDB.h |

Re: [U-Boot] [PATCH] powerpc/mpc85xx: Remove QE firmware copy from NAND

2014-04-23 Thread York Sun
On 04/20/2014 10:16 PM, Prabhakar Kushwaha wrote: > qe_init() does not use data copied from NAND. Thise code is not tested or > complied causing compilation error during NAND boot > > So, remove QE firmware copy from NAND to ddr. > > Signed-off-by: Prabhakar Kushwaha > --- Applied to u-boot-mpc

Re: [U-Boot] [PATCH 01/2] powerpc/mpc85xx:Avoid fix address of bootpg section

2014-04-23 Thread York Sun
On 03/31/2014 03:01 AM, Prabhakar Kushwaha wrote: > It is not necessary for bootpg to be present at text + 512KB. > With increase of u-boot size (768KB), bootpg section's address > cannot be fixed. > > Signed-off-by: Prabhakar Kushwaha > --- Applied to u-boot-mpc85xx/master, thanks. York ___

Re: [U-Boot] [u-boot-release] [PATCH 0/0][v2] powerpc: Add support 2 stage boot loader for corenet platform

2014-04-23 Thread York Sun
On 04/08/2014 06:41 AM, Prabhakar Kushwaha wrote: > > Signed-off-by: Prabhakar Kushwaha > --- > This patch set contains:- > > [PATCH 1/10] powerpc/mpc85xx: Move LAW_EN define outside of config > > [PATCH 2/10] powerpc/mpc85xx: Avoid hardcoding in SPL linker script > > [PATCH 3/10] powerp

Re: [U-Boot] [PATCH v5 0/6] PPC 85xx: Add support for QEMU's ppce500 PV machine

2014-04-23 Thread York Sun
On 04/11/2014 08:09 AM, Alexander Graf wrote: > In QEMU we implement a PV machine type called "ppce500". That board is able > to run any e500+ FSL cores (e500v2, e500mc, e5500, e6500). > > It is heavily inspired by the MPC8544DS SoC and board combination, but > implements only the bare minimum to

Re: [U-Boot] FIT image AES support and PPC4xx/85xx boards

2014-04-23 Thread York Sun
On 04/18/2014 09:04 AM, Tom Rini wrote: > On Fri, Apr 18, 2014 at 08:38:32AM -0700, York Sun wrote: >> On 04/18/2014 05:36 AM, Tom Rini wrote: >>> Hey guys, >>> >>> Adding AES256 support to FIT images means that a handful of boards (ion, >>> MPC8572DS, others) now don't link because of growth in th

[U-Boot] [PATCH] powerpc: Increase u-boot size for selected boards

2014-04-23 Thread York Sun
These boards have compiling error with latest change in u-boot. The image grows and exceeds the preconfigured size. This patch only address the compiling error. It is not verified on the boards. The affected boards are MPC8572DS, dlvision, io, iocon, neo Signed-off-by: York Sun CC: Dirk Eibach

Re: [U-Boot] [RFC PATCH 1/3] env: drop CONFIG_ENV_VARS_UBOOT_CONFIG support

2014-04-23 Thread Wolfgang Denk
Dear Masahiro, In message <20140423210335.18ee.aa925...@jp.panasonic.com> you wrote: > > > Finally, I don't see what your replacement code would be to create the > > set of environment settigns - and I think these are needed, as some > > user defined scripts are processing these? > > The user wh

Re: [U-Boot] [PATCH 07/11] MX6: use macro building for MX6Q/MX6DL iomux regs

2014-04-23 Thread Eric Nelson
Hi Stefano, On 04/23/2014 10:07 AM, Stefano Babic wrote: Hi Tim, hi Nikita, On 10/04/2014 16:08, Nikita Kiryanov wrote: The cfg files are currently all written to use the IOMUX register names as MX6_ (no Q vs DL) so that a single cfg file can be used for a build-time configuration of IMX6Q o

[U-Boot] [PATCH v3 1/2] mtd: nand: omap: add support for BCH16_ECC - NAND driver updates

2014-04-23 Thread Pekon Gupta
This patch add support for BCH16_ECC to omap_gpmc driver. *need to BCH16 ECC scheme* With newer SLC Flash technologies and MLC NAND, and large densities, pagesizes Flash devices have become more suspectible to bit-flips. Thus stronger ECC schemes are required for protecting the data. But stronger

[U-Boot] [PATCH v3 2/2] am335x: update README for BCH16

2014-04-23 Thread Pekon Gupta
updates documentation with explanation on how to select ECC schemes. Signed-off-by: Pekon Gupta --- doc/README.nand | 42 ++ 1 file changed, 42 insertions(+) diff --git a/doc/README.nand b/doc/README.nand index 90d857e..a5d20bc 100644 --- a/doc/README.nan

[U-Boot] [PATCH v3 0/2] mtd: nand: omap: add support for BCH16_ECC

2014-04-23 Thread Pekon Gupta
This patch series should be picked above [1] http://lists.denx.de/pipermail/u-boot/2014-April/177231.html *changes v2 -> v3* - dropped [PATCH] am33xx: elm: add support for BCH16_ECC - ELM driver updates re-using existing code in omap_elm.c - rebased and refreshed above [1] and u-boot-2014.04 - D

Re: [U-Boot] am33xx : bit-flip correction in oob

2014-04-23 Thread Gupta, Pekon
Fixed some copy paste typos in ECC layout below.. >From: Gupta, Pekon >Hello Marek, > >>From: Belisko Marek [mailto:marek.beli...@gmail.com] >> >>CC-ing Pekon Gupta which add those changes in commit: >>6e562b1106ea6afc78752f50925e87e9dd14f8b4 >> >>On Tue, Apr 15, 2014 at 12:47 PM, Belisko Marek

Re: [U-Boot] am33xx : bit-flip correction in oob

2014-04-23 Thread Gupta, Pekon
Hello Marek, >From: Belisko Marek [mailto:marek.beli...@gmail.com] > >CC-ing Pekon Gupta which add those changes in commit: >6e562b1106ea6afc78752f50925e87e9dd14f8b4 > >On Tue, Apr 15, 2014 at 12:47 PM, Belisko Marek >wrote: >> Hi, >> >> we're running 2014.04-rc3 on custom am335x board (same con

Re: [U-Boot] [PATCH] tools: make imxheader size align on page size

2014-04-23 Thread Stefano Babic
Hi Stefan, On 23/04/2014 11:55, Stefan Agner wrote: >> Have you tried to ask Freescale about this issue ? It is quite strage >> and it seems Vybrid-related. > > No not yet. I need to setup an example. However, in the end they will > not change the ROM anyway, especially not on Vybrids already del

Re: [U-Boot] [PATCH 11/11] ventana: switch to SPL

2014-04-23 Thread Stefano Babic
Hi Tim, On 03/04/2014 08:01, Tim Harvey wrote: > Switch to an SPL image. The SPL for Ventana does the following: > - setup i2c and read the factory programmed EEPROM to obtain DRAM config >and model for board-specific calibration data > - configure DRAM per CPU/size/layout/devices/calibratio

Re: [U-Boot] [PATCH 10/11] ventana: auto-configure for IMX6Q vs IMX6DL

2014-04-23 Thread Stefano Babic
On 03/04/2014 08:01, Tim Harvey wrote: > use the new iomux function and a macro to create a multi-dimensional array > of iomux values without duplicating the defintions. > > Signed-off-by: Tim Harvey > --- > board/gateworks/gw_ventana/gw_ventana.c | 497 > > 1 f

Re: [U-Boot] [PATCH 07/11] MX6: use macro building for MX6Q/MX6DL iomux regs

2014-04-23 Thread Stefano Babic
Hi Tim, hi Nikita, On 10/04/2014 16:08, Nikita Kiryanov wrote: >> The cfg files are currently all written to use the IOMUX register >> names as MX6_ (no Q vs DL) so that a single cfg file can be used for a >> build-time configuration of IMX6Q or IMX6DL. > > OK now I understand. It seems to me t

Re: [U-Boot] [PATCH v4 0/5] Android Fastboot support

2014-04-23 Thread Marek Vasut
On Wednesday, April 23, 2014 at 04:36:04 PM, Rob Herring wrote: > On Mon, Apr 21, 2014 at 10:13 AM, Marek Vasut wrote: > > On Friday, April 18, 2014 at 06:14:26 PM, Wolfgang Denk wrote: > >> Dear Rob, > >> > >> In message <1397829272-22266-1-git-send-email-robherri...@gmail.com> you > > > > wrot

[U-Boot] [PATCH] boards.cfg: update highbank maintainer email

2014-04-23 Thread Rob Herring
From: Rob Herring My Calxeda email is gone, so update my email address. Signed-off-by: Rob Herring --- boards.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards.cfg b/boards.cfg index b4203f1..d6eb3ea 100644 --- a/boards.cfg +++ b/boards.cfg @@ -293,7 +293,7 @@ Acti

  1   2   >