Re: QEMU environment setup for Linux Kernel

2018-03-08 Thread Justin Skists
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.

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: QEMU environment setup for Linux Kernel

2018-03-07 Thread Alex Arvelaez
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


___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


QEMU environment setup for Linux Kernel

2018-03-07 Thread Pintu Kumar
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

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies