Re: [U-Boot] [RFC][PATCH 0/7] TI: OMAP3: Use common config file.

2014-01-24 Thread Enric Balletbo Serra
Hi Tom, 2014/1/6 Tom Rini tr...@ti.com: On Mon, Dec 23, 2013 at 12:11:25PM +0100, Enric Balletbo Serra wrote: 2013/12/6 Enric Balletbo i Serra eballe...@gmail.com: Hi all, Most of the boards based on TI processors uses common configuration files (ti_armv7_common.h,

Re: [U-Boot] [PATCH] ext4fs: Add ext4 extent cache for read operations

2014-01-24 Thread Ionut Nicu
Hi, On 21.01.2014 10:58, Ionut Nicu wrote: +static int __ext4fs_build_extent_cache(struct ext2_data *data, + struct ext4_extent_header *ext_block) { + int blksz = EXT2_BLOCK_SIZE(data); + int log2_blksz = LOG2_BLOCK_SIZE(data) + -

[U-Boot] [PATCH 3/4 v2] SPL: P1022DS: fix the problem booting from spi flash

2014-01-24 Thread ying.zhang
From: Ying Zhang b40...@freescale.com There was no enough memory for malloc in SPL booting from spi flash, so relayout the memory in SPL: reduce the memory for global data from 16K Bytes to 4K Bytes, save the space for malloc. Signed-off-by: Ying Zhang b40...@freescale.com --- Change from v1: -

[U-Boot] [PATCH 1/4 v2] SPL: powerpc: expand SPL's length to 128K

2014-01-24 Thread ying.zhang
From: Ying Zhang b40...@freescale.com 1. The SPL's length of SDCARD boot has not enough,expand the SPL's length to 128K. 2. deleted unused symbol: CONFIG_SYS_RUN_INDDR Signed-off-by: Ying Zhang b40...@freescale.com --- Change from v1: - No change. include/configs/P1022DS.h | 12

[U-Boot] [PATCH 4/4 v2] powerpc: p1010rdb: Enable p1010rdb to start from NAND/SD/SPI flash with SPL

2014-01-24 Thread ying.zhang
From: Ying Zhang b40...@freescale.com In the previous patches, we introduced the SPL/TPL fraamework. For SD/SPI flash booting way, we introduce the SPL to enable a loader stub. The SPL was loaded by the code from the internal on-chip ROM. The SPL initializes the DDR according to the SPD and loads

[U-Boot] [PATCH 2/4 v2] SPL: P2020RDB: fix the problem booting from spi flash

2014-01-24 Thread ying.zhang
From: Ying Zhang b40...@freescale.com There was no enough stack in SPL, so the buffer needed in SPL is to malloc from memory pool and to repalce the temporary variable. Signed-off-by: Ying Zhang b40...@freescale.com --- Change from v1: - The malloc size expand to 364K bytes. common/env_sf.c

[U-Boot] [PATCH] Powerpc/QE: Add QE support for T1040

2014-01-24 Thread Zhao Qiang
T1040 has QE-related addresses different from other boards, modify those addresses value with macro CONFIG_PPC_T1040 and CONFIG_T1040QDS. Add function qe_board_setup to mux the bus to tdm or uart according to hwconfig. Signed-off-by: Jiucheng Xu jiucheng...@freescale.com Signed-off-by: Zhao Qiang

[U-Boot] [PATCH] nds32: add support for leopard and orca board boot flow auto detect

2014-01-24 Thread Andes
From: rick r...@andestech.com hardware difference between leopard and orca as below: flash setting leoaprd orca bank size 32MB64MB bus width 32-bits 16-bits Signed-off-by: rick r...@andestech.com --- arch/nds32/cpu/n1213/ag101/asm-offsets.c |1 +

Re: [U-Boot] [PATCH] config: trats: trats2: extend dfu_alt_info by env update settings

2014-01-24 Thread Jaehoon Chung
Acked-by: Jaehoon Chung jh80.ch...@samsung.com Best Regards, Jaehoon Chung On 01/22/2014 08:08 PM, Przemyslaw Marczak wrote: CC On 01/22/2014 12:02 PM, Przemyslaw Marczak wrote: This change allows updating environment stored on MMC by dfu or thor. New setting: - params.bin mmc 0x38 0x8

[U-Boot] [PATCH v7 06/38] nand-spl: Use scripts/Makefile.build

2014-01-24 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None Makefile | 2 +- nand_spl/board/amcc/acadia/Makefile | 8

[U-Boot] [PATCH v7 23/38] kbuild: move some lines to more suitable place

2014-01-24 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v7: None Changes in v6: - Rebase on the current u-boot/master Changes in v5: None Changes in v4: - Move the line where U_BOOT_VERSION is defined Changes in v3: None Changes in v2: None Makefile | 66

[U-Boot] [PATCH v7 0/38] Switch over to real Kbuild

2014-01-24 Thread Masahiro Yamada
We switched to Kbuild style makefiles at v2014.01-rc1 release. With that modification, we can write makefiles simpler. But it is NOT real Kbuild. We need more progress. As the next step, this series imports (+ adjusts) build scripts from Linux Kernel under scripts/ directory. By applying this

[U-Boot] [PATCH v7 18/38] kbuild: add dummy obj-y to create built-in.o

2014-01-24 Thread Masahiro Yamada
We are going to switch over to Kbuild in upcoming commits. Each makefile must have non-empty obj- or obj-y to generate built-in.o on Kbuild. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in

[U-Boot] [PATCH v7 29/38] examples: move api/ and standalone/ entry to examples/Makefile

2014-01-24 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None Makefile | 5 + examples/Makefile| 9 + examples/api/Makefile|

[U-Boot] [PATCH v7 09/38] Makefile: move BFD_ROOT_DIR to tools/gdb/Makefile

2014-01-24 Thread Masahiro Yamada
BFD_ROOT_DIR is used only in tools/gdb/Makefile Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None config.mk | 23 ---

[U-Boot] [PATCH v7 10/38] kbuild: import Kbuild.include from linux v3.13 tag

2014-01-24 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v7: None Changes in v6: - Import from linux v3.13 Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None scripts/Kbuild.include | 278 + 1 file

[U-Boot] [PATCH v7 02/38] Makefile.host.tmp: add a new script to refactor tools

2014-01-24 Thread Masahiro Yamada
This commit adds scripts/Makefile.host.tmp which will be used in the next commit to convert makefiles under tools/ directory to Kbuild style. Notice this script, scripts/Makefile.host.tmp is temporary. When switching over to real Kbuild, it will be replaced with scripts/Makefile.host of Linux

[U-Boot] [PATCH v7 36/38] board: sandburst: delete FORCEBUILD

2014-01-24 Thread Masahiro Yamada
We had switched to Kbuild, so we do not need to delete sandburst board files at every build. U-Boot conventional build system did not check the update of command line option, -DBUILDUSER. Kbuild can handle it nicely and re-builds object files when command line options are changed. (The file

[U-Boot] [PATCH v7 33/38] kbuild: use scripts/Makefile.clean

2014-01-24 Thread Masahiro Yamada
This commit refactors cleaning targets such as clean, clobber, mrpropper, distclean with scripts/Makefile.clean. By using scripts/Makefile.clean, we can recursively descend into subdirectories and delete generated files there. We do not need add a big list of generated files to the clean target.

[U-Boot] [PATCH v7 25/38] kbuild: move include directives of board configuration files

2014-01-24 Thread Masahiro Yamada
This commit changes the location of include directives of board configuration files. The purpose of this change is: - Slim down $(TOPDIR)/config.mk - Prevent $(TOPDIR)/Makefile from including the same configuration file twice - Do not include include/config.mk multiple times because

[U-Boot] [PATCH v7 07/38] Makfile: move suffix rules to Makefile.build

2014-01-24 Thread Masahiro Yamada
This commit moves suffix rules from config.mk to scripts/Makefile.build, which will allow us to switch smoothly to real Kbuild. Note1: post/lib_powerpc/fpu/Makefile has its own rule to compile C sources. We need to tweak it to keep the same behavior. Note2: There are two file2 with the same

[U-Boot] [PATCH v7 35/38] kbuild: check clean source and generate Makefile for out-of-tree build

2014-01-24 Thread Masahiro Yamada
For out-of-tree build - Check if the source tree is clean - Create a Makefile in the output directory Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: - Newly

[U-Boot] [PATCH v7 14/38] Makefile: move more stuff to top Makefile

2014-01-24 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None Makefile | 20 +--- config.mk | 19 +-- 2 files changed, 18 insertions(+), 21

[U-Boot] [PATCH v7 13/38] Makefile: refactor include path settings

2014-01-24 Thread Masahiro Yamada
This commit merges commonly-used header include paths to UBOOTINCLUDE and NOSTDINC_FLAGS variables, which are placed at the top Makefile. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3:

[U-Boot] [PATCH v7 24/38] kbuild: convert some make rules to Kbuild style

2014-01-24 Thread Masahiro Yamada
We can get Kbuild-ish log style like this: GEN include/autoconf.mk GEN include/autoconf.mk.dep We do not need XECHO any more. And also change checkstack target like Linux Kernel. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v7: None Changes in v6: None

[U-Boot] [PATCH v7 19/38] Makefile: rename scripts/Makefile.build to scripts/Makefile.build.tmp

2014-01-24 Thread Masahiro Yamada
Some build scripts including scripts/Makefile.build will be imported from Linux Kernel in the next commit. We need to adjust them for U-Boot in the following commits. To make it easier for reviewers to track the modification, this commit renames scripts/Makefile.build to

[U-Boot] [PATCH v7 32/38] Makefile: refactor tools-all targets

2014-01-24 Thread Masahiro Yamada
- Move easylogo, gdb tagets to tools/Makefile - Delete gdbtools target (same as gdb) Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v7: None Changes in v6: None Changes in v5: - Revive env target Changes in v4: None Changes in v3: None Changes in v2: None Makefile

[U-Boot] [PATCH v7 22/38] kbuild: delete temporary build scripts

2014-01-24 Thread Masahiro Yamada
We had switched to Kbuild. We do not need old build scripts any more. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None rules.mk | 47

[U-Boot] [PATCH v7 01/38] .gitignore: ingore files generated by Kbuild

2014-01-24 Thread Masahiro Yamada
Ignore generated files by Kbuild such as .*.cmd, *.order, etc. Besides above, - Ignore *.s files We do not need to ignore with file name, asm-offsets.s - Do not ignore *.rej (for quilt) - Ignore backup files, \#*# Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v7:

[U-Boot] [PATCH v7 30/38] kbuild: refactor Makefile and spl/Makefile more

2014-01-24 Thread Masahiro Yamada
This commit refactors rules of directory descending and defines u-boot-dirs and u-boot-all-dirs. (We will need u-boot-all-dirs when using scripts/Makefile.clean) Additionally, rename LIBS-y to libs-y. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v7: None Changes in

[U-Boot] [PATCH v7 38/38] tools/env: cross-compile fw_printenv without setting HOSTCC

2014-01-24 Thread Masahiro Yamada
fw_printenv is a program which mostly runs on the target Linux. Before switching to Kbuild, we needed to set HOSTCC at the command line like this: make HOSTCC=your CC cross-compiler env Going forward we can cross compile it by specifying CROSS_COMPILE: make CROSS_COMPILE=your

[U-Boot] [PATCH v7 05/38] examples: Use scripts/Makefile.build

2014-01-24 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None Makefile | 5 + examples/api/Makefile| 21 +---

[U-Boot] [PATCH v7 11/38] kbuild: Use Kbuild.include

2014-01-24 Thread Masahiro Yamada
This commit adjusts some files to use Kbuild.include. - Use cc-option defined in Kbuild.include (Delete cc-option in config.mk) - Use cc-version defined in (Delete cc-version in config.mk) - Move binutils-version and dtc-version to Kbuild.include by analogy to cc-version This

[U-Boot] [PATCH v7 20/38] kbuild: import more build scripts from Linux v3.13 tag

2014-01-24 Thread Masahiro Yamada
This commit imports build scripts from Linux Kernel v3.13 as they are. I know they include some trailing spaces but I keep intentionally them untouched. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None

[U-Boot] [PATCH v7 27/38] Makefile: remove a cleaning target tidy

2014-01-24 Thread Masahiro Yamada
Before this commit, make tidy did make clean + delete *.depend* files. But, we do not have *.depend* files any more, which means make tidy is the same as make clean. This commit removes the redandant target tidy. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v7: None

[U-Boot] [PATCH v7 28/38] kbuild: change the top Makefile to more Kbuild-ish structure

2014-01-24 Thread Masahiro Yamada
This commit changes the top Makefile to handle various targets nicely. Make targets are divided into four categories: - mixed-targets We can call a configuration target and build targets at one command line like follows: $ make board_name_config u-boot They are handled one

Re: [U-Boot] U-Boot execution sequence

2014-01-24 Thread Fabio Estevam
On Fri, Jan 24, 2014 at 4:14 AM, JYOTI DUBEY jyoti0...@gmail.com wrote: while compiling I got an error System not configured - see README. SO how can I configure it for NItrogen6x board? Please read chapter 4 from board/boundary/nitrogen6x/README Regards, Fabio Estevam

[U-Boot] [PATCH] powerpc/t104xrdb: Update T1040RDB.h in config folder

2014-01-24 Thread Priyanka Jain
-Add usb2 node entry in hwconfig string -Remove controller interleaving from hwconfig string as T1040 has only one DDR conroller -SPI related macros which were earlier under #ifdef CONFIG_SPIFLASH are move outside so that they are defined for all cases as these macros are also used by other

[U-Boot] [PATCH] nitrogen6x: README: Only calling 'make' is enough

2014-01-24 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com No need to pass 'u-boot.imx' as parameter for 'make' because u-boot.imx is built by default. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- board/boundary/nitrogen6x/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[U-Boot] [PATCH v7 31/38] Makefile: Do not pass MTD_VERSION from the top Makefile

2014-01-24 Thread Masahiro Yamada
$(MTD_VERSION) is used in tools/env/Makefile If you specify a variable at a command line like: $ make MTD_VERSION=old env or specify it thru an envrionment variable like: $ export MTD_VERSION=old $ make env it is inherited to the sub-make too. We do not need to pass it from the top Makefile

[U-Boot] [PATCH v7 34/38] kbuild: support simultaneous board configuration and make all

2014-01-24 Thread Masahiro Yamada
This commit fixes two problems: [1] We could not do board configuration and make all in one command line. For example, the following did not work as we expect: $ make sandbox_config all Configuring for sandbox board... make: Nothing to be done for `all'. [2] mixed-target build did not

[U-Boot] [PATCH v7 37/38] kbuild: Do not generate .*.su files at the top directory

2014-01-24 Thread Masahiro Yamada
Without this workaround, you will see a lot of .*.su files at the top directory after building with a compiler which supports -fstack-usage option. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: - Newly

[U-Boot] [PATCH v7 16/38] Makefile: move some flags to examples makefiles

2014-01-24 Thread Masahiro Yamada
This commit moves some flags which are used under examples/ directory only. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None config.mk| 8

[U-Boot] [PATCH v7 15/38] Makefile: move some flags to spl/Makefile

2014-01-24 Thread Masahiro Yamada
Some flags are used for SPL (and TPL) build only. This commit moves them from config.mk to spl/Makefile. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v7 26/38] kbuild: generate {spl, tpl}-autoconf.mk only when it is necessary

2014-01-24 Thread Masahiro Yamada
Before this commit, {spl,tpl}-autoconf.mk was always generated at the top Makefile even if SPL(TPL) build was not selected. This commit moves the build rule of {spl,tpl}-autoconf.mk from the top Makefile to spl/Makefile. It prevents unnecessary {spl,tpl}-autoconf.mk from being generated.

[U-Boot] [PATCH v7 04/38] board: samsung: refactor host programs

2014-01-24 Thread Masahiro Yamada
Some Samsung boards have their own tools under board/samsung/board/tools/. This commit refactor more makefiles with hostprogs-y. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Note1: Samsung boards have tools under board/samsung/board/tools/ and have tools/mkexynosspl.c too. It is

[U-Boot] [PATCH v7 12/38] Makefile: move more flags to the top Makefile

2014-01-24 Thread Masahiro Yamada
Before this commit, most of compiler flags were defined in config.mk. But it is redundant because config.mk is included from all recursive make. This commit moves many complier flags to the top Makefile and export them. And we use new vaiarables to store them: KBUILD_CPPFLAGS, KBUILD_CFLAGS,

[U-Boot] [PATCH v7 08/38] Makefile: move some variable definitions to the top Makefile

2014-01-24 Thread Masahiro Yamada
This commit moves some variable definitions from config.mk to the top Makefile: - HOSTCC, HOSTCFLAGS, HOSTLDFLAGS - AS, LD, CC, CPP, etc. - SHELL (renamed to CONFIG_SHELL) I'd like to slim down config.mk file because it is included from all recursive make. It is redundant to re-define the

[U-Boot] [PATCH v7 03/38] tools: convert makefiles to kbuild style

2014-01-24 Thread Masahiro Yamada
Before this commit, makefiles under tools/ directory were implemented with their own way. This commit refactors them by using hostprogs-y variable. Several C sources have been added to wrap other C sources to simplify Makefile. For example, tools/crc32.c includes lib/crc32.c Signed-off-by:

[U-Boot] [PATCH] nitrogen6x: README: Do not refer to MAINTAINERS file

2014-01-24 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com MAINTAINERS file has been removed from the project. Replace its reference with 'boards.cfg' file instead. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- board/boundary/nitrogen6x/README | 2 +- 1 file changed, 1 insertion(+), 1

[U-Boot] [PATCH] powerpc/mpc85xx: Update serdes protocols for T1040

2014-01-24 Thread Prabhakar Kushwaha
T1040 has only one SerDes block. so update the code accordingly. Also, add support of SerDes Protocol 0x00, 0x06, 0x40, 0x69 0x85, 0xA7 and 0xAA Signed-off-by: Arpit Goel b44...@freescale.com Signed-off-by: Poonam Aggrwal poonam.aggr...@freescale.com Signed-off-by: Priyanka Jain

[U-Boot] [PATCH] boards/t1040qds: Adds ethernet support for T1040

2014-01-24 Thread Prabhakar Kushwaha
Enable entherent for T1040QDS. It enables FM1@DTSEC3, FM1@DTSEC4, FM1@DTSEC5 - Define MDIO related configs - Added eth.c file - Update t1040.c to support RGMII and SGMII - Update t1040qds.c to support ethernet - Define the PHY address Signed-off-by: Arpit Goel b44...@freescale.com

[U-Boot] [RFC PATCH 1/1] Add support for pengwyn board

2014-01-24 Thread micro1183
This patch adds support for the silica pengwyn board with AM335x SoC Signed-off-by: Lothar Felten lothar.fel...@gmail.com --- arch/arm/include/asm/arch-am33xx/ddr_defs.h | 16 ++ board/silica/pengwyn/Makefile | 13 + board/silica/pengwyn/board.c| 245

Re: [U-Boot] [PATCH 0/2] Add External SD Card support for Marvell GplugD

2014-01-24 Thread Prafulla Wadaskar
Hi Ajay, Please avoid re-post with the same subject. I think, Yesterday you posted the same patches. If there is any diff or updates, then you should add next version info to them. Regards... Prafulla . . . -Original Message- From: Ajay Bhargav [mailto:ajay.bhar...@einfochips.com]

Re: [U-Boot] [RFC][PATCH 0/7] TI: OMAP3: Use common config file.

2014-01-24 Thread Tom Rini
On Fri, Jan 24, 2014 at 09:45:36AM +0100, Enric Balletbo Serra wrote: Hi Tom, 2014/1/6 Tom Rini tr...@ti.com: On Mon, Dec 23, 2013 at 12:11:25PM +0100, Enric Balletbo Serra wrote: 2013/12/6 Enric Balletbo i Serra eballe...@gmail.com: Hi all, Most of the boards based on TI

Re: [U-Boot] T4QDS e6500 core and U-Boot 64-bit

2014-01-24 Thread Wolfgang Denk
Dear Danny, In message 52e15bad.1020...@coloradoengineeringinc.com you wrote: Yes - if you add support for 64 bit configurations in general, and for powerpc64 in particular. I don't even have a sense for what would be involved here. How fundamentally would the U-Boot code need to change?

Re: [U-Boot] [PATCH 1/2] cmd_pxe.c add any option for filesystem with sysboot uses generic load

2014-01-24 Thread Wolfgang Denk
Dear Dennis Gilmore, In message 1390501358-4564-2-git-send-email-den...@ausil.us you wrote: Signed-off-by: Dennis Gilmore den...@ausil.us add any option for filesystem with sysboot uses generic load ? I'm sorry, but I cannot understand what this is supposed to mean. +#ifdef

Re: [U-Boot] [PATCH 5/6] ARM: tegra: MASK_BITS_ no longer needs specific values

2014-01-24 Thread Thierry Reding
On Wed, Jan 22, 2014 at 01:20:35PM -0700, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Since all code that sets or interprets MASK_BITS_* now uses the enums to define/compare the values, there is no need for MASK_BITS_* to have a specific integer value. In fact, having a

Re: [U-Boot] [PATCH 2/2] config: add config_distro_defaults.h

2014-01-24 Thread Wolfgang Denk
Dear Dennis Gilmore, In message 1390501358-4564-3-git-send-email-den...@ausil.us you wrote: describe a set of default features that distros can rely on being available. having this common definition means that distros can easily support systems implementing them. Signed-off-by: Dennis

Re: [U-Boot] [PATCH 2/6] ARM: tegra: rename MASK_BITS_29_28 to MASK_BITS_31_28

2014-01-24 Thread Thierry Reding
On Wed, Jan 22, 2014 at 01:20:32PM -0700, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com The only place where the MASK_BITS_* values are used is in adjust_periph_pll(), which interprets the value 4 (old MASK_BITS_29_28, new MASK_BITS_31_28) as being associated with mask

Re: [U-Boot] [PATCH 3/6] ARM: tegra: rename OUT_CLK_SOURCE_*

2014-01-24 Thread Thierry Reding
On Wed, Jan 22, 2014 at 01:20:33PM -0700, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com OUT_CLK_SOURCE_ are currently named after the number of bits the mask they represent includes. However, bit count is not the only possible variable; bit position may also vary. Rename

Re: [U-Boot] [PATCH 1/6] ARM: tegra: deduplicate MASK_BITS_xxx clock mux enum

2014-01-24 Thread Thierry Reding
On Wed, Jan 22, 2014 at 01:20:31PM -0700, Stephen Warren wrote: From: Tom Warren twarren.nvi...@gmail.com The enum used to define the set of register bits used to represent a clock's input mux, MUX_BITS_*, is defined separately for each SoC at present. Move this definition to a common

Re: [U-Boot] about the DABT handler in imx_pcie.c

2014-01-24 Thread Marek Vasut
On Friday, January 24, 2014 at 12:55:07 PM, Wally Yeh wrote: Dear Marek: I'm sorry to send this email bothering you. but I'm so curious about your patch in uboot: http://patchwork.ozlabs.org/patch/301216/ in your patch imx_pcie.c, there's a fuction replace the DABT handler for

Re: [U-Boot] Nand Erase/Write Fails with mtd error -5

2014-01-24 Thread Wolfgang Denk
Dear mks, it would be nice if you could use a real name here... In message 1310410193.3166.2.camel@debian you wrote: Im getting a trouble with mtd on my imx27 27 board, I can't write or erase it on U-Boot-1.3.4, here is the log : I'm sorry, but v1.3.4 is more than 5 years old - this is

Re: [U-Boot] [PATCH] ARM: tegra: amend pmc.h for Tegra114+

2014-01-24 Thread Thierry Reding
On Wed, Jan 22, 2014 at 01:20:59PM -0700, Stephen Warren wrote: [...] diff --git a/arch/arm/include/asm/arch-tegra/pmc.h b/arch/arm/include/asm/arch-tegra/pmc.h [...] @@ -21,7 +21,11 @@ struct pmc_ctlr { uint pmc_dpd_sample;/* _DPD_PADS_SAMPLE_0, offset 20 */ uint

Re: [U-Boot] [PATCH] nitrogen6x: README: Only calling 'make' is enough

2014-01-24 Thread Eric Nelson
Thanks Fabio, On 01/24/2014 04:15 AM, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com No need to pass 'u-boot.imx' as parameter for 'make' because u-boot.imx is built by default. Signed-off-by: Fabio Estevam fabio.este...@freescale.com ---

Re: [U-Boot] [PATCH] nitrogen6x: README: Do not refer to MAINTAINERS file

2014-01-24 Thread Eric Nelson
On 01/24/2014 04:27 AM, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com MAINTAINERS file has been removed from the project. Replace its reference with 'boards.cfg' file instead. Signed-off-by: Fabio Estevam fabio.este...@freescale.com ---

Re: [U-Boot] [RFC PATCH 1/1] Add support for pengwyn board

2014-01-24 Thread Gerhard Sittig
On Fri, Jan 24, 2014 at 13:49 +0100, micro1183 wrote: This patch adds support for the silica pengwyn board with AM335x SoC Signed-off-by: Lothar Felten lothar.fel...@gmail.com Please consider using git send-email for submission. Your MUA broke the patch so it doesn't apply, and the From

Re: [U-Boot] [RFC PATCH 1/1] Add support for pengwyn board

2014-01-24 Thread Wolfgang Denk
Dear micro1183, In message 52e2615c.1000...@gmail.com you wrote: This patch adds support for the silica pengwyn board with AM335x SoC Your patch is line-wrapped and does not apply. Please fix your mailer configuration. +/* + * board.c + * + * Copyright (C) 2013 Lothar Felten

Re: [U-Boot] [PATCH V2] ARM: tegra: don't exceed AVP limits when configuring PLLP

2014-01-24 Thread Thierry Reding
On Thu, Jan 23, 2014 at 11:58:13AM -0700, Stephen Warren wrote: [...] diff --git a/arch/arm/cpu/tegra-common/clock.c b/arch/arm/cpu/tegra-common/clock.c [...] @@ -575,3 +575,91 @@ void clock_init(void) /* Do any special system timer/TSC setup */ arch_timer_init(); } + +static

Re: [U-Boot] [PATCH 1/2] cmd_pxe.c add any option for filesystem with sysboot uses generic load

2014-01-24 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/24/2014 08:49 AM, Wolfgang Denk wrote: Dear Dennis Gilmore, In message 1390501358-4564-2-git-send-email-den...@ausil.us you wrote: Signed-off-by: Dennis Gilmore den...@ausil.us add any option for filesystem with sysboot uses generic load

Re: [U-Boot] [PATCH V2 01/13] mmc: tegra: support Tegra124

2014-01-24 Thread Pantelis Antoniou
Hi Stephen, Looks fine to me.. On Jan 24, 2014, at 2:42 AM, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Tegra124's MMC controller is very similar to earlier SoC generations, and can be supported by the same driver. However, there are some non-backwards-compatible HW

Re: [U-Boot] [RFC][PATCH 0/7] TI: OMAP3: Use common config file.

2014-01-24 Thread Enric Balletbo Serra
Hi Tom, 2014/1/24 Tom Rini tr...@ti.com: On Fri, Jan 24, 2014 at 09:45:36AM +0100, Enric Balletbo Serra wrote: Hi Tom, 2014/1/6 Tom Rini tr...@ti.com: On Mon, Dec 23, 2013 at 12:11:25PM +0100, Enric Balletbo Serra wrote: 2013/12/6 Enric Balletbo i Serra eballe...@gmail.com: Hi all,

Re: [U-Boot] [PATCH 0/2] Add External SD Card support for Marvell GplugD

2014-01-24 Thread Ajay Bhargav
- Prafulla Wadaskar prafu...@marvell.com wrote: Hi Ajay, Please avoid re-post with the same subject. I think, Yesterday you posted the same patches. If there is any diff or updates, then you should add next version info to them. Regards... Prafulla . . . Hi Prafulla, I

Re: [U-Boot] [PATCH 3/3] PPC 85xx: Add qemu-ppce500 machine

2014-01-24 Thread Alexander Graf
On 24.01.2014, at 02:39, Scott Wood scottw...@freescale.com wrote: On Fri, 2014-01-24 at 02:25 +0100, Alexander Graf wrote: On 24.01.2014, at 01:49, Scott Wood scottw...@freescale.com wrote: On Thu, 2014-01-23 at 14:08 +0100, Alexander Graf wrote: On 21.01.2014, at 03:25, Scott Wood

Re: [U-Boot] [PATCH 2/2] config: add config_distro_defaults.h

2014-01-24 Thread Dennis Gilmore
Hi Wolfgang, El Fri, 24 Jan 2014 14:50:10 +0100 Wolfgang Denk w...@denx.de escribió: Dear Dennis Gilmore, In message 1390501358-4564-3-git-send-email-den...@ausil.us you wrote: describe a set of default features that distros can rely on being available. having this common definition

Re: [U-Boot] [PATCH V2 07/13] ARM: tegra: add/edit headers for Tegra124

2014-01-24 Thread Thierry Reding
On Thu, Jan 23, 2014 at 05:42:54PM -0700, Stephen Warren wrote: [...] diff --git a/arch/arm/include/asm/arch-tegra/clk_rst.h b/arch/arm/include/asm/arch-tegra/clk_rst.h [...] @@ -105,10 +128,10 @@ struct clk_rst_ctlr { uint crc_clk_cpug_cmplx;/* _CLK_CPUG_CMPLX_0, 0x378 */

Re: [U-Boot] about the DABT handler in imx_pcie.c

2014-01-24 Thread Marek Vasut
On Friday, January 24, 2014 at 04:15:37 PM, Wally Yeh wrote: Dear Marek: thank you very much! you really help me a lot. :D and I see you in the community at the samw post about uboot pcie: https://community.freescale.com/message/375723?et=watches.email.thread#3757 23 I'm Wally Yeh in

[U-Boot] [PATCH] pci: mx6: Implement reset callback

2014-01-24 Thread Marek Vasut
Add a callback so that a board can implement it's own specific routine to toggle the port's nRESET line. Signed-off-by: Marek Vasut ma...@denx.de Cc: Stefano Babic sba...@denx.de --- drivers/pci/pcie_imx.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git

Re: [U-Boot] [PATCH V2 08/13] ARM: tegra: add SPL/AVP (arm720t) CPU files for Tegra124

2014-01-24 Thread Thierry Reding
On Thu, Jan 23, 2014 at 05:42:55PM -0700, Stephen Warren wrote: [...] diff --git a/arch/arm/cpu/arm720t/tegra-common/cpu.c b/arch/arm/cpu/arm720t/tegra-common/cpu.c [...] @@ -128,6 +144,18 @@ int pllx_set_rate(struct clk_pll_simple *pll , u32 divn, u32 divm, debug( pllx_set_rate

Re: [U-Boot] [PATCH V2 01/13] mmc: tegra: support Tegra124

2014-01-24 Thread Thierry Reding
I've been booting Venice2 with these patches for a day now, everything seems to work as expected, so: Tested-by: Thierry Reding tred...@nvidia.com pgpiuqcN9qGSX.pgp Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH] pxe: implement fdtdir extlinux.conf tag

2014-01-24 Thread Tom Rini
On Thu, Jan 23, 2014 at 12:55:27PM -0700, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com People who write (or scripts that auto-generate) extlinux.conf don't want to know about HW-specific information such as FDT filenames. Create a new extlinux.conf tag fdtdir that specifies

Re: [U-Boot] Please pull u-boot-mpc85xx

2014-01-24 Thread Tom Rini
On Wed, Jan 22, 2014 at 09:45:53AM -0800, York Sun wrote: Tom, The following changes since commit e222b1f36fedb0363dbc21e0add7dc3848bae553: powerpc/mpc85xx:Increase binary size for P, B T series boards. (2014-01-21 14:06:30 -0800) are available in the git repository at:

Re: [U-Boot] [PATCH 2/6] ARM: tegra: rename MASK_BITS_29_28 to MASK_BITS_31_28

2014-01-24 Thread Stephen Warren
On 01/24/2014 06:44 AM, Thierry Reding wrote: On Wed, Jan 22, 2014 at 01:20:32PM -0700, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com The only place where the MASK_BITS_* values are used is in adjust_periph_pll(), which interprets the value 4 (old MASK_BITS_29_28, new

Re: [U-Boot] [PATCH 3/6] ARM: tegra: rename OUT_CLK_SOURCE_*

2014-01-24 Thread Stephen Warren
On 01/24/2014 06:47 AM, Thierry Reding wrote: On Wed, Jan 22, 2014 at 01:20:33PM -0700, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com OUT_CLK_SOURCE_ are currently named after the number of bits the mask they represent includes. However, bit count is not the only possible

Re: [U-Boot] [PATCH 1/6] ARM: tegra: deduplicate MASK_BITS_xxx clock mux enum

2014-01-24 Thread Stephen Warren
On 01/24/2014 06:54 AM, Thierry Reding wrote: On Wed, Jan 22, 2014 at 01:20:31PM -0700, Stephen Warren wrote: ... With the few small comments addressed, the series: Reviewed-by: Thierry Reding tred...@nvidia.com I've also given these a spin together with your reworked Tegra124

[U-Boot] [PATCH V2 1/6] ARM: tegra: deduplicate MASK_BITS_xxx clock mux enum

2014-01-24 Thread Stephen Warren
From: Tom Warren twarren.nvi...@gmail.com The enum used to define the set of register bits used to represent a clock's input mux, MUX_BITS_*, is defined separately for each SoC at present. Move this definition to a common location to ease fixing up some issues with the definition, and the code

Re: [U-Boot] [PATCH 5/6] ARM: tegra: MASK_BITS_ no longer needs specific values

2014-01-24 Thread Stephen Warren
On 01/24/2014 06:50 AM, Thierry Reding wrote: On Wed, Jan 22, 2014 at 01:20:35PM -0700, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Since all code that sets or interprets MASK_BITS_* now uses the enums to define/compare the values, there is no need for MASK_BITS_* to have a

[U-Boot] [PATCH V2 2/6] ARM: tegra: rename MASK_BITS_29_28 to MASK_BITS_31_28

2014-01-24 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com The only place where the MASK_BITS_* values are used is in adjust_periph_pll(), which interprets the value 4 (old MASK_BITS_29_28, new MASK_BITS_31_28) as being associated with mask OUT_CLK_SOURCE4_MASK, i.e. bits 31:28. Rename the MASK_BITS_ macro to

[U-Boot] [PATCH V2 6/6] ARM: tegra: implement MASK_BITS_31_29

2014-01-24 Thread Stephen Warren
From: Tom Warren twarren.nvi...@gmail.com Some clock sources have 3-bit muxes in bits 31:29. Implement core support for this mux field. Signed-off-by: Tom Warren twar...@nvidia.com [swarren, extracted from a larger patch by Tom] Signed-off-by: Stephen Warren swar...@nvidia.com Reviewed-by:

[U-Boot] [PATCH V2 3/6] ARM: tegra: rename OUT_CLK_SOURCE_*

2014-01-24 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com OUT_CLK_SOURCE_ are currently named after the number of bits the mask they represent includes. However, bit count is not the only possible variable; bit position may also vary. Rename OUT_CLK_SOURCE_ to OUT_CLK_SOURCE_31_30_ and OUT_CLK_SOURCE4_ to

[U-Boot] [PATCH V2 4/6] ARM: tegra: use MASK_BITS_* macros everywhere

2014-01-24 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Not all code that set or interpreted mux_bits was using the named macros, but rather some was simply using hard-coded integer constants. This makes it hard to determine which pieces of code are affected by changes to those constants. Replace the integer

[U-Boot] [PATCH V2 5/6] ARM: tegra: MASK_BITS_ no longer needs specific values

2014-01-24 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Since all code that sets or interprets MASK_BITS_* now uses the enums to define/compare the values, there is no need for MASK_BITS_* to have a specific integer value. In fact, having a specific integer value may encourage people to hard-code those values,

Re: [U-Boot] [PATCH] pxe: implement fdtdir extlinux.conf tag

2014-01-24 Thread Stephen Warren
On 01/24/2014 09:15 AM, Tom Rini wrote: On Thu, Jan 23, 2014 at 12:55:27PM -0700, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com People who write (or scripts that auto-generate) extlinux.conf don't want to know about HW-specific information such as FDT filenames. Create a new

[U-Boot] [PATCH V2] ARM: tegra: amend pmc.h for Tegra114+

2014-01-24 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Tegra114 and later's PMC module removes the pwrgate_timer_on register and replaces it with a clamp_status register. Adjust pmc.h to reflect this, and update any code affected by the change. The cpu.c change in this patch was extracted from a much larger

Re: [U-Boot] [PATCH V2] ARM: tegra: don't exceed AVP limits when configuring PLLP

2014-01-24 Thread Stephen Warren
On 01/24/2014 07:13 AM, Thierry Reding wrote: On Thu, Jan 23, 2014 at 11:58:13AM -0700, Stephen Warren wrote: [...] diff --git a/arch/arm/cpu/tegra-common/clock.c b/arch/arm/cpu/tegra-common/clock.c [...] @@ -575,3 +575,91 @@ void clock_init(void) /* Do any special system timer/TSC

[U-Boot] [PATCH V3] ARM: tegra: don't exceed AVP limits when configuring PLLP

2014-01-24 Thread Stephen Warren
From: Jimmy Zhang jimmzh...@nvidia.com Based on the Tegra TRM, the system clock (which is the AVP clock) can run up to 275MHz. On power on, the default sytem clock source is set to PLLP_OUT0. In function clock_early_init(), PLLP_OUT0 will be set to 408MHz which is beyond system clock's upper

Re: [U-Boot] [PATCH V2 07/13] ARM: tegra: add/edit headers for Tegra124

2014-01-24 Thread Stephen Warren
On 01/24/2014 08:20 AM, Thierry Reding wrote: On Thu, Jan 23, 2014 at 05:42:54PM -0700, Stephen Warren wrote: diff --git a/arch/arm/include/asm/arch-tegra124/gpio.h b/arch/arm/include/asm/arch-tegra124/gpio.h [...] +enum gpio_pin { +GPIO_PA0 = 0, /* pin 0 */ [...] +GPIO_PFF7,

Re: [U-Boot] [PATCH V2 08/13] ARM: tegra: add SPL/AVP (arm720t) CPU files for Tegra124

2014-01-24 Thread Stephen Warren
On 01/24/2014 08:44 AM, Thierry Reding wrote: On Thu, Jan 23, 2014 at 05:42:55PM -0700, Stephen Warren wrote: +static bool is_partition_powered(u32 mask) +{ +struct pmc_ctlr *pmc = (struct pmc_ctlr *)NV_PA_PMC_BASE; +u32 reg; + +/* Get power gate status */ +reg =

Re: [U-Boot] [PATCH][v2] driver/ifc:Change accessor function to take care of endianness

2014-01-24 Thread York Sun
On 01/21/2014 09:34 AM, York Sun wrote: On 01/21/2014 09:29 AM, Scott Wood wrote: On Tue, 2014-01-21 at 10:14 +0100, Wolfgang Denk wrote: Dear York, In message f1d691e4-180a-4a2d-be07-812547d46...@freescale.com you wrote: On second thought, I also think we should avoid solutions where the

  1   2   >