From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:47826) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlLB8-00071r-8y for qemu-devel@nongnu.org; Thu, 12 Jan 2012 08:58:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RlLB3-0005oO-6i for qemu-devel@nongnu.org; Thu, 12 Jan 2012 08:58:54 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:8582) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlLB3-0005oB-0g for qemu-devel@nongnu.org; Thu, 12 Jan 2012 08:58:49 -0500 Received: from euspt1 (mailout2.w1.samsung.com [210.118.77.12]) by mailout2.w1.samsung.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0LXO00L1RUTXLD@mailout2.w1.samsung.com> for qemu-devel@nongnu.org; Thu, 12 Jan 2012 13:58:45 +0000 (GMT) Received: from [106.109.8.162] by spt1.w1.samsung.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTPA id <0LXO008DWUTWRU@spt1.w1.samsung.com> for qemu-devel@nongnu.org; Thu, 12 Jan 2012 13:58:44 +0000 (GMT) Date: Thu, 12 Jan 2012 17:58:43 +0400 From: Mitsyanko Igor In-reply-to: <1326299490-10780-6-git-send-email-mark.langsdorf@calxeda.com> Message-id: <4F0EE713.6090604@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT References: <1326213943-878-1-git-send-email-mark.langsdorf@calxeda.com> <1326299490-10780-1-git-send-email-mark.langsdorf@calxeda.com> <1326299490-10780-6-git-send-email-mark.langsdorf@calxeda.com> Subject: Re: [Qemu-devel] [PATCH v9 5/6] arm: SoC model for Calxeda Highbank Reply-To: i.mitsyanko@samsung.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mark Langsdorf Cc: peter.maydell@linaro.org, afaerber@suse.de, qemu-devel@nongnu.org, Rob Herring , edgar.iglesias@gmail.com On 01/11/2012 08:31 PM, Mark Langsdorf wrote: > + sysram = g_new(MemoryRegion, 1); > + memory_region_init_ram(sysram, "highbank.sysram", 0x8000); > + memory_region_add_subregion(sysmem, 0xfff88000, sysram); > + if (bios_name != NULL) { > + sysboot_filename = qemu_find_file(QEMU_FILE_TYPE_BIOS, bios_name); > + if (sysboot_filename != NULL) { > + uint32_t filesize = get_image_size(sysboot_filename); > + if (load_image_targphys("sysram.bin", 0xfff88000, filesize)< 0) { > + hw_error("Unable to load %s\n", bios_name); > + } > + } else { > + hw_error("Unable to find %s\n", bios_name); > + } > + } I'm sorry, I forgot to ask in my previous message, how does control is passed to uboot image at 0xfff88000 address? Shouldn't highbank_binfo be modified somehow if bios_name supplied? -- Mitsyanko Igor ASWG, Moscow R&D center, Samsung Electronics email: i.mitsyanko@samsung.com