From: Sascha Hauer <s.hauer@pengutronix.de>
To: Lucas Stach <l.stach@pengutronix.de>
Cc: barebox@lists.infradead.org,
gianluca <gianlucarenzi@eurekelettronica.it>
Subject: Re: Information regarding iMX6 QuadPlus and iMX6 DualLite
Date: Thu, 23 Mar 2017 19:47:42 +0100 [thread overview]
Message-ID: <20170323184742.k2wspb2n3li75kvu@pengutronix.de> (raw)
In-Reply-To: <1490282153.29056.39.camel@pengutronix.de>
Hi,
On Thu, Mar 23, 2017 at 04:15:53PM +0100, Lucas Stach wrote:
> Hi,
>
> Am Donnerstag, den 23.03.2017, 16:04 +0100 schrieb gianluca:
> > But I do not found any switch between choosing one Soc or another.
> > Where is done the startup entry?
>
> If you want a single binary, you need build a 2 stage barebox. First
> stage needs to be loaded into SRAM, then you can look at which board you
> are running and do the specific DRAM setup. Then you can load the bigger
> 2nd stage into DRAM, where you again need to look at the board you are
> running at and select the correct devicetree for barebox to use.
For an example how this can be done look at the wandboard support:
arch/arm/boards/technexion-wandboard/lowlevel.c
The wandboard doesn't have QuadPLus support, but the principle is the
same. It comes with different device trees and DRAMs. Both are selected
depending on the SoC type.
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
prev parent reply other threads:[~2017-03-23 18:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-23 15:04 gianluca
2017-03-23 15:15 ` Lucas Stach
2017-03-23 16:56 ` gianluca
2017-03-23 16:59 ` Lucas Stach
2017-03-23 17:03 ` gianluca
2017-03-23 18:47 ` Sascha Hauer [this message]
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=20170323184742.k2wspb2n3li75kvu@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=gianlucarenzi@eurekelettronica.it \
--cc=l.stach@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