Hi Ryan,

Thanks for your detailed answer and help.

I am trying to build my own image now, so that I can use a much larger disk.
However I am not able to download the required HW_pack  (hwpack_linaro-vexpress64-rtsm_20131215-557_arm64_supported.tar.gz)
and the rootfs (linaro-image-lamp-genericarmv8-20131215-598.rootfs.tar.gz) that I need to build the image. The links don't seem to work.
Also prebuilt image link (vexpress64-openembedded_lamp-armv8-gcc-4.8_20131215-557.img.gz) doesn't work.

It is mentioned in the 2nd tab that: " 1Linaro does not provide support for running the Versatile Express models."

Could that be the reason, the links are not working..?

Which HW pack and rootfs file did you use..?

Thanks and Regards,
Anil



On 31 January 2014 12:51, Ryan Harkin <ryan.harkin@linaro.org> wrote:



On 30 January 2014 21:31, Mike Frysinger <vapier@gentoo.org> wrote:
On Thursday, January 30, 2014 18:10:43 Anil Singhar wrote:
> I am using the following command to start the foundation model:
> ----------------------------------------------------------------------------
> -----------------------
> anilss@anilss:~/Linaro/tools/Foundation_v8pkg/models/Linux64_GCC-4.1$
> ./Foundation_v8 --mbedded_lamp-armv8_20130719-403.img --network=na
> --network-nat-ports=8022=22

Anil, of course, this is the same corrupt command you've pasted in this email and your other one that I've replied to.


> terminal_0: Listening for serial connection on port 5000
> terminal_1: Listening for serial connection on port 5001
> terminal_2: Listening for serial connection on port 5002
> terminal_3: Listening for serial connection on port 5003
> Simulation is started
> ----------------------------------------------------------------------------
> -------------------------
>
> Could I not add some switch to this command to increase my disk space?

You cannot increase the disk space at the time when you run the model.  You have to create it at the correct size or increase it using gparted or some other equivalent disk editor.



the simulator knows nothing of disk partitions and things like that.  you have
to manage the disk image yourself.

Mike, unless I misunderstand you, I don't think that is correct.

The model reads the image file as if it were a disk with partitions inside it.  For example, the standard images that we provides have two partitions:  boot and root.

Anil, Ard was correct in that you can run gparted on a disk image to manage it.

However, you probably just want to create a new disk image with a larger size.  If you go to the release notes [1], it gives you instructions on how to create your own disk image, eg:

linaro-media-create --dev fastmodel --output-directory fastmodel --image_size 2000M --hwpack <hwpack filename> --binary <rootfs filename>

So, just change the "--image_size 2000M" to something bigger, like "--image_size 16000M" and you'll get a 16GB filesystem.

I just tried it and when I launch the model, I can see I now have 15.2GB of free disk space:

root@genericarmv8:~# df -h .
Filesystem                Size      Used Available Use% Mounted on
/dev/root                15.2G    269.7M     14.1G   2% /


[1] releases.linaro.org/latest/openembedded/aarch64/#tabs-2

 
-mike

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev


_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev