kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* QEMU environment setup for Linux Kernel
@ 2018-03-07 17:41 Pintu Kumar
  2018-03-07 18:21 ` Alex Arvelaez
  2018-03-08  9:30 ` Justin Skists
  0 siblings, 2 replies; 3+ messages in thread
From: Pintu Kumar @ 2018-03-07 17:41 UTC (permalink / raw)
  To: kernelnewbies

Hi,

I need some help on QEMU environment setup for ARM so that I am very
my custom Linux Kernel changes for arm.
I know there are lots of references available on internet. Earlier I
spend lots of time and finally I could able to setup basic qemu
working but still I was not completely satisfied. No network access,
could not copy files, no graphics, multiple shells etc.

So, I wanted to hear from other developer how they setup and use qemu
environment.
I want someone to list step by step guide here. I think it is going to
be useful for others as well.

Basically, I am looking for the following:
1) Which kernel to choose for arm: versatile, or vexpress ?
2) Where to get the full pre-built rootfs image to use with about kernel ?
3) How to get even the Graphical interface with Qemu ?
4) How to setup networking with Qemu, so that I can transfer/scp file
from my host Ubuntu PC ?
5) How to launch multiple terminal with the same Qemu setup ?


If anybody have done this before please compile the steps here for
easy reference.


Thank You!

Regards,
Pintu

^ permalink raw reply	[flat|nested] 3+ messages in thread

* QEMU environment setup for Linux Kernel
  2018-03-07 17:41 QEMU environment setup for Linux Kernel Pintu Kumar
@ 2018-03-07 18:21 ` Alex Arvelaez
  2018-03-08  9:30 ` Justin Skists
  1 sibling, 0 replies; 3+ messages in thread
From: Alex Arvelaez @ 2018-03-07 18:21 UTC (permalink / raw)
  To: kernelnewbies

On Wed, Mar 07, 2018 at 11:11:25PM +0530, Pintu Kumar wrote:
> Hi,
> 
> I need some help on QEMU environment setup for ARM so that I am very
> my custom Linux Kernel changes for arm.
> I know there are lots of references available on internet. Earlier I
> spend lots of time and finally I could able to setup basic qemu
> working but still I was not completely satisfied. No network access,
> could not copy files, no graphics, multiple shells etc.
> 
> So, I wanted to hear from other developer how they setup and use qemu
> environment.
> I want someone to list step by step guide here. I think it is going to
> be useful for others as well.
> 
> Basically, I am looking for the following:
> 1) Which kernel to choose for arm: versatile, or vexpress ?
> 2) Where to get the full pre-built rootfs image to use with about kernel ?

Get an image of raspbian, replace the kernel that it comes with with
your own? It comes with a display manager and everything you'd want
iirc.


Regards,

Alex

^ permalink raw reply	[flat|nested] 3+ messages in thread

* QEMU environment setup for Linux Kernel
  2018-03-07 17:41 QEMU environment setup for Linux Kernel Pintu Kumar
  2018-03-07 18:21 ` Alex Arvelaez
@ 2018-03-08  9:30 ` Justin Skists
  1 sibling, 0 replies; 3+ messages in thread
From: Justin Skists @ 2018-03-08  9:30 UTC (permalink / raw)
  To: kernelnewbies

On Wed, Mar 07, 2018 at 11:11:25PM +0530, Pintu Kumar wrote:
> So, I wanted to hear from other developer how they setup and use qemu
> environment.

I tend to use buildroot for my Linux hacking.
(https://buildroot.org/download.html)

(Or, sometimes Yocto when I'm feeling particularly brave)

Then it's a case of

	$ cd buildroot
	$ make list-defconfigs
	$ make qemu_arm_versatile_defconfig 
	     (or desired config)

	$ make menuconfig

	     [ select wanted target packages ]

	$ make

	view board/qemu/arm-versatile/readme.txt for running
instructions.

I've not compiled the Xorg in it recently, but there is the option for
graphical interface.

Hope that helps,
Justin.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-08  9:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-07 17:41 QEMU environment setup for Linux Kernel Pintu Kumar
2018-03-07 18:21 ` Alex Arvelaez
2018-03-08  9:30 ` Justin Skists

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).