This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more infromation.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Daris A Nevil wrote: > > I would certainly be interested in using a PowerPC wiggler directly from Linux. > I am currently using the EST "wiggler" and Windows based debugger on a > custom MPC850 board running Linux. The drawback is, however, that I > can only effectivly debug my boot code. Once I hit the virtual memory > environment of Linux I loose the ability to control the different regions of > memory. One aspect when using Linux as the host and the PowerPC as the target, is the psim-simulator : ----------- From the PSIM-FAQ ------------------------------------------------ Can PSIM run Solaris, LINUX or NetBSD binaries? Yes. Provided that: The executable has been linked statically All the required system calls have been implemented (a few still have not) PSIM should be able to run such executables. ----------- From the PSIM-FAQ ------------------------------------------------ I tried... The static binaries didn't run. The 'personality' and 'mmap' syscalls weren't implemented. Replacing the Linux/PPC 'crt1.o' with the 'sim-crt0.o' enabled me to work-around the missing 'personality' but then came the error about the missing 'mmap'... It seemed that it may not be very hard to extend the psim to work as a simple Linux/PPC-simulator for simple Linux/PPC-programs, so that anyone who builds a Linux/x86-to-Linux/PPC cross-compiler could do something with a powerpc-eabi- targeted GDB and the PowerPC-simulator in it... Or perhaps I'm just too optimistic. About simulating Linux/PPC kernel under Linux/x86 I cannot say anything. Ok, the 'mmap()' can be tough... Anyway the currently implemented Linux/PPC-syscalls are in the 'sim/ppc/emul-unix.c' in GDB sources. So they can serve as the model for more of them.... If someone feels any interest of building a Linux/PPC-simulator, feel free to try... Cheers, Kai ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |