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 1/3] MX28: Add u-boot.mx28.sd and u-boot.mx28.nand make targets
Date: Wed, 23 May 2012 11:44:04 +0200	[thread overview]
Message-ID: <201205231144.04272.marex@denx.de> (raw)
In-Reply-To: <201205231127.51935.marex@denx.de>

Dear Wolfgang Denk,

> > Dear Marek Vasut,
> > 
> > In message <1337729574-30475-1-git-send-email-marex@denx.de> you wrote:
> > > These targets allow for easy invocation of mxstool, for generating
> > > the u-boot images bootable in mx28 CPU.
> > 
> > Thanks.
> > 
> > > +$(obj)u-boot.mx28.sd:  $(obj)u-boot.sb
> > > +		$(obj)tools/mxsboot sd $(obj)u-boot.sb $(obj)u-boot.mx28.sd
> > > +
> > > +$(obj)u-boot.mx28.nand: $(obj)u-boot.sb
> > > +		$(obj)tools/mxsboot nand $(obj)u-boot.sb $(obj)u-boot.mx28.nand
> > 
> > There are rules missing to clean up these new images when make clean /
> > make distclean is used.
> > 
> > Why do we need this special "mx28" part in the name?   I don't see how
> > this would be useful, but it hurts as you will have to add a (probably
> > growing) list uf targets to the remove lists. - what's wrong with just
> > calling these "u-boot.bin.sd" and "u-boot.bin.nand" ?
> 
> Because there'd then be no way to tell apart u-boot.bin.sd for another
> target but mx28.

Maybe add some switch statement based on CONFIG_MX28 or another within the 
target?

> 
> > Would it not be useful to automatically build these images when
> > someone runs just "make -j8 -s m28evk" (or "./MAKEALL m28evk") ?
> 
> Usually, you just want to update the system. You don't need the full image
> for that in NAND case. You do in SD card. Ok, it might be useful.
> 
> > Also, I'm a bit surprised about the restrictive permissions of the
> > resulting images:
> > 
> > -rw-------   1 wd wd  464320 May 23 11:09 u-boot.mx28.sd
> > -> umask
> > 0002
> > 
> > This should be fixed (probably in tools/mxsboot0 ?
> 
> That's a separate bug, but ok.
> 
> > Best regards,
> > 
> > Wolfgang Denk
> 
> Best regards,
> Marek Vasut

Best regards,
Marek Vasut

  reply	other threads:[~2012-05-23  9:44 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-22 23:32 [U-Boot] [PATCH 1/3] MX28: Add u-boot.mx28.sd and u-boot.mx28.nand make targets Marek Vasut
2012-05-22 23:32 ` [U-Boot] [PATCH 2/3] MX28: Cleanup mxsboot within make mrproper Marek Vasut
2012-05-22 23:32 ` [U-Boot] [PATCH 3/3] M28: Disable USB power on boot Marek Vasut
2012-05-23 11:14   ` Wolfgang Denk
2012-05-23 11:53     ` Marek Vasut
2012-05-23 12:48       ` Fabio Estevam
2012-05-23 13:08         ` Marek Vasut
2012-05-23 13:10           ` Fabio Estevam
2012-05-23 13:01   ` Fabio Estevam
2012-05-23 13:07     ` Marek Vasut
2012-05-23 13:15       ` Fabio Estevam
2012-05-23 13:20         ` Marek Vasut
2012-05-23  9:16 ` [U-Boot] [PATCH 1/3] MX28: Add u-boot.mx28.sd and u-boot.mx28.nand make targets Wolfgang Denk
2012-05-23  9:27   ` Marek Vasut
2012-05-23  9:44     ` Marek Vasut [this message]
2012-05-23 11:17       ` Wolfgang Denk
2012-05-23 11:34         ` Marek Vasut
2012-05-23 11:47           ` Wolfgang Denk
2012-05-23 12:22             ` Marek Vasut
2012-06-21 20:31               ` Wolfgang Denk
2012-06-22 12:44                 ` Marek Vasut
2012-06-22 13:11                   ` Wolfgang Denk
2012-05-23 11:16     ` Wolfgang Denk

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=201205231144.04272.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