mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Michael Burkey <mdburkey@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: Porting BareBox to Variscite iMX6 SOM
Date: Thu, 22 Aug 2013 23:06:26 +0200	[thread overview]
Message-ID: <20130822210626.GC31036@pengutronix.de> (raw)
In-Reply-To: <CAJyuEefSbOYnGut0SeXbhB_KV=0mWETE=UNPyMX94fCAGjA10w@mail.gmail.com>

On Thu, Aug 22, 2013 at 11:49:01AM -0400, Michael Burkey wrote:
> I don't know why I said github -- the one at pengutronix is the one I
> have been looking at. I think my brain must have been focused on lunch
> when I was sending that!

;)

> 
> The PhyFlex and i.MX6 NAND support being in the next release was sort
> of what I thought based on the comments in the mailing list and the
> differences in the code on the git vs the actual release.
> 
> Which brings me to my next question: what is the preferred way of
> setting up a new platform at this point in time?
> 
> Specifically, things seem to be in a lot of flux with the i.MX systems.
> 
> So, right now, for new systems:
> 1) The initial hardware setup should be in devicetree format under
> arch/arm/dts, correct?

Yes, correct.

> 
> 2) Where should the DCD config go? I am looking at multiple i.MX6
> platforms with it in 4 different spots -- lowlevel.c, flash_header.c,
> an imxcfg file, as a .h file included from the imxcfg file, etc.

The imxcfg file is the way to go. Historically we assembled the flash
header as struct types in C, but that turned out to be too inflexible.

> (and
> the dmo-mx6-realq7 has both a very basic .imxcfg file and then
> manually configures everything else with writel's in lowlevel.c).

Yeah, this is done because the dmo board needs the SDRAM calibration
functions to setup SDRAM. You can ignore this if you do not have a
good reason to setup the SDRAM in code.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

  reply	other threads:[~2013-08-22 21:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-21 18:46 Michael Burkey
2013-08-22  6:55 ` Sascha Hauer
2013-08-22 15:49   ` Michael Burkey
2013-08-22 21:06     ` Sascha Hauer [this message]
2013-08-22 19:18   ` Michael Burkey
2013-08-22 21:09     ` Sascha Hauer
  -- strict thread matches above, loose matches on Subject: below --
2013-08-21 15:48 Michael Burkey
2013-08-20 18:12 Michael Burkey
2013-08-21  8:28 ` Sascha Hauer
2013-08-15 18:58 Michael Burkey
2013-08-16  9:47 ` Sascha Hauer
2013-08-16 11:37   ` Alexander Aring

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=20130822210626.GC31036@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=mdburkey@gmail.com \
    /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