git: 8e3cc69a4e4a - stable/13 - booti: Enable loading the kernel image to any address aligned to 2 MB

From: Michal Meloun <mmel_at_FreeBSD.org>
Date: Thu, 20 Jan 2022 10:13:21 UTC
The branch stable/13 has been updated by mmel:

URL: https://cgit.FreeBSD.org/src/commit/?id=8e3cc69a4e4a92ba268e9827ba7f74dcaeed93a4

commit 8e3cc69a4e4a92ba268e9827ba7f74dcaeed93a4
Author:     Michal Meloun <mmel@FreeBSD.org>
AuthorDate: 2021-07-09 17:33:36 +0000
Commit:     Michal Meloun <mmel@FreeBSD.org>
CommitDate: 2022-01-20 10:10:21 +0000

    booti: Enable loading the kernel image to any address aligned to 2 MB
    
    We've supported this for a long time, plus most u-boot setups quietly expect
    
    MFC after:      2 weeks
    
    (cherry picked from commit b07a6bd15a58aa6e23761c51eba78d449cd2cbf3)
---
 sys/tools/arm_kernel_boothdr.awk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/tools/arm_kernel_boothdr.awk b/sys/tools/arm_kernel_boothdr.awk
index 5526102606f6..f22c6167c7b0 100644
--- a/sys/tools/arm_kernel_boothdr.awk
+++ b/sys/tools/arm_kernel_boothdr.awk
@@ -134,7 +134,7 @@ function write_v8booti() {
 	write_le32(0)                         # code1
 	write_le64(0)                         # text_offset
 	write_le64(gEndOff)                   # image_size
-	write_le64(0)                         # flags
+	write_le64(hexstr_to_num("8"))        # flags
 	write_le64(0)                         # res1[0]
 	write_le64(0)                         # res1[1]
 	write_le64(0)                         # res1[2]