USE_COM1_AS_CONSOLE=1 doesn't work in latest version?
Joel Sherrill
joel.sherrill at oarcorp.com
Thu Aug 27 14:32:34 UTC 2015
On 8/27/2015 8:55 AM, Saeed Ehteshamifar wrote:
> Hi,
>
> I've configured RTEMS like this:
> ../configure --prefix=/home/rtems/pc386-bsp-install --enable-posix --enable-networking --enable-cxx --enable-tests=samples --target=i386-rtems4.11 --enable-rtemsbsp=pc386 USE_COM1_AS_CONSOLE=1
>
> But when I build a Hello application or run one of the samples via QEMU, output is still displayed on QEMU window and I noticed there is no more a "Warning : This will be the last message on console". Is USE_COM1_AS_CONSOLE option still supported?
>
> PS: I invoke QEMU like this: qemu-system-i386 -kernel hello.exe -serial /dev/stdout
>
Depending on the version of qemu, the invocation has changed. This is what I
am using.
qemu-system-i386 -m 512 -boot a -cpu 486 -drive file=/home/joel/qemu/pc386_fda,index=0,if=floppy,format=raw -drive file=fat:/home/joel/qemu/hd,format=raw -monitor null -nographic -serial stdio --no-reboot
I didn't realize you could treat the .exe as a kernel so a lot of that is dealing with
booting a virtual floppy and using a directory as C:
But it does print to stdout.
--joel
> Kind Regards,
> SAeeD
>
>
> On Thu, Aug 27, 2015 at 3:51 PM, Saeed Ehteshamifar <salpha.2004 at gmail.com <mailto:salpha.2004 at gmail.com>> wrote:
>
> Hi,
>
> I've configured RTEMS like this:
> ../configure --prefix=/home/rtems/pc386-bsp-install --enable-posix --enable-networking --enable-cxx --enable-tests=samples --target=i386-rtems4.11 --enable-rtemsbsp=pc386 USE_COM1_AS_CONSOLE=1
>
> But when I build a Hello application or run one of the samples
>
>
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users
mailing list