From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Bultel Date: Thu, 16 May 2013 18:45:22 +0200 Subject: [U-Boot] Booting u-boot for versatile in qemu fails In-Reply-To: <20130516162553.5dc6195d@lilith> References: <5194CF92.7060705@wanadoo.fr> <20130516162553.5dc6195d@lilith> Message-ID: <51950D22.6070608@wanadoo.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Le 16/05/2013 16:25, Albert ARIBAUD a ?crit : > Hi Thierry, > > On Thu, 16 May 2013 14:22:42 +0200, Thierry Bultel > wrote: > >> Hi, >> >> I am trying to use u-boot configured for uboot_versatileqemu in >> qemu-system-arm. >> >> I only get a black screen a no serial output at all. >> I have tested several versions, and taken latest u-boot from >> git://git.denx.de >> >> I have also upgraded qemu to 1.5.0-rc2 >> >> My command line is as follows: >> >> qemu-system-arm -M versatilepb -m 128M -kernel u-boot.bin -serial stdio >> >> >> I have configured u-boot like that: >> make CROSS_COMPILE=arm-linux-gnueabihf- versatileqemu_config >> >> My compiler is: >> #arm-linux-gnueabihf-gcc --version >> arm-linux-gnueabihf-gcc (crosstool-NG linaro-1.13.1-4.7-2012.10-20121022 >> - Linaro GCC 2012.10) 4.7.3 20121001 (prerelease) >> >> I also tried the ca9x4_ct_vxp, because I often use vexpress kernels in >> qemu for vexpress-a9, but no better success >> >> Is there a configuration that is known to work ? > At least I know that versatileqemu on current u-boot-arm/master with > wemu-system-arm v1.2.0 works, with command line > > qemu-system-arm -M versatilepb -m 128M -serial stdio -kernel > u-boot -display none > > And I just tested without '-display none', and still get the serial > prompt and U-Boot commands working. Thanks; I have taken u-boot-arm/master, and there is still no output neither with the latest qemu, nor with 1.2.2 It could be thus be related to compiler I use. Would you mind testing my uboot image on your configuration ? regards Thierry >> Best regards >> Thierry > Amicalement,