alistair23 / qemu

Alistair's fork of the official QEMU repository
http://wiki.qemu.org/Main_Page
Other
7 stars 10 forks source link

Run Project1 on QEMU #16

Closed alistair23 closed 10 years ago

alistair23 commented 10 years ago

I now have a test case for Prac1 which needs to be supported on QEMU

alistair23 commented 10 years ago

By modifying the Makefile project1 runs on QEMU. At the moment is is hanging at the nrf24l01plus_init() function inside Hardware_init()

This is assumed to be caused by the lack of SPI support

alistair23 commented 10 years ago

SPI and NRF240L01Plus have now been added to QEMU and the code runs. Although no output can be seen

alistair23 commented 10 years ago

Fixed a nasty SPI bug that was causing issues. Now project1 runs :)

pete128 commented 10 years ago

SPI core bug or in the device model?

Regards, Peter


From: Alistair Francis [notifications@github.com] Sent: Thursday, September 18, 2014 9:05 PM To: alistair23/qemu Subject: Re: [qemu] Run Project1 on QEMU (#16)

Fixed a nasty SPI bug that was causing issues. Now project1 runs :)

— Reply to this email directly or view it on GitHubhttps://github.com/alistair23/qemu/issues/16#issuecomment-56034927.

This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.

alistair23 commented 10 years ago

It must be from internal QEMU memory mapping/regions. This is the patch that fixed it: https://github.com/alistair23/qemu/commit/90d0ff8228ad9ee9b7c15408647353eeebed3bbc