[U-Boot] Custom SPL for im.X6UL

Peng Fan peng.fan at nxp.com
Mon Mar 11 09:43:05 UTC 2019


Hi 

> -----Original Message-----
> From: Araya, Jose [mailto:j.araya at sensopart.de]
> Sent: 2019年3月11日 16:50
> To: Peng Fan <peng.fan at nxp.com>
> Subject: AW: [U-Boot] Custom SPL for im.X6UL
> 
> Hi Peng,
> 
> thanks for answering! Just a follow up question:
> 
> Does the U-boot from NXP run in OCRAM or in DRAM?

For i.MX6UL, NXP released U-Boot runs from DRAM, no SPL.

> 
> I read that a multi-stage boot is faster and more efficient, that makes me
> think that if I use a single-stage boot it should run in OCRAM (which is limited)
> and that's why the multi-stage (which uses DRAM) is actually faster. That's
> why my question arises.

You could use the upstream uboot for i.MX6UL, it supports SPL runs from OCRAM.

Regards,
Peng.

> 
> Source:
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcom
> munity.nxp.com%2Fthread%2F438580&data=02%7C01%7Cpeng.fan%40
> nxp.com%7C96b71f4edfc34b0b0ef008d6a5fe9d99%7C686ea1d3bc2b4c6fa92
> cd99c5c301635%7C0%7C0%7C636878910318937272&sdata=yyE40Ut0
> no9nQHAWWusnk2reszG2WuEOI0Po7pr6ahI%3D&reserved=0
> 
> Thanks!
> 
> Moises
> 
> -----Ursprüngliche Nachricht-----
> Von: Peng Fan <peng.fan at nxp.com>
> Gesendet: Samstag, 9. März 2019 02:11
> An: Araya, Jose <j.araya at sensopart.de>; u-boot at lists.denx.de
> Betreff: RE: [U-Boot] Custom SPL for im.X6UL
> 
> 
> 
> > -----Original Message-----
> > From: U-Boot [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Araya,
> > Jose
> > Sent: 2019年3月9日 0:59
> > To: u-boot at lists.denx.de
> > Subject: [U-Boot] Custom SPL for im.X6UL
> >
> > Hello everyone,
> >
> > I would like to ask what would be a good starting point to have a
> > custom multi-stage booting for the NXP i.mx6UL processor?
> >
> > Basically I need to be able to configure an FPGA before the U-Boot is
> executed.
> > The reason for that is that the PGA must be configured so that the
> > im6UL can have a physical connection to the DRAM. To clarify:
> >
> >
> > -       In the circuit, the DRAM will be multiplexed by an FPGA. If the
> FPGA
> > is not configured, the imx6UL has no access to the DRAM.
> >
> > -       The imx6UL has a direct SPI connection to the flash and to the
> FPGA,
> > so all I need is to take the bitstream from a given location in the
> > FLASH and load it into the FPGA, then just wait for a flag (GPIO?)
> > saying that the FPGA was successfully configured and keep the booting
> > process in the processor as normal.
> >
> >
> > As I haven't done yet anything similar, just wanted to know if you
> > have any recommendations regarding where to start and some  hints to
> proceed.
> 
> SPL might help here, because it runs in OCRAM.
> 
> Regards,
> Peng.
> 
> >
> > Thanks in advance!
> >
> > Bests,
> >
> > Jose Moises
> >
> >
> >
> >
> > SensoPart Industriesensorik GmbH
> > Am Wiedenbach 1 | 79695 Wieden  Amtsgericht Freiburg HRB 660163
> > Gesch?ftsf?hrer: Dr. Theodor Wanner
> >
> [https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fww
> >
> w.sensopart.com%2F%2Fimages%2Foutlook%2Fsi_sensopart.png&data=
> >
> 02%7C01%7CPeng.Fan%40nxp.com%7C642764588c8048fdcb1b08d6a40fe18
> >
> c%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C1%7C63687678551123
> >
> 6465&sdata=kdlCeiA68J03mVvsfo7LLum%2BJaK6n9Tj%2BzEDIsW3XhQ
> > %3D&reserved=0]
> >
> <https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fww
> >
> w.sensopart.com%2F&data=02%7C01%7CPeng.Fan%40nxp.com%7C642
> >
> 764588c8048fdcb1b08d6a40fe18c%7C686ea1d3bc2b4c6fa92cd99c5c301635
> > %7C0%7C1%7C636876785511236465&sdata=5grDBEFPHFgII%2FwJx8
> N
> > qvbDCljp9ye%2F9R8T6AeCT12Q%3D&reserved=0>
> >
> [https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fww
> >
> w.sensopart.com%2F%2Fimages%2Foutlook%2Fsi_linkedin.png&data=0
> >
> 2%7C01%7CPeng.Fan%40nxp.com%7C642764588c8048fdcb1b08d6a40fe18c
> > %7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C1%7C6368767855112
> 36
> >
> 465&sdata=DB4s4lvXipPogJ%2BWE61YNv9p7vbx4gThM6EjFkXCjuI%3D
> > &reserved=0]
> >
> <https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fw
> >
> ww.linkedin.com%2Fcompany%2Fsensopart%2F&data=02%7C01%7CPe
> >
> ng.Fan%40nxp.com%7C642764588c8048fdcb1b08d6a40fe18c%7C686ea1d3
> >
> bc2b4c6fa92cd99c5c301635%7C0%7C1%7C636876785511236465&sda
> >
> ta=JsDOBDl5aedr8pz1zQtw55WDxdkZGiXEfrhF8GMYRAQ%3D&reserved
> > =0>
> >
> [https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fww
> >
> w.sensopart.com%2F%2Fimages%2Foutlook%2Fsi_youtube.png&data=0
> >
> 2%7C01%7CPeng.Fan%40nxp.com%7C642764588c8048fdcb1b08d6a40fe18c
> > %7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C1%7C6368767855112
> 36
> >
> 465&sdata=xRbXYdLlBnsXaGA1sPjNfIcX%2B6KPR6l7eWdrLWRj00s%3D&
> > amp;reserved=0]
> >
> <https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fw
> >
> ww.youtube.com%2Fuser%2FSensoPart&data=02%7C01%7CPeng.Fan%
> >
> 40nxp.com%7C642764588c8048fdcb1b08d6a40fe18c%7C686ea1d3bc2b4c6f
> >
> a92cd99c5c301635%7C0%7C1%7C636876785511236465&sdata=bJ0Mk
> >
> iBcIQoumP38uQkP4nkdW%2F12VPaJ7I3Yy7Bv%2BFc%3D&reserved=0>
> >
> [https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fww
> >
> w.sensopart.com%2F%2Fimages%2Foutlook%2Fsi_xing.png&data=02%7
> >
> C01%7CPeng.Fan%40nxp.com%7C642764588c8048fdcb1b08d6a40fe18c%7C
> >
> 686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C1%7C636876785511236465
> >
> &sdata=niGCFmUw1RdHcjD6TLM6JZfRnmDl00qxt9MxBNbe9S4%3D&a
> > mp;reserved=0]
> >
> <https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fw
> >
> ww.xing.com%2Fcompanies%2Fsensopartindustriesensorikgmbh&data=
> >
> 02%7C01%7CPeng.Fan%40nxp.com%7C642764588c8048fdcb1b08d6a40fe18
> >
> c%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C1%7C63687678551123
> >
> 6465&sdata=oZbv4D67KSKBRPfXBYrsObcwnxCFeaYXn%2FYrhbw4MlE%3
> > D&reserved=0>
> >
> > Informationen gem. Art. 13 DSGVO f?r unsere Kunden, Partner,
> > Lieferanten finden Sie in unserer Erkl?rung zum Datenschutz unter
> >
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fww
> >
> w.sensopart.com%2Fde%2Fdatenschutz&data=02%7C01%7CPeng.Fan%
> >
> 40nxp.com%7C642764588c8048fdcb1b08d6a40fe18c%7C686ea1d3bc2b4c6f
> >
> a92cd99c5c301635%7C0%7C1%7C636876785511246465&sdata=vzn3U
> > cNFUwrp%2BLKvXwaB9DH7QYABRfOTvHKlXgEQJgg%3D&reserved=0
> >
> >
> >
> >
> [https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fww
> >
> w.sensopart.com%2Fimages%2Foutlook%2Fmi_hmiia.png&data=02%7C
> >
> 01%7CPeng.Fan%40nxp.com%7C642764588c8048fdcb1b08d6a40fe18c%7C6
> >
> 86ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C1%7C636876785511246465&
> >
> amp;sdata=mWq4QGgoEzawlEWaZpbY3GssRiEbZhyGtht5Qej2owQ%3D&amp
> > ;reserved=0]
> >
> > Besuchen Sie uns auf der
> > HANNOVER MESSE Industrial Automation
> > 01. - 05.04.2019 | Halle 017, Stand E42/4
> >         > Newsletter
> > abonnieren<https://emea01.safelinks.protection.outlook.com/?url=http%3
> >
> A %2F%2Fwww.sensopart.com%2Fde%2Fueber-uns%2Faktuelles%2Fnewslet
> te
> >
> r-abonnieren&data=02%7C01%7CPeng.Fan%40nxp.com%7C642764588
> >
> c8048fdcb1b08d6a40fe18c%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%
> >
> 7C0%7C636876785511246465&sdata=QG8bvU6oo5QciMTQ%2FanXET1
> > roDou9OP6ZnZLDHmV53s%3D&reserved=0>
> >
> >
> > _______________________________________________
> > U-Boot mailing list
> > U-Boot at lists.denx.de
> >
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.
> > denx.de%2Flistinfo%2Fu-boot&data=02%7C01%7CPeng.Fan%40nxp.co
> >
> m%7C642764588c8048fdcb1b08d6a40fe18c%7C686ea1d3bc2b4c6fa92cd99
> >
> c5c301635%7C0%7C0%7C636876785511246465&sdata=N3T2bB6QmP
> > KnMtrxmjA%2BuqlUelZwxxNJhMiaEZRij7I%3D&reserved=0


More information about the U-Boot mailing list