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

2014-02-20 Thread Tom Rini
On Thu, Feb 20, 2014 at 05:25:27PM +0900, Masahiro Yamada wrote: > Hello Tom, > > > > Anyway, evaluating cc-option multiple times isn't nice and its > > > optimization is on my TODO list. > > > > Can we move this up on the TODO list please? Some quick testing > > around here says that this is t

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

2014-02-20 Thread Masahiro Yamada
Hello Tom, > > Anyway, evaluating cc-option multiple times isn't nice and its > > optimization is on my TODO list. > > Can we move this up on the TODO list please? Some quick testing > around here says that this is the big culprit on build times. I get > pre-Kbuild series build time to match p

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

2014-02-19 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/18/2014 04:02 AM, Masahiro Yamada wrote: > Hello Simon, > > >> >> I'm not sure whether to start a new thread or not, but here in >> one observations which might be useful. >> >> With current master, a 'null' build (with nothing changed) takes

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

2014-02-19 Thread Masahiro Yamada
Hello Tom, > > I notice Kbuild fails to build venice2 board because commit > > 52ef43b0529 added an empty Makefile, > > arch/arm/cpu/armv7/tegra124/Makefile. > > > > What shall we do with this? > > > > Do you need v10 or shall I fix it in a follow-up patch? > > Lets go with follow up patch.

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

2014-02-19 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/18/2014 08:57 PM, Masahiro Yamada wrote: > Hello Tom, > > I notice Kbuild fails to build venice2 board because commit > 52ef43b0529 added an empty Makefile, > arch/arm/cpu/armv7/tegra124/Makefile. > > What shall we do with this? > > Do you

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

2014-02-19 Thread Masahiro Yamada
Hello Simon, > > Thanks for your feedback. > > > > Hmm, Kbuild is 9 times slower on your computer. > > This is a big difference. (It was about 1.6 x slower on my box.) > > > > I don't know where such a difference came from. > > Note this is a 32-core machine. You are passing -j1 to the command

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

2014-02-18 Thread Simon Glass
Hi Masahiro, On 18 February 2014 01:02, Masahiro Yamada wrote: > Hello Simon, > > >> >> I'm not sure whether to start a new thread or not, but here in one >> observations which might be useful. >> >> With current master, a 'null' build (with nothing changed) takes about >> 5s for me. >> >> time

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

2014-02-18 Thread Masahiro Yamada
Hello Tom, I notice Kbuild fails to build venice2 board because commit 52ef43b0529 added an empty Makefile, arch/arm/cpu/armv7/tegra124/Makefile. What shall we do with this? Do you need v10 or shall I fix it in a follow-up patch? Best Regards Masahiro Yamada _

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

2014-02-18 Thread Tom Rini
On Sat, Feb 15, 2014 at 06:30:59PM -0700, Simon Glass wrote: > Hi Masahiro, > > On 6 February 2014 14:10, Tom Rini wrote: > > On Mon, Feb 03, 2014 at 12:46:30PM +0900, Masahiro Yamada wrote: > > > >> Hello Simon and Tom, > >> > >> > >> This is my analysis of Kbuild performance. > > [snip] > >> Co

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

2014-02-18 Thread Masahiro Yamada
Hello Simon, > > I'm not sure whether to start a new thread or not, but here in one > observations which might be useful. > > With current master, a 'null' build (with nothing changed) takes about > 5s for me. > > time > CROSS_COMPILE=/opt/linaro/gcc-linaro-arm-linux-gnueabihf-4.8-2013.08_lin

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

2014-02-15 Thread Simon Glass
Hi Masahiro, On 15 February 2014 18:30, Simon Glass wrote: > Hi Masahiro, > > On 6 February 2014 14:10, Tom Rini wrote: >> On Mon, Feb 03, 2014 at 12:46:30PM +0900, Masahiro Yamada wrote: >> >>> Hello Simon and Tom, >>> >>> >>> This is my analysis of Kbuild performance. >> [snip] >>> Conclusion:

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

2014-02-15 Thread Simon Glass
Hi Masahiro, On 6 February 2014 14:10, Tom Rini wrote: > On Mon, Feb 03, 2014 at 12:46:30PM +0900, Masahiro Yamada wrote: > >> Hello Simon and Tom, >> >> >> This is my analysis of Kbuild performance. > [snip] >> Conclusion: >> The main reasons of the slow down with Kbuild are "fixdep" and "arg-ch

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

2014-02-06 Thread Tom Rini
On Mon, Feb 03, 2014 at 12:46:30PM +0900, Masahiro Yamada wrote: > Hello Simon and Tom, > > > This is my analysis of Kbuild performance. [snip] > Conclusion: > The main reasons of the slow down with Kbuild are "fixdep" and "arg-check". > Both of them are really important features for Kbuild and

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

2014-02-02 Thread Masahiro Yamada
Hello Simon and Tom, This is my analysis of Kbuild performance. [1] -j option is working What I must say first is -j option is working correctly with Kbuild. You can double-check by following the steps below. Apply Kbuild series v8 on commit 07e2822d158940a0e8ba45b6ab0344ffa1011a07. First

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

2014-02-01 Thread Tom Rini
On Fri, Jan 31, 2014 at 06:12:49PM +0900, Masahiro Yamada wrote: > Hello Tom, > > Now, this kbuild series cleanly applies on the current u-boot/master. > (commit 07e2822d158940a0e8ba45b6ab0344ffa1011a07) > > What's your plan about this series? > Are we ready to switch to Kbuild, or need more re

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

2014-01-31 Thread Simon Glass
Hi Masahiro, On 29 January 2014 05:25, Masahiro Yamada wrote: > > 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) buil

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

2014-01-31 Thread Masahiro Yamada
Hello Tom, Now, this kbuild series cleanly applies on the current u-boot/master. (commit 07e2822d158940a0e8ba45b6ab0344ffa1011a07) What's your plan about this series? Are we ready to switch to Kbuild, or need more review? Best Regards Masahiro Yamada ___

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

2014-01-30 Thread Masahiro Yamada
Hello Andreas, Thanks for your test. > I saw a few times full compiler output instead of the shortened 'CC > ...'. Especially generating the linker script, reformatting binaries > with objcopy and doing the final linkage of u-boot ELF. Maybe you want > to sort that out? Yes, I will do this in a

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

2014-01-30 Thread Andreas Bießmann
Dear Masahiro Yamada, On 29.01.14 13:25, Masahiro Yamada wrote: > How to Build ? > -- > > We can build the same as before. > Do board configuraton first and then run "make". > > $ make omap4_panda_config > Configuring for omap4_panda board... > $ make CROSS_COMPILE=arm-l

[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 ser