I've checked in my current code https://github.com/ujamjar/rumpuser-baremetal/tree/qemu-arm
I think the next step is a bit of code reorganisation so the arm build can coexist with the working i386 code. On Tue, Dec 9, 2014 at 6:50 PM, Antti Kantee <[email protected]> wrote: > On 09/12/14 18:20, Andy Ray > wrote:https://github.com/ujamjar/rumpuser-baremetal/tree/qemu-arm >> >> Indeed. However, after a few days trawling ARM documentation and >> copying register I/O values into a headers file you can't help but >> wonder if there's a better way.... > > > Hmm, that doesn't quite sound like what I'd expect at this stage of > development. Maybe you can explain more and we can see if there's a > foreseeably better way. (and maybe that's also a better topic for the list > instead of private mail) I'm probably over stating things a bit, but to play with interrupts in qemu I needed definitions of the 2 interrupt controllers and timer module (and uart for debugging). Exactly how interrupts work on ARM and are then used in the rumpkernel driver code (and how this is delivered uniformly depending on the soc architecture) I am not clear yet, but it's an issue coming up soon... >> The basic serial stuff for qemu is just writing to a memory mapped IO >> location. Good for debugging but wont work on real hardware as is. > > > ah, that's certainly handy. > >> I definitely do. I have forked the project >> (https://github.com/ujamjar/rumpuser-baremetal) and will start pushing >> to it before long. Last week I spent most of my time reading arm >> tutorials and documentation just to get going. I'm perhaps not far >> off the "rump_init() without threads" thing actually, so I could push >> sooner rather than later. > > > For the "rump_init() without threads" (assuming console) thing you more or > less just need to set up a C stack and jump into MI code, so, no, that > shouldn't be far off. It might require a few MD bits to complete > successfully (e.g. fetching clock), but the easiest way to figure out what > exactly is to just try it. > > Looking forward to merging pull reqs from you! Cheers, Andy ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ rumpkernel-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rumpkernel-users
