mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Lucas Stach <l.stach@pengutronix.de>
To: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] ARM: imx: use register defines in imxcfg files instead of plain numbers
Date: Thu, 06 Jul 2017 12:23:57 +0200	[thread overview]
Message-ID: <1499336637.22075.54.camel@pengutronix.de> (raw)
In-Reply-To: <20170706101126.lb23q2t3v4c5mqh5@pengutronix.de>

Am Donnerstag, den 06.07.2017, 12:11 +0200 schrieb Uwe Kleine-König:
> On Thu, Jul 06, 2017 at 10:49:41AM +0200, Lucas Stach wrote:
> > Am Mittwoch, den 05.07.2017, 21:23 +0200 schrieb Uwe Kleine-König:
> > > This makes the imxcfg files more readable and also makes it possible to
> > > share more assignments between machines that just differ by the used
> > > SoC. (Though I have to admit that in the cases converted here it just
> > > more easily allows to see that the RAM config differs more than probably
> > > necessary.)
> > > 
> > > This change is intended to have no effect on the built artifacts.
> > 
> > Does the "intended" in the above sentence mean you didn't validate that
> > the the generated flash headers are equal before and after the change in
> > any way? As much as I like the patch otherwise, this sounds scary.
> 
> I verified it for some of them. I created a .config that enables all
> affected machine, but not for all of them a corresponding .dcd was
> generated. The one that existed then however didn't change with my
> patch.
> 
> 	$ grep HIPER .config
> 	CONFIG_MACH_ELTEC_HIPERCAM=y
> 
> 	$ armmake
> 	...
> 
> 	$ find -name \*.dcd | sort
> 	./arch/arm/boards/cm-fx6/flash-header-mx6-cm-fx6.dcd
> 	./arch/arm/boards/dfi-fs700-m60/flash-header-fs700-m60-6q-micron.dcd
> 	./arch/arm/boards/dfi-fs700-m60/flash-header-fs700-m60-6q-nanya.dcd
> 	./arch/arm/boards/dfi-fs700-m60/flash-header-fs700-m60-6s.dcd
> 	./arch/arm/boards/embedsky-e9/flash-header-e9.dcd
> 	./arch/arm/boards/embest-riotboard/flash-header-embest-riotboard.dcd
> 	./arch/arm/boards/freescale-mx6-sabrelite/flash-header-mx6-sabrelite.dcd
> 	./arch/arm/boards/freescale-mx6-sabresd/flash-header-mx6-sabresd.dcd
> 	./arch/arm/boards/gk802/flash-header.dcd
> 	./arch/arm/boards/technexion-pico-hobbit/flash-header-imx6ul-pico-hobbit-256.dcd
> 	./arch/arm/boards/technexion-pico-hobbit/flash-header-imx6ul-pico-hobbit-512.dcd
> 	./arch/arm/boards/technexion-wandboard/flash-header-technexion-wandboard.dcd
> 	./arch/arm/boards/tqma6x/flash-header-tqma6dl.dcd
> 	./arch/arm/boards/tqma6x/flash-header-tqma6q.dcd
> 	./arch/arm/boards/udoo/flash-header-mx6-udoo.dcd
> 	./arch/arm/boards/variscite-mx6/flash-header-variscite.dcd

Those aren't used anymore and are just the result of missing janitorial
work to the board Makefiles.

> 
> missing (and so unchecked) are:
> 
> 	flash-header-eltec-hipercam.imxcfg
> 	karo-tx6x/*

What you need to look for is something like
"arch/arm/boards/tqma6x/.flash-header-tqma6q.dcd.dcd.tmp" which is
generated from the dependencies in images/Makefile.imx

Regards,
Lucas


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2017-07-06 10:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-05 19:23 Uwe Kleine-König
2017-07-06  8:49 ` Lucas Stach
2017-07-06 10:11   ` Uwe Kleine-König
2017-07-06 10:23     ` Lucas Stach [this message]
2017-07-06 18:47       ` Uwe Kleine-König
2017-07-10 10:59 ` Lucas Stach

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=1499336637.22075.54.camel@pengutronix.de \
    --to=l.stach@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=u.kleine-koenig@pengutronix.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