Hi Tayyar, It should be possible to run a 3.7 kernel, but you'll need to create a suitable dtb for gem5 and possibly play with the configuration option a bit. Unfortunately, it just takes some time to get going. I'd start with the fewest possible changes from a known working configuration and slowly add any addition features you want.
Thanks, Ali On Jul 2, 2013, at 3:27 PM, Tayyar Rzayev <[email protected]> wrote: > Hi Rene, > > Thanks for getting back to me! I was able to fix the tty-pty issue which > turned out to be a file system issue (pty subsystem was not mounted). With > my kernel configuration I was trying to compile a linux kernel with > advanced power management techniques such as DVFS and sleep states (ideally > v3.7). I tried the kernel source at git:// > github.com/omarrmz/upstream-wip.git with enabled DVFS governor > configurations, but it wouldn't boot on my gem5 ARM. So is there currently > a way to boot linux v3.7 or 3.3 is the latest that gem5 ARM supports? Also, > what would it take to get my configuration working? I am attaching the > config file here for your convenience. > > Thanks again for your help, > > Tayyar > > __________________________________________________________________ > > Date: Fri, 21 Jun 2013 10:04:17 +0100 > From: Rene De Jong <[email protected]> > To: 'gem5 users mailing list' <[email protected]> > Subject: Re: [gem5-users] Compiling linux kernel for gem5 ARM > Message-ID: > <[email protected]> > Content-Type: text/plain; charset="windows-1252" > > Hi Tayyar, > > Try: http://www.gem5.org/dist/current/arm/vmlinux-emm-pcie-3.3.tar.bz2 > This contains a configuration file that should just work with gem5 (from: > http://www.m5sim.org/Download). They are for a 3.3 kernel, but at least they > should give you information about what you might be missing in your kernel > configuration. > > What kind of configuration are you trying to run? What does your address map > look like? Is that similar to the addresses in your (simulated) system? > > Let me know how it goes. > > Regards, > > Ren? > > From: [email protected] [mailto:[email protected]] On > Behalf Of Tayyar Rzayev > Sent: 20 June 2013 23:30 > To: [email protected] > Subject: [gem5-users] Compiling linux kernel for gem5 ARM > > Hello All, > > I am trying to simulate two processes communicating through a pty-tty pair in > gem5. I have a functional code that works on an off the shelf ARM-based SoC > that is running linux 3.7 ubuntu. But it doesn't work on gem5 with the > default kernel (I am suspecting the pty-tty drivers are missing in the > default kernel). I have tried using the same vmlinux kernel image to boot up > in gem5, but the simulator wouldn't boot up. When I observe in m5term, there > is no activity. I tried accessing > http://www.m5sim.org/dist/current/arm/config-arm, to compare my kernel config > file with the gem5 defaults, but that page doesn't exist anymore. I can > provide my config file if that is of any help. I would really appreciate any > help with: > > 1. Locating the gem5 ARM default config file > 2. Hints on compiling linux for gem5 ARM with pty-tty support > 3. Any other ideas that can help resolve this issue > > Thanks, > > Tayyar > > <config_jy>_______________________________________________ > 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
