qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH v1 3/3] xilinx_zynq: set initrd and dtb locations


From: Peter A. G. Crosthwaite
Subject: [Qemu-devel] [PATCH v1 3/3] xilinx_zynq: set initrd and dtb locations
Date: Mon, 2 Apr 2012 15:20:13 +1000

The xilinx published kernel and linux test binaries expects initrd and dtb to
be at these locations

Signed-off-by: Peter A. G. Crosthwaite <address@hidden>
---
 hw/xilinx_zynq.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/hw/xilinx_zynq.c b/hw/xilinx_zynq.c
index 56d0b96..31d9e81 100644
--- a/hw/xilinx_zynq.c
+++ b/hw/xilinx_zynq.c
@@ -174,6 +174,8 @@ static void zynq_init(ram_addr_t ram_size, const char 
*boot_device,
     zynq_binfo.kernel_filename = kernel_filename;
     zynq_binfo.kernel_cmdline = kernel_cmdline;
     zynq_binfo.initrd_filename = initrd_filename;
+    zynq_binfo.initrd_offset = 0x00800000;
+    zynq_binfo.dtb_offset = 0x01000000;
     zynq_binfo.nb_cpus = smp_cpus;
     zynq_binfo.write_secondary_boot = zynq_write_secondary_boot;
     zynq_binfo.secondary_cpu_reset_hook = zynq_reset_secondary;
-- 
1.7.3.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]