Date: Wed, 28 Jul 2021 11:43:40 GMT From: Michal Meloun <mmel@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: b07a6bd15a58 - main - booti: Enable loading the kernel image to any address aligned to 2 MB Message-ID: <202107281143.16SBhevM092820@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by mmel: URL: https://cgit.FreeBSD.org/src/commit/?id=b07a6bd15a58aa6e23761c51eba78d449cd2cbf3 commit b07a6bd15a58aa6e23761c51eba78d449cd2cbf3 Author: Michal Meloun <mmel@FreeBSD.org> AuthorDate: 2021-07-09 17:33:36 +0000 Commit: Michal Meloun <mmel@FreeBSD.org> CommitDate: 2021-07-28 11:42:13 +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 it. Otherwise they fail with different levels of memory overwrites. MFC after: 2 weeks --- 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]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107281143.16SBhevM092820>