Hi Matthias,

Yes,  your understanding is correct.  I want  u-boot to load ramdisk to RAM, not linux
kernel.  And vm linux will use that ramdisk, can this be achieved?

Regards,
Nico
On 1/10/2018 16:40Matthias Lange<matthias.lange@kernkonzept.com> wrote:
Hi Nico,

On 2018-0110 at 09:11:09 +0800, nico.hacker wrote:
> <p>Yes, that's it. Do you have any good suggestions?</p><p><br /></p><span labeltype="reply">于  2018-01-10 06:36:25,Adam Lackorzynski<adam os="" inf="" tu-dresden="" de="">写道:</adam></span><blockquote style="padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:#ccc 1px solid"><pre>Hi nico,

> On Tue Jan 09, 2018 at 19:18:20 +0800, nico wrote:
> &gt; I started uvmm and found that all ram space allocated to vm are cleared.

> Yes, sure. We do not want to see any other data in there, possibly
> coming from another domain and leaking some information.

> &gt; But I do not need to do that, because uboot has loaded image file to ram, and vm linux would use that image file. Could you tell me where the uvmm did the cleanup? Regards, Nico

I am not sure if I have understood your use-case correctly but the steps you
are performing are like this?

1. Power up your board
2. u-boot loads a Linux kernel (and possibly ramdisk and device tree) into RAM
3. u-boot loads your L4Re image
4. L4Re is started with uvmm

Is my understanding correct?

Regards,
Matthias.


> Describing this in my own words, you want to load a file via u-boot and
> use that in your VM?

> Adam