mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* LS1046A PPA firmware
@ 2023-11-15 16:50 Renaud Barbier
  2023-11-16  7:47 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Renaud Barbier @ 2023-11-15 16:50 UTC (permalink / raw)
  To: Barebox List

For your  information, the ppa firmware loaded for the LS1046A by Barebox does not work for the LS1026A.
The build from SDK PPA Firmware: Version LSDK-18.06 is needed to work with the dual core.
 



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: LS1046A PPA firmware
  2023-11-15 16:50 LS1046A PPA firmware Renaud Barbier
@ 2023-11-16  7:47 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2023-11-16  7:47 UTC (permalink / raw)
  To: Renaud Barbier; +Cc: Barebox List

Hi Renauld,

On Wed, Nov 15, 2023 at 04:50:54PM +0000, Renaud Barbier wrote:
> For your  information, the ppa firmware loaded for the LS1046A by
> Barebox does not work for the LS1026A.  The build from SDK PPA
> Firmware: Version LSDK-18.06 is needed to work with the dual core.

Good to know, thanks.

On a related note, it seems the PPA firmware loading is broken
in current master and likely the last release. With dba1c26f70
("arm: layerscape: ppa: reserve SDRAM region for PPA") the area
where the PPA is started is mapped uncached and non-executable.
That's silly of course because we jump to that area a few moments
later. We have to map it uncached when the PPA returns, but not
before. I think it was broken already before that patch as we call
barebox_arm_entry() with the PPA area skipped, so I think the PPA
range is uncached/non-executable even without this patch due to
latest MMU changes.

Unfortunately I found that out by bricking my board, so I can only
fix that when the board is recovered.

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-11-16  7:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-15 16:50 LS1046A PPA firmware Renaud Barbier
2023-11-16  7:47 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox