Go to advanced search

by Torlus
Tue Sep 23, 2014 2:23 pm
Forum: Bare metal, Assembly language
Topic: QEMU patches for RPi emulation - Initial release
Replies: 149
Views: 57889

Re: QEMU patches for RPi emulation - Initial release

Interesting...
I'll have a look at it, and I'll keep you informed.

BTW, the "qemu-rpi" GitHub project is gone, as it didn't make sense to maintain both the patch and the branch.
My "rpi" branch can be found here: https://github.com/Torlus/qemu/tree/rpi

Regards,
Greg
by Torlus
Fri May 30, 2014 1:48 am
Forum: Bare metal, Assembly language
Topic: QEMU patches for RPi emulation - Initial release
Replies: 149
Views: 57889

Re: QEMU patches for RPi emulation - Initial release

Well, "healthy" might not be appropriate for now, but I am still there...
I hope to fix it during the weekend ..
Regards
Greg
by Torlus
Fri Dec 06, 2013 8:46 am
Forum: Bare metal, Assembly language
Topic: QEMU patches for RPi emulation - Initial release
Replies: 149
Views: 57889

Re: QEMU patches for RPi emulation - Initial release

Ok, it seems that there's still some work to do ;)
Well, I'll do my best. Any help is welcome :)
by Torlus
Thu Dec 05, 2013 5:40 pm
Forum: Bare metal, Assembly language
Topic: QEMU patches for RPi emulation - Initial release
Replies: 149
Views: 57889

Re: QEMU patches for RPi emulation - Initial release

Thanks again. Now for an additional question :) Let's say I prepare a set of patches, by starting from origin, and add changes "by hand" with commits in-between. How should I proceed if there is a need to change something in the middle of this set of patches, and resubmit the whole set ? That's prob...
by Torlus
Wed Dec 04, 2013 4:45 pm
Forum: Bare metal, Assembly language
Topic: QEMU patches for RPi emulation - Initial release
Replies: 149
Views: 57889

Re: QEMU patches for RPi emulation - Initial release

I updated both the branch and the "candidate" patch.
@sweil, if you happen to be around, your comments are welcome ;)
by Torlus
Wed Dec 04, 2013 9:47 am
Forum: Bare metal, Assembly language
Topic: QEMU patches for RPi emulation - Initial release
Replies: 149
Views: 57889

Re: QEMU patches for RPi emulation - Initial release

Well, I will fix the directory structure and makefiles stuff before, then we'll see.
Please don't submit the latest patch, as I'm afraid it will be rejected as well...
Regards,
Greg
by Torlus
Tue Dec 03, 2013 8:57 pm
Forum: Bare metal, Assembly language
Topic: QEMU patches for RPi emulation - Initial release
Replies: 149
Views: 57889

Re: QEMU patches for RPi emulation - Initial release

Hi, I did some additional cleaning and pushed it to GitHub. However, as someone in the mailing list stated, 1) it doesn't cope well with the directory structure and 2) the patch should be splitted in several smaller patches, which is understandable. Fixing 1) shouldn't be too hard, however I don't r...
by Torlus
Sun Dec 01, 2013 10:05 pm
Forum: Bare metal, Assembly language
Topic: QEMU patches for RPi emulation - Initial release
Replies: 149
Views: 57889

Re: QEMU patches for RPi emulation - Initial release

Hi Stefan,
Thanks for the advice, I will fix what you've suggested so far, and I'll tell you when it's done.
Regards,
Greg
by Torlus
Sun Dec 01, 2013 3:53 pm
Forum: Bare metal, Assembly language
Topic: QEMU patches for RPi emulation - Initial release
Replies: 149
Views: 57889

Re: QEMU patches for RPi emulation - Initial release

Hi Stefan,
I've applied your patch and done additional code cleanup as you suggested.

I've also added the proposed patch file to https://github.com/Torlus/qemu-rpi
I've added you to the "signed-off-by" list, I hope you don't mind, otherwise just tell me.

Regards,
Greg
by Torlus
Sat Nov 30, 2013 10:15 pm
Forum: Bare metal, Assembly language
Topic: QEMU patches for RPi emulation - Initial release
Replies: 149
Views: 57889

Re: QEMU patches for RPi emulation - Initial release

Oh, great :)
It should be easier that way, at least I can enhance/debug the USB emulation separatedly from the NIC one.
Thanks for the info.
by Torlus
Sat Nov 30, 2013 3:08 pm
Forum: Bare metal, Assembly language
Topic: QEMU patches for RPi emulation - Initial release
Replies: 149
Views: 57889

Re: QEMU patches for RPi emulation - Initial release

Well, the issue with the NIC is that, IIRC, it's a USB 2 attached one, so first thing to do is to have the USB controller properly emulated. However, the USB controller is not a standard one (it would have been too easy ;) ), but some kind of half-baked USB Device controller, to which some USB Host ...
by Torlus
Thu Nov 28, 2013 10:15 pm
Forum: Bare metal, Assembly language
Topic: QEMU patches for RPi emulation - Initial release
Replies: 149
Views: 57889

Re: QEMU patches for RPi emulation - Initial release

Hi, @jp1: I've fixed the remaining warnings/errors, and sent the patch to you for review. @voltagex: Once everything's fine, I will make it available on Gist as well. About patch submission stuff, well, if any one you has already done this before, I would be glad if he can do it ;) I think @sweil ha...
by Torlus
Fri Nov 15, 2013 8:11 pm
Forum: Bare metal, Assembly language
Topic: QEMU patches for RPi emulation - Initial release
Replies: 149
Views: 57889

Re: QEMU patches for RPi emulation - Initial release

No, please continue ;) Thanks again for your time.
I'm so glad someone else contributes :)
by Torlus
Fri Nov 15, 2013 2:19 pm
Forum: Bare metal, Assembly language
Topic: QEMU patches for RPi emulation - Initial release
Replies: 149
Views: 57889

Re: QEMU patches for RPi emulation - Initial release

I merged with qemu's master branch 2 days ago, it should be ok now. Can you please check? Then we'll decide if there is a need to reincorporate them from "scratch". My patches against the ARM emulation are not necessary anymore. Only the bcm* files are useful now, it should be easier to submit to qe...
by Torlus
Wed Nov 13, 2013 7:41 pm
Forum: Bare metal, Assembly language
Topic: QEMU patches for RPi emulation - Initial release
Replies: 149
Views: 57889

Re: QEMU patches for RPi emulation - Initial release

Well, you're right.
If you want to do some code cleaning, and help me comply with QEmu's coding standards, it would be greatly appreciated.
Regards,
Greg
by Torlus
Fri Aug 23, 2013 8:38 pm
Forum: Bare metal, Assembly language
Topic: QEMU patches for RPi emulation - Initial release
Replies: 149
Views: 57889

Re: QEMU patches for RPi emulation - Initial release

I just added a few fixes, and updated to latest QEmu (@sweil, check your messages).
I will now try to enhance the emulation itself, thanks all for your feedback.
by Torlus
Sun Aug 18, 2013 8:15 pm
Forum: Bare metal, Assembly language
Topic: QEMU patches for RPi emulation - Initial release
Replies: 149
Views: 57889

Re: QEMU patches for RPi emulation - Initial release

Hi, There are a few bugs that have been reported and that I need to fix. Please allow me some time as I just came back from holidays ;) About emulation status, well, some things might be easy to add/fix, but most stuff will require a significant amount of work... If you had to choose between feature...
by Torlus
Mon May 27, 2013 7:30 pm
Forum: Bare metal, Assembly language
Topic: QEMU patches for RPi emulation - Initial release
Replies: 149
Views: 57889

Re: QEMU patches for RPi emulation - Initial release

@JacobL thanks for all these info.
I will perform the changes accordingly asap.
Regards,
Greg
by Torlus
Sat May 18, 2013 6:48 pm
Forum: Bare metal, Assembly language
Topic: QEMU patches for RPi emulation - Initial release
Replies: 149
Views: 57889

Re: QEMU patches for RPi emulation - Initial release

I've just merged my changes with the "master" branch.
If anyone can give it a try (with MinGW)...
@JonD : RiscOS still hangs but displays something on startup (at least on Linux).
by Torlus
Wed May 15, 2013 7:52 pm
Forum: Bare metal, Assembly language
Topic: QEMU patches for RPi emulation - Initial release
Replies: 149
Views: 57889

Re: QEMU patches for RPi emulation - Initial release

Well, it's been a long time since I merged my changes with the QEmu trunk...
I'll try to do it asap, it might solve these issues.
Regards,
Greg
by Torlus
Tue May 14, 2013 4:26 pm
Forum: Bare metal, Assembly language
Topic: QEMU patches for RPi emulation - Initial release
Replies: 149
Views: 57889

Re: QEMU patches for RPi emulation - Initial release

Hi,
tastenmonster wrote:Hi, I successfully compiled yout patches and I am able to run basic baremetal code on rpi emulation. Is the Arm timer emulation working? I can't get an interrupt from this?
Does it work on hardware (I guess it does...) ? Which timer are you using ? It might be an issue with timer resolution...
by Torlus
Fri Mar 22, 2013 8:04 pm
Forum: Bare metal, Assembly language
Topic: QEMU patches for RPi emulation - Initial release
Replies: 149
Views: 57889

Re: QEMU patches for RPi emulation - Initial release

Neumaennl wrote:Torlus: I did try to log in via the console, but couldn't...
Can you give the full command line you're using ?
by Torlus
Wed Mar 20, 2013 8:26 pm
Forum: Bare metal, Assembly language
Topic: QEMU patches for RPi emulation - Initial release
Replies: 149
Views: 57889

Re: QEMU patches for RPi emulation - Initial release

Hi, Just a quick set of answers, I've been quite busy lately... @Neumaennl : there is no network emulation yet, you use the console to log in. @ShiftPlusOne : well, I try to keep up with the "master" branch on github, by merging often... Does the vanilla qemu "master" branch compile on windows ? @ta...
by Torlus
Mon Mar 11, 2013 7:53 pm
Forum: Bare metal, Assembly language
Topic: QEMU patches for RPi emulation - Initial release
Replies: 149
Views: 57889

Re: QEMU patches for RPi emulation - Initial release

Well, you have gdb support in QEMU, which should help. For example on my setup, for debugging a Linux kernel (well it was for debugging my own code, but you get the idea) : ~/rpi/usr/bin/qemu-system-arm -kernel zImage -cpu arm1176 -m 512 -M raspi -no-reboot -serial stdio -append "rw earlyprintk logl...

Go to advanced search