Re: Qemu+busybox for kernel development

2017-07-02 Thread Alice Ferrazzi
On Wed, Jun 28, 2017 at 5:46 PM, Alexander Kapshuk wrote: > I am trying to setup a build environment where I can run the kernel and see > how the changes I have made to the kernel source work. > My understanding, based on googling, is that it is common practice in the

Re: Qemu+busybox for kernel development

2017-07-02 Thread Alexander Kapshuk
On Wed, Jun 28, 2017 at 10:48 PM, Shahbaz khan wrote: > Hi Alexander, > > On Wed, Jun 28, 2017 at 1:46 PM, Alexander Kapshuk > wrote: >> >> I am trying to setup a build environment where I can run the kernel and >> see how the changes I have made

Re: Qemu+busybox for kernel development

2017-06-28 Thread Shahbaz khan
Hi Alexander, On Wed, Jun 28, 2017 at 1:46 PM, Alexander Kapshuk < alexander.kaps...@gmail.com> wrote: > I am trying to setup a build environment where I can run the kernel and > see how the changes I have made to the kernel source work. > My understanding, based on googling, is that it is

Re: Qemu+busybox for kernel development

2017-06-28 Thread Ben Mezger
The way I do it is by compiling the kernel as I would normaly do for a real system. Then, after copying vmlinuz and generating my initramfs, I run Qemu: $ qemu-system-x86_64 -kernel vmlinuz -initrd initramfs.img -append param1=value1 For me, as I am mostly testing, there is no need for a