From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39470) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRfdA-0006y6-TQ for qemu-devel@nongnu.org; Wed, 10 Sep 2014 07:00:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XRfd3-00033p-6N for qemu-devel@nongnu.org; Wed, 10 Sep 2014 07:00:08 -0400 Received: from mail-wg0-f51.google.com ([74.125.82.51]:43749) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRfd2-00033L-Nr for qemu-devel@nongnu.org; Wed, 10 Sep 2014 07:00:00 -0400 Received: by mail-wg0-f51.google.com with SMTP id k14so3555983wgh.22 for ; Wed, 10 Sep 2014 04:00:00 -0700 (PDT) From: Ard Biesheuvel Date: Wed, 10 Sep 2014 12:59:46 +0200 Message-Id: <1410346790-31743-1-git-send-email-ard.biesheuvel@linaro.org> Subject: [Qemu-devel] [PATCH v2 0/4] ARM: load_dtb() changes for -bios and ELF images List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: peter.maydell@linaro.org, qemu-devel@nongnu.org Cc: christoffer.dall@linaro.org, Ard Biesheuvel I split off these patches from the series I sent last week. Peter's NOR flash patch has been merged in the mean time, and the CPU reset patch needs to be discussed more widely before we can move forward with it. So what remains are changes in the DTB handling in hw/arm/boot.c, to load a DTB even when using -bios or using -kernel but with an ELF image. Changes since v1: - updated load_dtb() to take an address limit and return the dtb size, or 0 if it didn't fit - don't fail in the ELF case only because the DTB clashes with the ELF segments, in that case, just proceed without it - reshuffled order, added R-b to #1 Ard Biesheuvel (4): hw/arm/boot: load DTB as a ROM image hw/arm/boot: pass an address limit to and return size from load_dtb() hw/arm/boot: load device tree to base of DRAM if no -kernel option was passed hw/arm/boot: enable DTB support when booting ELF images hw/arm/boot.c | 47 +++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 41 insertions(+), 6 deletions(-) -- 1.8.3.2