From patchwork Mon Apr 2 05:20:13 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peter A. G. Crosthwaite" X-Patchwork-Id: 150071 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 7DC72B6EEB for ; Mon, 2 Apr 2012 15:21:16 +1000 (EST) Received: from localhost ([::1]:46862 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SEZha-0004PD-BM for incoming@patchwork.ozlabs.org; Mon, 02 Apr 2012 01:21:14 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53960) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SEZh7-00036U-Of for qemu-devel@nongnu.org; Mon, 02 Apr 2012 01:20:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SEZh5-0002hz-VL for qemu-devel@nongnu.org; Mon, 02 Apr 2012 01:20:45 -0400 Received: from mail-iy0-f173.google.com ([209.85.210.173]:43014) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SEZh5-0002fi-Qe for qemu-devel@nongnu.org; Mon, 02 Apr 2012 01:20:43 -0400 Received: by mail-iy0-f173.google.com with SMTP id j26so4544506iaf.4 for ; Sun, 01 Apr 2012 22:20:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :in-reply-to:references:x-gm-message-state; bh=5mDodk8/9n4QOw+FPXCGLQi2iuTdDGHqkPcUG6g+8bU=; b=NnTw2AbAG3oP//tMnTeMs8GO/dL4dhLQdU7xfHuI6Ij6PwN4v3IF2P9BwQebfuyz4O DhL7X+FE7zPNrcRzoZMBXHBdCxK0aFMjv7j+ISnQR9dUWqMecUf2ebE15khxE7FB/1PU LDGcblPNCrzGAobaEa5Rvs0ZKUF2ozRdMQfFROkas/9pvhVwsXnjYJ8l1UrguFItC8nr 9zu2fA97v+C2rt82/6Ur5FGGLVSw2lrflWg1Etz3JsfgjMKzh25iGXDGIaySr9RA1pZX u1Gs25W/XwaZnUxTxwCpsk+fhltUST0+A5Q/yH6y7z6XoG53cPl1QS5z7W/IbqlhCdpw o2+w== Received: by 10.50.161.225 with SMTP id xv1mr4291524igb.35.1333344042947; Sun, 01 Apr 2012 22:20:42 -0700 (PDT) Received: from localhost ([124.148.20.9]) by mx.google.com with ESMTPS id en8sm7935752igc.7.2012.04.01.22.20.38 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 01 Apr 2012 22:20:41 -0700 (PDT) From: "Peter A. G. Crosthwaite" To: peter.crosthwaite@petalogix.com, qemu-devel@nongnu.org, paul@codesourcery.com, peter.maydell@linaro.org, edgar.iglesias@gmail.com Date: Mon, 2 Apr 2012 15:20:13 +1000 Message-Id: X-Mailer: git-send-email 1.7.3.2 In-Reply-To: References: In-Reply-To: References: X-Gm-Message-State: ALoCoQm0139sdqo3Epq5SDVkXerDCRFJacJSX0E50PuXWcHGj47e7rKpMjKWVQFE9y13s4mC+z89 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.210.173 Cc: linnj@xilinx.com, john.williams@petalogix.com, duyl@xilinx.com Subject: [Qemu-devel] [PATCH v1 3/3] xilinx_zynq: set initrd and dtb locations X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org The xilinx published kernel and linux test binaries expects initrd and dtb to be at these locations Signed-off-by: Peter A. G. Crosthwaite Signed-off-by: John Linn --- 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;