Re: [U-Boot] [PATCH 1/9] exynos4:pinmux:fdt: decode peripheral id

2014-01-29 Thread Minkyu Kang
On 28/01/14 21:13, Piotr Wilczek wrote: Hi Jaehoon, Thanks for review. Please comments below. -Original Message- Hi, Piotr. On 01/27/2014 11:15 PM, Piotr Wilczek wrote: This patch adds api to decode peripheral id based in interrupt number. Signed-off-by: Piotr Wilczek

[U-Boot] [PATCH 2/3] exynos: pinmux: remove unnecessary define

2014-01-29 Thread Minkyu Kang
The value of PERIPH_ID_COUNT was wrong, and unnecessary. Signed-off-by: Minkyu Kang mk7.k...@samsung.com --- arch/arm/cpu/armv7/exynos/clock.c |2 +- arch/arm/include/asm/arch-exynos/periph.h |1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 1/3] exynos: pinmux: sort the list of peripherals

2014-01-29 Thread Minkyu Kang
Signed-off-by: Minkyu Kang mk7.k...@samsung.com --- arch/arm/include/asm/arch-exynos/periph.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-exynos/periph.h b/arch/arm/include/asm/arch-exynos/periph.h index 30c7f18..6d77d80 100644 ---

[U-Boot] [PATCH 3/3] exynos: pinmux: remove unnecessary routine

2014-01-29 Thread Minkyu Kang
Because of the list of peripherals is not sequential, such a routine does not check for valid correctly. Error check will be done when call the exynos_pinmux_config function. Signed-off-by: Minkyu Kang mk7.k...@samsung.com --- arch/arm/cpu/armv7/exynos/pinmux.c |7 +-- 1 file changed, 1

Re: [U-Boot] [PATCH] net/bootp: add CONFIG_BOOTP_BOOTFILE

2014-01-29 Thread Christian Gmeiner
2014-01-15 Wolfgang Denk w...@denx.de: Dear Christian Gmeiner, In message 1389688171-31688-1-git-send-email-christian.gmei...@gmail.com you wrote: In some cases the TFTP server provides a bootfile name, which does not expects our requirements. Make it possible to not store the TFTP

Re: [U-Boot] [PATCH] ventana: Add Gateworks Ventana family support

2014-01-29 Thread Stefano Babic
Hi Tim, On 29/01/2014 02:26, Tim Harvey wrote: I should not have used the word 'header'. I _am_ talking about the Image Vector Table (IVT) and Device Configuration Data (DCD) data structures that the IMX6 BOOT ROM needs to boot and which are present in u-boot.imx. Right. The kobs-ng

[U-Boot] arm post tests in uboot

2014-01-29 Thread shobin b
Hi, I am doing post for arm in uboot-toradex(in iris based colibri t20 board).When i enabled post in my board file(colibri_t20.h) it showing following errors after making uboot, i=aapcs-linux -mno-thumb-interwork -march=armv5 -Werror -Wall -Wstrict-prototypes -fno-stack-protector -o display.o

Re: [U-Boot] [PATCH] ventana: Add Gateworks Ventana family support

2014-01-29 Thread Stefan Roese
Hi Stefano, On 29.01.2014 09:19, Stefano Babic wrote: It appears the only other mainlined IMX6 bootloader to support NAND is the Titanium and there is no README for it at all. If there were, I would expect it to say pretty much the same thing that my proposed Ventana README states. There was

Re: [U-Boot] [PATCH 1/9] arc: add architecture header files

2014-01-29 Thread Alexey Brodkin
Hello Heiko, On Wed, 2014-01-29 at 06:44 +0100, Heiko Schocher wrote: Hello Alexey, Thanks for your patches, more or less just nitpicking comments ... Thanks for prompt review. Am 29.01.2014 00:09, schrieb Alexey Brodkin: Signed-off-by: Alexey Brodkinabrod...@synopsys.com No commit

Re: [U-Boot] [PATCH 1/3] exynos: pinmux: sort the list of peripherals

2014-01-29 Thread Rajeshwari Birje
Hi All, This looks fine. Acked-by: Rajehswari Shinde rajeshwar...@samsung.com On Wed, Jan 29, 2014 at 1:33 PM, Minkyu Kang mk7.k...@samsung.com wrote: Signed-off-by: Minkyu Kang mk7.k...@samsung.com --- arch/arm/include/asm/arch-exynos/periph.h |2 +- 1 file changed, 1 insertion(+), 1

Re: [U-Boot] [uBoot 2/2] ARM: O5/dra7xx: Add SATA boot support

2014-01-29 Thread Roger Quadros
Hi Dan, On 01/28/2014 10:01 PM, Dan Murphy wrote: Add the SATA boot support for OMAP5 and dra7xx. Renamed the omap_sata_init to the common init_sata(int dev) for commonality in with sata stack. Added the ROM boot device ID for SATA. Signed-off-by: Dan Murphy dmur...@ti.com ---

Re: [U-Boot] [PATCH 1/9] arc: add architecture header files

2014-01-29 Thread Heiko Schocher
Hello Alexey, Am 29.01.2014 09:57, schrieb Alexey Brodkin: Hello Heiko, On Wed, 2014-01-29 at 06:44 +0100, Heiko Schocher wrote: Hello Alexey, Thanks for your patches, more or less just nitpicking comments ... Thanks for prompt review. Am 29.01.2014 00:09, schrieb Alexey Brodkin:

Re: [U-Boot] [PATCH 3/3] exynos: pinmux: remove unnecessary routine

2014-01-29 Thread Rajeshwari Birje
Hi Minkyu Knag, On Wed, Jan 29, 2014 at 1:34 PM, Minkyu Kang mk7.k...@samsung.com wrote: Because of the list of peripherals is not sequential, such a routine does not check for valid correctly. Error check will be done when call the exynos_pinmux_config function. Signed-off-by: Minkyu Kang

Re: [U-Boot] [PATCH 1/3] exynos: pinmux: sort the list of peripherals

2014-01-29 Thread Rajeshwari Birje
Acked-by: Rajeshwari Shinde rajeshwar...@samsung.com On Wed, Jan 29, 2014 at 2:27 PM, Rajeshwari Birje rajeshwari.bi...@gmail.com wrote: Hi All, This looks fine. Acked-by: Rajehswari Shinde rajeshwar...@samsung.com On Wed, Jan 29, 2014 at 1:33 PM, Minkyu Kang mk7.k...@samsung.com wrote:

Re: [U-Boot] [uBoot 1/2] common: spl: Add spl sata boot support

2014-01-29 Thread Roger Quadros
Hi Dan, On 01/28/2014 10:01 PM, Dan Murphy wrote: Add spl_sata to read a fat partition from a bootable SATA drive. Signed-off-by: Dan Murphy dmur...@ti.com --- common/Makefile |3 +++ common/cmd_scsi.c |2 ++ common/spl/Makefile |1 + common/spl/spl.c |

Re: [U-Boot] [PATCH 1/9] arc: add architecture header files

2014-01-29 Thread Alexey Brodkin
Hello Heiko, On Wed, 2014-01-29 at 10:04 +0100, Heiko Schocher wrote: Maybe this site helps you: http://www.denx.de/wiki/view/U-Boot/Patches#Attributing_Code_Copyrights_Sign Indeed I even went through this readme a while ago but didn't pay enough attention to it on submission. The

Re: [U-Boot] [PATCH] ARM: bcm2835: config.mk isn't needed

2014-01-29 Thread Andreas Färber
Hi, Am 29.01.2014 06:42, schrieb Stephen Warren: The entries in config.mk were needed so that U-Boot could be built with an old version of the Raspberry Pi Foundation's toolchain. Without them, the build would error out with: ...-ld: error: .../libgcc.a(_bswapsi2.o) uses VFP register

[U-Boot] [PATCH] initial support for pengwyn board

2014-01-29 Thread Lothar Felten
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| 216 + board/silica/pengwyn/board.h| 15 ++

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

2014-01-29 Thread Gerhard Sittig
On Tue, Jan 28, 2014 at 14:44 +0100, Gerhard Sittig wrote: Tested-by: Gerhard Sittig g...@denx.de [ ... ] The most recent test setup was created from - U-Boot master e222b1f36fed powerpc/mpc85xx:Increase binary size for P, B T series boards. - the sandbox: Use system headers first

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

