Question about Raspberry Pi bspstarthooks.c - potential patch

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Jul 1 14:01:57 UTC 2021


On 01/07/2021 15:43, Alan Cudmore wrote:
> The define works, but Armv6 does not implement dsb and isb.

Ok, I think there are some (now deprecated) CP15 registers for dsb and isb.

> I created a separate #if block for Armv6 without the dsb and isb
> instructions and it seems to work on the Raspberry Pi Zero.
> Do you think the equivalent synchronization operations are necessary
> here? If so, I can research and test them. I found some references on
> Raspberry Pi forums that I can follow (also had links to the ARM
> manuals)
> 
> Also, for the #if blocks, would you prefer this style:
> #if (7A or 8)
> ..
> #else if (6)
> ..
> #endif

Yes, this would be good.

-- 
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