Hi Khaled,

I would suggest to follow these instructions: 
http://www.gem5.org/ARM_Linux_Kernel

Once you have that working _without_ any modifications you can start 
experimenting.

Andreas

From: gem5-users 
<[email protected]<mailto:[email protected]>> on behalf of 
Khaled Attia <[email protected]<mailto:[email protected]>>
Reply-To: gem5 users mailing list 
<[email protected]<mailto:[email protected]>>
Date: Tuesday, 22 December 2015 at 22:11
To: Fernando Endo <[email protected]<mailto:[email protected]>>, 
gem5 users mailing list <[email protected]<mailto:[email protected]>>
Subject: Re: [gem5-users] using a different arm linux kernel

Hello Fernando,

Thanks for your reply, yes I've found it and it's like :

earlyprintk=pl011,0x1c090000 console=ttyAMA0 lpj=19988480 norandmaps rw 
loglevel=8 mem=512MB root=/dev/sda1

but when I copy-paste it in the kernel configuration, build the kernel and try 
to boot, now the panic message changes to :

VFS: Cannot open root device "sda1" or unknown-block(0,0): error -6
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

How can I solve that?

Regards,

On Tue, Dec 22, 2015 at 3:47 PM, Fernando Endo 
<[email protected]<mailto:[email protected]>> wrote:
Hi,

When Linux boots, it prints several messages (e.g., in the 
m5out/system.terminal), one of which is the "kernel args", "boot args" or 
something like that. You can find a similar option with "make menuconfig".

The BogoMIPS stuff, you'll probably need to remove or comment part of code in 
the kernel sources.

Regards,

--
Fernando A. Endo, Post-doc

INRIA Rennes-Bretagne Atlantique
France


2015-12-11 12:13 GMT-02:00 Khaled Attia 
<[email protected]<mailto:[email protected]>>:
Hi Fernando,

Thanks a lot. But what do you actually mean by "copy-paste the initial kernel 
args"?

Also, how to disable BogoMIPS ? I don't see any configuration option for it. Or 
do you mean I should find its code in the source and remove it?

Are there any further modification needed similar to disabling BogoMIPS?

--
Khaled M. Attia
T.A. @ Computers & Systems Engineering
Mansoura University, Egypt
Mob. : +201000736160<tel:%2B201000736160>
email: khaled.3ttia[at]gmail.com<http://gmail.com>





--
Khaled M. Attia
T.A. @ Computers & Systems Engineering
Mansoura University, Egypt
Mob. : +201000736160
email: khaled.3ttia[at]gmail.com<http://gmail.com>

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