2014-01-29 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 v8: None

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

2014-01-29 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 v8 31/38] Makefile: Do not pass MTD_VERSION from the top Makefile

2014-01-29 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 v8 03/38] tools: convert makefiles to kbuild style

2014-01-29 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 v8 36/38] board: sandburst: delete FORCEBUILD

2014-01-29 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 v8 08/38] Makefile: move some variable definitions to the top Makefile

2014-01-29 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 v8 01/38] .gitignore: ingore files generated by Kbuild

2014-01-29 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 v8:

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

2014-01-29 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 v8 24/38] kbuild: convert some make rules to Kbuild style

2014-01-29 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 v8: None Changes in v7: None

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

2014-01-29 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v8: None 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 v8 12/38] Makefile: move more flags to the top Makefile

2014-01-29 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 v8 07/38] Makfile: move suffix rules to Makefile.build

2014-01-29 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 v8 33/38] kbuild: use scripts/Makefile.clean

2014-01-29 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 v8 0/38] Switch over to real Kbuild

2014-01-29 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 v8 23/38] kbuild: move some lines to more suitable place

2014-01-29 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v8: None 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 |

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

2014-01-29 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 v8: None 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

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

2014-01-29 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 v8 26/38] kbuild: generate {spl, tpl}-autoconf.mk only when it is necessary

2014-01-29 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 v8 14/38] Makefile: move more stuff to top Makefile

2014-01-29 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v8: None 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

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

2014-01-29 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 v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes

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

2014-01-29 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 v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in

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

2014-01-29 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 v8: None Changes in v7: None Changes in v6: None Changes in v5: - Revive env target Changes in v4: None Changes in v3: None Changes in

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

2014-01-29 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 v8 20/38] kbuild: import more build scripts from Linux v3.13 tag

2014-01-29 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 am intentionally keeping them untouched. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5:

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

2014-01-29 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 v8 30/38] kbuild: refactor Makefile and spl/Makefile more

2014-01-29 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 v8: - Rebase on the

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

2014-01-29 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

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

2014-01-29 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v8: None 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

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

2014-01-29 Thread Masahiro Yamada
BFD_ROOT_DIR is used only in tools/gdb/Makefile Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v8: None 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 v8 02/38] Makefile.host.tmp: add a new script to refactor tools

2014-01-29 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 v8 29/38] examples: move api/ and standalone/ entry to examples/Makefile

2014-01-29 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v8: None 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 +

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

2014-01-29 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 v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in

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

2014-01-29 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 v8 22/38] kbuild: delete temporary build scripts

2014-01-29 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 v8: None 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

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

2014-01-29 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 v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4:

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

2014-01-29 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v8: None 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

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

2014-01-29 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 v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes

Re: [U-Boot] [PATCH v3] mx6: Enable L2 cache support

2014-01-29 Thread Stefano Babic
Hi Dirk, On 28/01/2014 17:53, Dirk Behme wrote: Just for better understanding: Do you want to keep this intentionally simple? Or is there any special reason why you don't set additional (performance) registers here? E.g. the L2 PREFETCH and POWER registers, and the tag and data latency

Re: [U-Boot] [uBoot 2/2] ARM: O5/dra7xx: Add SATA boot support

2014-01-29 Thread Dan Murphy
Roger On 01/29/2014 03:03 AM, Roger Quadros wrote: Hi Dan, On 01/28/2014 10:01 PM, Dan Murphy wrote: Add the SATA boot support for OMAP5 and dra7xx. Renamed the omap_sata_init to the common init_sata(int dev) for commonality in with sata stack. Added the ROM boot device ID for SATA.

Re: [U-Boot] Please pull u-boot-ti/master

2014-01-29 Thread Albert ARIBAUD
Hi Tom, On Fri, 24 Jan 2014 15:20:25 -0500, Tom Rini tr...@ti.com wrote: Hey, The following changes since commit c71b4dd2da0dcddabd7c29e6c3dc8a495d4bd928: arm: koelsch: Add support QSPI device and enable boot from SPI flash (2014-01-16 08:07:20 +0900) are available in the git

Re: [U-Boot] [uBoot 1/2] common: spl: Add spl sata boot support

2014-01-29 Thread Dan Murphy
Roger On 01/29/2014 03:16 AM, Roger Quadros wrote: Hi Dan, On 01/28/2014 10:01 PM, Dan Murphy wrote: Add spl_sata to read a fat partition from a bootable SATA drive. Signed-off-by: Dan Murphy dmur...@ti.com --- common/Makefile |3 +++ common/cmd_scsi.c |2 ++

Re: [U-Boot] [PATCH] initial support for pengwyn board

2014-01-29 Thread Wolfgang Denk
Dear Lothar Felten, In message 1390992013-4277-1-git-send-email-lothar.fel...@gmail.com you wrote: Signed-off-by: Lothar Felten lothar.fel...@gmail.com First, you do not provide a commit message. When adding support for a new board, it makes sense to give some description what this boar dis,

Re: [U-Boot] [uBoot 1/2] common: spl: Add spl sata boot support

2014-01-29 Thread Roger Quadros
On 01/29/2014 03:07 PM, Dan Murphy wrote: Roger On 01/29/2014 03:16 AM, Roger Quadros wrote: Hi Dan, On 01/28/2014 10:01 PM, Dan Murphy wrote: Add spl_sata to read a fat partition from a bootable SATA drive. Signed-off-by: Dan Murphy dmur...@ti.com --- common/Makefile |3

Re: [U-Boot] Pull request: u-boot-nds32

