From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:46897) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S07Zn-0002a3-K4 for qemu-devel@nongnu.org; Wed, 22 Feb 2012 03:29:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S07Zh-00022Z-K2 for qemu-devel@nongnu.org; Wed, 22 Feb 2012 03:29:27 -0500 Received: from mailout3.w1.samsung.com ([210.118.77.13]:24183) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S07Zh-00022N-CP for qemu-devel@nongnu.org; Wed, 22 Feb 2012 03:29:21 -0500 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=UTF-8; format=flowed Received: from euspt2 ([210.118.77.13]) by mailout3.w1.samsung.com (Sun Java(tm) System Messaging Server 6.3-8.04 (built Jul 29 2009; 32bit)) with ESMTP id <0LZS00N4MCWR5640@mailout3.w1.samsung.com> for qemu-devel@nongnu.org; Wed, 22 Feb 2012 08:29:16 +0000 (GMT) Received: from [106.109.9.191] by spt2.w1.samsung.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTPA id <0LZS000WVCWR73@spt2.w1.samsung.com> for qemu-devel@nongnu.org; Wed, 22 Feb 2012 08:29:15 +0000 (GMT) Date: Wed, 22 Feb 2012 12:29:14 +0400 From: Evgeny Voevodin In-reply-to: Message-id: <4F44A75A.4000902@samsung.com> References: <1329893896-28459-1-git-send-email-e.voevodin@samsung.com> Subject: Re: [Qemu-devel] [PATCH 0/2] Add "-uboot" option List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: kyungmin.park@samsung.com, m.kozlov@samsung.com, i.mitsyanko@samsung.com, qemu-devel@nongnu.org, d.solodkiy@samsung.com On 22.02.2012 12:12, Peter Maydell wrote: > On 22 February 2012 06:58, Evgeny Voevodin wrote: >> These patches add "-uboot" option to ARM boards. >> To let user load u-boot, board should initialize >> .uboot_start in arm_boot_info struct. >> Added utilisation of "-uboot" for exynos4 and integratorcp. > Nack. This kind of thing should be done by making QEMU > load an ELF file which has u-boot in it (which at the > moment you can do with -kernel). Loading Linux kernels > is a special case in arm_boot because of the complicated > boot protocol they have and because people want to load > lots of different kernels. > > -- PMM > As I understood, you mean that -kernel is for people who want to quickly compile and try different kernel. As for me, -uboot is the same ) No need to generate a file, where u-boot and kernel are placed. Just use -uboot ./u-boot -kernel ./uImage, change kernel, or change u-boot, or both, as you wish. -- Kind regards, Evgeny Voevodin, Leading Software Engineer, ASWG, Moscow R&D center, Samsung Electronics e-mail: e.voevodin@samsung.com