1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-03 09:00:21 +00:00

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
This commit is contained in:
Michal Meloun 2021-07-09 19:33:36 +02:00
parent b633e08c70
commit b07a6bd15a

View File

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