[Qemu-devel] Re: Accessing the serial port from proll

2005-11-20 Thread Blue Swirl
sparc-elf-ld: section .rodata [ffd08000 -> ffd0a129] overlaps section .text [ffd0 -> ffd08077] 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-pa

[Qemu-devel] Re: Accessing the serial port from proll

2005-11-20 Thread Doug Gray
Hi, Thanks for the help. I've actually tried using the function you suggest, but gotten the following error: sparc-elf-gcc -O1 -W -Wall -DPROLBASE=0xffd0 -DPROLDATA=0xffd0b000 -DPROLRODATA=0xffd08000 -D__ANSI__=1 -I../src -mcpu=hypersparc -Wa,-xarch=v8 -g -DQEMU -m32 -fno-builtin -c mai

[Qemu-devel] Re: Accessing the serial port from proll

2005-11-20 Thread Blue Swirl
Hi, I guess you are not using Qemu's -nographic option. The flag is passed on to Proll, which then initialises either serial port or frame buffer accordingly. For example, the following code echoes serial port data back: diff -ru proll-patch-16/qemu/main.c proll-patch-16b/qemu/main.c --- pro