From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IbXwU-0007ZQ-5E for qemu-devel@nongnu.org; Sat, 29 Sep 2007 04:44:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IbXwR-0007ZE-Fe for qemu-devel@nongnu.org; Sat, 29 Sep 2007 04:44:52 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IbXwR-0007ZB-BH for qemu-devel@nongnu.org; Sat, 29 Sep 2007 04:44:51 -0400 Received: from [85.186.197.132] (helo=swpark.galati.ro) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IbXwQ-0007dd-MA for qemu-devel@nongnu.org; Sat, 29 Sep 2007 04:44:51 -0400 Message-ID: <46FE107A.6090505@comsys.ro> Date: Sat, 29 Sep 2007 11:44:42 +0300 From: Vlad Lungu MIME-Version: 1.0 References: <46E68AA3.2010907@comsys.ro> <20070911125421.GE10713@networkno.de> <46E69AAF.2090509@comsys.ro> <029001c80059$d7a14960$e90d11ac@spb.in.rosprint.ru> <46FB7EED.3090205@comsys.ro> In-Reply-To: <46FB7EED.3090205@comsys.ro> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] U-Boot Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Vlad Lungu wrote: lol, replying to myself > Blue Swirl wrote: > >> >> Someone could port OpenBIOS or LinuxBIOS to MIPS. >> > > Well, just FYI: > > I sort-of-ported U-Boot to Qemu (-M mips). Network performance sucks for > some reason (hard enough that tftp-booting a kernel is impossible) and I > didn't have time to investigate this yet. But I guess that porting to > (-M malta) should not be that hard, and I think there is some PCI > support already in U-boot. > Reports of poor network performance have been greatly exagerated. Apparently, what it happens is : - qemu doesn't respond with a next-server or server-name in DHCP, apparently - U-Boot uses broadcast in this case as the server address - things don't quite work Setting IP by hand or using tap for networking and configuring DHCP on the host correctly allows loading bt TFTP (or even nfs-booting with tap). I can boot a vmlinux with embedded ramdisk (a couple of Megs) in maybe 10 seconds. Still getting RX timeouts, but it's no big deal. I will polish the thing a little and post an update in 1-2 weeks max. Maybe we can have a bootrom for MIPS shipping with Qemu, after all. Even for malta. Vlad