Skip to content
Snippets Groups Projects
Commit 6dfdcb2e authored by Thomas Mittelstädt's avatar Thomas Mittelstädt
Browse files

d/patches: Base adresses for kernel and ramdisk changed for qemu images


Base addresses to load kernel and ramdisk image conflict with Optee setup.
So these addresses are moved to a higher address range.

Signed-off-by: default avatarmtt2hi <thomas.mittelstaedt@de.bosch.com>
parent 55cfb095
No related branches found
No related tags found
1 merge request!108Enable qemu packages for arm64 and armhf
From: mtt2hi <thomas.mittelstaedt@de.bosch.com>
Date: Wed, 14 Feb 2024 11:36:28 +0100
Subject: Base adresses for kernel and ramdisk changed for qemu images
These adresses are needed if U-Boot starts at OPTEE environment with Qemu.
The old adress areas cannot be written by load commands.
Signed-off-by: mtt2hi <thomas.mittelstaedt@de.bosch.com>
---
board/emulation/qemu-arm/qemu-arm.env | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/board/emulation/qemu-arm/qemu-arm.env b/board/emulation/qemu-arm/qemu-arm.env
index fb4adef..1f00904 100644
--- a/board/emulation/qemu-arm/qemu-arm.env
+++ b/board/emulation/qemu-arm/qemu-arm.env
@@ -10,6 +10,6 @@ initrd_high=0xffffffff
fdt_addr=0x40000000
scriptaddr=0x40200000
pxefile_addr_r=0x40300000
-kernel_addr_r=0x40400000
-ramdisk_addr_r=0x44000000
+kernel_addr_r=0x42200000
+ramdisk_addr_r=0x45000000
boot_targets=qfw usb scsi virtio nvme dhcp
......@@ -90,3 +90,7 @@ apertis/am62x/0064-ARM-renesas-ulcb-Reinstate-CONFIG_TEXT_BASE-on-R-Car.patch
apertis/x86/0078-X86-Support-for-SCSI-devices-added.patch
apertis/x86/0079-X86-Command-prompt-changed.patch
apertis/x86/0080-X86-Distro_boot-feature-added.patch
# Support for qemu
qemu/Base-adresses-for-kernel-and-ramdisk-changed-for-qem.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment