Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EdoeE-00011P-Cl for qemu-devel@nongnu.org; Sun, 20 Nov 2005 07:50:22 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EdoeB-00010c-8w for qemu-devel@nongnu.org; Sun, 20 Nov 2005 07:50:21 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EdoeA-00010X-MY for qemu-devel@nongnu.org; Sun, 20 Nov 2005 07:50:18 -0500 Received: from [65.54.175.20] (helo=hotmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EdoeA-0007aQ-TS for qemu-devel@nongnu.org; Sun, 20 Nov 2005 07:50:19 -0500 Message-ID: In-Reply-To: <43804BD3.90500@ucsc.edu> From: "Blue Swirl" Date: Sun, 20 Nov 2005 13:50:17 +0100 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Subject: [Qemu-devel] Re: Accessing the serial port from proll Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dgray@ucsc.edu, qemu-devel@nongnu.org >sparc-elf-ld: section .rodata [00000000ffd08000 -> 00000000ffd0a129] >overlaps section .text [00000000ffd00000 -> 00000000ffd08077] This means that the space reserved for code is full. You can adjust it like this: diff -ru proll-patch-16/qemu/Makefile proll-patch-16b/qemu/Makefile --- proll-patch-16/qemu/Makefile 2005-08-14 10:25:06.000000000 +0000 +++ proll-patch-16b/qemu/Makefile 2005-11-20 12:23:46.000000000 +0000 @@ -27,8 +27,8 @@ # want to shift it to form a PGD entry. A relocatable label will not work. # Linux kernel expects us to be at LINUX_OPPROM_BEGVM . PROLBASE = 0xffd00000 -PROLRODATA = 0xffd08000 -PROLDATA = 0xffd0b000 +PROLRODATA = 0xffd09000 +PROLDATA = 0xffd0c000 PROLSIZE = 240*1024 # Linux >Also, some additional background info. I am actually using the -nographic >option. This project is for a grad class on computer architecture. The >prof. says he has a sparc processor implemented on an fpga and wants to >load linux on it, but it doesn't have a hard drive or network connection, >so that is why I'm writing a serial loader. Real serial port hardware needs a bit more initialising than Qemu, for example programming the baud rate. In the original JavaStation case where Proll was first used, the real OBP did this before Proll booted, so Proll didn't have to do everything. There are probably other similar gaps elsewhere, like setting up DRAM controllers, clearing special boot modes, initialising bridge devices, loading firmware etc. If you have complete specs for the hardware, these should not be too difficult to add if even necessary. _________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.com/