From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vlad Lungu Date: Tue, 17 Jun 2008 16:41:33 +0300 Subject: [U-Boot-Users] How do work qemu_mips image? In-Reply-To: <29ab51dc0806160351l4c24159dw36f7abdda2204266@mail.gmail.com> References: <29ab51dc0806160351l4c24159dw36f7abdda2204266@mail.gmail.com> Message-ID: <4857BF0D.2070608@windriver.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Nobuhiro Iwamatsu wrote: > Hi, all. > > I want to use MIPS archtechtute on Qemu. > I compiled qemu_mips and read doc/README.qemu_mips and was going > to work it, but U-boot boot stopped. > Is this right behavior? I forgot to look if the README is the right one, but ... > Please give me advice to work a qemu_mips image on Qemu. > > ------- > U-boot version: > Get from Git tree ( hash:a94f22f08f280905926219e568568964cb9eeb9d) [snip] > use Qemu version: > 0.9.1 > > U-boot log: > $ ln -s u-boot.bin mips_bios.bin > $ xps-iwamatsu(iwamatsu:)$ qemu-system-mips -L . /dev/null -nographic I think that's the problem. There was a patch to Qemu on April 23 to add flash support to the qemu_mips target. Now you have to do qemu-system-mips -pflash filename. Just copy u-boot.bin to filename before. > > U-Boot 1.3.3-00235-ga94f22f-dirty (Jun 16 2008 - 19:18:35) > > Board: Qemu -M mips CPU: 24Kf proc_id=0x19300 > DRAM: 128 MB > (stopped) If it says something like " invalid flash size 0Mb " after DRAM: 128 MB then it stops that's definitely your problem. Use SVN HEAD from Qemu instead of 0.9.1. Regards, Vlad