Hi Jasmin,

See http://www.lowepower.com/jason/setting-up-gem5-fv4.14-rc3ull-system.html
<http://www.lowepower.com/jason/setting-up-gem5-full-system.html> for an
example of what I've done.

You can simply compile a kernel and build a disk image. It really isn't
much harder than that. There are two gotchas: 1) making sure to compile
without modules (compile all needed drivers into the kernel) and 2)
disabling drivers that break gem5. There is a link on that page to a config
file that has worked for me in the past. I've also successfully built and
run v4.14-rc3 recently.

The only other problem that I've run into is getting the init/startup
process working correctly to get the gem5init script working. However, this
is orthogonal to any gem5 issues. It's just that Ubuntu is using upstart
(or whatever they are using now) and that is *incredibly* difficult to use.

Hope this helps!

Cheers,
Jason

-----------
Jason Lowe-Power
Assistant Professor, Computer Science Department
University of California, Davis
3049 Kemper Hall
https://faculty.engineering.ucdavis.edu/lowepower/


On Tue, Dec 12, 2017 at 2:44 PM Jasmin Jahic <[email protected]> wrote:

> Hello,
>
> great to hear that! May I ask, what is the situation with x86? Besides the
> Gentoo solution, present at the website, were there some efforts to bring
> to life some other, newer version of Linux?
>
> Best regards,
> Jasmin JAHIC
>
> On Mon, Dec 11, 2017 at 6:18 PM, Andreas Sandberg <
> [email protected]>
> wrote:
>
> > Hi Everyone,
> >
> > I'm happy to announce that we have just completed testing of the
> > gem5-specific patches for Linux 4.9. The new kernel is can be downloaded
> > from the gem5/v4.9 branch in the arm/linux [1] repository.
> >
> > The kernel comes with default configurations for Armv7 and Armv8 and has
> > the same set of gem5-specific patches as the older 4.x kernels. These
> > patches add support for:
> >
> >   * gem5's GICv2 extensions. This enables support for up to 255 CPUs if
> > the gem5 extensions are enabled in the GIC (set gem5_extensions to True
> > in your configuration script).
> >   * A virtual DRM connector. This makes it possible to use gem5's
> > display models without a proper HDMI encoder model.
> >   * The custom FBIOGET_DMABUF IOCTL. This change is useful to avoid a
> > CPU-side memcpy between the GPU's render buffer and the framebuffer for
> > Android setups that using NoMali.
> >   * gem5's DVFS controller.
> >   * General gem5 instrumentation.
> >
> > Cheers,
> > Andreas
> >
> > [1] https://gem5-review.googlesource.com/#/admin/projects/arm/linux
> > [2] http://gem5.org/ARM_Kernel
> >
> > IMPORTANT NOTICE: The contents of this email and any attachments are
> > confidential and may also be privileged. If you are not the intended
> > recipient, please notify the sender immediately and do not disclose the
> > contents to any other person, use it for any purpose, or store or copy
> the
> > information in any medium. Thank you.
> > _______________________________________________
> > gem5-dev mailing list
> > [email protected]
> > http://m5sim.org/mailman/listinfo/gem5-dev
> _______________________________________________
> gem5-dev mailing list
> [email protected]
> http://m5sim.org/mailman/listinfo/gem5-dev
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to