Hi Heinrich, On Tue, 12 Nov 2024 at 07:28, Heinrich Schuchardt <xypron.g...@gmx.de> wrote: > > On 12.11.24 15:10, Simon Glass wrote: > > The cache-flush function is incorrect which causes a crash in the > > remoteproc tests with arm64. > > We should throw out all these sandbox virtual addresses where they are > not needed. > > Just add the missing conversion to drivers/remoteproc/rproc-elf-loader.c. > > And change flush_cache() on all architectures to use void *.
No, that is not the right approach. U-Boot uses addresses throughout (ulong), except when a pointer is strictly needed. Regards, Simon