2014-01-29 Thread Tom Rini
On Tue, Jan 28, 2014 at 08:12:51PM +0800, ub...@andestech.com wrote: Hi Tom, Please pull the following patch from u-boot-nds32 into your tree. Thanks! The following changes since commit 0876703cf2ee107372b56037d4eeeb7604c56796: boards.cfg: Keep the entries sorted (2014-01-27 08:28:35

Re: [U-Boot] [RFC] [PATCH] omap3_beagle: fdt: xMA/B set hsusb2_power_reg active-high

2014-01-29 Thread Robert Nelson
On Tue, Jan 28, 2014 at 5:31 PM, Robert Nelson robertcnel...@gmail.com wrote: With the xM revision C, the DC control of the usb hub was inverted. By adding the enable-active-high property to hsusb2_power_reg, mainline omap3-beagle-xm.dtb will now activiate properly activate the usb hub on

Re: [U-Boot] Please pull u-boot-ti/master

2014-01-29 Thread Albert ARIBAUD
Hi Tom, On Fri, 24 Jan 2014 15:20:25 -0500, Tom Rini tr...@ti.com wrote: Hey, The following changes since commit c71b4dd2da0dcddabd7c29e6c3dc8a495d4bd928: arm: koelsch: Add support QSPI device and enable boot from SPI flash (2014-01-16 08:07:20 +0900) are available in the git

[U-Boot] arm: keep all sections in ELF file breaks Zynq

2014-01-29 Thread Michal Simek
Hi, I have also problem with this patch but from the other side. Tool for booting image generation expects that LOAD section is the first. That's why I have to remove PHDR, INTERP sections. Not sure about DYNAMIC section which is also there but behind LOAD section. I can easily create zynq

[U-Boot] [PATCH v3 1/2] initial support for pengwyn board

2014-01-29 Thread Lothar Felten
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| 216 + board/silica/pengwyn/board.h| 15 ++

[U-Boot] [PATCH v3 0/2] Initial support for the silica pengwyn board

2014-01-29 Thread Lothar Felten
This patch add support for the Silica Pengwyn board [1] The board is basen on a TI AM3354 CPU [2] All jumpers removed it will boot from the SDcard, the console is on UART1 accessible via the FDTI - USB. The on board NAND chip is supported and can act as boot medium, depending on jumper settings.

[U-Boot] [PATCH v3 2/2] cosmetics: braces, comment and whitespace formatting Signed-off-by: Lothar Felten lothar.fel...@gmail.com

2014-01-29 Thread Lothar Felten
Signed-off-by: Lothar Felten lothar.fel...@gmail.com --- board/silica/pengwyn/board.c | 10 +- include/configs/pengwyn.h|6 ++ 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/board/silica/pengwyn/board.c b/board/silica/pengwyn/board.c index d5dbd3b..97d7de4

[U-Boot] [PATCH v2 1/9] arc: add architecture header files

2014-01-29 Thread Alexey Brodkin
These are header files used by ARC700 architecture. Following files were borrowed from Linux kernel sources, commit 5ee54f38171b9b3541c5e9cf9c3a9e53455fd8b4 (Linux 3.11.10): * arcregs.h * linkage.h * ptrace.h * string.h Also note that arch-arc700/hardware.h is only required for compilation

[U-Boot] [PATCH v2 5/9] arc: add support for standalone programs

2014-01-29 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Mischa Jonker mjon...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com No changes for v2. --- examples/standalone/stubs.c | 13 + 1 file changed, 13 insertions(+) diff --git a/examples/standalone/stubs.c

[U-Boot] [PATCH v2 3/9] arc: add library functions

2014-01-29 Thread Alexey Brodkin
These are library functions used by ARC700 architecture. Following files were borrowed from Linux kernel sources, commit 5ee54f38171b9b3541c5e9cf9c3a9e53455fd8b4 (Linux 3.11.10): * memcmp.S * memcpy-700.S * memset.S * strchr-700.S * strcmp.S * strcpy-700.S * strlen.S Signed-off-by:

[U-Boot] [PATCH v2 4/9] arc: bdinfo and image support

2014-01-29 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Mischa Jonker mjon...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com No changes for v2. --- common/cmd_bdinfo.c | 18 ++ common/image.c | 1 + include/image.h | 1 + 3 files changed, 20 insertions(+) diff

[U-Boot] [PATCH v2 9/9] arc: add README for architecture

2014-01-29 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Mischa Jonker mjon...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com No changes for v2. --- doc/README.ARC | 27 +++ 1 file changed, 27 insertions(+) create mode 100644 doc/README.ARC diff --git

[U-Boot] [PATCH v2 8/9] arc: add architecture to MAKEALL

2014-01-29 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Mischa Jonker mjon...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com No changes for v2. --- MAKEALL | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAKEALL b/MAKEALL index 562071a..54b0d89 100755 --- a/MAKEALL +++

[U-Boot] [PATCH v2 7/9] arc: add AXS101 board support

2014-01-29 Thread Alexey Brodkin
AXS101 is a new generation of devlopment boards from Synopsys that houses ASIC with ARC700 and lots of DesignWare peripherals: * DW APB UART * DW Mobile Storage (MMC/SD) * DW I2C * DW GMAC Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Mischa Jonker mjon...@synopsys.com Cc:

[U-Boot] [PATCH v2 2/9] arc: add cpu files

2014-01-29 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Mischa Jonker mjon...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com No changes for v2. --- arch/arc/config.mk | 31 + arch/arc/cpu/arc700/Makefile | 13 ++ arch/arc/cpu/arc700/cache.c | 161

[U-Boot] [PATCH v2 6/9] arc: add Arcangel4 board support

2014-01-29 Thread Alexey Brodkin
Arcangel4 is a FPGA-based development board that is used for prototyping and verificationof of both ARC hardware (CPUs) and software running upon CPU. Prerequisite is http://patchwork.ozlabs.org/patch/300901/ Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Mischa Jonker

[U-Boot] [PATCH v2 0/9] Add support for the ARC700 architecture

2014-01-29 Thread Alexey Brodkin
This patch series adds support for the Synopsys DesignWare ARC700 architecture. DesignWare ARC700 is family of 32-bit CPUs developed by Synopsys, Inc. Since version 3.9 ARC architecture is supported in mainline Linux developemnt. And now to get better support in commonly used boot-loader we are

Re: [U-Boot] [PATCH v3 2/2] cosmetics: braces, comment and whitespace formatting Signed-off-by: Lothar Felten lothar.fel...@gmail.com

2014-01-29 Thread Tom Rini
On Wed, Jan 29, 2014 at 04:39:03PM +0100, Lothar Felten wrote: Signed-off-by: Lothar Felten lothar.fel...@gmail.com --- board/silica/pengwyn/board.c | 10 +- include/configs/pengwyn.h|6 ++ 2 files changed, 7 insertions(+), 9 deletions(-) diff --git

Re: [U-Boot] [PATCH v3 1/2] initial support for pengwyn board

2014-01-29 Thread Tom Rini
On Wed, Jan 29, 2014 at 04:39:02PM +0100, Lothar Felten wrote: [snip] +ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_NOR_BOOT),y) +obj-y:= mux.o +endif Here and elsewhere, correct these tests as you don't support CONFIG_NOR_BOOT on this platform. + /* the pengwyn board uses the TPS650250

Re: [U-Boot] [PATCH] ARM: bcm2835: config.mk isn't needed

2014-01-29 Thread Tom Rini
On Wed, Jan 29, 2014 at 10:22:18AM +0100, Andreas Färber wrote: Hi, Am 29.01.2014 06:42, schrieb Stephen Warren: The entries in config.mk were needed so that U-Boot could be built with an old version of the Raspberry Pi Foundation's toolchain. Without them, the build would error out

Re: [U-Boot] [PATCH v3] mx6: Enable L2 cache support

2014-01-29 Thread Fabio Estevam
Hi Stefano, On Wed, Jan 29, 2014 at 10:47 AM, Stefano Babic sba...@denx.de wrote: Hi Dirk, On 28/01/2014 17:53, Dirk Behme wrote: Just for better understanding: Do you want to keep this intentionally simple? Or is there any special reason why you don't set additional (performance)

Re: [U-Boot] [PATCH] ARM: bcm2835: config.mk isn't needed

2014-01-29 Thread Stephen Warren
On 01/29/2014 02:22 AM, Andreas Färber wrote: Hi, Am 29.01.2014 06:42, schrieb Stephen Warren: The entries in config.mk were needed so that U-Boot could be built with an old version of the Raspberry Pi Foundation's toolchain. Without them, the build would error out with: ...-ld: error:

Re: [U-Boot] [PATCH v3 2/2] cosmetics: braces, comment and whitespace formatting Signed-off-by: Lothar Felten lothar.fel...@gmail.com

2014-01-29 Thread Wolfgang Denk
Dear Lothar Felten, In message 1391009943-8028-3-git-send-email-lothar.fel...@gmail.com you wrote: Signed-off-by: Lothar Felten lothar.fel...@gmail.com --- board/silica/pengwyn/board.c | 10 +- include/configs/pengwyn.h|6 ++ 2 files changed, 7 insertions(+), 9

Re: [U-Boot] [PATCH v3 1/2] initial support for pengwyn board

2014-01-29 Thread Wolfgang Denk
Dear Lothar Felten, In message 1391009943-8028-2-git-send-email-lothar.fel...@gmail.com you wrote: Signed-off-by: Lothar Felten lothar.fel...@gmail.com You still fail to provide a comit message here. The comments in the cover letter may be helpful, but they will not show up in the git log, i.

Re: [U-Boot] [PATCH] ARM: bcm2835: config.mk isn't needed

2014-01-29 Thread Andreas Färber
Am 29.01.2014 19:38, schrieb Stephen Warren: On 01/29/2014 02:22 AM, Andreas Färber wrote: Am 29.01.2014 06:42, schrieb Stephen Warren: The entries in config.mk were needed so that U-Boot could be built with an old version of the Raspberry Pi Foundation's toolchain. Without them, the build

[U-Boot] [PATCH v4] mx6: Enable L2 cache support

2014-01-29 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Add L2 cache support and enable it by default. Configure the L2 cache in the same way as done by FSL kernel: http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/arch/arm/mach-mx6/mm.c?h=imx_3.0.35_4.1.0 Signed-off-by: Fabio Estevam

Re: [U-Boot] [PATCH] ARM: bcm2835: config.mk isn't needed

2014-01-29 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/29/2014 02:41 PM, Andreas Färber wrote: Am 29.01.2014 19:38, schrieb Stephen Warren: On 01/29/2014 02:22 AM, Andreas Färber wrote: Am 29.01.2014 06:42, schrieb Stephen Warren: The entries in config.mk were needed so that U-Boot could be

Re: [U-Boot] [PATCH v2 1/9] arc: add architecture header files

2014-01-29 Thread Wolfgang Denk
Dear Alexey Brodkin, In message 1391011745-22239-2-git-send-email-abrod...@synopsys.com you wrote: These are header files used by ARC700 architecture. ... +/* Build Configuration Registers */ +#define ARC_REG_DCCMBASE_BCR 0x61/* DCCM Base Addr */ +#define ARC_REG_CRC_BCR 0x62

