public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 01/12] kbuild, mxs: use short logs for MXS images
Date: Wed, 12 Mar 2014 11:46:11 +0100	[thread overview]
Message-ID: <201403121146.11172.marex@denx.de> (raw)
In-Reply-To: <20140312191929.6F55.AA925319@jp.panasonic.com>

On Wednesday, March 12, 2014 at 11:19:30 AM, Masahiro Yamada wrote:
> Hello Marek,
> 
> > > Cc: Marek Vasut <marex@denx.de>
> > > Cc: Fabio Estevam <fabio.estevam@freescale.com>
> > > Cc: Otavio Salvador <otavio@ossystems.com.br>
> > > Cc: Lauri Hintsala <lauri.hintsala@bluegiga.com>
> > 
> > You can drop Lauri from CC , I think this address is dead.
> 
> It looks like Cc to Lauri is not bouncing so far.

Strange, I remember the apx4 maintainer didn't work for B/G anymore.

> > b5d5feab4a6974fe00272d3a3408300d8c8a473d  u-boot.bin
> > 
> > Given that u-boot.bin and spl/u-boot-spl.bin are packed into u-boot.sb ,
> > this is why you always see a different u-boot.sb .
> 
> For other boot images, binary compare matched except a few bytes
> difference which comes from time stamp.
> 
> But, when  I compared u-boot.sb
> I had much more diffs than I expect for the difference of timestamp.
> 
> I still cannot understand what is different from the others.

Ah, right. The u-boot.sb is also encrypted with aes-128-cbc with zero key. The 
bootrom on mx23/mx28 has the encryption enabled by default (and it can be fused 
off), with the default key being all zeroes. That's why you see so many 
differences.

> Anyway, that's good to know it worked on run test.
> 
> > > I wish someone could do run test this patch.
> > 
> > The patch is good, I have just a minor rant below, otherwise add my:
> > 
> > Acked-by: Marek Vasut <marex@denx.de>
> 
> It's really appreciated. Thanks!

No, thank _you_ for putting so much effort into this :)

> > > -$(OBJTREE)/mxsimage.cfg:
> > > $(SRCTREE)/$(CPUDIR)/$(SOC)/mxsimage.$(MKIMAGE_TARGET-y).cfg -	sed
> > > "s at OBJTREE@$(OBJTREE)@g" $^ > $@
> > > +quiet_cmd_mkimage_mxs = UIMAGE  $@
> > 
> > Why don't we use 'MKIMAGE' here to be consistent ? Or 'MXSIMAGE' if we
> > want to differentiate ?
> 
> Good point.
> MXSIMAGE is no good because the short log must be within 7 characters.
> MKIMAGE is OK.
> 
> Why UIMAGE?
> 
> All explanation I can give is
> just the mimic of scripts/Makefile.build which originates
> from Linux Kernel.
> 
> Around line 340,
> 
> quiet_cmd_uimage = UIMAGE  $(UIMAGE_OUT)
>       cmd_uimage = $(CONFIG_SHELL) $(MKIMAGE) -A $(UIMAGE_ARCH) -O linux \
> 
> 
> Anyway I do not persist on "UIMAGE".
> If requested (or you can post a patch), it's  OK to rename it,
> althogh naming must be consistent throughout the code.

Yes, I see. We shall eventually rename it to mkimage throughout the code.

How shall we proceed? I see we have three options:
- Post V2 of this patch
- Fix the rest of the files which have this 'UIMAGE' in them and then post V2
- Postpone the fix and then do it globally

I would be in favor of the second option.

Best regards,
Marek Vasut

  reply	other threads:[~2014-03-12 10:46 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-11  2:05 [U-Boot] [PATCH 0/12] Kbuild: A collection of more refactoring Masahiro Yamada
2014-03-11  2:05 ` [U-Boot] [PATCH 01/12] kbuild,mxs: use short logs for MXS images Masahiro Yamada
2014-03-11 11:52   ` [U-Boot] [PATCH 01/12] kbuild, mxs: " Marek Vasut
2014-03-12 10:19     ` Masahiro Yamada
2014-03-12 10:46       ` Marek Vasut [this message]
2014-03-12 12:46         ` Veli-Pekka Peltola
2014-03-12 12:49           ` Marek Vasut
2014-03-13  2:32         ` Masahiro Yamada
2014-03-13  4:01           ` Marek Vasut
2014-03-13 13:22             ` Tom Rini
2014-03-12 21:06   ` [U-Boot] [U-Boot, " Tom Rini
2014-03-11  2:05 ` [U-Boot] [PATCH 02/12] kbuild: use short logs for some board specific make rules Masahiro Yamada
2014-03-12 21:06   ` [U-Boot] [U-Boot, " Tom Rini
2014-03-11  2:05 ` [U-Boot] [PATCH 03/12] kbuild, x86: use a short log for arch/x86/lib/libgcc.a Masahiro Yamada
2014-03-12 21:06   ` [U-Boot] [U-Boot, " Tom Rini
2014-03-11  2:05 ` [U-Boot] [PATCH 04/12] x86: specify CONFIG_USE_PRIVATE_LIBGCC more simply Masahiro Yamada
2014-03-12 21:06   ` [U-Boot] [U-Boot, " Tom Rini
2014-03-11  2:05 ` [U-Boot] [PATCH 05/12] kbuild: delete redundant LDSCRIPT definition Masahiro Yamada
2014-03-11  9:09   ` Michal Simek
2014-03-12 21:06   ` [U-Boot] [U-Boot, " Tom Rini
2014-03-11  2:05 ` [U-Boot] [PATCH 06/12] freescale: pblimage: refactor CONFIG_SYS_FSL_PBL_{PBI, RCW} Masahiro Yamada
2014-03-12 21:06   ` [U-Boot] [U-Boot, " Tom Rini
2014-03-11  2:05 ` [U-Boot] [PATCH 07/12] kirkwood: kwbimage: refactor CONFIG_SYS_KWD_CONFIG Masahiro Yamada
2014-03-12 21:06   ` [U-Boot] [U-Boot, " Tom Rini
2014-03-11  2:05 ` [U-Boot] [PATCH 08/12] kbuild: use $(KBUILD_SRC) to check out-of-tree build Masahiro Yamada
2014-03-12 21:07   ` [U-Boot] [U-Boot, " Tom Rini
2014-03-11  2:05 ` [U-Boot] [PATCH 09/12] kbuild: rename TOPDIR to stctree Masahiro Yamada
2014-03-12 21:07   ` [U-Boot] [U-Boot,09/12] " Tom Rini
2014-03-11  2:05 ` [U-Boot] [PATCH 10/12] kbuild: rename SRCTREE to srctree Masahiro Yamada
2014-03-12 21:07   ` [U-Boot] [U-Boot,10/12] " Tom Rini
2014-03-11  2:05 ` [U-Boot] [PATCH 11/12] kbuild: rename OBJTREE to objtree Masahiro Yamada
2014-03-12 21:07   ` [U-Boot] [U-Boot,11/12] " Tom Rini
2014-03-11  2:05 ` [U-Boot] [PATCH 12/12] kbuild: delete SPLTREE and TPLTREE Masahiro Yamada
2014-03-12 21:07   ` [U-Boot] [U-Boot,12/12] " Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201403121146.11172.marex@denx.de \
    --to=marex@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox