[U-Boot] [PATCH v2 2/4] kbuild: add CONFIG_ prefix to USE_PRIVATE_LIBGCC

2014-02-27 Thread Masahiro Yamada
Before this commit, USE_PRIVATE_LIBGCC was defined in arch-specific config.mk and referenced in arch/$(ARCH)/lib/Makefile. We are not happy about parsing config.mk again and again. We have to keep the same behavior with a different way. By adding CONFIG_ prefix, this macro appears in

[U-Boot] [PATCH v2 3/4] config.mk: specify the exact path to standalone linker script

2014-02-27 Thread Masahiro Yamada
We want to change the build system to include config.mk only from ./Makefile and spl/Makefile. We must prepare for that in this commit. $(src) is a moving target and not handy for our purpose. We must replace it with a fixed path. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com ---

[U-Boot] [RESEND PATCH v2 3/4] config.mk: specify the exact path to standalone linker script

2014-02-27 Thread Masahiro Yamada
We want to change the build system to include config.mk only from ./Makefile and spl/Makefile. We must prepare for that in this commit. $(src) is a moving target and not handy for our purpose. We must replace it with a fixed path. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com ---

[U-Boot] [RESEND PATCH v2 1/4] kbuild, blackfin: Add CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED

2014-02-27 Thread Masahiro Yamada
Many (but not all) of Blackfin boards give -O2 option to compile under lib/ directory. That means lib/ should be speed-optimized, whereas other parts should be size-optimized. We want to keep the same behavior, but do not want to parse board/*/config.mk again and again. We've got no choice but to

[U-Boot] [RESEND PATCH v2 4/4] kbuild: improve Kbuild speed

2014-02-27 Thread Masahiro Yamada
Kbuild brought about many advantages for us but a significant performance regression was reported by Simon Glass. After some discussions and analysis, it turned out its main cause is in $(call cc-option,...). Historically, U-Boot parses all config.mk (arch/*/config.mk and board/*/config.mk)

[U-Boot] [RESEND PATCH v2 2/4] kbuild: add CONFIG_ prefix to USE_PRIVATE_LIBGCC

2014-02-27 Thread Masahiro Yamada
Before this commit, USE_PRIVATE_LIBGCC was defined in arch-specific config.mk and referenced in arch/$(ARCH)/lib/Makefile. We are not happy about parsing config.mk again and again. We have to keep the same behavior with a different way. By adding CONFIG_ prefix, this macro appears in

[U-Boot] [RESEND PATCH v2 0/4] Big acceleration of Kbuild performance

2014-02-27 Thread Masahiro Yamada
--- No code change in Version 2 Only commit log fixed --- Kbuild brought about many advantages for us but a significant performance regression was reported by Simon Glass. After some discussions and analysis, it turned out its main cause

Re: [U-Boot] [PATCH v2 2/4] kbuild: add CONFIG_ prefix to USE_PRIVATE_LIBGCC

2014-02-27 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Tom Warren twar...@nvidia.com Cc: Simon Glass s...@chromium.org Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Acked-by: Stephen Warren swar...@nvidia.com I used patman for sending this series. Signed-off-by credit

Re: [U-Boot] [PATCH 2/4] kbuild: add CONFIG_ prefix to USE_PRIVATE_LIBS

2014-02-27 Thread Masahiro Yamada
Hello Stephen, I think you need to s/USE_PRIVATE_LIBS/USE_PRIVATE_LIBGCC/ throughout the patch subject and description. With that change, Oops. Good catch! Fixed in v2. Here, it seems that CONFIG_USE_PRIVATE_LIBGCC can be (a) unset (b) set to y, (c) set to a specific library path name.

Re: [U-Boot] [PATCH 0/4] Big acceleration of Kbuild performance

2014-02-27 Thread Masahiro Yamada
Hello Stephen, (1) git clone git://github.com/masahir0y/u-boot-kbuild.git (2) cd u-boot-kbuild (3) git checkout optimize_v1 I tried that since it was easier than applying all the patches. It built and ran on real HW OK, although the U-Boot banner is a bit broken: U-Boot SPL

[U-Boot] [PATCH V2] hush: fix some quoted variable expansion issues

2014-02-27 Thread Stephen Warren
The following shell command fails: if test -z $x; then echo zero; else echo non-zero; fi (assuming $x does not exist, it prints non-zero rather than zero). ... since $x expands to nothing, and the argument is completely dropped, causing too few to be passed to -z, causing cmd_test() to error

[U-Boot] [PATCH] unit-test: clean up evironment after Hush tests

2014-02-27 Thread Stephen Warren
Delete the temporary variables that are used to save unit-test results from the environment after running the test. This prevents polluting the environment, or growing it too much. Signed-off-by: Stephen Warren swar...@wwwdotorg.org --- test/command_ut.c | 3 ++- 1 file changed, 2 insertions(+),

Re: [U-Boot] U-Boot: could not cross-compile u-boot tools

2014-02-27 Thread Heiko Schocher
Hello Tom, Am 27.02.2014 15:30, schrieb Tom Rini: On Thu, Feb 27, 2014 at 01:20:52PM +0100, Heiko Schocher wrote: Hello all, just noticed, that it is not longer possible to cross-compile the u-boot tools: [...] With current mainline: $ git checkout master Gewechselt zu Zweig 'master' $

[U-Boot] [PATCH] kbuild: fix CROSS_COMPILE settings in config.mk

2014-02-27 Thread Masahiro Yamada
The syntax CROSS_COMIPLE ?= cross_compiler_prefix does not work because config.mk is parsed after exporting CROSS_COMPILE. Like Linux Kernel's arch/$(ARCH)/Makefile, we must write as follows: ifeq ($(CROSS_COMPILE),) CROSS_COMPILE := cross_compiler_prefix endif Signed-off-by: Masahiro

[U-Boot] Secure booting

2014-02-27 Thread JYOTI DUBEY
Can I obtain information regarding what hab_status command will return if i.mx board is not fused i.e security in not enabled and also the board is in open configuration. Thanks in Advance! ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH] video: ipu_disp: wait for DP SF end irq when disabling sync BG flows

2014-02-27 Thread Liu Ying
Instead of waiting for DC triple buffer to be cleared, this patch changes to wait for a relevant DP sync flow end interrupt to come when disabling sync BG flows. In this way, we align the implement to the freescale internal IPUv3 driver. After applying this patch, an uboot hang up issue at the

Re: [U-Boot] [PATCH V3 02/12] video:mipidsim:fdt: Add DT support for mipi dsim driver

2014-02-27 Thread Piotr Wilczek
Hi Ajay, On 02/27/2014 03:59 PM, Ajay kumar wrote: Piotr, DT bindings should usually be free of _ (underscore) Please use hyphen: - I will use hypen. On Tue, Feb 25, 2014 at 11:33 PM, Piotr Wilczek p.wilc...@samsung.comwrote: This patch enables parsing mipi data from device tree. Non

<    1   2