Re: [U-Boot] [PATCH v2 2/9] arc: add cpu files

2014-01-29 Thread Wolfgang Denk
Dear Alexey Brodkin, In message 1391011745-22239-3-git-send-email-abrod...@synopsys.com you wrote: Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Mischa Jonker mjon...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com No changes for v2. This belongs into the comment section

Re: [U-Boot] [PATCH v2 3/9] arc: add library functions

2014-01-29 Thread Wolfgang Denk
Dear Alexey Brodkin, In message 1391011745-22239-4-git-send-email-abrod...@synopsys.com you wrote: These are library functions used by ARC700 architecture. checkpatch says: WARNING: line over 80 characters #610: FILE: arch/arc/lib/relocate.c:61: + debug( %p: rom

Re: [U-Boot] [PATCH v2 7/9] arc: add AXS101 board support

2014-01-29 Thread Wolfgang Denk
Dear Alexey Brodkin, In message 1391011745-22239-8-git-send-email-abrod...@synopsys.com you wrote: AXS101 is a new generation of devlopment boards from Synopsys that houses ASIC with ARC700 and lots of DesignWare peripherals: +#define CONFIG_HOSTNAME axs101 +#define

Re: [U-Boot] [RFC] [PATCH] omap3_beagle: fdt: xMA/B set hsusb2_power_reg active-high

2014-01-29 Thread Tom Rini
On Wed, Jan 29, 2014 at 08:51:27AM -0600, Robert Nelson wrote: On Tue, Jan 28, 2014 at 5:31 PM, Robert Nelson robertcnel...@gmail.com wrote: With the xM revision C, the DC control of the usb hub was inverted. By adding the enable-active-high property to hsusb2_power_reg, mainline

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

2014-01-29 Thread York Sun
On 01/24/2014 06:19 AM, Alexander Graf wrote: Hrm, let me try that. Looks you got plenty feedback from Scott. I am going to mark this set as change requested so they will drop off from my to-do list. Please submit a v2 when they are ready (all three patches together) with change log. York

Re: [U-Boot] [PATCH] fsl_esdhc: Add Auto command 12 interrupt bit detecting

2014-01-29 Thread York Sun
On 11/01/2013 12:47 AM, Zhang Haijun wrote: :-) Thanks. 于 2013/11/1 15:45, Pantelis Antoniou 写道: Hi Zhang, I'll take a look at it over the weekend. Regards -- Pantelis Where are we on this patch? York ___ U-Boot mailing list

Re: [U-Boot] [PATCH V2] disk:efi: avoid unaligned access on efi partition

2014-01-29 Thread Tom Rini
On Tue, Jan 28, 2014 at 01:46:52PM +0100, Piotr Wilczek wrote: This patch fixes part_efi code to avoid unaligned access exception on some ARM platforms. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Tom Rini tr...@ti.com CC:

Re: [U-Boot] [RFC] [PATCH] omap3_beagle: fdt: xMA/B set hsusb2_power_reg active-high

2014-01-29 Thread Robert Nelson
Well, we have per-platform fixups in the tree today. However this now means that only u-boot is going to provide a correct and fully functional tree for those revs, which isn't good imho for the beagleboard community use cases of older u-boots / distro support / non-u-boot bootloader

Re: [U-Boot] u-boot spl with fat32 on arm

2014-01-29 Thread Tom Rini
On Tue, Jan 28, 2014 at 03:23:23PM +0100, Michal Simek wrote: Hi guys, I do play a little bit with u-boot spl and I am curious about fat32 implementation. There is MAX_CLUSTSIZE which is 65k and there are 3 buffers in fat.c code do_fat_read_at_block get_contents_vfatname_block

Re: [U-Boot] [PATCH 2/2] powerpc/t2081qds: Add T2081 QDS board support

2014-01-29 Thread York Sun
On 01/20/2014 10:15 PM, Shengzhou Liu wrote: --- a/boards.cfg +++ b/boards.cfg @@ -973,11 +973,16 @@ Active powerpc mpc85xx- freescale t4qds Active powerpc mpc85xx- freescale t1040qds T1040QDS

  1   2   >