Possible minor bug in ARM A startup code. Clearing res1 instead of I bit in SCTLR.

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Jun 29 14:05:51 UTC 2023


On 29.06.23 15:44, Philip Kirkpatrick wrote:> While I was cleaning up 
the ZynqMP RPU port for a revised patch (should
> be ready in a few hours) I noticed a possible minor bug in 
> `bsps/arm/shared/start/start.S` affecting ARM A profile parts.  Someone 
> familiar with ARM A parts, please check this.  

Yes, this looks like a bug.

> Also for my own 
> knowledge, why is this done with 2 bic instructions instead of one?

You have a limited number of one bits for the intermediate value in the 
BIC instructions.

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/


More information about the devel mailing list