From: "Barbier, Renaud" <renaud.barbier@abaco.com>
To: Sascha Hauer <sha@pengutronix.de>
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>,
Barebox List <barebox@lists.infradead.org>
Subject: RE: NXP Layerscape
Date: Tue, 15 Jun 2021 19:02:03 +0000 [thread overview]
Message-ID: <MN2PR16MB3135BB5D967958B362E1169291309@MN2PR16MB3135.namprd16.prod.outlook.com> (raw)
In-Reply-To: <20210615084922.GC9782@pengutronix.de>
> 09570604 10000000
> This is the weird one. The QSPI read data is memory mapped in some SRAM where it is directly executed.
So if I understand you correctly both the PBI and barebox PBL got mapped to the SRAM (which I guess may be the OCRAM1 if i refer to the address above 0x10000000) and get executed sequentially.
Based on U-boot, RCW+PBI (at 0x40000000) which specifies 09570604 40100000 (address of U-boot), I would have thought that the address needed to be the exact start address of the barebox PBL in QSPI. Apparently not.
So If I burn the image barebox-ls1046ardb-qspi.image at address 0x40000000 (start of QSPI flash) by using U-boot, it shall boot on power on.
Thanks.
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2021-06-15 22:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-10 13:49 Barbier, Renaud
2021-06-10 14:09 ` Ahmad Fatoum
[not found] ` <MN2PR16MB31359FACA75C0F54E7672C5691359@MN2PR16MB3135.namprd16.prod.outlook.com>
[not found] ` <33d59215-cd45-71cc-5f0b-e26d0a43e9d1@pengutronix.de>
[not found] ` <MN2PR16MB31352F2590A920BB39ACC17F91359@MN2PR16MB3135.namprd16.prod.outlook.com>
2021-06-10 16:35 ` Ahmad Fatoum
[not found] ` <MN2PR16MB3135880DC913705C5BE493BB91359@MN2PR16MB3135.namprd16.prod.outlook.com>
2021-06-10 16:50 ` Ahmad Fatoum
[not found] ` <MN2PR16MB3135787D6B3FCF98CAA0F53591359@MN2PR16MB3135.namprd16.prod.outlook.com>
2021-06-11 8:29 ` Ahmad Fatoum
2021-06-10 17:08 ` Barbier, Renaud
2021-06-14 15:16 ` Barbier, Renaud
2021-06-15 8:49 ` Sascha Hauer
2021-06-15 19:02 ` Barbier, Renaud [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=MN2PR16MB3135BB5D967958B362E1169291309@MN2PR16MB3135.namprd16.prod.outlook.com \
--to=renaud.barbier@abaco.com \
--cc=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=sha@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