Hi Jasmin,

You may want to consider http://www.gem5.org/ARM_Linux_Kernel, which goes 
through the few steps needed to create a 4.x kernel for ARM.

Andreas

From: gem5-users 
<[email protected]<mailto:[email protected]>> on behalf of 
Jasmin Jahic <[email protected]<mailto:[email protected]>>
Reply-To: gem5 users mailing list 
<[email protected]<mailto:[email protected]>>
Date: Wednesday, 17 August 2016 at 09:27
To: gem5 users mailing list <[email protected]<mailto:[email protected]>>
Subject: Re: [gem5-users] The latest version of x86 Linux kernel

Hello,

thank you for the reply.

I have tried to compile the kernel, but there are so many parameters to 
configure (pages and pages with y/n? or 1.2.3... choices), and the final result 
is a failure so far. I might need to study it harder, but some experience from 
someone who already did configure and compile the kernel would be really 
beneficial.

I understand that 12.04 is really old, but some things won't work on newer 
versions of Linux. For instance, there is a great tutorial on how to create an 
image for GEM5: 
http://www.lowepower.com/jason/creating-disk-images-for-gem5.html . However, 
the util/gem5img.py fails on newer versions of Linux (I have tried 
util/gem5img.py from gem5-stable and developers version).

Best regards,
Jasmin

On Tue, Aug 16, 2016 at 4:44 PM, Jason Lowe-Power 
<[email protected]<mailto:[email protected]>> wrote:
Hi Jasmin,

12.04 is pretty ancient too, it's over 4 years old now!

Either way, from what I hear, it's pretty easy to compile your own kernel and 
get it to run on gem5, for both x86 and for ARM. However, I don't have any 
direct experience. I expect you would probably need to modify the config file 
to remove devices not supported by gem5 and you would want to compile all of 
the drivers into the kernel (not as modules). You can probably use the config 
for the 2.6.X kernel as a starting point.

Hopefully this gets you going in the right direction.

Jason

On Tue, Aug 16, 2016 at 4:59 AM Jasmin Jahic 
<[email protected]<mailto:[email protected]>> wrote:
Hello,

I am experimenting with FS mode and would like to run relatively newer version 
of Linux (e.g. Ubuntu 12.04). On the gem5 website, I see only 2.6 kernel 
versions. Is there any new version and if not, could you elaborate would it be 
too much effort consuming to compile the kernel and make it work with gem5 on 
my own?

Best regards,
Jasmin
_______________________________________________
gem5-users mailing list
[email protected]<mailto:[email protected]>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

_______________________________________________
gem5-users mailing list
[email protected]<mailto:[email protected]>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

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-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to