On Sun, Nov 11, 2018 at 7:32 PM João Miguel Morgado Pereira Vieira <[email protected]> wrote: > > Dear Thawra, > > I have been working with gem5 and the ARM ISA for some time. I have to tell > you that setting up a cross compiler for ARM using SE mode is a tremendous > pain, since even when everything compiles correctly, you may still have > problems with system calls (some of them are not implemented in SE mode), or > the common error “Fatal: kernel is too old”. >
Note that this problem has been solved on recent gem5 versions as explained on the Stack Overflow answer I linked to earlier: https://stackoverflow.com/questions/53085048/how-to-compile-and-run-an-executable-in-gem5-syscall-emulation-mode-with-se-py/53085049#53085049 The Ubuntu toolchain just works out of thee box now, and likely the Fedora one would likely also work if we were able to use it in the fist place. > However, I succeeded setting up a cross compiler for running a system > featuring an ARM in SE mode using gem5. You can find the instructions here: > http://web.tecnico.ulisboa.pt/~joaomiguelvieira/thesis/doku.php?id=setup_arm_cross-compiler_for_gem5 > > I hope this helps! > > Kind regards, > João Vieira > > No dia 11/11/2018, às 14:12, Thawra Kadeed <[email protected]> escreveu: > > Thawra > > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
