Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/stand/efiboot/bootarm



Module Name:    src
Committed By:   skrll
Date:           Wed Sep 18 19:43:29 UTC 2024

Modified Files:
        src/sys/stand/efiboot/bootarm: cache.S efibootarm.c

Log Message:
Clean and invalidate the full data cache as the armv6_start.S code assumes
that the caches are disabled on entry which armv7_exec_kernel ensures.
When caches are disabled armv6_start.S will invalidate (not clean) the
cache and this can lose u-boot data for the u-boots that now don't
perform their own cache maintenance.

An example of such a u-boot is the banana pro that chuq@ has tried which
has

    commit 8b5dea33584261cc5d600614970d1cbed6d99f91
    Author: Heinrich Schuchardt <xypron.glpk%gmx.de@localhost>
    Date:   Wed Mar 3 14:05:05 2021 +0100

        efi_loader: disable GRUB_ARM32_WORKAROUND on ARCH_SUNXI

applied.

Improving things so that the architected caches could remain on would be
better, but that's a much bigger change / set of changes.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/stand/efiboot/bootarm/cache.S
cvs rdiff -u -r1.4 -r1.5 src/sys/stand/efiboot/bootarm/efibootarm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index