[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
qemu + uC5282 (was Re: Converting RTEMS ELF files into Linux bootimages)
- Date: Wed, 09 Sep 2009 00:58:48 -0500
- From: strauman at slac.stanford.edu (Till Straumann)
- Subject: qemu + uC5282 (was Re: Converting RTEMS ELF files into Linux bootimages)
FWIW:
I was able to hack qemu so that the uC5282 BSP can be run.
I tested 'hello.exe', 'ticker.exe' and my usual, pretty
complete 'GeSys.exe' application which includes the cexpsh
shell and full networking.
1) patch qemu-0.11.0-rc1 to add some missing features,
some dummy-registers and a bug-fix.
The following hardware is (partly) emulated:
- interrupt-controller
- 3 UARTs
- 4 PITs (timers)
- reset controller (software-reset)
- FEC ethernet (MIB counters not implemented)
2) patch the uC5282 BSP (patch has already been added to RTEMS HEAD)
build qemu
mkdir build-m68k
cd build-m68k
../configure --target-list=m68k-softmmu
make
Run qemu using the RTEMS ELF binary:
m68k-softmmu/qemu-system-m68k -M uc5282 -nographic -kernel hello.exe
-- Till
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qemu-0.11.0-rc1-uc5282.diff
Type: text/x-patch
Size: 13574 bytes
Desc: not available
URL: <http://www.rtems.org/pipermail/rtems-users/attachments/20090909/91b225cf/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtems-uc5282-qemu-syscall.diff
Type: text/x-patch
Size: 2602 bytes
Desc: not available
URL: <http://www.rtems.org/pipermail/rtems-users/attachments/20090909/91b225cf/attachment-0001.bin>