All of lore.kernel.org
 help / color / mirror / Atom feed
* nfsroot boot
@ 2014-02-01 16:56 Timur Aydin
  2014-02-01 17:32 ` Trevor Woerner
  0 siblings, 1 reply; 4+ messages in thread
From: Timur Aydin @ 2014-02-01 16:56 UTC (permalink / raw)
  To: meta-freescale

Hello everybody,

In order to do efficient development on my imx6qsabresd card, I would 
like to do an nfsroot boot.

The rootfs.ext3 image is already under tmp/deploy/images/imx6qsabresd, 
there is also the uImage. But I need the vmImage, which is just the 
kernel image, without uboot. This way, I will program u-boot once, and 
after that, both the kernel image and the rootfs will be retrieved over 
the network. I don't have to reflash the sdcard everytime I make a 
change to the kernel.

So mu question is, how can I have bitbake create the vmImage?

-- 
Timur


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

* Re: nfsroot boot
  2014-02-01 16:56 nfsroot boot Timur Aydin
@ 2014-02-01 17:32 ` Trevor Woerner
  2014-02-01 18:32   ` Timur Aydin
  0 siblings, 1 reply; 4+ messages in thread
From: Trevor Woerner @ 2014-02-01 17:32 UTC (permalink / raw)
  To: meta-freescale

On 02/01/14 11:56, Timur Aydin wrote:
> The rootfs.ext3 image is already under tmp/deploy/images/imx6qsabresd,
> there is also the uImage. But I need the vmImage, which is just the
> kernel image, without uboot.

I believe the kernel by itself is the uImage. I don't know of anything
called the vmImage. To me, if anything, "vmImage" would imply "virtual
machine image" which, currently, OE doesn't build for non-x86 targets.

> So mu question is, how can I have bitbake create the vmImage?

$ bitbake -f -c compile virtual/kernel


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

* Re: nfsroot boot
  2014-02-01 17:32 ` Trevor Woerner
@ 2014-02-01 18:32   ` Timur Aydin
  2014-02-01 19:05     ` Timur Aydin
  0 siblings, 1 reply; 4+ messages in thread
From: Timur Aydin @ 2014-02-01 18:32 UTC (permalink / raw)
  To: meta-freescale

Thanks for the response Trevor. Indeed, I have tried using the uImage, 
which does exist and was able to load it into u-boot.

Next I tried "run netboot" and the uImage was loaded successfully. 
However, afterwards, u-boot tries to retrieve an imx6q-sabresd.dtb file 
and can't find it. This file doesn't exist in my build directory. Is 
there something required to generate this file?

--
Timur

On 2/1/2014 7:32 PM, Trevor Woerner wrote:
> On 02/01/14 11:56, Timur Aydin wrote:
>> The rootfs.ext3 image is already under tmp/deploy/images/imx6qsabresd,
>> there is also the uImage. But I need the vmImage, which is just the
>> kernel image, without uboot.
>
> I believe the kernel by itself is the uImage. I don't know of anything
> called the vmImage. To me, if anything, "vmImage" would imply "virtual
> machine image" which, currently, OE doesn't build for non-x86 targets.
>
>> So mu question is, how can I have bitbake create the vmImage?
>
> $ bitbake -f -c compile virtual/kernel
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>


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

* Re: nfsroot boot
  2014-02-01 18:32   ` Timur Aydin
@ 2014-02-01 19:05     ` Timur Aydin
  0 siblings, 0 replies; 4+ messages in thread
From: Timur Aydin @ 2014-02-01 19:05 UTC (permalink / raw)
  To: meta-freescale



On 2/1/2014 8:32 PM, Timur Aydin wrote:
> Next I tried "run netboot" and the uImage was loaded successfully.
> However, afterwards, u-boot tries to retrieve an imx6q-sabresd.dtb file
> and can't find it. This file doesn't exist in my build directory. Is
> there something required to generate this file?
>

Never mind, I had to set boot_fdt to no in the u-boot environment and 
this took care of it.

-- 
Timur


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

end of thread, other threads:[~2014-02-01 19:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-01 16:56 nfsroot boot Timur Aydin
2014-02-01 17:32 ` Trevor Woerner
2014-02-01 18:32   ` Timur Aydin
2014-02-01 19:05     ` Timur Aydin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.